Message ID | 20240429210131.373487-6-eajames@linux.ibm.com |
---|---|
State | New |
Headers | show |
Series | ARM: dts: aspeed: Add IBM P11 BMC Boards | expand |
On 29/04/2024 23:01, Eddie James wrote: > The SBEFIFO engine provides an interface to the POWER processor > Self Boot Engine (SBE). > > Signed-off-by: Eddie James <eajames@linux.ibm.com> > Acked-by: Conor Dooley <conor.dooley@microchip.com> > Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au> > --- > Changes since v3: > - Drop occ unit address > > .../bindings/fsi/ibm,p9-sbefifo.yaml | 51 +++++++++++++++++++ > 1 file changed, 51 insertions(+) > create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml > > diff --git a/Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml b/Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml > new file mode 100644 > index 000000000000..24903829fca1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml > @@ -0,0 +1,51 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/fsi/ibm,p9-sbefifo.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: IBM FSI-attached SBEFIFO engine > + > +maintainers: > + - Eddie James <eajames@linux.ibm.com> > + > +description: > + The SBEFIFO is an FSI CFAM engine that provides an interface to the > + POWER processor Self Boot Engine (SBE). This node will always be a child > + of an FSI CFAM node. > + > +properties: > + compatible: > + enum: > + - ibm,p9-sbefifo > + - ibm,odyssey-sbefifo > + > + reg: > + items: > + - description: FSI slave address > + > +patternProperties: > + "^occ": Same questions as patch #4. > + type: object > + $ref: ibm,p9-occ.yaml# > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + fsi-slave-engine@2400 { > + compatible = "ibm,p9-sbefifo"; > + reg = <0x2400 0x400>; > + > + occ { > + compatible = "ibm,p9-occ"; > + > + hwmon { > + compatible = "ibm,p9-occ-hwmon"; Three nodes which should be just one node. Best regards, Krzysztof
On 4/30/24 01:54, Krzysztof Kozlowski wrote: > On 29/04/2024 23:01, Eddie James wrote: >> The SBEFIFO engine provides an interface to the POWER processor >> Self Boot Engine (SBE). >> >> Signed-off-by: Eddie James <eajames@linux.ibm.com> >> Acked-by: Conor Dooley <conor.dooley@microchip.com> >> Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au> >> --- >> Changes since v3: >> - Drop occ unit address >> >> .../bindings/fsi/ibm,p9-sbefifo.yaml | 51 +++++++++++++++++++ >> 1 file changed, 51 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml >> >> diff --git a/Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml b/Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml >> new file mode 100644 >> index 000000000000..24903829fca1 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml >> @@ -0,0 +1,51 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/fsi/ibm,p9-sbefifo.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: IBM FSI-attached SBEFIFO engine >> + >> +maintainers: >> + - Eddie James <eajames@linux.ibm.com> >> + >> +description: >> + The SBEFIFO is an FSI CFAM engine that provides an interface to the >> + POWER processor Self Boot Engine (SBE). This node will always be a child >> + of an FSI CFAM node. >> + >> +properties: >> + compatible: >> + enum: >> + - ibm,p9-sbefifo >> + - ibm,odyssey-sbefifo >> + >> + reg: >> + items: >> + - description: FSI slave address >> + >> +patternProperties: >> + "^occ": > Same questions as patch #4. > >> + type: object >> + $ref: ibm,p9-occ.yaml# >> + >> +required: >> + - compatible >> + - reg >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> + fsi-slave-engine@2400 { >> + compatible = "ibm,p9-sbefifo"; >> + reg = <0x2400 0x400>; >> + >> + occ { >> + compatible = "ibm,p9-occ"; >> + >> + hwmon { >> + compatible = "ibm,p9-occ-hwmon"; > Three nodes which should be just one node. The other two are already documented... The SBEFIFO should have documented a long time ago, and designed accordingly. However keep in mind, the OCC nodes are optional on SBEFIFOs, since the Odyssey chip SBEFIFOs are not connected to OCCs. Thanks for your detailed review. Eddie > > Best regards, > Krzysztof >
diff --git a/Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml b/Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml new file mode 100644 index 000000000000..24903829fca1 --- /dev/null +++ b/Documentation/devicetree/bindings/fsi/ibm,p9-sbefifo.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fsi/ibm,p9-sbefifo.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: IBM FSI-attached SBEFIFO engine + +maintainers: + - Eddie James <eajames@linux.ibm.com> + +description: + The SBEFIFO is an FSI CFAM engine that provides an interface to the + POWER processor Self Boot Engine (SBE). This node will always be a child + of an FSI CFAM node. + +properties: + compatible: + enum: + - ibm,p9-sbefifo + - ibm,odyssey-sbefifo + + reg: + items: + - description: FSI slave address + +patternProperties: + "^occ": + type: object + $ref: ibm,p9-occ.yaml# + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + fsi-slave-engine@2400 { + compatible = "ibm,p9-sbefifo"; + reg = <0x2400 0x400>; + + occ { + compatible = "ibm,p9-occ"; + + hwmon { + compatible = "ibm,p9-occ-hwmon"; + }; + }; + };