Skip to content

Commit c91d473

Browse files
danieldegrassedleach02
authored andcommitted
drivers: imx_usdhc: change DT_COMPAT string to imx-usdhc
with the legacy USDHC driver fully removed from the tree, the nxp,imx-usdhc binding can now be used for the new SD host controller driver. Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent 409cc23 commit c91d473

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

drivers/sdhc/imx_usdhc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright (c) 2022 NXP
2+
* Copyright 2022 NXP
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

77

8-
#define DT_DRV_COMPAT nxp_imx_sdhc
8+
#define DT_DRV_COMPAT nxp_imx_usdhc
99

1010
#include <zephyr/zephyr.h>
1111
#include <zephyr/devicetree.h>

dts/arm/nxp/nxp_rt.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@
680680
};
681681

682682
usdhc1: usdhc@402c0000 {
683-
compatible = "nxp,imx-sdhc";
683+
compatible = "nxp,imx-usdhc";
684684
reg = <0x402c0000 0x4000>;
685685
status = "disabled";
686686
interrupts = <110 0>;
@@ -693,7 +693,7 @@
693693
};
694694

695695
usdhc2: usdhc@402c4000 {
696-
compatible = "nxp,imx-sdhc";
696+
compatible = "nxp,imx-usdhc";
697697
reg = <0x402c4000 0x4000>;
698698
status = "disabled";
699699
interrupts = <111 0>;

dts/arm/nxp/nxp_rt11xx.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@
775775
};
776776

777777
usdhc1: usdhc@40418000 {
778-
compatible = "nxp,imx-sdhc";
778+
compatible = "nxp,imx-usdhc";
779779
reg = <0x40418000 0x4000>;
780780
status = "disabled";
781781
interrupts = <133 0>;
@@ -788,7 +788,7 @@
788788
};
789789

790790
usdhc2: usdhc@4041c000 {
791-
compatible = "nxp,imx-sdhc";
791+
compatible = "nxp,imx-usdhc";
792792
reg = <0x4041c000 0x4000>;
793793
status = "disabled";
794794
interrupts = <134 0>;

dts/arm/nxp/nxp_rt5xx_common.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@
369369
};
370370

371371
usdhc1: usdhc@136000 {
372-
compatible = "nxp,imx-sdhc";
372+
compatible = "nxp,imx-usdhc";
373373
reg = <0x136000 0x1000>;
374374
status = "disabled";
375375
interrupts = <45 0>;
@@ -382,7 +382,7 @@
382382
};
383383

384384
usdhc2: usdhc@137000 {
385-
compatible = "nxp,imx-sdhc";
385+
compatible = "nxp,imx-usdhc";
386386
reg = <0x137000 0x1000>;
387387
status = "disabled";
388388
interrupts = <46 0>;

dts/arm/nxp/nxp_rt6xx_common.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@
321321
};
322322

323323
usdhc1: usdhc@136000 {
324-
compatible = "nxp,imx-sdhc";
324+
compatible = "nxp,imx-usdhc";
325325
reg = <0x136000 0x1000>;
326326
status = "disabled";
327327
interrupts = <45 0>;
@@ -334,7 +334,7 @@
334334
};
335335

336336
usdhc2: usdhc@137000 {
337-
compatible = "nxp,imx-sdhc";
337+
compatible = "nxp,imx-usdhc";
338338
reg = <0x137000 0x1000>;
339339
status = "disabled";
340340
interrupts = <46 0>;

dts/bindings/sdhc/nxp,imx-sdhc.yaml renamed to dts/bindings/sdhc/nxp,imx-usdhc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
description: NXP imx USDHC controller
55

6-
compatible: "nxp,imx-sdhc"
6+
compatible: "nxp,imx-usdhc"
77

88
include: [sdhc.yaml, pinctrl-device.yaml]
99

0 commit comments

Comments
 (0)