Skip to contentSkip to conversation

dts: db410: fix indentation

PATCH New Ramon Fried 2 participants 4 messages Jan 12, 2019 – Jan 19, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dts: db410: fix indentation

---

 arch/arm/dts/dragonboard410c-uboot.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/dts/dragonboard410c-uboot.dtsi +1 -1
index a07c97e811..9c1be2566f 100644
@@ -28,8 +28,8 @@
 
 		serial at 78b0000 {
 			u-boot,dm-pre-reloc;
-			};
 		};
+	};
 };
 
 
Signature · 1 line
2.20.1
#1 lore raw

PATCH 2/2 mach-snapdragon: db410: pinctrl: fix pin count

Pin count in APQ8016 was wrong, fix that.

Fixes ad97051b7ff6 ("mach-snapdragon: Introduce pinctrl driver")

---

 arch/arm/mach-snapdragon/pinctrl-apq8016.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/mach-snapdragon/pinctrl-apq8016.c +3 -3
index bdb755d0e4..1042b564c3 100644
@@ -39,11 +39,11 @@ static const char *apq8016_get_function_name(struct udevice *dev,
 static const char *apq8016_get_pin_name(struct udevice *dev,
 					unsigned int selector)
 {
-	if (selector < 130) {
+	if (selector < 122) {
 		snprintf(pin_name, MAX_PIN_NAME_LEN, "GPIO_%u", selector);
 		return pin_name;
 	} else {
-		return msm_pinctrl_pins[selector - 130];
+		return msm_pinctrl_pins[selector - 122];
 	}
 }
 
@@ -53,7 +53,7 @@ static unsigned int apq8016_get_function_mux(unsigned int selector)
 }
 
 struct msm_pinctrl_data apq8016_data = {
-	.pin_count = 140,
+	.pin_count = 133,
 	.functions_count = ARRAY_SIZE(msm_pinctrl_functions),
 	.get_function_name = apq8016_get_function_name,
 	.get_function_mux = apq8016_get_function_mux,
Signature · 1 line
2.20.1
#2 lore raw

PATCH 2/2 mach-snapdragon: db410: pinctrl: fix pin count

Quoted 4 lines · Ramon Fried

Pin count in APQ8016 was wrong, fix that.

Fixes ad97051b7ff6 ("mach-snapdragon: Introduce pinctrl driver")

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190118/d4d5cc9b/attachment.sig>
#3 lore raw

PATCH 1/2 dts: db410: fix indentation

In reply to Ramon Fried
Quoted 1 line · Ramon Fried

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190118/f91b71ac/attachment.sig>