spi-bcm2835: Disable forced software CS
authorPhil Elwell <phil@raspberrypi.org>
Fri, 1 Jul 2016 21:09:24 +0000 (22:09 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 9 Mar 2017 17:52:10 +0000 (17:52 +0000)
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 <phil@raspberrypi.org>
arch/arm/boot/dts/bcm283x.dtsi

index 74dd21b7373c7564ede01d84a4f63b93a6d52fa7..51cdefbf5eb265f49bd05e0aa91dfbeee3fbfdcc 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        status = "disabled";
+                       cs-gpios = <&gpio 8 1>, <&gpio 7 1>;
                };
 
                i2c0: i2c@7e205000 {