Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: light: Merge APDS9300 and APDS9960 schemas

Merge very similar schemas for APDS9300 and APDS9960.

Suggested-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/all/4e785d2e-d310-4592-a75a-13549938dcef@linaro.org/
Signed-off-by: Subhajit Ghosh <subhajit.ghosh@tweaklogic.com>
Link: https://lore.kernel.org/r/20240309105031.10313-2-subhajit.ghosh@tweaklogic.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Subhajit Ghosh and committed by
Jonathan Cameron
9278524c 5c4e4115

+7 -48
+7 -4
Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml
··· 4 4 $id: http://devicetree.org/schemas/iio/light/avago,apds9300.yaml# 5 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 - title: Avago APDS9300 ambient light sensor 7 + title: Avago Gesture/RGB/ALS/Proximity sensors 8 8 9 9 maintainers: 10 - - Jonathan Cameron <jic23@kernel.org> 10 + - Subhajit Ghosh <subhajit.ghosh@tweaklogic.com> 11 11 12 12 description: | 13 - Datasheet at https://www.avagotech.com/docs/AV02-1077EN 13 + Datasheet: https://www.avagotech.com/docs/AV02-1077EN 14 + Datasheet: https://www.avagotech.com/docs/AV02-4191EN 14 15 15 16 properties: 16 17 compatible: 17 - const: avago,apds9300 18 + enum: 19 + - avago,apds9300 20 + - avago,apds9960 18 21 19 22 reg: 20 23 maxItems: 1
-44
Documentation/devicetree/bindings/iio/light/avago,apds9960.yaml
··· 1 - # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/iio/light/avago,apds9960.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: Avago APDS9960 gesture/RGB/ALS/proximity sensor 8 - 9 - maintainers: 10 - - Matt Ranostay <matt.ranostay@konsulko.com> 11 - 12 - description: | 13 - Datasheet at https://www.avagotech.com/docs/AV02-4191EN 14 - 15 - properties: 16 - compatible: 17 - const: avago,apds9960 18 - 19 - reg: 20 - maxItems: 1 21 - 22 - interrupts: 23 - maxItems: 1 24 - 25 - additionalProperties: false 26 - 27 - required: 28 - - compatible 29 - - reg 30 - 31 - examples: 32 - - | 33 - i2c { 34 - #address-cells = <1>; 35 - #size-cells = <0>; 36 - 37 - light-sensor@39 { 38 - compatible = "avago,apds9960"; 39 - reg = <0x39>; 40 - interrupt-parent = <&gpio1>; 41 - interrupts = <16 1>; 42 - }; 43 - }; 44 - ...