[PATCH 14/14] arm64: dts: Add DSPI entries for S32G platforms
Krzysztof Kozlowski
krzk at kernel.org
Fri May 9 04:26:20 PDT 2025
On 09/05/2025 13:06, James Clark wrote:
> +&spi1 {
> + pinctrl-0 = <&dspi1_pins>;
> + pinctrl-names = "default";
> + #address-cells = <1>;
> + #size-cells = <0>;
> + status = "okay";
> +
> + spidev0: spidev at 0 {
Node names should be generic. See also an explanation and list of
examples (not exhaustive) in DT specification:
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
> + compatible = "rohm,dh2228fv";
Nah, I really doubt. That's not the device you have there. It's
possible, though, so can you share schematics?
> + spi-max-frequency = <4000000>;
> + reg = <0>;
> + fsl,spi-cs-sck-delay = <100>;
> + fsl,spi-sck-cs-delay = <100>;
> + };
> +};
> diff --git a/arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi b/arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi
> index ba53ec622f0b..798b58fa9536 100644
> --- a/arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi
> +++ b/arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi
> @@ -127,6 +127,77 @@ i2c4-gpio-grp1 {
> pinmux = <0x2d40>, <0x2d30>;
> };
> };
> +
> + dspi1_pins: dspi1_pins {
No underscores in node names. Please use upstream as basis of your
changes, not downstream code. See also DTS coding style.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list