diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-09 06:33:45 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-09 06:33:45 -0400 |
commit | be8e58d93fba531b12ef2fce4fb33c9c5fb5b69f (patch) | |
tree | 3885862d1cf28bfdc4033bd9b20267c61cb8f5ab /Documentation | |
parent | b6100f10bdc2019a65297d2597c388de2f7dd653 (diff) |
Revert "[media] Add device tree support to adp1653 flash driver"
As requested by Sakari:
"The driver changes are still being reviewed.
It's been proposed that the max-microamp property be renamed."
So, as the DT bindings are not agreed upstream yet, let's revert
it.
Requested-by: Sakari Ailus <sakari.ailus@iki.fi>
This reverts commit b6100f10bdc2019a65297d2597c388de2f7dd653.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/media/i2c/adp1653.txt | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/Documentation/devicetree/bindings/media/i2c/adp1653.txt b/Documentation/devicetree/bindings/media/i2c/adp1653.txt deleted file mode 100644 index 0fc28a95e2f4..000000000000 --- a/Documentation/devicetree/bindings/media/i2c/adp1653.txt +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | * Analog Devices ADP1653 flash LED driver | ||
2 | |||
3 | Required Properties: | ||
4 | |||
5 | - compatible: Must contain be "adi,adp1653" | ||
6 | |||
7 | - reg: I2C slave address | ||
8 | |||
9 | - gpios: References to the GPIO that controls the power for the chip. | ||
10 | |||
11 | There are two led outputs available - flash and indicator. One led is | ||
12 | represented by one child node, nodes need to be named "flash" and "indicator". | ||
13 | |||
14 | Required properties of the LED child node: | ||
15 | - max-microamp : see Documentation/devicetree/bindings/leds/common.txt | ||
16 | |||
17 | Required properties of the flash LED child node: | ||
18 | |||
19 | - flash-max-microamp : see Documentation/devicetree/bindings/leds/common.txt | ||
20 | - flash-timeout-us : see Documentation/devicetree/bindings/leds/common.txt | ||
21 | |||
22 | Example: | ||
23 | |||
24 | adp1653: led-controller@30 { | ||
25 | compatible = "adi,adp1653"; | ||
26 | reg = <0x30>; | ||
27 | gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>; /* 88 */ | ||
28 | |||
29 | flash { | ||
30 | flash-timeout-us = <500000>; | ||
31 | flash-max-microamp = <320000>; | ||
32 | max-microamp = <50000>; | ||
33 | }; | ||
34 | indicator { | ||
35 | max-microamp = <17500>; | ||
36 | }; | ||
37 | }; | ||