spi: clps711x: dts: Add bindings documentation for the CLPS711X SPI driver
Subsystems (2)
PATCH 3/3 spi: clps711x: dts: Add bindings documentation for the CLPS711X SPI driver
This patch adds the devicetree documentation for the Cirrus Logic CLPS711X SPI driver.
--- .../devicetree/bindings/spi/spi-clps711x.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-clps711x.txt
Documentation/devicetree/bindings/spi/spi-clps711x.txt new file +20 -0
@@ -0,0 +1,20 @@ +* Cirrus Logic ARM CLPS711X Serial Peripheral Interface (SPI) + +Required properties: +- compatible: Shall contain "cirrus,clps711x-spi". +- reg: Offset and length of the register set for the device. +- interrupts: Should contain SPI interrupt. +- clocks: phandle to SPI reference clock. +- cs-gpios: Specifies the GPIO pins to be used for chipselects. + +Example: + spi: spi@80000500 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "cirrus,ep7312-spi", "cirrus,clps711x-spi"; + reg = <0x80000500 0x4>; + interrupts = <15>; + clocks = <&clks CLPS711X_CLK_SPIREF>; + cs-gpios = <&portb 4 GPIO_ACTIVE_LOW>, + <&portb 5 GPIO_ACTIVE_LOW>; + };
Signature · 6 lines
1.8.5.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 15 lines · Alexander Shiyan
This patch adds the devicetree documentation for the Cirrus Logic CLPS711X SPI driver.
Signed-off-by Alexander Shiyan <shc_work-JGs/[email protected]>--- .../devicetree/bindings/spi/spi-clps711x.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-clps711x.txtDocumentation/devicetree/bindings/spi/spi-clps711x.txt new file +0
-0
Documentation/devicetree/bindings/spi/spi-clps711x.txt line 4
Quoted 4 lines
Documentation/devicetree/bindings/spi/spi-clps711x.txt new file +4
-0@@ -0,0 +1,20 @@ +* Cirrus Logic ARM CLPS711X Serial Peripheral Interface (SPI) + +Required properties: +- compatible: Shall contain "cirrus,clps711x-spi".
Is there a specific "clps11x" device, or is that 'x' a wildcard?
Please don't use wildcards in bindings. Choose a particular device as the fallback string to use.
Documentation/devicetree/bindings/spi/spi-clps711x.txt line 14
Quoted 10 lines
Documentation/devicetree/bindings/spi/spi-clps711x.txt new file +10
-0+- reg: Offset and length of the register set for the device. +- interrupts: Should contain SPI interrupt. +- clocks: phandle to SPI reference clock. +- cs-gpios: Specifies the GPIO pins to be used for chipselects. + +Example: + spi: spi@80000500 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "cirrus,ep7312-spi", "cirrus,clps711x-spi";
Which other strings are compatible?
Thanks,
Mark.
Quoted 14 lines
Documentation/devicetree/bindings/spi/spi-clps711x.txt new file +6
-0+ reg = <0x80000500 0x4>; + interrupts = <15>; + clocks = <&clks CLPS711X_CLK_SPIREF>; + cs-gpios = <&portb 4 GPIO_ACTIVE_LOW>, + <&portb 5 GPIO_ACTIVE_LOW>; + };Signature · 6 lines
1.8.5.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
K0NDOiBBcm5kIEJlcmdtYW5uIAoKTW9uLCAyMiBTZXAgMjAxNCAxOTowODo1MiArMDEwMCDQvtGC IE1hcmsgUnV0bGFuZCA8bWFyay5ydXRsYW5kQGFybS5jb20+Ogo+IE9uIFNhdCwgU2VwIDIwLCAy MDE0IGF0IDA4OjA1OjM2QU0gKzAxMDAsIEFsZXhhbmRlciBTaGl5YW4gd3JvdGU6Cj4gPiBUaGlz IHBhdGNoIGFkZHMgdGhlIGRldmljZXRyZWUgZG9jdW1lbnRhdGlvbiBmb3IgdGhlCj4gPiBDaXJy dXMgTG9naWMgQ0xQUzcxMVggU1BJIGRyaXZlci4KPiA+IAo+ID4gU2lnbmVkLW9mZi1ie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gaW4gYmluZGlu Z3MuIENob29zZSBhIHBhcnRpY3VsYXIgZGV2aWNlIGFzCj4gdGhlIGZhbGxiYWNrIHN0cmluZyB0 byB1c2UuCgpXZSBoYXZlIGFncmVlZCB0byB1c2Ugc3VjaCBjb21wYXRpYmxlIHN0cmluZyBmb3Jt YXQgZm9yIHRoaXMgcGxhdGZvcm0uCmh0dHA6Ly93d3cuc3Bpbmljcy5uZXQvbGlzdHMvbGludXgt cHdtL21zZzAwOTU4Lmh0bWwKQWxsIENMUFM3MTFYLWRyaXZlcnMgdXNlIHRoaXMgZm9ybWF0LgoK LS0tCgo=
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html