mbox series

[v2,0/2] riscv: sophgo: add USB phy support for CV18XX series

Message ID IA1PR20MB4953182B8EDB465430289400BB1B2@IA1PR20MB4953.namprd20.prod.outlook.com
Headers show
Series riscv: sophgo: add USB phy support for CV18XX series | expand

Message

Inochi Amaoto April 29, 2024, 12:30 a.m. UTC
Add USB PHY support for CV18XX/SG200X series

Changed from v1:
1. remove dr_mode property and use default mode instead.
2. improve the description of `vbus_det-gpios` and `sophgo,switch-gpios`

Inochi Amaoto (2):
  dt-bindings: phy: Add Sophgo CV1800 USB phy
  phy: sophgo: Add USB 2.0 PHY driver for Sophgo CV18XX/SG200X

 .../bindings/phy/sophgo,cv1800-usb-phy.yaml   |  68 ++++
 drivers/phy/Kconfig                           |   1 +
 drivers/phy/Makefile                          |   1 +
 drivers/phy/sophgo/Kconfig                    |  19 +
 drivers/phy/sophgo/Makefile                   |   2 +
 drivers/phy/sophgo/phy-cv1800-usb.c           | 378 ++++++++++++++++++
 6 files changed, 469 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/sophgo,cv1800-usb-phy.yaml
 create mode 100644 drivers/phy/sophgo/Kconfig
 create mode 100644 drivers/phy/sophgo/Makefile
 create mode 100644 drivers/phy/sophgo/phy-cv1800-usb.c

--
2.44.0

Comments

Inochi Amaoto April 29, 2024, 1:07 a.m. UTC | #1
On Mon, Apr 29, 2024 at 08:30:23AM GMT, Inochi Amaoto wrote:
> Add USB PHY support for CV18XX/SG200X series
> 
> Changed from v1:
> 1. remove dr_mode property and use default mode instead.
> 2. improve the description of `vbus_det-gpios` and `sophgo,switch-gpios`
> 
> Inochi Amaoto (2):
>   dt-bindings: phy: Add Sophgo CV1800 USB phy
>   phy: sophgo: Add USB 2.0 PHY driver for Sophgo CV18XX/SG200X
> 
>  .../bindings/phy/sophgo,cv1800-usb-phy.yaml   |  68 ++++
>  drivers/phy/Kconfig                           |   1 +
>  drivers/phy/Makefile                          |   1 +
>  drivers/phy/sophgo/Kconfig                    |  19 +
>  drivers/phy/sophgo/Makefile                   |   2 +
>  drivers/phy/sophgo/phy-cv1800-usb.c           | 378 ++++++++++++++++++
>  6 files changed, 469 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/phy/sophgo,cv1800-usb-phy.yaml
>  create mode 100644 drivers/phy/sophgo/Kconfig
>  create mode 100644 drivers/phy/sophgo/Makefile
>  create mode 100644 drivers/phy/sophgo/phy-cv1800-usb.c
> 
> --
> 2.44.0
> 
On Fri, Apr 12, 2024 at 03:21:26PM +0800, Inochi Amaoto wrote:
> Add USB PHY support for CV18XX/SG200X series
>
> Inochi Amaoto (2):
>   dt-bindings: phy: Add Sophgo CV1800 USB phy
>   phy: sophgo: Add USB 2.0 PHY driver for Sophgo CV18XX/SG200X
>

Sorry for forgetting to mention the depends patch again:
https://lore.kernel.org/all/IA1PR20MB4953BAA0F8E06CB202C5C2FBBB062@IA1PR20MB4953.namprd20.prod.outlook.com/
Chen Wang May 3, 2024, 2:08 a.m. UTC | #2
Inochi,

Please also send this patchset to the linux-riscv mailinglist next time.

Thanks,

Chen

On 2024/4/29 8:30, Inochi Amaoto wrote:
> Add USB PHY support for CV18XX/SG200X series
>
> Changed from v1:
> 1. remove dr_mode property and use default mode instead.
> 2. improve the description of `vbus_det-gpios` and `sophgo,switch-gpios`
>
> Inochi Amaoto (2):
>    dt-bindings: phy: Add Sophgo CV1800 USB phy
>    phy: sophgo: Add USB 2.0 PHY driver for Sophgo CV18XX/SG200X
>
>   .../bindings/phy/sophgo,cv1800-usb-phy.yaml   |  68 ++++
>   drivers/phy/Kconfig                           |   1 +
>   drivers/phy/Makefile                          |   1 +
>   drivers/phy/sophgo/Kconfig                    |  19 +
>   drivers/phy/sophgo/Makefile                   |   2 +
>   drivers/phy/sophgo/phy-cv1800-usb.c           | 378 ++++++++++++++++++
>   6 files changed, 469 insertions(+)
>   create mode 100644 Documentation/devicetree/bindings/phy/sophgo,cv1800-usb-phy.yaml
>   create mode 100644 drivers/phy/sophgo/Kconfig
>   create mode 100644 drivers/phy/sophgo/Makefile
>   create mode 100644 drivers/phy/sophgo/phy-cv1800-usb.c
>
> --
> 2.44.0
>