mbox series

[0/4] dt-bindings: edac: altera-s10: Convert to YAML

Message ID 20250320164622.6971-1-matthew.gerlach@altera.com (mailing list archive)
Headers show
Series dt-bindings: edac: altera-s10: Convert to YAML | expand

Message

Gerlach, Matthew March 20, 2025, 4:46 p.m. UTC
This patch set creates a YAML device tree binding for the Altera Stratix10
Error Detection and Correction component referred to as the ECC Manager. The
peripheral subcomponents are the same hardware as the Arria10 implementation;
so the YAML binding does not change compatible strings of the subcomponents.
This more accurate hardware description requires some minor driver and DTSI/DTS
changes.

Patch 1:
  Convert text device tree binding to YAML.

Patch 2:
  Update driver to allow the peripheral subcomponents to be child nodes of
  altr,socfpga-s10-ecc-manager.

Patch 3:
  Update Agilex DTSI to use correct compatible strings for peripheral
  subcomponents. 

Patch 4:
  Update Stratix10 DTSI/DTS to use correct compatibles strings.

Matthew Gerlach (4):
  dt-bindings: edac: altera-s10: Convert to YAML
  EDAC, altera: update driver to reflect hw/yaml
  arm64: dts: agilex: Update eccmgr in DTSI to reflect hw/yaml
  arm64: dts: startix10: Update eccmgr in DTSI/DTS to reflect hw/yaml

 .../edac/altr,socfpga-s10-ecc-manager.yaml    | 228 ++++++++++++++++++
 .../bindings/edac/socfpga-eccmgr.txt          | 150 ------------
 MAINTAINERS                                   |   5 +
 .../boot/dts/altera/socfpga_stratix10.dtsi    |  15 +-
 .../dts/altera/socfpga_stratix10_socdk.dts    |   3 +-
 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi |  18 +-
 drivers/edac/altera_edac.c                    |   3 +
 7 files changed, 248 insertions(+), 174 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/edac/altr,socfpga-s10-ecc-manager.yaml

Comments

Rob Herring (Arm) March 20, 2025, 6:26 p.m. UTC | #1
On Thu, 20 Mar 2025 09:46:18 -0700, Matthew Gerlach wrote:
> This patch set creates a YAML device tree binding for the Altera Stratix10
> Error Detection and Correction component referred to as the ECC Manager. The
> peripheral subcomponents are the same hardware as the Arria10 implementation;
> so the YAML binding does not change compatible strings of the subcomponents.
> This more accurate hardware description requires some minor driver and DTSI/DTS
> changes.
> 
> Patch 1:
>   Convert text device tree binding to YAML.
> 
> Patch 2:
>   Update driver to allow the peripheral subcomponents to be child nodes of
>   altr,socfpga-s10-ecc-manager.
> 
> Patch 3:
>   Update Agilex DTSI to use correct compatible strings for peripheral
>   subcomponents.
> 
> Patch 4:
>   Update Stratix10 DTSI/DTS to use correct compatibles strings.
> 
> Matthew Gerlach (4):
>   dt-bindings: edac: altera-s10: Convert to YAML
>   EDAC, altera: update driver to reflect hw/yaml
>   arm64: dts: agilex: Update eccmgr in DTSI to reflect hw/yaml
>   arm64: dts: startix10: Update eccmgr in DTSI/DTS to reflect hw/yaml
> 
>  .../edac/altr,socfpga-s10-ecc-manager.yaml    | 228 ++++++++++++++++++
>  .../bindings/edac/socfpga-eccmgr.txt          | 150 ------------
>  MAINTAINERS                                   |   5 +
>  .../boot/dts/altera/socfpga_stratix10.dtsi    |  15 +-
>  .../dts/altera/socfpga_stratix10_socdk.dts    |   3 +-
>  arch/arm64/boot/dts/intel/socfpga_agilex.dtsi |  18 +-
>  drivers/edac/altera_edac.c                    |   3 +
>  7 files changed, 248 insertions(+), 174 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/edac/altr,socfpga-s10-ecc-manager.yaml
> 
> --
> 2.35.3
> 
> 
> 


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

  pip3 install dtschema --upgrade


New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/altera/' for 20250320164622.6971-1-matthew.gerlach@altera.com:

arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dtb: eccmgr: sdmmca-ecc@ff8c8c00:compatible:0: 'altr,socfpga-sdmmc-ecc' was expected
	from schema $id: http://devicetree.org/schemas/altr,socfpga-s10-ecc-manager.yaml#
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dtb: eccmgr: sdmmca-ecc@ff8c8c00:compatible: ['altr,socfpga-s10-sdmmc-ecc', 'altr,socfpga-sdmmc-ecc'] is too long
	from schema $id: http://devicetree.org/schemas/altr,socfpga-s10-ecc-manager.yaml#