[PATCH v3 0/3] arm64: dts: nuvoton: add NPCM845 SoC and EVB support

Tomer Maimon posted 3 patches 6 days, 2 hours ago
.../dts/nuvoton/nuvoton-common-npcm8xx.dtsi   | 732 +++++++++++++++++-
.../boot/dts/nuvoton/nuvoton-npcm845-evb.dts  | 440 +++++++++++
.../boot/dts/nuvoton/nuvoton-npcm845.dtsi     |   7 +
3 files changed, 1160 insertions(+), 19 deletions(-)
[PATCH v3 0/3] arm64: dts: nuvoton: add NPCM845 SoC and EVB support
Posted by Tomer Maimon 6 days, 2 hours ago
This series fix warnings and adds device tree support for peripherals on 
the Nuvoton NPCM845 SoC and its Evaluation Board (EVB).
The first patch fix warning and arrange node order.
The second patch introduces peripheral nodes for Ethernet, MMC, SPI, USB,
RNG, ADC, PWM-FAN, I2C, and OP-TEE firmware in the NPCM845 SoC device tree.
The third patch enables these peripherals for the NPCM845-EVB, adding
MDIO nodes, reserved memory, aliases, and board-specific configurations
like PHY modes and SPI flash partitions.

The NPCM8XX device tree tested on NPCM845 evaluation board.

Addressed comments from:
	- Andrew Jeffery: https://patchwork.ozlabs.org/project/openbmc/patch/20250908125938.3584927-2-tmaimon77@gmail.com/
					  https://patchwork.ozlabs.org/project/openbmc/patch/20250908125938.3584927-3-tmaimon77@gmail.com/

Changes since version 2:
	- Fix dts warning
	- Arrange node order by ascending unit address.

Changes since version 1:
	- Fix commit message
	- Fix dtbs_check warnings.

Tomer Maimon (3):
  arm64: dts: nuvoton: fix warning and nodes order
  arm64: dts: nuvoton: npcm845: Add peripheral nodes
  arm64: dts: nuvoton: npcm845-evb: Add peripheral nodes

 .../dts/nuvoton/nuvoton-common-npcm8xx.dtsi   | 732 +++++++++++++++++-
 .../boot/dts/nuvoton/nuvoton-npcm845-evb.dts  | 440 +++++++++++
 .../boot/dts/nuvoton/nuvoton-npcm845.dtsi     |   7 +
 3 files changed, 1160 insertions(+), 19 deletions(-)

-- 
2.34.1
Re: [PATCH v3 0/3] arm64: dts: nuvoton: add NPCM845 SoC and EVB support
Posted by Rob Herring (Arm) 5 days, 6 hours ago
On Thu, 25 Sep 2025 23:06:22 +0300, Tomer Maimon wrote:
> This series fix warnings and adds device tree support for peripherals on
> the Nuvoton NPCM845 SoC and its Evaluation Board (EVB).
> The first patch fix warning and arrange node order.
> The second patch introduces peripheral nodes for Ethernet, MMC, SPI, USB,
> RNG, ADC, PWM-FAN, I2C, and OP-TEE firmware in the NPCM845 SoC device tree.
> The third patch enables these peripherals for the NPCM845-EVB, adding
> MDIO nodes, reserved memory, aliases, and board-specific configurations
> like PHY modes and SPI flash partitions.
> 
> The NPCM8XX device tree tested on NPCM845 evaluation board.
> 
> Addressed comments from:
> 	- Andrew Jeffery: https://patchwork.ozlabs.org/project/openbmc/patch/20250908125938.3584927-2-tmaimon77@gmail.com/
> 					  https://patchwork.ozlabs.org/project/openbmc/patch/20250908125938.3584927-3-tmaimon77@gmail.com/
> 
> Changes since version 2:
> 	- Fix dts warning
> 	- Arrange node order by ascending unit address.
> 
> Changes since version 1:
> 	- Fix commit message
> 	- Fix dtbs_check warnings.
> 
> Tomer Maimon (3):
>   arm64: dts: nuvoton: fix warning and nodes order
>   arm64: dts: nuvoton: npcm845: Add peripheral nodes
>   arm64: dts: nuvoton: npcm845-evb: Add peripheral nodes
> 
>  .../dts/nuvoton/nuvoton-common-npcm8xx.dtsi   | 732 +++++++++++++++++-
>  .../boot/dts/nuvoton/nuvoton-npcm845-evb.dts  | 440 +++++++++++
>  .../boot/dts/nuvoton/nuvoton-npcm845.dtsi     |   7 +
>  3 files changed, 1160 insertions(+), 19 deletions(-)
> 
> --
> 2.34.1
> 
> 
> 


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


This patch series was applied (using b4) to base:
 Base: attempting to guess base-commit...
 Base: remotes/arm-soc/for-next-12027-gf60eaa447dab (exact match)

If this is not the correct base, please add 'base-commit' tag
(or use b4 which does this automatically)

New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/nuvoton/' for 20250925200625.573902-1-tmaimon77@gmail.com:

arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: /ahb/spi@fb000000: failed to match any schema with compatible: ['nuvoton,npcm845-fiu']
arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: /ahb/spi@fb002000: failed to match any schema with compatible: ['nuvoton,npcm845-fiu']
arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: /ahb/spi@c0000000: failed to match any schema with compatible: ['nuvoton,npcm845-fiu']
arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: /ahb/spi@fb001000: failed to match any schema with compatible: ['nuvoton,npcm845-fiu']
arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: /ahb/bus@f0000000/i2c@86000/tmp100@48: failed to match any schema with compatible: ['tmp100']
arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: /ahb/bus@f0000000/pwm-fan-controller@103000: failed to match any schema with compatible: ['nuvoton,npcm845-pwm-fan']
arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: /ahb/bus@f0000000/spi@201000: failed to match any schema with compatible: ['nuvoton,npcm845-pspi']
Re: [PATCH v3 0/3] arm64: dts: nuvoton: add NPCM845 SoC and EVB support
Posted by Tomer Maimon 2 days, 13 hours ago
Hi Rob,

Thanks for your comments

Most of the warnings occur because the compatible strings are located
in .txt device tree binding rather than in the .yaml file.

The only change that needs to be done is in ti,tmp100 that

Could you approve the patches, avoiding NPCM845 compatible warnings?
Meanwhile, I will work on converting the txt to yaml

Thanks,

Tomer


On Fri, 26 Sept 2025 at 19:11, Rob Herring (Arm) <robh@kernel.org> wrote:
>
>
> On Thu, 25 Sep 2025 23:06:22 +0300, Tomer Maimon wrote:
> > This series fix warnings and adds device tree support for peripherals on
> > the Nuvoton NPCM845 SoC and its Evaluation Board (EVB).
> > The first patch fix warning and arrange node order.
> > The second patch introduces peripheral nodes for Ethernet, MMC, SPI, USB,
> > RNG, ADC, PWM-FAN, I2C, and OP-TEE firmware in the NPCM845 SoC device tree.
> > The third patch enables these peripherals for the NPCM845-EVB, adding
> > MDIO nodes, reserved memory, aliases, and board-specific configurations
> > like PHY modes and SPI flash partitions.
> >
> > The NPCM8XX device tree tested on NPCM845 evaluation board.
> >
> > Addressed comments from:
> >       - Andrew Jeffery: https://patchwork.ozlabs.org/project/openbmc/patch/20250908125938.3584927-2-tmaimon77@gmail.com/
> >                                         https://patchwork.ozlabs.org/project/openbmc/patch/20250908125938.3584927-3-tmaimon77@gmail.com/
> >
> > Changes since version 2:
> >       - Fix dts warning
> >       - Arrange node order by ascending unit address.
> >
> > Changes since version 1:
> >       - Fix commit message
> >       - Fix dtbs_check warnings.
> >
> > Tomer Maimon (3):
> >   arm64: dts: nuvoton: fix warning and nodes order
> >   arm64: dts: nuvoton: npcm845: Add peripheral nodes
> >   arm64: dts: nuvoton: npcm845-evb: Add peripheral nodes
> >
> >  .../dts/nuvoton/nuvoton-common-npcm8xx.dtsi   | 732 +++++++++++++++++-
> >  .../boot/dts/nuvoton/nuvoton-npcm845-evb.dts  | 440 +++++++++++
> >  .../boot/dts/nuvoton/nuvoton-npcm845.dtsi     |   7 +
> >  3 files changed, 1160 insertions(+), 19 deletions(-)
> >
> > --
> > 2.34.1
> >
> >
> >
>
>
> 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
>
>
> This patch series was applied (using b4) to base:
>  Base: attempting to guess base-commit...
>  Base: remotes/arm-soc/for-next-12027-gf60eaa447dab (exact match)
>
> If this is not the correct base, please add 'base-commit' tag
> (or use b4 which does this automatically)
>
> New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/nuvoton/' for 20250925200625.573902-1-tmaimon77@gmail.com:
>
> arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: /ahb/spi@fb000000: failed to match any schema with compatible: ['nuvoton,npcm845-fiu']
> arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: /ahb/spi@fb002000: failed to match any schema with compatible: ['nuvoton,npcm845-fiu']
> arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: /ahb/spi@c0000000: failed to match any schema with compatible: ['nuvoton,npcm845-fiu']
> arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: /ahb/spi@fb001000: failed to match any schema with compatible: ['nuvoton,npcm845-fiu']
> arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: /ahb/bus@f0000000/i2c@86000/tmp100@48: failed to match any schema with compatible: ['tmp100']
> arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: /ahb/bus@f0000000/pwm-fan-controller@103000: failed to match any schema with compatible: ['nuvoton,npcm845-pwm-fan']
> arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: /ahb/bus@f0000000/spi@201000: failed to match any schema with compatible: ['nuvoton,npcm845-pspi']
>
>
>
>
>
Re: [PATCH v3 0/3] arm64: dts: nuvoton: add NPCM845 SoC and EVB support
Posted by Andrew Jeffery 19 hours ago
On Mon, 2025-09-29 at 12:15 +0300, Tomer Maimon wrote:
> Hi Rob,
> 
> Thanks for your comments
> 
> Most of the warnings occur because the compatible strings are located
> in .txt device tree binding rather than in the .yaml file.
> 
> The only change that needs to be done is in ti,tmp100 that
> 
> Could you approve the patches, avoiding NPCM845 compatible warnings?
> Meanwhile, I will work on converting the txt to yaml

I think it's best we get the conversion done, and then subsequently
apply the apply this series. See:

https://docs.kernel.org/process/maintainer-soc.html#validating-devicetree-files

and

https://docs.kernel.org/process/maintainer-soc-clean-dts.html#strict-dts-dt-schema-and-dtc-compliance

Andrew