[PATCH v3 5/7] dt-bindings: watchdog: mediatek: Convert mtk-wdt to json-schema

Allen-KH Cheng (程冠勳) Allen-KH.Cheng at mediatek.com
Wed Nov 2 22:45:07 PDT 2022


On Wed, 2022-11-02 at 16:26 -0400, Nícolas F. R. A. Prado wrote:
> On Tue, Nov 01, 2022 at 05:01:14PM +0800, Allen-KH Cheng wrote:
> [..]
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/watchdog/mediatek,mtk-
> > wdt.yaml
> 
> [..]
> > +examples:
> > +  - |
> > +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> > +
> > +    soc {
> > +        #address-cells = <2>;
> > +        #size-cells = <2>;
> > +
> > +        watchdog: watchdog at 10007000 {
> 
> You could drop this label since it's not used in the example.
> 
> Reviewed-by: Nícolas F. R. A. Prado <nfraprado at collabora.com>
> 
> Thanks,
> Nícolas
> 

Will do.

Thanks,
Allen

> > +            compatible = "mediatek,mt8183-wdt";
> > +            reg = <0 0x10007000 0 0x100>;
> > +            interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_LOW>;
> > +            mediatek,disable-extrst;
> > +            timeout-sec = <10>;
> > +            #reset-cells = <1>;
> > +        };
> > +    };
> 
> [..]


More information about the linux-arm-kernel mailing list