Re: [linux-yocto] [kernel-cache][PATCH 08/12] bsp/genericarm64: enable USB On-The-Go and Gadget

2024-03-21 Thread Bruce Ashfield
In message: [linux-yocto] [kernel-cache][PATCH 08/12] bsp/genericarm64: enable 
USB On-The-Go and Gadget
on 20/03/2024 Ross Burton wrote:

> From: Ross Burton 
> 
> Signed-off-by: Ross Burton 
> ---
>  bsp/genericarm64/genericarm64.cfg | 5 +
>  1 file changed, 5 insertions(+)
> 
> diff --git a/bsp/genericarm64/genericarm64.cfg 
> b/bsp/genericarm64/genericarm64.cfg
> index 92a1daee..25dc4c4b 100644
> --- a/bsp/genericarm64/genericarm64.cfg
> +++ b/bsp/genericarm64/genericarm64.cfg
> @@ -395,11 +395,16 @@ CONFIG_SND_SOC_DAVINCI_MCASP=m
>  CONFIG_SND_SOC_DA7213=m
>  
>  # USB support
> +# OTG support
> +CONFIG_USB_OTG=y

We've got more than a few BSPs that are setting this, and
really we should just add a features/usb/usb-otg.scc to
go along with the other usb features.

I wouldn't cleanup all the other badly bhaving BSPs
immediately, but making a otg feature available is the
first step.

Thoughts ?

Bruce

>  # DesignWare USB3 DRD Core Support
>  CONFIG_USB_DWC3=m
>  # Texas Instruments AM62 Platforms
>  CONFIG_USB_DWC3_AM62=m
>  
> +# USB Gadget Support
> +CONFIG_USB_GADGET=m
> +
>  # USB Type-C Support
>  CONFIG_TYPEC=m
>  # USB Type-C Port Controller Manager
> -- 
> 2.34.1
> 

> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13720): 
https://lists.yoctoproject.org/g/linux-yocto/message/13720
Mute This Topic: https://lists.yoctoproject.org/mt/105052013/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto][yocto-kernel-cache yocto-6.1][PATCH 1/3] features/net: Add xdp feature config

2024-03-21 Thread Bruce Ashfield
All three are merged to yocto-6.1, the net features are
also on 6.6 and master.

Bruce

In message: [linux-yocto][yocto-kernel-cache yocto-6.1][PATCH 1/3] 
features/net: Add xdp feature config
on 21/03/2024 Xiaolei Wang wrote:

> Add xdp feature config.
> 
> Signed-off-by: Xiaolei Wang 
> ---
>  features/net/xdp/xdp.cfg | 1 +
>  features/net/xdp/xdp.scc | 1 +
>  2 files changed, 2 insertions(+)
>  create mode 100644 features/net/xdp/xdp.cfg
>  create mode 100644 features/net/xdp/xdp.scc
> 
> diff --git a/features/net/xdp/xdp.cfg b/features/net/xdp/xdp.cfg
> new file mode 100644
> index ..061b65a4
> --- /dev/null
> +++ b/features/net/xdp/xdp.cfg
> @@ -0,0 +1 @@
> +CONFIG_XDP_SOCKETS=y
> diff --git a/features/net/xdp/xdp.scc b/features/net/xdp/xdp.scc
> new file mode 100644
> index ..e4df6d09
> --- /dev/null
> +++ b/features/net/xdp/xdp.scc
> @@ -0,0 +1 @@
> +kconf hardware xdp.cfg
> -- 
> 2.25.1
> 

In message: [linux-yocto][yocto-kernel-cache yocto-6.1][PATCH 2/3] 
features/net_sched: Add MULTIQ and NET_EMATCH config
on 21/03/2024 Xiaolei Wang wrote:

> Add MULTIQ and NET_EMATCH config.
> 
> Signed-off-by: Xiaolei Wang 
> ---
>  features/net_sched/net_sched.cfg | 5 +
>  1 file changed, 5 insertions(+)
> 
> diff --git a/features/net_sched/net_sched.cfg 
> b/features/net_sched/net_sched.cfg
> index d0473170..137ca752 100644
> --- a/features/net_sched/net_sched.cfg
> +++ b/features/net_sched/net_sched.cfg
> @@ -20,6 +20,8 @@ CONFIG_NET_SCH_INGRESS=m
>  CONFIG_NET_SCH_CODEL=m
>  CONFIG_NET_SCH_FQ_CODEL=m
>  
> +CONFIG_NET_SCH_MULTIQ=m
> +
>  #
>  # Classification
>  #
> @@ -31,3 +33,6 @@ CONFIG_NET_CLS_U32=y
>  CONFIG_NET_ACT_MIRRED=m
>  CONFIG_NET_ACT_SKBEDIT=m
>  CONFIG_NET_EMATCH=y
> +
> +CONFIG_NET_EMATCH_U32=y
> +CONFIG_NET_EMATCH_META=y
> -- 
> 2.25.1
> 

