[openwrt/openwrt] imx6: gw52xx: fix duplicate regulator naming

LEDE Commits lede-commits at lists.infradead.org
Thu Jan 7 06:09:28 EST 2021


xback pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/7b3dd33c203e3b080e8529f312c34c265a672a4a

commit 7b3dd33c203e3b080e8529f312c34c265a672a4a
Author: Koen Vandeputte <koen.vandeputte at ncentric.com>
AuthorDate: Thu Jan 7 10:22:54 2021 +0100

    imx6: gw52xx: fix duplicate regulator naming
    
    2 regulator descriptions carry identical naming.
    
    This leads to following boot warning:
    [    0.173138] debugfs: Directory 'vdd1p8' with parent 'regulator' already present!
    
    Fix this by renaming the one used for audio.
    
    Signed-off-by: Koen Vandeputte <koen.vandeputte at ncentric.com>
---
 ...6qdl-gw52xx-fix-duplicate-regulator-namin.patch | 37 ++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/target/linux/imx6/patches-5.4/303-ARM-dts-imx6qdl-gw52xx-fix-duplicate-regulator-namin.patch b/target/linux/imx6/patches-5.4/303-ARM-dts-imx6qdl-gw52xx-fix-duplicate-regulator-namin.patch
new file mode 100644
index 0000000000..c459e6f11c
--- /dev/null
+++ b/target/linux/imx6/patches-5.4/303-ARM-dts-imx6qdl-gw52xx-fix-duplicate-regulator-namin.patch
@@ -0,0 +1,37 @@
+From 069abe403d4eba85eccea16f8b72186a89a68bb1 Mon Sep 17 00:00:00 2001
+From: Koen Vandeputte <koen.vandeputte at ncentric.com>
+Date: Thu, 7 Jan 2021 10:06:03 +0100
+Subject: [PATCH] ARM: dts: imx6qdl-gw52xx: fix duplicate regulator naming
+
+2 regulator descriptions carry identical naming.
+
+This leads to following boot warning:
+[    0.173138] debugfs: Directory 'vdd1p8' with parent 'regulator' already present!
+
+Fix this by renaming the one used for audio.
+
+Fixes: 5051bff33102 ("ARM: dts: imx: ventana: add LTC3676 PMIC support")
+Signed-off-by: Tim Harvey <tharvey at gateworks.com>
+Signed-off-by: Koen Vandeputte <koen.vandeputte at ncentric.com>
+Cc: Fabio Estevam <festevam at gmail.com>
+Cc: Rob Herring <robh+dt at kernel.org>
+Cc: Sascha Hauer <s.hauer at pengutronix.de>
+Cc: Shawn Guo <shawnguo at kernel.org>
+Cc: NXP Linux Team <linux-imx at nxp.com>
+Cc: Pengutronix Kernel Team <kernel at pengutronix.de>
+Cc: stable at vger.kernel.org # v4.11
+---
+ arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
++++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi
+@@ -273,7 +273,7 @@
+ 
+ 			/* VDD_AUD_1P8: Audio codec */
+ 			reg_aud_1p8v: ldo3 {
+-				regulator-name = "vdd1p8";
++				regulator-name = "vdd1p8a";
+ 				regulator-min-microvolt = <1800000>;
+ 				regulator-max-microvolt = <1800000>;
+ 				regulator-boot-on;



More information about the lede-commits mailing list