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.13-1+rpi1~8^2~74 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7b2c686fcd67a51474d6d71ee2dbd5ae669f3c29;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 {