In message: [linux-yocto][yocto-kernel-cache yocto-6.1][PATCH 3/3] nxp-imx9: 
Add some related net config required by tsn
on 21/03/2024 Xiaolei Wang wrote:

> Add some related net config required by tsn.
> 
> Signed-off-by: Xiaolei Wang 
> ---
>  bsp/nxp-imx9/nxp-imx9-preempt-rt.scc | 2 ++
>  bsp/nxp-imx9/nxp-imx9-standard.scc   | 2 ++
>  bsp/nxp-imx9/nxp-imx9.cfg| 6 ++
>  3 files changed, 10 insertions(+)
> 
> diff --git a/bsp/nxp-imx9/nxp-imx9-preempt-rt.scc 
> b/bsp/nxp-imx9/nxp-imx9-preempt-rt.scc
> index 57ce73f9..737fdeab 100644
> --- a/bsp/nxp-imx9/nxp-imx9-preempt-rt.scc
> +++ b/bsp/nxp-imx9/nxp-imx9-preempt-rt.scc
> @@ -3,6 +3,8 @@ define KTYPE preempt-rt
>  define KARCH arm64
>  
>  include ktypes/preempt-rt
> +include features/tsn/tsn.scc
> +include features/net/xdp/xdp.scc
>  
>  include nxp-imx9.scc
>  
> diff --git a/bsp/nxp-imx9/nxp-imx9-standard.scc 
> b/bsp/nxp-imx9/nxp-imx9-standard.scc
> index 4483215c..1e6e9eea 100644
> --- a/bsp/nxp-imx9/nxp-imx9-standard.scc
> +++ b/bsp/nxp-imx9/nxp-imx9-standard.scc
> @@ -3,5 +3,7 @@ define KTYPE standard
>  define KARCH arm64
>  
>  include ktypes/standard
> +include features/tsn/tsn.scc
> +include features/net/xdp/xdp.scc
>  
>  include nxp-imx9.scc
> diff --git a/bsp/nxp-imx9/nxp-imx9.cfg b/bsp/nxp-imx9/nxp-imx9.cfg
> index 499b0750..41964ea5 100644
> --- a/bsp/nxp-imx9/nxp-imx9.cfg
> +++ b/bsp/nxp-imx9/nxp-imx9.cfg
> @@ -112,6 +112,12 @@ CONFIG_FEC=y
>  CONFIG_AT803X_PHY=y
>  CONFIG_REALTEK_PHY=y
>  CONFIG_STMMAC_ETH=y
> +CONFIG_FEC_ECAT=y
> +CONFIG_NET_DSA_NETC=m
> +CONFIG_NET_DSA_SJA1105=m
> +CONFIG_NET_DSA_SJA1105_PTP=y
> +CONFIG_NET_DSA_SJA1105_TAS=y
> +CONFIG_NET_DSA_SJA1105_VL=y
>  
>  #
>  # Input device support
> -- 
> 2.25.1
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13719): 
https://lists.yoctoproject.org/g/linux-yocto/message/13719
Mute This Topic: https://lists.yoctoproject.org/mt/105076207/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto][yocto-kernel-cache yocto-6.1][PATCH 2/3] features/net_sched: Add MULTIQ and NET_EMATCH config

2024-03-21 Thread Xiaolei Wang via lists.yoctoproject.org
Add MULTIQ and NET_EMATCH config.

Signed-off-by: Xiaolei Wang 
---
 features/net_sched/net_sched.cfg | 5 +
 1 file changed, 5 insertions(+)

diff --git a/features/net_sched/net_sched.cfg b/features/net_sched/net_sched.cfg
index d0473170..137ca752 100644
--- a/features/net_sched/net_sched.cfg
+++ b/features/net_sched/net_sched.cfg
@@ -20,6 +20,8 @@ CONFIG_NET_SCH_INGRESS=m
 CONFIG_NET_SCH_CODEL=m
 CONFIG_NET_SCH_FQ_CODEL=m
 
+CONFIG_NET_SCH_MULTIQ=m
+
 #
 # Classification
 #
@@ -31,3 +33,6 @@ CONFIG_NET_CLS_U32=y
 CONFIG_NET_ACT_MIRRED=m
 CONFIG_NET_ACT_SKBEDIT=m
 CONFIG_NET_EMATCH=y
