Hello Bruce,
Sorry, I forgot to mention the branch: v5.10/standard/base
Best regards,
Stefan
On 8/17/23 06:34, Bruce Ashfield wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know
the content is safe.
The backports look ok, but did I miss where you indicated which
5.10 branches they are for ?
Bruce
In message: [linux-yocto] [linux-yocto v5.10] [PATCH 1/2] dt-bindings: hwmon:
add tmp464.yaml
on 15/08/2023 Stefan Ghinea via lists.yoctoproject.org wrote:
From: Agathe Porte<[email protected]>
commit b4fa042e92e17f243bdfa2c53e3cd4c8b3dfb56c upstream
Add basic description of the tmp464 driver DT bindings.
Signed-off-by: Agathe Porte<[email protected]>
Cc: Krzysztof Adamski<[email protected]>
Reviewed-by: Rob Herring<[email protected]>
Link:https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck<[email protected]>
Signed-off-by: Stefan Ghinea<[email protected]>
---
.../devicetree/bindings/hwmon/ti,tmp464.yaml | 114 ++++++++++++++++++
MAINTAINERS | 7 ++
2 files changed, 121 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/ti,tmp464.yaml
diff --git a/Documentation/devicetree/bindings/hwmon/ti,tmp464.yaml
b/Documentation/devicetree/bindings/hwmon/ti,tmp464.yaml
new file mode 100644
index 000000000000..801ca9ba7d34
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/ti,tmp464.yaml
@@ -0,0 +1,114 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id:http://devicetree.org/schemas/hwmon/ti,tmp464.yaml#
+$schema:http://devicetree.org/meta-schemas/core.yaml#
+
+title: TMP464 and TMP468 temperature sensors
+
+maintainers:
+ - Agathe Porte<[email protected]>
+
+description: |
+ ±0.0625°C Remote and Local temperature sensor
+https://www.ti.com/lit/ds/symlink/tmp464.pdf
+https://www.ti.com/lit/ds/symlink/tmp468.pdf
+
+properties:
+ compatible:
+ enum:
+ - ti,tmp464
+ - ti,tmp468
+
+ reg:
+ maxItems: 1
+
+ '#address-cells':
+ const: 1
+
+ '#size-cells':
+ const: 0
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+patternProperties:
+ "^channel@([0-8])$":
+ type: object
+ description: |
+ Represents channels of the device and their specific configuration.
+
+ properties:
+ reg:
+ description: |
+ The channel number. 0 is local channel, 1-8 are remote channels.
+ items:
+ minimum: 0
+ maximum: 8
+
+ label:
+ description: |
+ A descriptive name for this channel, like "ambient" or "psu".
+
+ ti,n-factor:
+ description: |
+ The value (two's complement) to be programmed in the channel
specific N correction register.
+ For remote channels only.
+ $ref: /schemas/types.yaml#/definitions/int32
+ items:
+ minimum: -128
+ maximum: 127
+
+ required:
+ - reg
+
+ additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ sensor@4b {
+ compatible = "ti,tmp464";
+ reg = <0x4b>;
+ };
+ };
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ sensor@4b {
+ compatible = "ti,tmp464";
+ reg = <0x4b>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ channel@0 {
+ reg = <0x0>;
+ label = "local";
+ };
+
+ channel@1 {
+ reg = <0x1>;
+ ti,n-factor = <(-10)>;
+ label = "external";
+ };
+
+ channel@2 {
+ reg = <0x2>;
+ ti,n-factor = <0x10>;
+ label = "somelabel";
+ };
+
+ channel@3 {
+ reg = <0x3>;
+ status = "disabled";
+ };
+ };
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index 436bf762a66e..24613696c630 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -17670,6 +17670,13 @@ S: Maintained
F: Documentation/hwmon/tmp401.rst
F: drivers/hwmon/tmp401.c
+TMP464 HARDWARE MONITOR DRIVER
+M: Agathe Porte<[email protected]>
+M: Guenter Roeck<[email protected]>
+L:[email protected]
+S: Maintained
+F: Documentation/devicetree/bindings/hwmon/ti,tmp464.yaml
+
TMP513 HARDWARE MONITOR DRIVER
M: Eric Tremblay<[email protected]>
L:[email protected]
--
2.41.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12992):
https://lists.yoctoproject.org/g/linux-yocto/message/12992
Mute This Topic: https://lists.yoctoproject.org/mt/100763689/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-