From: Phil Elwell Date: Fri, 1 Jul 2016 21:09:24 +0000 (+0100) Subject: spi-bcm2835: Disable forced software CS X-Git-Tag: archive/raspbian/4.9.82-1+deb9u3+rpi1_jessie~5^2~362 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=01d2ad99ffa4739c2afb99ed023ab965e830d6da;p=linux-4.9.git spi-bcm2835: Disable forced software CS Select software CS in bcm2708_common.dtsi, and disable the automatic conversion in the driver to allow hardware CS to be re-enabled with an overlay. See: https://github.com/raspberrypi/linux/issues/1547 Signed-off-by: Phil Elwell --- diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index 74dd21b7373c..51cdefbf5eb2 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -163,6 +163,7 @@ #address-cells = <1>; #size-cells = <0>; status = "disabled"; + cs-gpios = <&gpio 8 1>, <&gpio 7 1>; }; i2c0: i2c@7e205000 {