2024-02-29 18:13:56

by Théo Lebrun

[permalink] [raw]
Subject: [PATCH v2 11/11] MIPS: mobileye: eyeq5: add evaluation board I2C temp sensor

Declare the temperature sensor on I2C bus 2. Its label is the schematics
identifier.

Signed-off-by: Théo Lebrun <[email protected]>
---
arch/mips/boot/dts/mobileye/eyeq5-epm5.dts | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts b/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts
index 6898b2d8267d..9fc1a1b0a81b 100644
--- a/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts
+++ b/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts
@@ -21,3 +21,11 @@ memory@0 {
<0x8 0x02000000 0x0 0x7E000000>;
};
};
+
+&i2c2 {
+ temperature-sensor@48 {
+ compatible = "ti,tmp112";
+ reg = <0x48>;
+ label = "U60";
+ };
+};

--
2.44.0



2024-02-29 21:13:58

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH v2 11/11] MIPS: mobileye: eyeq5: add evaluation board I2C temp sensor

On Thu, Feb 29, 2024 at 7:11 PM Théo Lebrun <[email protected]> wrote:

> Declare the temperature sensor on I2C bus 2. Its label is the schematics
> identifier.
>
> Signed-off-by: Théo Lebrun <[email protected]>

Acked-by: Linus Walleij <[email protected]>

Yours,
Linus Walleij