dts: bindings: rename nxp,imx-lpi2c compatible

Rename "nxp,imx-lpi2c" compatible to "nxp,lpi2c" to remove the
device family from its name.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
This commit is contained in:
Manuel Argüelles 2024-11-24 15:02:38 +07:00 committed by Anas Nashif
commit 1428fd02a2
20 changed files with 72 additions and 72 deletions

View file

@ -28,7 +28,7 @@ void soc_reset_hook(void)
#define FLEXCOMM_CHECK_2(n) \
BUILD_ASSERT((DT_NODE_HAS_COMPAT(n, nxp_kinetis_lpuart) == 0) && \
(DT_NODE_HAS_COMPAT(n, nxp_imx_lpi2c) == 0), \
(DT_NODE_HAS_COMPAT(n, nxp_lpi2c) == 0), \
"Do not enable SPI and UART/I2C on the same Flexcomm node");
/* For SPI node enabled, check if UART or I2C is also enabled on the same parent Flexcomm node */

View file

@ -141,11 +141,11 @@ static ALWAYS_INLINE void clock_init(void)
CLOCK_EnableClock(kCLOCK_Tpm1);
}
if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(lpi2c0), nxp_imx_lpi2c, okay)) {
if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(lpi2c0), nxp_lpi2c, okay)) {
CLOCK_EnableClock(kCLOCK_Lpi2c0);
}
if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(lpi2c1), nxp_imx_lpi2c, okay)) {
if (DT_NODE_HAS_COMPAT_STATUS(DT_NODELABEL(lpi2c1), nxp_lpi2c, okay)) {
CLOCK_EnableClock(kCLOCK_Lpi2c1);
}