Re: [PATCH] reset: ti-rstctrl: use the reset-simple driver

From: Tony Lindgren
Date: Tue Jan 16 2018 - 10:03:25 EST


Hi,

* Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> [180116 09:52]:
> On Mon, 2018-01-15 at 17:11 -0800, Tony Lindgren wrote:
> > +Example:
> > +
> > + prcm: prcm@200000 {
> > + compatible = "ti,am3-prcm", "simple-bus";
> > + reg = <0x200000 0x4000>;
> > + #address-cells = <1>;
> > + #size-cells = <1>;
> > + ranges = <0 0x200000 0x4000>;
> > +
> > + prm_gfx: prm@1100 {
> > + compatible = "simple-bus";
> > + #address-cells = <1>;
> > + #size-cells = <1>;
> > + ranges = <0 0x1100 0x100>;
> > +
> > + gfx_rstctrl: rstctrl@4 {
> ,->
> > + | reg = <0x4 0x4>;
> > + | #reset-cells = <1>;
> > + `-- compatible = "ti,rstctrl";
>
> Looks good to me. Can I move the compatible property when applying?

Oops, here's a better version. I also left out the "prcm" part as
at some point that should have just ranges instead of both reg and
ranges that it currently has.

Regards,

Tony

8< -----------------------