Re: [PATCH 1/6] dt-bindings: rtc: abx80x: document ABX81X RTCs

Antoni Pokusinski <[email protected]> Thu, 23 Jul 2026 19:25:13 +0200
Newsgroups org.kernel.vger.linux-rtc,org.kernel.vger.linux-devicetree
Message-ID <amJNgGCVCmHtAx_N@antoniarch>
On Thu, Jul 23, 2026 at 05:44:03PM +0100, Conor Dooley wrote:
> On Wed, Jul 22, 2026 at 09:58:09PM +0200, Antoni Pokusinski wrote:
> > Abracon AB0815 and AB1815 are RTC modules with SPI interface.
> > 
> > Signed-off-by: Antoni Pokusinski <[email protected]>
> > ---
> >  .../devicetree/bindings/rtc/abracon,abx80x.yaml   | 15 ++++++++++++++-
> >  1 file changed, 14 insertions(+), 1 deletion(-)
> > 
> > diff --git a/Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml b/Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml
> > index 355b0598411a..234a103724b5 100644
> > --- a/Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml
> > +++ b/Documentation/devicetree/bindings/rtc/abracon,abx80x.yaml
> > @@ -4,7 +4,7 @@
> >  $id: http://devicetree.org/schemas/rtc/abracon,abx80x.yaml#
> >  $schema: http://devicetree.org/meta-schemas/core.yaml#
> >  
> > -title: Abracon ABX80X I2C ultra low power RTC/Alarm chip
> > +title: Abracon ABX80X (I2C) and ABX81X (SPI) ultra low power RTC/Alarm chips
> >  
> >  maintainers:
> >    - [email protected]
> > @@ -21,10 +21,12 @@ properties:
> >        - abracon,ab0803
> >        - abracon,ab0804
> >        - abracon,ab0805
> > +      - abracon,ab0815
> >        - abracon,ab1801
> >        - abracon,ab1803
> >        - abracon,ab1804
> >        - abracon,ab1805
> > +      - abracon,ab1815
> >        - microcrystal,rv1805
> 
> No ref to spi-peripheral-properties.yaml? Do you not need any spi
> properties, e.g. spi-max-frequency?
> 
Ah yes, missed this... Will add in v2.

> >  
> >    reg:
> > @@ -96,3 +98,14 @@ examples:
> >              interrupts = <44 IRQ_TYPE_EDGE_FALLING>;
> >          };
> >      };
> > +
> > +  - |
> > +    spi {
> > +        #address-cells = <1>;
> > +        #size-cells = <0>;
> > +
> > +        rtc@0 {
> > +            compatible = "abracon,ab1815";
> > +            reg = <0>;
> > +        };
> > +    };
> > -- 
> > 2.55.0
> >