lkml.org 
[lkml]   [2018]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCHv2 1/3] dt-bindings: misc: achc: Make ezport distinguishable
Date
This updates the GE ACHC binding, so that different compatible
strings are used for the programming interface, which is the
ezport interface from NXP MK20FN1M0VMD12 and the microcontroller's
normal SPI interface.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
---
Documentation/devicetree/bindings/misc/ge-achc.txt | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/misc/ge-achc.txt b/Documentation/devicetree/bindings/misc/ge-achc.txt
index 77df94d7a32f..6c6bd6568504 100644
--- a/Documentation/devicetree/bindings/misc/ge-achc.txt
+++ b/Documentation/devicetree/bindings/misc/ge-achc.txt
@@ -7,7 +7,13 @@ Note: This device does not expose the peripherals as USB devices.

Required properties:

-- compatible : Should be "ge,achc"
+- compatible : Should be
+ "ge,achc" (normal interface)
+ "ge,achc-ezport" (flashing interface)
+
+Required properties (flashing interface only):
+
+- reset-gpios: GPIO Specifier for the reset GPIO

Required SPI properties:

@@ -19,8 +25,15 @@ Required SPI properties:

Example:

-spidev0: spi@0 {
- compatible = "ge,achc";
+spidev1: spi@0 {
+ compatible = "ge,achc-ezport";
reg = <0>;
+ spi-max-frequency = <300000>;
+ reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
+};
+
+spidev0: spi@1 {
+ compatible = "ge,achc";
+ reg = <1>;
spi-max-frequency = <1000000>;
};
--
2.16.2
\
 
 \ /
  Last update: 2018-03-27 15:54    [W:0.092 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site