]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
spi-bcm2835: Disable forced software CS
authorPhil Elwell <phil@raspberrypi.org>
Fri, 1 Jul 2016 21:09:24 +0000 (22:09 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 19 Sep 2017 10:07:49 +0000 (12:07 +0200)
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 9a44da19089717f02462c657840ae9f24fd942ba..b710a4d67b8ec8c8c18ce8efb6f270e7cfb68e52 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        status = "disabled";
+                       cs-gpios = <&gpio 8 1>, <&gpio 7 1>;
                };
 
                i2c0: i2c@7e205000 {