From 15bc748bda32786f17e657e974a6081331b2f754 Mon Sep 17 00:00:00 2001 From: Jon Lin Date: Sun, 3 Mar 2024 14:07:42 +0800 Subject: [PATCH] dt-bindings: spi: rockchip-sfc: Add reset-gpios property For Octal flash, it is possible that the pre Kenrel stage has already been initialized to a specific IO mode in the flash. To avoid abnormal initialization processes, it is necessary to reset the device first. Change-Id: I7a80aa510758697022ef2b9af7b6364e7d253ce7 Signed-off-by: Jon Lin --- Documentation/devicetree/bindings/spi/rockchip-sfc.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml b/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml index 39f73a3ad626..7ab581a7a127 100644 --- a/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml +++ b/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml @@ -63,6 +63,7 @@ Optional properties: - sfc-cs-gpios: specifies the gpio pins to be used for chipselects. The gpios will be referred to as reg = in the SPI child nodes. If unspecified, a single SPI device without a chip select can be used. + - reset-gpios: specifies the reset gpio pin to be used for reseting the devices. unevaluatedProperties: false @@ -82,6 +83,7 @@ examples: 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>; + reset-gpios = <&gpio1 RK_PB0 GPIO_ACTIVE_LOW>; #address-cells = <1>; #size-cells = <0>;