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

spi: meson: Add SPICC bindings

Add the SPICC (SPI Communications Controller) bindings variant.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Neil Armstrong and committed by
Mark Brown
01a330da 2ea659a9

+31
+31
Documentation/devicetree/bindings/spi/spi-meson.txt
··· 20 20 #address-cells = <1>; 21 21 #size-cells = <0>; 22 22 }; 23 + 24 + * SPICC (SPI Communication Controller) 25 + 26 + The Meson SPICC is generic SPI controller for general purpose Full-Duplex 27 + communications with dedicated 16 words RX/TX PIO FIFOs. 28 + 29 + Required properties: 30 + - compatible: should be "amlogic,meson-gx-spicc" on Amlogic GX SoCs. 31 + - reg: physical base address and length of the controller registers 32 + - interrupts: The interrupt specifier 33 + - clock-names: Must contain "core" 34 + - clocks: phandle of the input clock for the baud rate generator 35 + - #address-cells: should be 1 36 + - #size-cells: should be 0 37 + 38 + Optional properties: 39 + - resets: phandle of the internal reset line 40 + 41 + See ../spi/spi-bus.txt for more details on SPI bus master and slave devices 42 + required and optional properties. 43 + 44 + Example : 45 + spi@c1108d80 { 46 + compatible = "amlogic,meson-gx-spicc"; 47 + reg = <0xc1108d80 0x80>; 48 + interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; 49 + clock-names = "core"; 50 + clocks = <&clk81>; 51 + #address-cells = <1>; 52 + #size-cells = <0>; 53 + };