1*c66ec88fSEmmanuel Vadot* Sharp GP2AP020A00F I2C Proximity/ALS sensor 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotThe proximity detector sensor requires power supply 4*c66ec88fSEmmanuel Vadotfor its built-in led. It is also defined by this binding. 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel VadotRequired properties: 7*c66ec88fSEmmanuel Vadot 8*c66ec88fSEmmanuel Vadot - compatible : should be "sharp,gp2ap020a00f" 9*c66ec88fSEmmanuel Vadot - reg : the I2C slave address of the light sensor 10*c66ec88fSEmmanuel Vadot - interrupts : interrupt specifier for the sole interrupt generated 11*c66ec88fSEmmanuel Vadot by the device 12*c66ec88fSEmmanuel Vadot - vled-supply : VLED power supply, as covered in ../regulator/regulator.txt 13*c66ec88fSEmmanuel Vadot 14*c66ec88fSEmmanuel VadotExample: 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel Vadotgp2ap020a00f@39 { 17*c66ec88fSEmmanuel Vadot compatible = "sharp,gp2ap020a00f"; 18*c66ec88fSEmmanuel Vadot reg = <0x39>; 19*c66ec88fSEmmanuel Vadot interrupts = <2 0>; 20*c66ec88fSEmmanuel Vadot vled-supply = <...>; 21*c66ec88fSEmmanuel Vadot}; 22