diff mbox series

arm64: dts: imx8mp: Remove 'snps,rx-sched-sp'

Message ID 20240701205458.164053-1-festevam@gmail.com (mailing list archive)
State New
Headers show
Series arm64: dts: imx8mp: Remove 'snps,rx-sched-sp' | expand

Commit Message

Fabio Estevam July 1, 2024, 8:54 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

According to nxp,dwmac-imx.yaml, 'snps,rx-sched-sp' is not a valid
property.

Remove it from the imx8mp board devicetree files to avoid
dt-schema warnings:

... 'snps,tx-sched-sp' does not match any of the regexes

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm64/boot/dts/freescale/imx8mp-beacon-som.dtsi | 2 --
 arch/arm64/boot/dts/freescale/imx8mp-evk.dts         | 1 -
 arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi     | 2 --
 3 files changed, 5 deletions(-)

Comments

Frank Li July 1, 2024, 9:04 p.m. UTC | #1
On Mon, Jul 01, 2024 at 05:54:58PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> According to nxp,dwmac-imx.yaml, 'snps,rx-sched-sp' is not a valid
> property.
> 
> Remove it from the imx8mp board devicetree files to avoid
> dt-schema warnings:
> 
> ... 'snps,tx-sched-sp' does not match any of the regexes
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---

No sure why Krzysztof NACK a similar patch

https://lore.kernel.org/imx/cc7aba44-e111-4cb3-b842-f7fedda24113@kernel.org/#t

Frank

>  arch/arm64/boot/dts/freescale/imx8mp-beacon-som.dtsi | 2 --
>  arch/arm64/boot/dts/freescale/imx8mp-evk.dts         | 1 -
>  arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi     | 2 --
>  3 files changed, 5 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-beacon-som.dtsi
> index 8be251b69378..15f7ab58db36 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mp-beacon-som.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mp-beacon-som.dtsi
> @@ -71,7 +71,6 @@ ethphy0: ethernet-phy@3 {
>  
>  	mtl_rx_setup: rx-queues-config {
>  		snps,rx-queues-to-use = <5>;
> -		snps,rx-sched-sp;
>  
>  		queue0 {
>  			snps,dcb-algorithm;
> @@ -106,7 +105,6 @@ queue4 {
>  
>  	mtl_tx_setup: tx-queues-config {
>  		snps,tx-queues-to-use = <5>;
> -		snps,tx-sched-sp;
>  
>  		queue0 {
>  			snps,dcb-algorithm;
> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
> index c2c708c492c0..35e0ed23bbdb 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
> @@ -294,7 +294,6 @@ ethphy0: ethernet-phy@1 {
>  
>  	mtl_tx_setup: tx-queues-config {
>  		snps,tx-queues-to-use = <5>;
> -		snps,tx-sched-sp;
>  
>  		queue0 {
>  			snps,dcb-algorithm;
> diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
> index c96e74684e03..d23a3942174d 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
> @@ -241,7 +241,6 @@ ethphy0: ethernet-phy@7 {
>  
>  	mtl_rx_setup: rx-queues-config {
>  		snps,rx-queues-to-use = <5>;
> -		snps,rx-sched-sp;
>  
>  		queue0 {
>  			snps,dcb-algorithm;
> @@ -276,7 +275,6 @@ queue4 {
>  
>  	mtl_tx_setup: tx-queues-config {
>  		snps,tx-queues-to-use = <5>;
> -		snps,tx-sched-sp;
>  
>  		queue0 {
>  			snps,dcb-algorithm;
> -- 
> 2.34.1
>
Fabio Estevam July 1, 2024, 9:08 p.m. UTC | #2
On Mon, Jul 1, 2024 at 6:04 PM Frank Li <Frank.li@nxp.com> wrote:

> No sure why Krzysztof NACK a similar patch

If I understood correctly, he did not provide a Reviewed-by tag on that patch.
Shawn Guo July 2, 2024, 4:14 a.m. UTC | #3
On Mon, Jul 01, 2024 at 05:54:58PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> According to nxp,dwmac-imx.yaml, 'snps,rx-sched-sp' is not a valid
> property.
> 
> Remove it from the imx8mp board devicetree files to avoid
> dt-schema warnings:
> 
> ... 'snps,tx-sched-sp' does not match any of the regexes
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-beacon-som.dtsi
index 8be251b69378..15f7ab58db36 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-beacon-som.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp-beacon-som.dtsi
@@ -71,7 +71,6 @@  ethphy0: ethernet-phy@3 {
 
 	mtl_rx_setup: rx-queues-config {
 		snps,rx-queues-to-use = <5>;
-		snps,rx-sched-sp;
 
 		queue0 {
 			snps,dcb-algorithm;
@@ -106,7 +105,6 @@  queue4 {
 
 	mtl_tx_setup: tx-queues-config {
 		snps,tx-queues-to-use = <5>;
-		snps,tx-sched-sp;
 
 		queue0 {
 			snps,dcb-algorithm;
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
index c2c708c492c0..35e0ed23bbdb 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
@@ -294,7 +294,6 @@  ethphy0: ethernet-phy@1 {
 
 	mtl_tx_setup: tx-queues-config {
 		snps,tx-queues-to-use = <5>;
-		snps,tx-sched-sp;
 
 		queue0 {
 			snps,dcb-algorithm;
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
index c96e74684e03..d23a3942174d 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
@@ -241,7 +241,6 @@  ethphy0: ethernet-phy@7 {
 
 	mtl_rx_setup: rx-queues-config {
 		snps,rx-queues-to-use = <5>;
-		snps,rx-sched-sp;
 
 		queue0 {
 			snps,dcb-algorithm;
@@ -276,7 +275,6 @@  queue4 {
 
 	mtl_tx_setup: tx-queues-config {
 		snps,tx-queues-to-use = <5>;
-		snps,tx-sched-sp;
 
 		queue0 {
 			snps,dcb-algorithm;