openwrt/target/linux/bcm27xx/patches-5.15/950-0695-bindings-Add-sck-idle-input-to-spi-gpio.patch
Álvaro Fernández Rojas 20ea6adbf1 bcm27xx: add support for linux v5.15
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2708/RPiB+, bcm2709/RPi3B, bcm2710/RPi3B, bcm2711/RPi4B

Signed-off-by: Marty Jones <mj8263788@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-17 15:11:22 +02:00

24 lines
758 B
Diff

From 6b288a04d38f9f3ba44143fb628d4833201eaded Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Fri, 4 Feb 2022 11:33:28 +0000
Subject: [PATCH] bindings: Add sck-idle-input to spi-gpio
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
Documentation/devicetree/bindings/spi/spi-gpio.yaml | 4 ++++
1 file changed, 4 insertions(+)
--- a/Documentation/devicetree/bindings/spi/spi-gpio.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-gpio.yaml
@@ -43,6 +43,10 @@ properties:
with no chip select is connected.
$ref: "/schemas/types.yaml#/definitions/uint32"
+ sck-idle-input:
+ description: Make SCK an input when inactive.
+ type: boolean
+
# Deprecated properties
gpio-sck: false
gpio-miso: false