Message ID | 1457005210-18485-8-git-send-email-narmstrong@baylibre.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Am Donnerstag, den 03.03.2016, 12:40 +0100 schrieb Neil Armstrong: > Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> > --- > .../devicetree/bindings/reset/plxtech,reset.txt | 25 ++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > create mode 100644 Documentation/devicetree/bindings/reset/plxtech,reset.txt > > diff --git a/Documentation/devicetree/bindings/reset/plxtech,reset.txt b/Documentation/devicetree/bindings/reset/plxtech,reset.txt > new file mode 100644 > index 0000000..e99648d > --- /dev/null > +++ b/Documentation/devicetree/bindings/reset/plxtech,reset.txt > @@ -0,0 +1,25 @@ > +PLX Technology OXNAS SoC Family RESET Controller > +================================================ > + > +Please also refer to reset.txt in this directory for common reset > +controller binding usage. > + > +Required properties: > +- compatible: Should be "plxtech,nas782x-reset" > +- #reset-cells: 1, see below > + > +Parent node should have the following properties : > +- compatible: Should be "plxtech,ox810se-sys-ctrl", "syscon", "simple-mfd" > + > +example: > + > +sys: sys-ctrl@000000 { > + compatible = "plxtech,ox810se-sys-ctrl", "syscon", "simple-mfd"; > + reg = <0x000000 0x100000>; > + > + reset: reset-controller { > + compatible = "plxtech,nas782x-reset"; > + #reset-cells = <1>; > + > + }; > +}; Is there a list of the reset bits in this register? regards Philipp
On 03/03/2016 03:21 PM, Philipp Zabel wrote: > Am Donnerstag, den 03.03.2016, 12:40 +0100 schrieb Neil Armstrong: >> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> > > Is there a list of the reset bits in this register? > > regards > Philipp > Yes, should I add it to the bindings ? Neil
Am Donnerstag, den 03.03.2016, 15:24 +0100 schrieb Neil Armstrong: > On 03/03/2016 03:21 PM, Philipp Zabel wrote: > > Am Donnerstag, den 03.03.2016, 12:40 +0100 schrieb Neil Armstrong: > >> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> > > > > Is there a list of the reset bits in this register? > > > > regards > > Philipp > > > > Yes, should I add it to the bindings ? Yes, please. Either that or add a header file with #defines to include/dt-bindings/reset and use it in the dtsi. regards Philipp
diff --git a/Documentation/devicetree/bindings/reset/plxtech,reset.txt b/Documentation/devicetree/bindings/reset/plxtech,reset.txt new file mode 100644 index 0000000..e99648d --- /dev/null +++ b/Documentation/devicetree/bindings/reset/plxtech,reset.txt @@ -0,0 +1,25 @@ +PLX Technology OXNAS SoC Family RESET Controller +================================================ + +Please also refer to reset.txt in this directory for common reset +controller binding usage. + +Required properties: +- compatible: Should be "plxtech,nas782x-reset" +- #reset-cells: 1, see below + +Parent node should have the following properties : +- compatible: Should be "plxtech,ox810se-sys-ctrl", "syscon", "simple-mfd" + +example: + +sys: sys-ctrl@000000 { + compatible = "plxtech,ox810se-sys-ctrl", "syscon", "simple-mfd"; + reg = <0x000000 0x100000>; + + reset: reset-controller { + compatible = "plxtech,nas782x-reset"; + #reset-cells = <1>; + + }; +};
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> --- .../devicetree/bindings/reset/plxtech,reset.txt | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/plxtech,reset.txt