Re: [PATCH v5 1/6] dt-bindings: phy: Add Amlogic A1 USB2 PHY Bindings
From: Hanjie Lin <hidden>
Date: 2020-01-13 01:13:28
Also in:
linux-amlogic, linux-arm-kernel, linux-usb
From: Hanjie Lin <hidden>
Date: 2020-01-13 01:13:28
Also in:
linux-amlogic, linux-arm-kernel, linux-usb
On 2020/1/12 4:54, Martin Blumenstingl wrote:
Hi Hanjie, On Fri, Jan 10, 2020 at 6:43 AM Hanjie Lin [off-list ref] wrote:quoted
Add the Amlogic A1 Family USB2 PHY Bindings It supports Host mode only. Signed-off-by: Hanjie Lin <redacted> Signed-off-by: Yue Wang <yue.wang@amlogic.com> --- .../bindings/phy/amlogic,meson-a1-usb2-phy.yaml | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/amlogic,meson-a1-usb2-phy.yamlthere are only two differences to the existing amlogic,meson-g12a-usb2-phy.yaml binding: - different compatible string (the existing binding already has an enum, so that would be easy to extend) - new, mandatory power-domains property (Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-codec.yaml has examples how to make properties mandatory based on the compatible string) have you considered merging this with the existing amlogic,meson-g12a-usb2-phy.yaml binding? this is not a "must have" in my opinion, I still want to hear your opinion on this topic! Martin .
Hi Martin, Thanks for your advice. Of course, it should looks much better to have merging this into the existing amlogic,meson-g12a-usb2-phy.yaml. I will try to do it by following the examples. thanks, Hanjie