Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1206630 > unrolled thread

[PATCH v2] ARM: dts: exynos4412-odroidu3: Enable SPI1.

Started byAlexis Ballier <aballier@gentoo.org>
First post2015-08-13 11:10 +0200
Last post2015-08-13 12:20 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2] ARM: dts: exynos4412-odroidu3: Enable SPI1. Alexis Ballier <aballier@gentoo.org> - 2015-08-13 11:10 +0200
    Re: [PATCH v2] ARM: dts: exynos4412-odroidu3: Enable SPI1. Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-08-13 12:20 +0200
      RE: [PATCH v2] ARM: dts: exynos4412-odroidu3: Enable SPI1. Kukjin Kim <kgene@kernel.org> - 2015-08-13 12:20 +0200

#1206630 — [PATCH v2] ARM: dts: exynos4412-odroidu3: Enable SPI1.

FromAlexis Ballier <aballier@gentoo.org>
Date2015-08-13 11:10 +0200
Subject[PATCH v2] ARM: dts: exynos4412-odroidu3: Enable SPI1.
Message-ID<pWWGm-7c5-35@gated-at.bofh.it>
SPI1 is available on IO Port #2 (as depicted on their website) in
PCB Revision 0.5 of Hardkernel Odroid U3 board.
The shield connects a 256KiB spi-nor flash on that bus.

Signed-off-by: Alexis Ballier <aballier@gentoo.org>

---

Changes in v2: Use GPIO_ACTIVE_HIGH (Krzysztof Kozlowski)

 arch/arm/boot/dts/exynos4412-odroidu3.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts
index 44684e5..8632f35 100644
--- a/arch/arm/boot/dts/exynos4412-odroidu3.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts
@@ -13,6 +13,7 @@
 
 /dts-v1/;
 #include "exynos4412-odroid-common.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 
 / {
 	model = "Hardkernel ODROID-U3 board based on Exynos4412";
@@ -61,3 +62,10 @@
 		"Speakers", "SPKL",
 		"Speakers", "SPKR";
 };
+
+&spi_1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&spi1_bus>;
+	cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
+	status = "okay";
+};
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1206681

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2015-08-13 12:20 +0200
Message-ID<pWXM6-iY-11@gated-at.bofh.it>
In reply to#1206630
W dniu 13.08.2015 o 18:06, Alexis Ballier pisze:
> SPI1 is available on IO Port #2 (as depicted on their website) in
> PCB Revision 0.5 of Hardkernel Odroid U3 board.
> The shield connects a 256KiB spi-nor flash on that bus.
> 
> Signed-off-by: Alexis Ballier <aballier@gentoo.org>
> 
> ---
> 
> Changes in v2: Use GPIO_ACTIVE_HIGH (Krzysztof Kozlowski)
> 
>  arch/arm/boot/dts/exynos4412-odroidu3.dts | 8 ++++++++
>  1 file changed, 8 insertions(+)

Thanks for fixing, looks good:

Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

Best regards,
Krzysztof

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1206682

FromKukjin Kim <kgene@kernel.org>
Date2015-08-13 12:20 +0200
Message-ID<pWXM6-iY-27@gated-at.bofh.it>
In reply to#1206681
Krzysztof Kozlowski wrote:
> 
> W dniu 13.08.2015 o 18:06, Alexis Ballier pisze:
> > SPI1 is available on IO Port #2 (as depicted on their website) in
> > PCB Revision 0.5 of Hardkernel Odroid U3 board.
> > The shield connects a 256KiB spi-nor flash on that bus.
> >
> > Signed-off-by: Alexis Ballier <aballier@gentoo.org>
> >
> > ---
> >
> > Changes in v2: Use GPIO_ACTIVE_HIGH (Krzysztof Kozlowski)
> >
> >  arch/arm/boot/dts/exynos4412-odroidu3.dts | 8 ++++++++
> >  1 file changed, 8 insertions(+)
> 
> Thanks for fixing, looks good:
> 
> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> 
Applied, thanks.

- Kukjin

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web