一. 首先要确认几个问题。
1. 这颗D2L转换芯片的控制方式是什么,写寄存器的方式是什么?这个问题从东芝FAE那里了解到,两种写入的方式都可以(通过长包发送或者I2C配置)
The chip can be configured through the DSI link by sending write register commands through DSI Generic Long Write-packets. It can also be configured through the I2C Slave interface.
Host sends a DSI Generic Long Write packet (Data ID = 0x29) over the DSI link for each write access
transaction to the chip configuration registers. Payloa d of this packet is further defined as follows:
First two bytes of the payload specifies the chip register 16-bit address,
hence the address field. The first byte corresponds to address bits [7:0].
The following byte corresponds to address bits [15:8].
Next four bytes specifies the 32-bit data to be written to the address
specified in the address field. The first of the four bytes corresponds to
data bits [7:0]; next byte corresponds to data bits [15:8]; …; last byte
corresponds to data bits [31:24].
“Address auto-increment” capability is supported. That means Host can write to contiguous register
address locations with one single packet. The address field specifies the address of the first register
to be written to. Each group of following 4 bytes in the payload constitutes the 32-bit data to be written
to each of the registers in the group starting with that addressed by the address field.
2. 高通平台内已经有示例代码,如果用长包写的方式,该怎样写入 寄存器地址(address)和数据(data)?这个问题已经发邮件确认,是否与现在8X12平台送command的方式一样,
qcom,mdss-dsi-on-command = [
</