diff options
author | Sridhar Lavu <slavu@nvidia.com> | 2013-10-22 09:34:56 -0700 |
---|---|---|
committer | Sridhar Lavu <slavu@nvidia.com> | 2013-10-22 13:03:44 -0700 |
commit | aaabb2e045f31e5a970109ffdaae900dd403d17e (patch) | |
tree | 8a806908aca7e1eea156492dbd022a5468b5b75a /Documentation | |
parent | 33e8aaf48cb9b97838e7327c83705d02826ff29a (diff) |
Revert "staging: iio: adc: palmas: add DT support"
This reverts commit a90856a6626d502d42c6e7abccbdf9d730b36270
since it introduces automated sanity regression
Bug 1393292 : sanity regression
Change-Id: I6e2990d69a6f3566e1dd96f893fedcae49947133
Signed-off-by: Sridhar Lavu <slavu@nvidia.com>
Reverts-what-was-Reviewed-on: http://git-master/r/302361
Reviewed-on: http://git-master/r/302416
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/palmas-gpadc.txt | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/palmas-gpadc.txt b/Documentation/devicetree/bindings/iio/adc/palmas-gpadc.txt deleted file mode 100644 index 32a3ed146ebe..000000000000 --- a/Documentation/devicetree/bindings/iio/adc/palmas-gpadc.txt +++ /dev/null @@ -1,49 +0,0 @@ -* Palmas general purpose ADC IP block devicetree bindings - -Required properties: -- compatible : Must be "ti,palmas-gpadc". - -Optional sub-nodes: -ti,channel0-current-microamp: Channel 0 current in uA. - Valid values 0uA, 5uA, 15uA, 20uA. -ti,channel3-current-microamp: Channel 3 current in uA. - Valid value 0uA, 10uA, 400uA, 800uA. -ti,enable-channel3-dual-current: Enable dual current on channel 3. -ti,enable-extended-delay: Enable extended delay. - -Optional sub-node: -The Palmas ADC node has optional subnode to define the iio mapping. -It is the name with "iio_map". This node has again subnode to define -the property of the channel. The sub subnode has following properties: -- ti,adc-channel-number: ADC channel numbber. -- ti,adc-consumer-device: Consumer device name. -- ti,adc-consumer-channel: ADC consumer channel name. - -Example: - -pmic { - compatible = "ti,twl6035-pmic", "ti,palmas-pmic"; - ... - gpadc { - compatible = "ti,palmas-gpadc"; - interrupts = <18 0 - 16 0 - 17 0>; - ti,channel0-current-microamp = <5>; - ti,channel3-current-microamp = <10>; - iio_map { - ch1 { - ti,adc-channel-number = <1>; - ti,adc-consumer-device = "generic-adc-thermal.0"; - ti,adc-consumer-channel ="battery-temp-channel"; - }; - - ch6 { - ti,adc-channel-number = <6>; - ti,adc-consumer-device = "palmas-battery"; - ti,adc-consumer-channel ="vbat_channel"; - }; - }; - }; - ... -}; |