# \[PATCH v8 4/9\] usb: gadget: s3c-hsotg: add snps, dwc2 compatible string

- From: Matt Porter \<hidden\>
- Date: 2013-12-19 14:23:35 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2013/12/4170529
- Thread: https://ratatoskr.run/linux-arm-kernel/2013/12/4170179/t.md

```text
Enable support for the dwc2 binding.

Signed-off-by: Matt Porter <redacted>
---
 drivers/usb/gadget/s3c-hsotg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c
index db797f2..cbfbf41 100644
--- a/drivers/usb/gadget/s3c-hsotg.c
+++ b/drivers/usb/gadget/s3c-hsotg.c
@@ -3726,6 +3726,7 @@ static int s3c_hsotg_remove(struct platform_device *pdev)
 #ifdef CONFIG_OF
 static const struct of_device_id s3c_hsotg_of_ids[] = {
 	{ .compatible = "samsung,s3c6400-hsotg", },
+	{ .compatible = "snps,dwc2", },
 	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, s3c_hsotg_of_ids);
-- 
1.8.4
```
