board: ti: am335x: Enable eCAP0 PWM and LCD pin muxing
authorSukrut Bellary <sbellary@baylibre.com>
Fri, 30 May 2025 21:22:32 +0000 (14:22 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 12 Jun 2025 22:26:56 +0000 (16:26 -0600)
commit04df37a095cb08edb865b218398550341a6118c1
tree0f71986fe662375cd0a4b6526f41f4726c5672f3
parentd0bcbf782f5909b36d0af705e95c5c8ad4092bfc
board: ti: am335x: Enable eCAP0 PWM and LCD pin muxing

On AM335x EVM[1],
1. pin AM335X_ECAP0_IN_PWM0_OUT is used to enable the
backlight. ECAP0 can be configured in single channel PWM mode.
If CONFIG_PWM_TI_ECAP is enabled, perform eCAP0 pin muxing.

2. Pins LCD_DATA0 - LCD_DATA15, gpmc_ad8 - gpmc_ad15 and
lcd_vsync, lcd_sync, lcd_ac_bias_en, lcd_pclk are used for driving LCD.
If CONFIG_AM335X_LCD is enabled, perform the LCD pin muxing.

This is required to enable splash screen support on AM335x EVM.
[1] AM335x EVM - https://www.ti.com/tool/TMDXEVM3358

Signed-off-by: Sukrut Bellary <sbellary@baylibre.com>
board/ti/am335x/mux.c