[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <751b3933df6efde5ca9ad4148ddef8588459cd21.camel@fi.rohmeurope.com>
Date: Mon, 31 Aug 2020 05:27:26 +0000
From: "Vaittinen, Matti" <Matti.Vaittinen@...rohmeurope.com>
To: "miquel.raynal@...tlin.com" <miquel.raynal@...tlin.com>,
"linux-imx@....com" <linux-imx@....com>,
"vigneshr@...com" <vigneshr@...com>,
"Anson.Huang@....com" <Anson.Huang@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"shawnguo@...nel.org" <shawnguo@...nel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"kernel@...gutronix.de" <kernel@...gutronix.de>,
"s.hauer@...gutronix.de" <s.hauer@...gutronix.de>,
"richard@....at" <richard@....at>,
"linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"krzk@...nel.org" <krzk@...nel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"lee.jones@...aro.org" <lee.jones@...aro.org>,
"festevam@...il.com" <festevam@...il.com>,
"han.xu@....com" <han.xu@....com>
Subject: Re: [PATCH v2 11/19] arm64: dts: imx8mn-ddr4-evk: Align regulator
names with schema
On Fri, 2020-08-28 at 18:47 +0200, Krzysztof Kozlowski wrote:
> Device tree schema expects regulator names to be lowercase. Changing
> to
> lowercase has multiple effects:
> 1. LDO6 supply is now properly configured, because regulator driver
> looks for supplies by lowercase name,
> 2. User-visible names via sysfs or debugfs are now lowercase,
> 2. dtbs_check warnings are fixed:
>
> pmic@4b: regulators:LDO1:regulator-name:0: 'LDO1' does not match
> '^ldo[1-6]$'
>
> Signed-off-by: Krzysztof Kozlowski <krzk@...nel.org>
FWIW:
Acked-By: Matti Vaittinen <matti.vaittinen@...rohmeurope.com>
> ---
> .../boot/dts/freescale/imx8mn-ddr4-evk.dts | 22 +++++++++------
> ----
> 1 file changed, 11 insertions(+), 11 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
> b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
> index 3ac8f9d3c372..8f7155716c84 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts
> @@ -60,7 +60,7 @@
>
> regulators {
> buck1_reg: BUCK1 {
> - regulator-name = "BUCK1";
> + regulator-name = "buck1";
> regulator-min-microvolt = <700000>;
> regulator-max-microvolt = <1300000>;
> regulator-boot-on;
> @@ -69,7 +69,7 @@
> };
>
> buck2_reg: BUCK2 {
> - regulator-name = "BUCK2";
> + regulator-name = "buck2";
> regulator-min-microvolt = <700000>;
> regulator-max-microvolt = <1300000>;
> regulator-boot-on;
> @@ -79,14 +79,14 @@
>
> buck3_reg: BUCK3 {
> // BUCK5 in datasheet
> - regulator-name = "BUCK3";
> + regulator-name = "buck3";
> regulator-min-microvolt = <700000>;
> regulator-max-microvolt = <1350000>;
> };
>
> buck4_reg: BUCK4 {
> // BUCK6 in datasheet
> - regulator-name = "BUCK4";
> + regulator-name = "buck4";
> regulator-min-microvolt = <3000000>;
> regulator-max-microvolt = <3300000>;
> regulator-boot-on;
> @@ -95,7 +95,7 @@
>
> buck5_reg: BUCK5 {
> // BUCK7 in datasheet
> - regulator-name = "BUCK5";
> + regulator-name = "buck5";
> regulator-min-microvolt = <1605000>;
> regulator-max-microvolt = <1995000>;
> regulator-boot-on;
> @@ -104,7 +104,7 @@
>
> buck6_reg: BUCK6 {
> // BUCK8 in datasheet
> - regulator-name = "BUCK6";
> + regulator-name = "buck6";
> regulator-min-microvolt = <800000>;
> regulator-max-microvolt = <1400000>;
> regulator-boot-on;
> @@ -112,7 +112,7 @@
> };
>
> ldo1_reg: LDO1 {
> - regulator-name = "LDO1";
> + regulator-name = "ldo1";
> regulator-min-microvolt = <1600000>;
> regulator-max-microvolt = <3300000>;
> regulator-boot-on;
> @@ -120,7 +120,7 @@
> };
>
> ldo2_reg: LDO2 {
> - regulator-name = "LDO2";
> + regulator-name = "ldo2";
> regulator-min-microvolt = <800000>;
> regulator-max-microvolt = <900000>;
> regulator-boot-on;
> @@ -128,7 +128,7 @@
> };
>
> ldo3_reg: LDO3 {
> - regulator-name = "LDO3";
> + regulator-name = "ldo3";
> regulator-min-microvolt = <1800000>;
> regulator-max-microvolt = <3300000>;
> regulator-boot-on;
> @@ -136,7 +136,7 @@
> };
>
> ldo4_reg: LDO4 {
> - regulator-name = "LDO4";
> + regulator-name = "ldo4";
> regulator-min-microvolt = <900000>;
> regulator-max-microvolt = <1800000>;
> regulator-boot-on;
> @@ -144,7 +144,7 @@
> };
>
> ldo6_reg: LDO6 {
> - regulator-name = "LDO6";
> + regulator-name = "ldo6";
> regulator-min-microvolt = <900000>;
> regulator-max-microvolt = <1800000>;
> regulator-boot-on;
Powered by blists - more mailing lists