mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
dt-bindings: spi: rockchip-sfc: Add sfc-cs-gpios property
Part of ROCKCHIP SOC FSPI ip has only one CSN function io, and since the limitation of spi-mem which is not support cs-gpios, add sfc-cs-gpios for cs extension. Change-Id: Ie3614e306a3c6eb5dff0631b13a58243abfc7d23 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
@@ -59,6 +59,11 @@ required:
|
||||
- clocks
|
||||
- clock-names
|
||||
|
||||
Optional properties:
|
||||
- sfc-cs-gpios: specifies the gpio pins to be used for chipselects.
|
||||
The gpios will be referred to as reg = <index> in the SPI child nodes.
|
||||
If unspecified, a single SPI device without a chip select can be used.
|
||||
|
||||
unevaluatedProperties: false
|
||||
|
||||
examples:
|
||||
@@ -76,6 +81,7 @@ examples:
|
||||
pinctrl-0 = <&sfc_clk &sfc_cs &sfc_bus2>;
|
||||
pinctrl-names = "default";
|
||||
power-domains = <&power PX30_PD_MMC_NAND>;
|
||||
sfc-cs-gpios = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>, <&gpio4 RK_PA5 GPIO_ACTIVE_LOW>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user