ARM: dts: ux500: Register Amstaos proximity sensor
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 15 Feb 2022 23:46:27 +0000 (00:46 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 4 Apr 2022 20:39:34 +0000 (22:39 +0200)
The proximity sensor on the Codina is actually an
Amstaos TMD2672, not Mouser, so alter the DTS to reflect this.
Tested successfully with the IIO driver.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/ste-ux500-samsung-codina.dts

index 8284560..e6ea63d 100644 (file)
                        pinctrl-0 = <&i2c0_a_1_default>;
                        pinctrl-1 = <&i2c0_a_1_sleep>;
 
-                       /* TODO: write bindings and driver for this proximity sensor */
                        proximity@39 {
-                               /* Codina has the Mouser TMD2672 */
-                               compatible = "mouser,tmd2672";
+                               /* Codina has the Amstaos TMD2672 */
+                               compatible = "amstaos,tmd2672";
                                clock-frequency = <400000>;
                                reg = <0x39>;