Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1205976 > unrolled thread
| Started by | Alexis Ballier <aballier@gentoo.org> |
|---|---|
| First post | 2015-08-12 13:30 +0200 |
| Last post | 2015-08-13 02:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] ARM: dts: exynos4412-odroidu3: Enable SPI1. Alexis Ballier <aballier@gentoo.org> - 2015-08-12 13:30 +0200
Re: [PATCH] ARM: dts: exynos4412-odroidu3: Enable SPI1. Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-08-13 02:40 +0200
| From | Alexis Ballier <aballier@gentoo.org> |
|---|---|
| Date | 2015-08-12 13:30 +0200 |
| Subject | [PATCH] ARM: dts: exynos4412-odroidu3: Enable SPI1. |
| Message-ID | <pWCoi-2VG-23@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>
---
arch/arm/boot/dts/exynos4412-odroidu3.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts
index 44684e5..37698e4 100644
--- a/arch/arm/boot/dts/exynos4412-odroidu3.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts
@@ -61,3 +61,10 @@
"Speakers", "SPKL",
"Speakers", "SPKR";
};
+
+&spi_1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&spi1_bus>;
+ cs-gpios = <&gpb 5 0>;
+ 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]
| From | Krzysztof Kozlowski <k.kozlowski@samsung.com> |
|---|---|
| Date | 2015-08-13 02:40 +0200 |
| Message-ID | <pWOIO-3RK-7@gated-at.bofh.it> |
| In reply to | #1205976 |
On 12.08.2015 20:27, Alexis Ballier wrote:
> 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>
> ---
> arch/arm/boot/dts/exynos4412-odroidu3.dts | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts
> index 44684e5..37698e4 100644
> --- a/arch/arm/boot/dts/exynos4412-odroidu3.dts
> +++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts
> @@ -61,3 +61,10 @@
> "Speakers", "SPKL",
> "Speakers", "SPKR";
> };
> +
> +&spi_1 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&spi1_bus>;
> + cs-gpios = <&gpb 5 0>;
Please use GPIO_ACTIVE_HIGH.
Best regards,
Krzysztof
> + status = "okay";
> +};
>
--
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