I’m currently working on configuring the DSS for the AM4378 and had a few questions:
- What is the recommended way to enable the clocks needed to bring the DSS out of reset? Sections 13.4.1 and 13.5.2.2.2 of the TRM state that the following registers need to be set to enable all the display clocks required to bring the DSS out of reset:
- PRCM.CM_FCLKEN_DSS[0] EN_DSS1 = 0x1
- PRCM.CM_FCLKEN_DSS[1] EN_DSS2 = 0x1
- PRCM.CM_FCLKEN_DSS[2] EN_TV = 0x1
- PRCM.CM_ICLKEN_DSS[0] EN_DSS = 0x1
- PRCM.CM_CLKEN_PLL[18:16] EN_PERIPH_DPLL = 0x7
However, I can’t seem to find any other references to those registers and bitfields in the TRM.
- Which of the bits of the DSS.DISPC_CTRL register are shadowed? The footnote in Table 13-21 indicates that only a subset of the bits are shadowed, but I couldn’t find which specific bits it was referring to.
- What is the preferred way to configure the DSS for Bypass Mode (RFBI disabled)? Is configuring the GPOUT bits as shown in Table 13-6 sufficient, or do I need to ensure that the RFBI_CTRL.EN and RFBI_CTRL.BYPASS_MODE bits are appropriately set as well?
- In Table 13-63, the description for GFX_BURST_SIZE notes that a value of 3 equals ‘3’. Is the value of 3 reserved or is it an additional burst size?
- What is the LCD Enable signal referred to by LCD_EN_POL and LCD_EN_SIGNAL in Table 13-47? The DSS pin list table (Table 13-4) doesn’t indicate the existence of an LCD enable pin, with the closest thing being the AC Bias Enable pin.
- What is the valid range for the PCD bitfield in the DSS.DISPC_DIVISOR register? In Table 13-56, the description for the bitfield first indicates a valid range of 1 to 255, but then goes on to say that values of 0 and 1 are invalid.