[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231013093109.37165-2-kris.chaplin@amd.com>
Date: Fri, 13 Oct 2023 02:30:12 -0700
From: Kris Chaplin <kris.chaplin@....com>
To: <kris.chaplin@....com>, <thomas.delev@....com>,
<michal.simek@....com>, <krzysztof.kozlowski@...aro.org>,
<robh+dt@...nel.org>, <conor+dt@...nel.org>
CC: <devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<git@....com>
Subject: [PATCH 1/2] dt-bindings: w1: Add YAML DT Schema for AMD w1 master and MAINTAINERS entry
Add YAML DT Schema for the AMD w1 master IP.
This hardware guarantees protocol timing for driving off-board devices such
as thermal sensors, proms, etc using the 1wire protocol.
Add MAINTAINERS entry for DT Schema.
Co-developed-by: Thomas Delev <thomas.delev@....com>
Signed-off-by: Thomas Delev <thomas.delev@....com>
Signed-off-by: Kris Chaplin <kris.chaplin@....com>
---
.../bindings/w1/amd,axi-1wire-master.yaml | 44 +++++++++++++++++++
MAINTAINERS | 7 +++
2 files changed, 51 insertions(+)
create mode 100644 Documentation/devicetree/bindings/w1/amd,axi-1wire-master.yaml
diff --git a/Documentation/devicetree/bindings/w1/amd,axi-1wire-master.yaml b/Documentation/devicetree/bindings/w1/amd,axi-1wire-master.yaml
new file mode 100644
index 000000000000..41f7294a84a3
--- /dev/null
+++ b/Documentation/devicetree/bindings/w1/amd,axi-1wire-master.yaml
@@ -0,0 +1,44 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/w1/amd,axi-1wire-master.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: AMD AXI 1-wire bus master for Programmable Logic
+
+maintainers:
+ - Kris Chaplin <kris.chaplin@....com>
+
+properties:
+ compatible:
+ const: amd,axi-1wire-master
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - interrupts
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ onewire@...00000 {
+ compatible = "amd,axi-1wire-master";
+ reg = <0xa0000000 0x10000>;
+ clocks = <&zynqmp_clk 0x47>;
+ interrupts = <GIC_SPI 0x59 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index 4b2c378b4fd9..6ec3922b256e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1066,6 +1066,13 @@ M: Sanjay R Mehta <sanju.mehta@....com>
S: Maintained
F: drivers/spi/spi-amd.c
+AMD W1 DRIVER
+M: Kris Chaplin <kris.chaplin@....com>
+R: Thomas Delev <thomas.delev@....com>
+R: Michal Simek <michal.simek@....com>
+S: Maintained
+F: Documentation/devicetree/bindings/w1/amd,axi-1wire-master.yaml
+
AMD XGBE DRIVER
M: "Shyam Sundar S K" <Shyam-sundar.S-k@....com>
L: netdev@...r.kernel.org
--
2.42.GIT
Powered by blists - more mailing lists