瀏覽代碼

NFC: trf7970a: Document the 'en2-rf-quirk' DT property

Current versions of the trf7970a have an erratum where
the EN2 pin must be kept low.  If it isn't kept low,
it will generate an RF field even when in passive
target mode.  To work around this issue, create the
'en2-rf-quirk' device tree property to indicate that
the trf7970a that the driver is using has this erratum.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Mark A. Greer 11 年之前
父節點
當前提交
6afed0eb8c
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Documentation/devicetree/bindings/net/nfc/trf7970a.txt

+ 3 - 0
Documentation/devicetree/bindings/net/nfc/trf7970a.txt

@@ -16,6 +16,8 @@ Optional SoC Specific Properties:
 - vin-voltage-override: Specify voltage of VIN pin in microvolts.
 - vin-voltage-override: Specify voltage of VIN pin in microvolts.
 - irq-status-read-quirk: Specify that the trf7970a being used has the
 - irq-status-read-quirk: Specify that the trf7970a being used has the
   "IRQ Status Read" erratum.
   "IRQ Status Read" erratum.
+- en2-rf-quirk: Specify that the trf7970a being used has the "EN2 RF"
+  erratum.
 
 
 Example (for ARM-based BeagleBone with TRF7970A on SPI1):
 Example (for ARM-based BeagleBone with TRF7970A on SPI1):
 
 
@@ -36,6 +38,7 @@ Example (for ARM-based BeagleBone with TRF7970A on SPI1):
 		vin-voltage-override = <5000000>;
 		vin-voltage-override = <5000000>;
 		autosuspend-delay = <30000>;
 		autosuspend-delay = <30000>;
 		irq-status-read-quirk;
 		irq-status-read-quirk;
+		en2-rf-quirk;
 		status = "okay";
 		status = "okay";
 	};
 	};
 };
 };