On Fri, Oct 13, 2023 at 02:30:12AM -0700, Kris Chaplin wrote: > 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@xxxxxxx> > Signed-off-by: Thomas Delev <thomas.delev@xxxxxxx> > Signed-off-by: Kris Chaplin <kris.chaplin@xxxxxxx> > --- > .../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 Inconsistent case for the title here bothers my OCD, but the binding is fine as far as I can see. Reviewed-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx> Thanks, Conor. > + > +maintainers: > + - Kris Chaplin <kris.chaplin@xxxxxxx> > + > +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@a0000000 { > + 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@xxxxxxx> > S: Maintained > F: drivers/spi/spi-amd.c > > +AMD W1 DRIVER > +M: Kris Chaplin <kris.chaplin@xxxxxxx> > +R: Thomas Delev <thomas.delev@xxxxxxx> > +R: Michal Simek <michal.simek@xxxxxxx> > +S: Maintained > +F: Documentation/devicetree/bindings/w1/amd,axi-1wire-master.yaml > + > AMD XGBE DRIVER > M: "Shyam Sundar S K" <Shyam-sundar.S-k@xxxxxxx> > L: netdev@xxxxxxxxxxxxxxx > -- > 2.42.GIT >
Attachment:
signature.asc
Description: PGP signature