mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] usb: dwc3: of-simple: remove unmatchable compatibles
@ 2024-01-08 13:27 Ahmad Fatoum
  2024-01-10  6:47 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2024-01-08 13:27 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

Only three of the compatibles listed exist in up-to-date upstream device
trees. As barebox need not worry about backwards compatibility with
older device trees, remove the rest that would never be matched.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 drivers/usb/dwc3/dwc3-of-simple.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/usb/dwc3/dwc3-of-simple.c b/drivers/usb/dwc3/dwc3-of-simple.c
index e8155321ad22..1e622240152e 100644
--- a/drivers/usb/dwc3/dwc3-of-simple.c
+++ b/drivers/usb/dwc3/dwc3-of-simple.c
@@ -67,13 +67,7 @@ static void dwc3_of_simple_remove(struct device *dev)
 static const struct of_device_id of_dwc3_simple_match[] = {
 	{.compatible = "rockchip,rk3399-dwc3"},
 	{.compatible = "xlnx,zynqmp-dwc3"},
-	{.compatible = "fsl,ls1046a-dwc3"},
 	{.compatible = "fsl,imx8mp-dwc3"},
-	{.compatible = "cavium,octeon-7130-usb-uctl"},
-	{.compatible = "sprd,sc9860-dwc3"},
-	{.compatible = "amlogic,meson-axg-dwc3"},
-	{.compatible = "amlogic,meson-gxl-dwc3"},
-	{.compatible = "allwinner,sun50i-h6-dwc3"},
 	{/* Sentinel */}};
 MODULE_DEVICE_TABLE(of, of_dwc3_simple_match);
 
-- 
2.39.2




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

* Re: [PATCH] usb: dwc3: of-simple: remove unmatchable compatibles
  2024-01-08 13:27 [PATCH] usb: dwc3: of-simple: remove unmatchable compatibles Ahmad Fatoum
@ 2024-01-10  6:47 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2024-01-10  6:47 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

On Mon, Jan 08, 2024 at 02:27:21PM +0100, Ahmad Fatoum wrote:
> Only three of the compatibles listed exist in up-to-date upstream device
> trees. As barebox need not worry about backwards compatibility with
> older device trees, remove the rest that would never be matched.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>  drivers/usb/dwc3/dwc3-of-simple.c | 6 ------
>  1 file changed, 6 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/drivers/usb/dwc3/dwc3-of-simple.c b/drivers/usb/dwc3/dwc3-of-simple.c
> index e8155321ad22..1e622240152e 100644
> --- a/drivers/usb/dwc3/dwc3-of-simple.c
> +++ b/drivers/usb/dwc3/dwc3-of-simple.c
> @@ -67,13 +67,7 @@ static void dwc3_of_simple_remove(struct device *dev)
>  static const struct of_device_id of_dwc3_simple_match[] = {
>  	{.compatible = "rockchip,rk3399-dwc3"},
>  	{.compatible = "xlnx,zynqmp-dwc3"},
> -	{.compatible = "fsl,ls1046a-dwc3"},
>  	{.compatible = "fsl,imx8mp-dwc3"},
> -	{.compatible = "cavium,octeon-7130-usb-uctl"},
> -	{.compatible = "sprd,sc9860-dwc3"},
> -	{.compatible = "amlogic,meson-axg-dwc3"},
> -	{.compatible = "amlogic,meson-gxl-dwc3"},
> -	{.compatible = "allwinner,sun50i-h6-dwc3"},
>  	{/* Sentinel */}};
>  MODULE_DEVICE_TABLE(of, of_dwc3_simple_match);
>  
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



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

end of thread, other threads:[~2024-01-10  6:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-08 13:27 [PATCH] usb: dwc3: of-simple: remove unmatchable compatibles Ahmad Fatoum
2024-01-10  6:47 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox