Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | * Sharp GP2AP020A00F I2C Proximity/ALS sensor |
| 2 | |
| 3 | The proximity detector sensor requires power supply |
| 4 | for its built-in led. It is also defined by this binding. |
| 5 | |
| 6 | Required properties: |
| 7 | |
| 8 | - compatible : should be "sharp,gp2ap020a00f" |
| 9 | - reg : the I2C slave address of the light sensor |
| 10 | - interrupts : interrupt specifier for the sole interrupt generated |
| 11 | by the device |
| 12 | - vled-supply : VLED power supply, as covered in ../regulator/regulator.txt |
| 13 | |
| 14 | Example: |
| 15 | |
| 16 | gp2ap020a00f@39 { |
| 17 | compatible = "sharp,gp2ap020a00f"; |
| 18 | reg = <0x39>; |
| 19 | interrupts = <2 0>; |
| 20 | vled-supply = <...>; |
| 21 | }; |