mbox series

[v4,0/3] Add OTG support for Ingenic SoCs.

Message ID 1650561308-54704-1-git-send-email-zhouyanjie@wanyeetech.com
Headers show
Series Add OTG support for Ingenic SoCs. | expand

Message

Zhou Yanjie April 21, 2022, 5:15 p.m. UTC
1.Add OTG support for the JZ4775 SoC, the JZ4780 SoC, the X1000
  SoC, the X1600 SoC, the X1830 SoC, and the X2000 SoC.
2.Introduce support for disable Ingenic overcurrent detection,
  once selected it enables GOTGCTL register bits VbvalidOvEn
  and VbvalidOvVal to disable the VBUS overcurrent detection.

v1->v2:
1.Add Rob Herring's Acked-by.
2.Add Minas Harutyunyan's Acked-by.
3.Use "activate_ingenic_overcurrent_detection" instead
  "deactivate_ingenic_overcurrent_detection" as Greg's suggestion.

v2->v3:
Refresh USB nodes in device tree files, remove "snps,dwc2" since
it is nolonger needed.

v3->v4:
Remove the compatible string of X1700 since it could use the X1600
string as the fallback.

周琰杰 (Zhou Yanjie) (3):
  dt-bindings: dwc2: Add bindings for new Ingenic SoCs.
  USB: dwc2: Add OTG support for Ingenic SoCs.
  MIPS: Ingenic: Refresh USB nodes to match driver changes.

 Documentation/devicetree/bindings/usb/dwc2.yaml |  6 +++
 arch/mips/boot/dts/ingenic/jz4780.dtsi          |  2 +-
 arch/mips/boot/dts/ingenic/x1000.dtsi           |  2 +-
 arch/mips/boot/dts/ingenic/x1830.dtsi           |  2 +-
 drivers/usb/dwc2/core.c                         |  9 +++++
 drivers/usb/dwc2/core.h                         |  5 +++
 drivers/usb/dwc2/params.c                       | 49 ++++++++++++++++++++++++-
 7 files changed, 71 insertions(+), 4 deletions(-)

Comments

Greg Kroah-Hartman April 22, 2022, 8:30 a.m. UTC | #1
On Fri, Apr 22, 2022 at 01:15:05AM +0800, 周琰杰 (Zhou Yanjie) wrote:
> 1.Add OTG support for the JZ4775 SoC, the JZ4780 SoC, the X1000
>   SoC, the X1600 SoC, the X1830 SoC, and the X2000 SoC.
> 2.Introduce support for disable Ingenic overcurrent detection,
>   once selected it enables GOTGCTL register bits VbvalidOvEn
>   and VbvalidOvVal to disable the VBUS overcurrent detection.
> 
> v1->v2:
> 1.Add Rob Herring's Acked-by.
> 2.Add Minas Harutyunyan's Acked-by.
> 3.Use "activate_ingenic_overcurrent_detection" instead
>   "deactivate_ingenic_overcurrent_detection" as Greg's suggestion.
> 
> v2->v3:
> Refresh USB nodes in device tree files, remove "snps,dwc2" since
> it is nolonger needed.
> 
> v3->v4:
> Remove the compatible string of X1700 since it could use the X1600
> string as the fallback.

I already applied v3, so can you just provide a fixup patch for the
difference between v3 and v4?

thanks,

greg k-h
Zhou Yanjie April 22, 2022, 3:57 p.m. UTC | #2
Hi Greg,

On 2022/4/22 下午4:30, Greg KH wrote:
> On Fri, Apr 22, 2022 at 01:15:05AM +0800, 周琰杰 (Zhou Yanjie) wrote:
>> 1.Add OTG support for the JZ4775 SoC, the JZ4780 SoC, the X1000
>>    SoC, the X1600 SoC, the X1830 SoC, and the X2000 SoC.
>> 2.Introduce support for disable Ingenic overcurrent detection,
>>    once selected it enables GOTGCTL register bits VbvalidOvEn
>>    and VbvalidOvVal to disable the VBUS overcurrent detection.
>>
>> v1->v2:
>> 1.Add Rob Herring's Acked-by.
>> 2.Add Minas Harutyunyan's Acked-by.
>> 3.Use "activate_ingenic_overcurrent_detection" instead
>>    "deactivate_ingenic_overcurrent_detection" as Greg's suggestion.
>>
>> v2->v3:
>> Refresh USB nodes in device tree files, remove "snps,dwc2" since
>> it is nolonger needed.
>>
>> v3->v4:
>> Remove the compatible string of X1700 since it could use the X1600
>> string as the fallback.
> I already applied v3, so can you just provide a fixup patch for the
> difference between v3 and v4?


Sure.


Thanks and best regards!


>
> thanks,
>
> greg k-h