]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
NFC: trf7970a: Enable pins are active high not active low
authorMark Greer <mgreer@animalcreek.com>
Tue, 25 Apr 2017 22:43:54 +0000 (15:43 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 18 Jun 2017 21:57:58 +0000 (23:57 +0200)
The example DTS code for the trf7970a sets the GPIOs for the EN
and EN2 pins to active low when they are really active high so
correct the error.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Documentation/devicetree/bindings/net/nfc/trf7970a.txt

index 57cb52c94783830fec33a8e9a2e4867c6d23f4df..a24a93a4b01071894719e05544af43dd14f2e8ea 100644 (file)
@@ -36,8 +36,8 @@ Example (for ARM-based BeagleBone with TRF7970A on SPI1):
                spi-max-frequency = <2000000>;
                interrupt-parent = <&gpio2>;
                interrupts = <14 0>;
-               ti,enable-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>,
-                                 <&gpio2 5 GPIO_ACTIVE_LOW>;
+               ti,enable-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>,
+                                 <&gpio2 5 GPIO_ACTIVE_HIGH>;
                vin-supply = <&ldo3_reg>;
                vdd-io-supply = <&ldo2_reg>;
                autosuspend-delay = <30000>;