Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: mediatek: Update document devicetree bindings to support multiple devices

This patch updates document devicetree bindings
to support multiple devices.

Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Leilk Liu and committed by
Mark Brown
eca3a1ee 32b88194

+6 -3
+6 -3
Documentation/devicetree/bindings/spi/spi-mt65xx.txt
··· 29 29 muxes clock, and "spi-clk" for the clock gate. 30 30 31 31 Optional properties: 32 + -cs-gpios: see spi-bus.txt, only required for MT8173. 33 + 32 34 - mediatek,pad-select: specify which pins group(ck/mi/mo/cs) spi 33 - controller used, this value should be 0~3, only required for MT8173. 35 + controller used. This is a array, the element value should be 0~3, 36 + only required for MT8173. 34 37 0: specify GPIO69,70,71,72 for spi pins. 35 38 1: specify GPIO102,103,104,105 for spi pins. 36 39 2: specify GPIO128,129,130,131 for spi pins. ··· 52 49 <&topckgen CLK_TOP_SPI_SEL>, 53 50 <&pericfg CLK_PERI_SPI0>; 54 51 clock-names = "parent-clk", "sel-clk", "spi-clk"; 55 - 56 - mediatek,pad-select = <0>; 52 + cs-gpios = <&pio 105 GPIO_ACTIVE_LOW>, <&pio 72 GPIO_ACTIVE_LOW>; 53 + mediatek,pad-select = <1>, <0>; 57 54 status = "disabled"; 58 55 };