devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx7d-flex-concentrator: Remove invalid ecspi property
@ 2023-05-24 22:34 Fabio Estevam
  2023-05-27 13:09 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2023-05-24 22:34 UTC (permalink / raw)
  To: shawnguo
  Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree,
	inux-arm-kernel, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

The 'num-chipselects' property is not a valid property for ecspi.

Remove it to fix the following DT check warning:

spi@30630000: Unevaluated properties are not allowed ('num-chipselects' was unexpected)
From schema: Documentation/devicetree/bindings/spi/fsl-imx-cspi.yaml

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/boot/dts/imx7d-flex-concentrator.dts | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx7d-flex-concentrator.dts b/arch/arm/boot/dts/imx7d-flex-concentrator.dts
index bd6b5285aa8d..3a723843d562 100644
--- a/arch/arm/boot/dts/imx7d-flex-concentrator.dts
+++ b/arch/arm/boot/dts/imx7d-flex-concentrator.dts
@@ -107,7 +107,6 @@ &adc1 {
 &ecspi2 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_ecspi2>;
-	num-chipselects = <1>;
 	cs-gpios = <&gpio4 23 GPIO_ACTIVE_LOW>;
 	status = "okay";
 
@@ -122,7 +121,6 @@ pcf2127: rtc@0 {
 &ecspi4 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_ecspi4>;
-	num-chipselects = <1>;
 	cs-gpios = <&gpio3 3 GPIO_ACTIVE_LOW>;
 	status = "okay";
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: imx7d-flex-concentrator: Remove invalid ecspi property
  2023-05-24 22:34 [PATCH] ARM: dts: imx7d-flex-concentrator: Remove invalid ecspi property Fabio Estevam
@ 2023-05-27 13:09 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2023-05-27 13:09 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, devicetree,
	inux-arm-kernel, Fabio Estevam

On Wed, May 24, 2023 at 07:34:40PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> The 'num-chipselects' property is not a valid property for ecspi.
> 
> Remove it to fix the following DT check warning:
> 
> spi@30630000: Unevaluated properties are not allowed ('num-chipselects' was unexpected)
> From schema: Documentation/devicetree/bindings/spi/fsl-imx-cspi.yaml
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-27 13:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-24 22:34 [PATCH] ARM: dts: imx7d-flex-concentrator: Remove invalid ecspi property Fabio Estevam
2023-05-27 13:09 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).