Message ID | 20240131221957.213717-3-afd@ti.com (mailing list archive) |
---|---|
State | Handled Elsewhere, archived |
Headers | show |
Series | Add TI-SCI reboot driver | expand |
On Wed, Jan 31, 2024 at 04:19:47PM -0600, Andrew Davis wrote: > The TI-SCI firmware supports rebooting the system in addition to the > functions already listed here, document child node for the same. > > Signed-off-by: Andrew Davis <afd@ti.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Cheers, Conor. > --- > .../devicetree/bindings/arm/keystone/ti,sci.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml > index c24ad0968f3ef..e392175b33c74 100644 > --- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml > +++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml > @@ -83,6 +83,10 @@ properties: > type: object > $ref: /schemas/reset/ti,sci-reset.yaml# > > + reboot-controller: > + type: object > + $ref: /schemas/power/reset/ti,sci-reboot.yaml# > + > required: > - compatible > - mbox-names > @@ -126,4 +130,8 @@ examples: > compatible = "ti,sci-reset"; > #reset-cells = <2>; > }; > + > + k3_reboot: reboot-controller { > + compatible = "ti,sci-reboot"; > + }; > }; > -- > 2.39.2 >
On Wed, Jan 31, 2024 at 04:19:47PM -0600, Andrew Davis wrote: > The TI-SCI firmware supports rebooting the system in addition to the > functions already listed here, document child node for the same. > > Signed-off-by: Andrew Davis <afd@ti.com> > --- > .../devicetree/bindings/arm/keystone/ti,sci.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml > index c24ad0968f3ef..e392175b33c74 100644 > --- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml > +++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml > @@ -83,6 +83,10 @@ properties: > type: object > $ref: /schemas/reset/ti,sci-reset.yaml# > > + reboot-controller: > + type: object > + $ref: /schemas/power/reset/ti,sci-reboot.yaml# Don't need a ref just for a single property. But then why do we need a node here at all? Can't you assume reboot support for TI-SCI firmware (i.e. based on the parent node). Then you don't need a DT update to add the feature. Rob
On 2/1/24 5:03 PM, Rob Herring wrote: > On Wed, Jan 31, 2024 at 04:19:47PM -0600, Andrew Davis wrote: >> The TI-SCI firmware supports rebooting the system in addition to the >> functions already listed here, document child node for the same. >> >> Signed-off-by: Andrew Davis <afd@ti.com> >> --- >> .../devicetree/bindings/arm/keystone/ti,sci.yaml | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml >> index c24ad0968f3ef..e392175b33c74 100644 >> --- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml >> +++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml >> @@ -83,6 +83,10 @@ properties: >> type: object >> $ref: /schemas/reset/ti,sci-reset.yaml# >> >> + reboot-controller: >> + type: object >> + $ref: /schemas/power/reset/ti,sci-reboot.yaml# > > Don't need a ref just for a single property. > > But then why do we need a node here at all? Can't you assume reboot > support for TI-SCI firmware (i.e. based on the parent node). Then you > don't need a DT update to add the feature. > We could yes, but then again we could do the same for all the child nodes of this system-controller parent node. Might even have been better that way, for now I'm trying to be consistent with what is already here (child node per service provided, even though the services are always the same). Andrew > Rob
diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml index c24ad0968f3ef..e392175b33c74 100644 --- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml +++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml @@ -83,6 +83,10 @@ properties: type: object $ref: /schemas/reset/ti,sci-reset.yaml# + reboot-controller: + type: object + $ref: /schemas/power/reset/ti,sci-reboot.yaml# + required: - compatible - mbox-names @@ -126,4 +130,8 @@ examples: compatible = "ti,sci-reset"; #reset-cells = <2>; }; + + k3_reboot: reboot-controller { + compatible = "ti,sci-reboot"; + }; };
The TI-SCI firmware supports rebooting the system in addition to the functions already listed here, document child node for the same. Signed-off-by: Andrew Davis <afd@ti.com> --- .../devicetree/bindings/arm/keystone/ti,sci.yaml | 8 ++++++++ 1 file changed, 8 insertions(+)