All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: rk3288: add SPI flash node for veyron
@ 2016-05-06  1:02 ` Brian Norris
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Norris @ 2016-05-06  1:02 UTC (permalink / raw)
  To: Heiko Stuebner; +Cc: linux-rockchip, linux-kernel, Brian Norris

This is a standard binding for describing SPI flash that can be
identified by reading their JEDEC ID. Let's use it.

Tested on Veyron Jaq.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
---
 arch/arm/boot/dts/rk3288-veyron.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi
index 412809c60d01..28f8ba8ae500 100644
--- a/arch/arm/boot/dts/rk3288-veyron.dtsi
+++ b/arch/arm/boot/dts/rk3288-veyron.dtsi
@@ -369,6 +369,12 @@
 	status = "okay";
 
 	rx-sample-delay-ns = <12>;
+
+	flash@0 {
+		compatible = "jedec,spi-nor";
+		spi-max-frequency = <50000000>;
+		reg = <0>;
+	};
 };
 
 &tsadc {
-- 
2.8.0.rc3.226.g39d4020

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

* [PATCH] ARM: dts: rk3288: add SPI flash node for veyron
@ 2016-05-06  1:02 ` Brian Norris
  0 siblings, 0 replies; 3+ messages in thread
From: Brian Norris @ 2016-05-06  1:02 UTC (permalink / raw)
  To: Heiko Stuebner; +Cc: linux-rockchip, linux-kernel, Brian Norris

This is a standard binding for describing SPI flash that can be
identified by reading their JEDEC ID. Let's use it.

Tested on Veyron Jaq.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
---
 arch/arm/boot/dts/rk3288-veyron.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi
index 412809c60d01..28f8ba8ae500 100644
--- a/arch/arm/boot/dts/rk3288-veyron.dtsi
+++ b/arch/arm/boot/dts/rk3288-veyron.dtsi
@@ -369,6 +369,12 @@
 	status = "okay";
 
 	rx-sample-delay-ns = <12>;
+
+	flash@0 {
+		compatible = "jedec,spi-nor";
+		spi-max-frequency = <50000000>;
+		reg = <0>;
+	};
 };
 
 &tsadc {
-- 
2.8.0.rc3.226.g39d4020

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

* Re: [PATCH] ARM: dts: rk3288: add SPI flash node for veyron
  2016-05-06  1:02 ` Brian Norris
  (?)
@ 2016-05-08 21:22 ` Heiko Stuebner
  -1 siblings, 0 replies; 3+ messages in thread
From: Heiko Stuebner @ 2016-05-08 21:22 UTC (permalink / raw)
  To: Brian Norris; +Cc: linux-rockchip, linux-kernel

Am Donnerstag, 5. Mai 2016, 18:02:44 schrieb Brian Norris:
> This is a standard binding for describing SPI flash that can be
> identified by reading their JEDEC ID. Let's use it.
> 
> Tested on Veyron Jaq.
> 
> Signed-off-by: Brian Norris <computersforpeace@gmail.com>

I've adapted the subject to
	ARM: dts: rockchip: add SPI flash node for rk3288-veyron

and applied the patch to a temporary dts32-branch for 4.8


Thanks
Heiko

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

end of thread, other threads:[~2016-05-08 21:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-06  1:02 [PATCH] ARM: dts: rk3288: add SPI flash node for veyron Brian Norris
2016-05-06  1:02 ` Brian Norris
2016-05-08 21:22 ` Heiko Stuebner

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.