diff options
| author | Frank Li <Frank.Li@nxp.com> | 2026-09-01 18:25:39 -0400 |
|---|---|---|
| committer | Frank Li <Frank.Li@nxp.com> | 2026-09-14 14:56:45 -0400 |
| commit | 4ca5ffee7500c3ce78fc821fa4eedfcb28e445a4 (patch) | |
| tree | f23d4cc769c3c66af588aff6e05a761aee011873 | |
| parent | 8fdbfe040d08ed7d7c5e2dde2c16328ff29f086b (diff) | |
ARM: dts: imx50-kobo-aura: convert sd2_vmmc to regulator-fixed
The sd2_vmmc regulator was using compatible = "regulator-gpio" with
only a single state entry (states = <3300000 0>), which violates the
gpio-regulator DT schema that requires at least two state pairs.
Since the regulator operates at a fixed 3.3 V (regulator-min-microvolt
equals regulator-max-microvolt), convert the node to regulator-fixed.
Fix below check_dtbs warnings:
arch/arm/boot/dts/nxp/imx/imx50-kobo-aura.dtb: gpio-regulator (regulator-gpio): states: [[3300000, 0]] is too short
Signed-off-by: Frank Li <Frank.Li@nxp.com>
| -rw-r--r-- | arch/arm/boot/dts/nxp/imx/imx50-kobo-aura.dts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/nxp/imx/imx50-kobo-aura.dts b/arch/arm/boot/dts/nxp/imx/imx50-kobo-aura.dts index 4725ee241cb1..4d8672ab1c42 100644 --- a/arch/arm/boot/dts/nxp/imx/imx50-kobo-aura.dts +++ b/arch/arm/boot/dts/nxp/imx/imx50-kobo-aura.dts @@ -75,15 +75,14 @@ reset-gpios = <&gpio4 17 GPIO_ACTIVE_LOW>; }; - sd2_vmmc: gpio-regulator { - compatible = "regulator-gpio"; + sd2_vmmc: regulator-sd2-vmmc { + compatible = "regulator-fixed"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sd2_vmmc>; regulator-name = "vmmc"; - states = <3300000 0>; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - enable-gpios = <&gpio4 12 GPIO_ACTIVE_LOW>; + gpio = <&gpio4 12 GPIO_ACTIVE_LOW>; startup-delay-us = <100000>; }; }; |
