Messages in this thread | | | From | Allen-KH Cheng (程冠勳) <> | Subject | Re: [PATCH v3 5/7] dt-bindings: watchdog: mediatek: Convert mtk-wdt to json-schema | Date | Thu, 3 Nov 2022 05:45:07 +0000 |
| |
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@10007000 { > > You could drop this label since it's not used in the example. > > Reviewed-by: Nícolas F. R. A. Prado <nfraprado@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>; > > + }; > > + }; > > [..]
| |