ARM: dts: imx6ull: Use the correct name for ESAI_TX0
Subsystems (2)
Fabio Estevam
reviewerPATCH 1/1 ARM: dts: imx6ull: Use the correct name for ESAI_TX0
According to the i.MX6ULL Reference Manual, pad CSI_DATA07 may have the ESAI_TX0 functionality, not ESAI_T0.
Also, NXP's i.MX Config Tools 10.0 generates dtsi with the MX6ULL_PAD_CSI_DATA07__ESAI_TX0 naming.
Add an entry for the correct name and still keep the old one to avoid potential breakage.
---
Hi,
I have also sent this patch to the Linux upstream dts:
http://lists.infradead.org/pipermail/linux-arm-kernel/2021-November/697319.html
arch/arm/dts/imx6ull-pinfunc.h | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/dts/imx6ull-pinfunc.h +5 -0
@@ -82,6 +82,11 @@#define MX6ULL_PAD_CSI_DATA04__ESAI_TX_FS 0x01F4 0x0480 0x0000 0x9 0x0#define MX6ULL_PAD_CSI_DATA05__ESAI_TX_CLK 0x01F8 0x0484 0x0000 0x9 0x0#define MX6ULL_PAD_CSI_DATA06__ESAI_TX5_RX0 0x01FC 0x0488 0x0000 0x9 0x0 +/* +* As per the Reference Manual the correct name is ESAI_TX0. +* Keep the old name here to avoid breakage. +*/ #define MX6ULL_PAD_CSI_DATA07__ESAI_T0 0x0200 0x048C 0x0000 0x9 0x0 +#define MX6ULL_PAD_CSI_DATA07__ESAI_TX0 0x0200 0x048C 0x0000 0x9 0x0#endif /* __DTS_IMX6ULL_PINFUNC_H */
Signature · 1 line
2.25.1
Em qui., 18 de nov. de 2021 às 07:06, Fabio Estevam <[email protected]> escreveu:
Quoted 6 lines
According to the i.MX6ULL Reference Manual, pad
CSI_DATA07may have theESAI_TX0functionality, notESAI_T0.Also, NXP's i.MX Config Tools 10.0 generates dtsi with the
MX6ULL_PAD_CSI_DATA07__ESAI_TX0naming.
Quoted 6 lines
Add an entry for the correct name and still keep the old one to avoid potential breakage.
Fixes f8ca22b8de32 ("arm: dts: imx6ull: add pinctrl defines")Reported-by George Makarov <[email protected]>Signed-off-by Fabio Estevam <[email protected]>
Have you verified if there is any use of the old name in the three? if so, a patch converting it would be good.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750
Fabio Estevam
reviewerHi Otavio,
Quoted 12 lines · Otavio Salvador
Em qui., 18 de nov. de 2021 às 07:06, Fabio Estevam <[email protected]> escreveu:
Quoted 9 lines
According to the i.MX6ULL Reference Manual, pad
CSI_DATA07may have theESAI_TX0functionality, notESAI_T0.Also, NXP's i.MX Config Tools 10.0 generates dtsi with the
MX6ULL_PAD_CSI_DATA07__ESAI_TX0naming.Add an entry for the correct name and still keep the old one to avoid potential breakage.
Quoted 6 lines
Quoted 3 lines
Fixes f8ca22b8de32 ("arm: dts: imx6ull: add pinctrl defines")Reported-by George Makarov <[email protected]>Signed-off-by Fabio Estevam <[email protected]>Have you verified if there is any use of the old name in the three? if so, a patch converting it would be good.
There is no in-tree user of MX6ULL_PAD_CSI_DATA07__ESAI_T0 in U-Boot and in the kernel.
Otavio Salvador
Reviewed-byHello Fabio,
Em qui., 18 de nov. de 2021 às 08:36, Fabio Estevam <[email protected]> escreveu:
Quoted 18 lines
Quoted 16 lines · Otavio Salvador
Em qui., 18 de nov. de 2021 às 07:06, Fabio Estevam <[email protected]> escreveu:
Quoted 12 lines
According to the i.MX6ULL Reference Manual, pad
CSI_DATA07may have theESAI_TX0functionality, notESAI_T0.Also, NXP's i.MX Config Tools 10.0 generates dtsi with the
MX6ULL_PAD_CSI_DATA07__ESAI_TX0naming.Add an entry for the correct name and still keep the old one to avoid potential breakage.
Fixes f8ca22b8de32 ("arm: dts: imx6ull: add pinctrl defines")Reported-by George Makarov <[email protected]>Signed-off-by Fabio Estevam <[email protected]>
Quoted 5 lines
Quoted 2 lines
Have you verified if there is any use of the old name in the three? if so, a patch converting it would be good.
There is no in-tree user of
MX6ULL_PAD_CSI_DATA07__ESAI_T0in U-Boot and in the kernel.
Awesome.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750