Skip to content

Commit

Permalink
[CES-2811] - Add module to support the Led driver PCA963X
Browse files Browse the repository at this point in the history
- Fix the device tree by removing the addicional hierarchy "Ultiboard50" from the "&iomuxc" node. That is necessary for devices referencing the pins described by "pinctrl_leds_1" and "pinctrl_i2c3_tca6416", otherwise they do not work.
  • Loading branch information
alexborro committed Dec 10, 2024
1 parent 104dd96 commit ec87649
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion configs/sx8m_config_from_yocto_with_extra_usb
Original file line number Diff line number Diff line change
Expand Up @@ -6012,7 +6012,7 @@ CONFIG_LEDS_GPIO=y
# CONFIG_LEDS_LP55XX_COMMON is not set
# CONFIG_LEDS_LP8860 is not set
# CONFIG_LEDS_PCA955X is not set
# CONFIG_LEDS_PCA963X is not set
CONFIG_LEDS_PCA963X=m
# CONFIG_LEDS_DAC124S085 is not set
CONFIG_LEDS_PWM=y
# CONFIG_LEDS_REGULATOR is not set
Expand Down
26 changes: 12 additions & 14 deletions dts/imx8mm-cgtsx8m-ultimain5.0-lvds-1024x600.dts
Original file line number Diff line number Diff line change
Expand Up @@ -97,20 +97,18 @@
/* 0x000 -- pull-off, CMOS, no-OD, slow, X1 */

&iomuxc {
Ultiboard50 {
pinctrl_leds_1: ledsgrp-1 {
fsl,pins = <
MX8MM_IOMUXC_SPDIF_TX_GPIO5_IO3 0x100 /* GPIO1 / CSI1 PWR */
MX8MM_IOMUXC_SPDIF_EXT_CLK_GPIO5_IO5 0x100 /* GPIO3 / CSI1 RST */
MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6 0x100 /* GPIO2 / CSI0 RST */
>;
};

pinctrl_i2c3_tca6416: i2c3_tca6416 {
fsl,pins = <
MX8MM_IOMUXC_SAI1_RXFS_GPIO4_IO0 0x080 /* GPIO8 / U35 - TCA6416 INT */
>;
};
pinctrl_leds_1: ledsgrp-1 {
fsl,pins = <
MX8MM_IOMUXC_SPDIF_TX_GPIO5_IO3 0x100 /* GPIO1 / CSI1 PWR */
MX8MM_IOMUXC_SPDIF_EXT_CLK_GPIO5_IO5 0x100 /* GPIO3 / CSI1 RST */
MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6 0x100 /* GPIO2 / CSI0 RST */
>;
};

pinctrl_i2c3_tca6416: i2c3_tca6416 {
fsl,pins = <
MX8MM_IOMUXC_SAI1_RXFS_GPIO4_IO0 0x080 /* GPIO8 / U35 - TCA6416 INT */
>;
};
};

Expand Down

0 comments on commit ec87649

Please sign in to comment.