Skip to contentSkip to conversation

arm64: dts: imx8mm-phyboard-polis-rdk: Remove 'fsl,spi-num-chipselects'

PATCH Applied Yannic Moog 3 participants 4 messages Jul 27, 2023 – Aug 6, 2023 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hello Fabio,

Quoted 16 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The 'fsl,spi-num-chipselects' property is not a valid one, so remove it.

---
 arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 1 -

 1 file changed, 1 deletion(-)
(quoted diff) +0 -0

rdk.dts b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts index 66a0bdaff8eb..92e62fe31929 100644

arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts can0: can@0 { · line 146

Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +0 -1
@@ -143,7 +143,6 @@ can0: can@0 {
  /* TPM */
  &ecspi2 {
         cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
-       fsl,spi-num-chipselects = <1>;

Is it possible or customary that you also add the property "num-cs = <1>" as replacement or is this (generally) something where I should send a patch to add the new node?

Yannic

arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts can0: can@0 { · line 148

Quoted 3 lines
arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +0 -0
         pinctrl-names = "default";
         pinctrl-0 = <&pinctrl_ecspi2>;
         #address-cells = <1>;

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#3 lore raw

Hi Yannic,

Quoted 3 lines · Yannic Moog

Is it possible or customary that you also add the property "num-cs = <1>" as replacement or is this (generally) something where I should send a patch to add the new node?

The cs-gpios property already contains the SPI chipselect list, so the information about the number of the chipselect lines is taken from there.

No need to pass num-cs.

Regards,

Fabio Estevam

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

author Reviewed-by
#4 lore raw
In reply to a message not in the archive
Quoted 6 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The 'fsl,spi-num-chipselects' property is not a valid one, so remove it.

Quoted 10 lines

---
 arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 1 -

 1 file changed, 1 deletion(-)
(quoted diff) +0 -0

rdk.dts b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts index 66a0bdaff8eb..92e62fe31929 100644

arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts can0: can@0 { · line 148

Quoted 7 lines
arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +0 -1
@@ -143,7 +143,6 @@ can0: can@0 {
  /* TPM */
  &ecspi2 {
         cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
-       fsl,spi-num-chipselects = <1>;
         pinctrl-names = "default";
         pinctrl-0 = <&pinctrl_ecspi2>;
         #address-cells = <1>;

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Applied
#5 lore raw

Re: [PATCH 1/2] arm64: dts: imx8dxl-evk: Remove 'fsl,spi-num-chipselects'

In reply to a message not in the archive
Quoted 5 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The 'fsl,spi-num-chipselects' property is not a valid one, so remove it.

Applied both, thanks!

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel