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

周琰杰 (Zhou Yanjie) posted 3 patches 4 years ago
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(-)
[PATCH v4 0/3] Add OTG support for Ingenic SoCs.
Posted by 周琰杰 (Zhou Yanjie) 4 years ago
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(-)

-- 
2.7.4

Re: [PATCH v4 0/3] Add OTG support for Ingenic SoCs.
Posted by Greg KH 4 years ago
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
Re: [PATCH v4 0/3] Add OTG support for Ingenic SoCs.
Posted by Zhou Yanjie 4 years ago
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