lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250806005127.542298-1-chris.packham@alliedtelesis.co.nz>
Date: Wed,  6 Aug 2025 12:51:26 +1200
From: Chris Packham <chris.packham@...iedtelesis.co.nz>
To: jdelvare@...e.com,
	linux@...ck-us.net,
	robh@...nel.org,
	krzk+dt@...nel.org,
	conor+dt@...nel.org
Cc: linux-hwmon@...r.kernel.org,
	devicetree@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Chris Packham <chris.packham@...iedtelesis.co.nz>
Subject: [PATCH 1/2] dt-bindings: hwmon: ti,ina780a: Add INA780 device

Add dtschema for TI INA780 Digital Power Monitor

Signed-off-by: Chris Packham <chris.packham@...iedtelesis.co.nz>
---
 .../devicetree/bindings/hwmon/ti,ina780a.yaml | 47 +++++++++++++++++++
 1 file changed, 47 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/ti,ina780a.yaml

diff --git a/Documentation/devicetree/bindings/hwmon/ti,ina780a.yaml b/Documentation/devicetree/bindings/hwmon/ti,ina780a.yaml
new file mode 100644
index 000000000000..fa19d621b27b
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/ti,ina780a.yaml
@@ -0,0 +1,47 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/ti,ina780a.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments INA780 Digital Power Monitor
+
+maintainers:
+  - Chris Packham <chris.packham@...iedtelesis.co.nz>
+
+description: |
+  The INA780x is a digital power monitor with an integrated current sensing
+  element.
+
+  Datasheets:
+    https://www.ti.com/lit/gpn/ina780a
+
+properties:
+  compatible:
+    enum:
+      - ti,ina780a
+      - ti,ina780b
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+allOf:
+  - $ref: hwmon-common.yaml#
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        hwmon@40 {
+          compatible = "ti,ina780a";
+          reg = <0x40>;
+        };
+    };
-- 
2.50.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