Thread (5 messages) 5 messages, 2 authors, 2015-06-02

[PATCH 1/2] clk: at91: add a new compatible string for Flexcom in the DT documentation

From: Sergei Shtylyov <hidden>
Date: 2015-06-02 19:49:22
Also in: linux-clk, linux-devicetree, lkml

Hello.

On 06/02/2015 07:49 PM, Cyrille Pitchen wrote:
This patches documents the new bindings for the Flexcom clock, which will
be introduced by Atmel sama5d2x chips.
Signed-off-by: Cyrille Pitchen <redacted>
---
  .../devicetree/bindings/clock/at91-clock.txt         | 20 ++++++++++++++++++++
  1 file changed, 20 insertions(+)
quoted hunk ↗ jump to hunk
diff --git a/Documentation/devicetree/bindings/clock/at91-clock.txt b/Documentation/devicetree/bindings/clock/at91-clock.txt
index 7a4d492..df4f40b 100644
--- a/Documentation/devicetree/bindings/clock/at91-clock.txt
+++ b/Documentation/devicetree/bindings/clock/at91-clock.txt
[...]
quoted hunk ↗ jump to hunk
@@ -461,3 +464,20 @@ For example:
  		compatible = "atmel,sama5d4-clk-h32mx";
  		clocks = <&mck>;
  	};
+
+Required properties for flexcom clock:
+- #clock-cells : from common clock binding; shall be set to 0.
+- clocks : shall be the Flexcom peripheral clock from PMC.
+- reg : shall be the range for Flexcom dedicated I/O registers (without USART,
+  TWI or SPI registers).
+- atmel,flexcom-mode : shall be a string value among { "spi", "usart", "i2c",
+  "twi" }. "i2c" and "twi" are synonymous.
+
+For example:
+	flx0: flexcom at f8034000 {
    The ePAPR standard says: "The name of a node should be somewhat generic, 
reflecting the function of the device and not its precise programming model."

[...]

WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help