All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] dts: db410: fix indentation
@ 2019-01-12  9:48 Ramon Fried
  2019-01-12  9:48 ` [U-Boot] [PATCH 2/2] mach-snapdragon: db410: pinctrl: fix pin count Ramon Fried
  2019-01-19  2:52 ` [U-Boot] [U-Boot,1/2] dts: db410: fix indentation Tom Rini
  0 siblings, 2 replies; 4+ messages in thread
From: Ramon Fried @ 2019-01-12  9:48 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
---

 arch/arm/dts/dragonboard410c-uboot.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/dragonboard410c-uboot.dtsi b/arch/arm/dts/dragonboard410c-uboot.dtsi
index a07c97e811..9c1be2566f 100644
--- a/arch/arm/dts/dragonboard410c-uboot.dtsi
+++ b/arch/arm/dts/dragonboard410c-uboot.dtsi
@@ -28,8 +28,8 @@
 
 		serial at 78b0000 {
 			u-boot,dm-pre-reloc;
-			};
 		};
+	};
 };
 
 
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 2/2] mach-snapdragon: db410: pinctrl: fix pin count
  2019-01-12  9:48 [U-Boot] [PATCH 1/2] dts: db410: fix indentation Ramon Fried
@ 2019-01-12  9:48 ` Ramon Fried
  2019-01-19  2:52   ` [U-Boot] [U-Boot, " Tom Rini
  2019-01-19  2:52 ` [U-Boot] [U-Boot,1/2] dts: db410: fix indentation Tom Rini
  1 sibling, 1 reply; 4+ messages in thread
From: Ramon Fried @ 2019-01-12  9:48 UTC (permalink / raw)
  To: u-boot

Pin count in APQ8016 was wrong, fix that.

Fixes: ad97051b7ff6 ("mach-snapdragon: Introduce pinctrl driver")
Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
---

 arch/arm/mach-snapdragon/pinctrl-apq8016.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-snapdragon/pinctrl-apq8016.c b/arch/arm/mach-snapdragon/pinctrl-apq8016.c
index bdb755d0e4..1042b564c3 100644
--- a/arch/arm/mach-snapdragon/pinctrl-apq8016.c
+++ b/arch/arm/mach-snapdragon/pinctrl-apq8016.c
@@ -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,
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [U-Boot,1/2] dts: db410: fix indentation
  2019-01-12  9:48 [U-Boot] [PATCH 1/2] dts: db410: fix indentation Ramon Fried
  2019-01-12  9:48 ` [U-Boot] [PATCH 2/2] mach-snapdragon: db410: pinctrl: fix pin count Ramon Fried
@ 2019-01-19  2:52 ` Tom Rini
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Rini @ 2019-01-19  2:52 UTC (permalink / raw)
  To: u-boot

On Sat, Jan 12, 2019 at 11:48:27AM +0200, Ramon Fried wrote:

> Signed-off-by: Ramon Fried <ramon.fried@gmail.com>

Applied to u-boot/master, thanks!

-- 
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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [U-Boot, 2/2] mach-snapdragon: db410: pinctrl: fix pin count
  2019-01-12  9:48 ` [U-Boot] [PATCH 2/2] mach-snapdragon: db410: pinctrl: fix pin count Ramon Fried
@ 2019-01-19  2:52   ` Tom Rini
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2019-01-19  2:52 UTC (permalink / raw)
  To: u-boot

On Sat, Jan 12, 2019 at 11:48:28AM +0200, Ramon Fried wrote:

> Pin count in APQ8016 was wrong, fix that.
> 
> Fixes: ad97051b7ff6 ("mach-snapdragon: Introduce pinctrl driver")
> Signed-off-by: Ramon Fried <ramon.fried@gmail.com>

Applied to u-boot/master, thanks!

-- 
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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-19  2:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-12  9:48 [U-Boot] [PATCH 1/2] dts: db410: fix indentation Ramon Fried
2019-01-12  9:48 ` [U-Boot] [PATCH 2/2] mach-snapdragon: db410: pinctrl: fix pin count Ramon Fried
2019-01-19  2:52   ` [U-Boot] [U-Boot, " Tom Rini
2019-01-19  2:52 ` [U-Boot] [U-Boot,1/2] dts: db410: fix indentation Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.