Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1246278
| From | Leilk Liu <leilk.liu@mediatek.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/5] dt-binding: spi: Mediatek: Update document devicetree bindings to support multiple devices |
| Date | 2015-10-14 05:30 +0200 |
| Message-ID | <qjkVk-2Hm-23@gated-at.bofh.it> (permalink) |
| References | <qjkVk-2Hm-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This patch update document devicetree bindings to
support multiple devices.
Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
---
Documentation/devicetree/bindings/spi/spi-mt65xx.txt | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt
index dcefc43..8391193 100644
--- a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt
+++ b/Documentation/devicetree/bindings/spi/spi-mt65xx.txt
@@ -28,8 +28,11 @@ Required properties:
"parent-clk" for the parent clock.
Optional properties:
+-cs-gpios: see spi-bus.txt, only required for MT8173.
+
- mediatek,pad-select: specify which pins group(ck/mi/mo/cs) spi
- controller used, this value should be 0~3, only required for MT8173.
+ controller used. This is a array, the element value should be 0~3,
+ only required for MT8173.
0: specify GPIO69,70,71,72 for spi pins.
1: specify GPIO102,103,104,105 for spi pins.
2: specify GPIO128,129,130,131 for spi pins.
@@ -46,6 +49,7 @@ spi: spi@1100a000 {
interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_LOW>;
clocks = <&topckgen CLK_TOP_SPI_SEL>, <&topckgen CLK_TOP_SYSPLL3_D2>;
clock-names = "spi-clk", "parent-clk";
- mediatek,pad-select = <0>;
+ cs-gpios = <&pio 105 GPIO_ACTIVE_LOW>, <&pio 72 GPIO_ACTIVE_LOW>;
+ mediatek,pad-select = <1>, <0>;
status = "disabled";
};
--
1.8.1.1.dirty
--
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/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/5] mt8173 spi multiple devices support Leilk Liu <leilk.liu@mediatek.com> - 2015-10-14 05:30 +0200
[PATCH 3/5] spi: mediatek: handle controller_data in mtk_spi_setup Leilk Liu <leilk.liu@mediatek.com> - 2015-10-14 05:30 +0200
[PATCH 1/5] dt-binding: spi: Mediatek: Update document devicetree bindings to support multiple devices Leilk Liu <leilk.liu@mediatek.com> - 2015-10-14 05:30 +0200
[PATCH 5/5] arm64: dts: spi bus dts support multiple devices Leilk Liu <leilk.liu@mediatek.com> - 2015-10-14 05:30 +0200
Re: [PATCH 5/5] arm64: dts: spi bus dts support multiple devices Sascha Hauer <s.hauer@pengutronix.de> - 2015-10-14 08:00 +0200
[PATCH 4/5] spi: mediatek: mt8173 spi multiple devices support Leilk Liu <leilk.liu@mediatek.com> - 2015-10-14 05:30 +0200
csiph-web