Extend the Vishay VCNL4000/4010/4020/4200 driver to work with the VCNL4040 chip. Changes since V2: Added Tested-by tag. Changed 0x00 to 0 for clarity. Changes since V1: Separated byte vs word bug fix. Separated device tree hooks. Separated devicetree binding patches. Angus Ainslie (Purism) (5): iio: light: vcnl4000 use word writes instead of byte writes iio: light: vcnl4000 add devicetree hooks dt-bindings: iio: light: add vcnl4000 devicetree bindings iio: light: vcnl4000 add support for the VCNL4040 proximity and light sensor dt-bindings: iio: light: add vcnl4040 devicetree bindings .../bindings/iio/light/vcnl4000.txt | 24 ++++++ drivers/iio/light/vcnl4000.c | 77 ++++++++++++++++--- 2 files changed, 91 insertions(+), 10 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/light/vcnl4000.txt -- 2.17.1