+
+CONFIG_NET_EMATCH_U32=y
+CONFIG_NET_EMATCH_META=y
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13716): 
https://lists.yoctoproject.org/g/linux-yocto/message/13716
Mute This Topic: https://lists.yoctoproject.org/mt/105060995/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto][yocto-kernel-cache yocto-6.1][PATCH 1/3] features/net: Add xdp feature config

2024-03-21 Thread Xiaolei Wang via lists.yoctoproject.org
Add xdp feature config.

Signed-off-by: Xiaolei Wang 
---
 features/net/xdp/xdp.cfg | 1 +
 features/net/xdp/xdp.scc | 1 +
 2 files changed, 2 insertions(+)
 create mode 100644 features/net/xdp/xdp.cfg
 create mode 100644 features/net/xdp/xdp.scc

diff --git a/features/net/xdp/xdp.cfg b/features/net/xdp/xdp.cfg
new file mode 100644
index ..061b65a4
--- /dev/null
+++ b/features/net/xdp/xdp.cfg
@@ -0,0 +1 @@
+CONFIG_XDP_SOCKETS=y
diff --git a/features/net/xdp/xdp.scc b/features/net/xdp/xdp.scc
new file mode 100644
index ..e4df6d09
--- /dev/null
+++ b/features/net/xdp/xdp.scc
@@ -0,0 +1 @@
+kconf hardware xdp.cfg
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13717): 
https://lists.yoctoproject.org/g/linux-yocto/message/13717
Mute This Topic: https://lists.yoctoproject.org/mt/105060996/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[linux-yocto][yocto-kernel-cache yocto-6.1][PATCH 3/3] nxp-imx9: Add some related net config required by tsn

2024-03-21 Thread Xiaolei Wang via lists.yoctoproject.org
Add some related net config required by tsn.

Signed-off-by: Xiaolei Wang 
---
 bsp/nxp-imx9/nxp-imx9-preempt-rt.scc | 2 ++
 bsp/nxp-imx9/nxp-imx9-standard.scc   | 2 ++
 bsp/nxp-imx9/nxp-imx9.cfg| 6 ++
 3 files changed, 10 insertions(+)

diff --git a/bsp/nxp-imx9/nxp-imx9-preempt-rt.scc 
b/bsp/nxp-imx9/nxp-imx9-preempt-rt.scc
index 57ce73f9..737fdeab 100644
--- a/bsp/nxp-imx9/nxp-imx9-preempt-rt.scc
+++ b/bsp/nxp-imx9/nxp-imx9-preempt-rt.scc
@@ -3,6 +3,8 @@ define KTYPE preempt-rt
 define KARCH arm64
 
 include ktypes/preempt-rt
+include features/tsn/tsn.scc
+include features/net/xdp/xdp.scc
 
 include nxp-imx9.scc
 
diff --git a/bsp/nxp-imx9/nxp-imx9-standard.scc 
b/bsp/nxp-imx9/nxp-imx9-standard.scc
index 4483215c..1e6e9eea 100644
--- a/bsp/nxp-imx9/nxp-imx9-standard.scc
+++ b/bsp/nxp-imx9/nxp-imx9-standard.scc
@@ -3,5 +3,7 @@ define KTYPE standard
 define KARCH arm64
 
 include ktypes/standard
+include features/tsn/tsn.scc
+include features/net/xdp/xdp.scc
 
 include nxp-imx9.scc
diff --git a/bsp/nxp-imx9/nxp-imx9.cfg b/bsp/nxp-imx9/nxp-imx9.cfg
index 499b0750..41964ea5 100644
--- a/bsp/nxp-imx9/nxp-imx9.cfg
+++ b/bsp/nxp-imx9/nxp-imx9.cfg
@@ -112,6 +112,12 @@ CONFIG_FEC=y
 CONFIG_AT803X_PHY=y
 CONFIG_REALTEK_PHY=y
 CONFIG_STMMAC_ETH=y
+CONFIG_FEC_ECAT=y
+CONFIG_NET_DSA_NETC=m
+CONFIG_NET_DSA_SJA1105=m
+CONFIG_NET_DSA_SJA1105_PTP=y
+CONFIG_NET_DSA_SJA1105_TAS=y
+CONFIG_NET_DSA_SJA1105_VL=y
 
 #
 # Input device support
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13718): 
https://lists.yoctoproject.org/g/linux-yocto/message/13718
Mute This Topic: https://lists.yoctoproject.org/mt/105060997/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-