Message ID | 1383616183-10511-4-git-send-email-peter.chen@freescale.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, Nov 05, 2013 at 09:49:35AM +0800, Peter Chen wrote: > Add anatop phandle which is used to access anatop registers to > control PHY's power and other USB operations. > > Signed-off-by: Peter Chen <peter.chen@freescale.com> > --- > Documentation/devicetree/bindings/usb/mxs-phy.txt | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/Documentation/devicetree/bindings/usb/mxs-phy.txt b/Documentation/devicetree/bindings/usb/mxs-phy.txt > index 5835b27..e2d5211 100644 > --- a/Documentation/devicetree/bindings/usb/mxs-phy.txt > +++ b/Documentation/devicetree/bindings/usb/mxs-phy.txt > @@ -4,10 +4,12 @@ Required properties: > - compatible: Should be "fsl,imx23-usbphy" This needs update too, as we now have another two compatible strings. > - reg: Should contain registers location and length > - interrupts: Should contain phy interrupt > +- fsl,anatop: phandle for anatop register, it is only for mx6 SoC serial imx6 SoC series Shawn > > Example: > usbphy1: usbphy@020c9000 { > compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy"; > reg = <0x020c9000 0x1000>; > interrupts = <0 44 0x04>; > + fsl,anatop = <&anatop>; > }; > -- > 1.7.1 > >
On Tue, Nov 05, 2013 at 10:34:06AM +0800, Shawn Guo wrote: > On Tue, Nov 05, 2013 at 09:49:35AM +0800, Peter Chen wrote: > > Add anatop phandle which is used to access anatop registers to > > control PHY's power and other USB operations. > > > > Signed-off-by: Peter Chen <peter.chen@freescale.com> > > --- > > Documentation/devicetree/bindings/usb/mxs-phy.txt | 2 ++ > > 1 files changed, 2 insertions(+), 0 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/usb/mxs-phy.txt b/Documentation/devicetree/bindings/usb/mxs-phy.txt > > index 5835b27..e2d5211 100644 > > --- a/Documentation/devicetree/bindings/usb/mxs-phy.txt > > +++ b/Documentation/devicetree/bindings/usb/mxs-phy.txt > > @@ -4,10 +4,12 @@ Required properties: > > - compatible: Should be "fsl,imx23-usbphy" > > This needs update too, as we now have another two compatible strings. > One question, this is needed to change when adding compatible string to dts or using that compatible string at driver? > > - reg: Should contain registers location and length > > - interrupts: Should contain phy interrupt > > +- fsl,anatop: phandle for anatop register, it is only for mx6 SoC serial > > imx6 SoC series > Will change
On Tue, Nov 05, 2013 at 10:50:02AM +0800, Peter Chen wrote: > On Tue, Nov 05, 2013 at 10:34:06AM +0800, Shawn Guo wrote: > > On Tue, Nov 05, 2013 at 09:49:35AM +0800, Peter Chen wrote: > > > Add anatop phandle which is used to access anatop registers to > > > control PHY's power and other USB operations. > > > > > > Signed-off-by: Peter Chen <peter.chen@freescale.com> > > > --- > > > Documentation/devicetree/bindings/usb/mxs-phy.txt | 2 ++ > > > 1 files changed, 2 insertions(+), 0 deletions(-) > > > > > > diff --git a/Documentation/devicetree/bindings/usb/mxs-phy.txt b/Documentation/devicetree/bindings/usb/mxs-phy.txt > > > index 5835b27..e2d5211 100644 > > > --- a/Documentation/devicetree/bindings/usb/mxs-phy.txt > > > +++ b/Documentation/devicetree/bindings/usb/mxs-phy.txt > > > @@ -4,10 +4,12 @@ Required properties: > > > - compatible: Should be "fsl,imx23-usbphy" > > > > This needs update too, as we now have another two compatible strings. > > > > One question, this is needed to change when adding compatible string > to dts or using that compatible string at driver? When compatible match table in the driver gets new entries. Shawn
diff --git a/Documentation/devicetree/bindings/usb/mxs-phy.txt b/Documentation/devicetree/bindings/usb/mxs-phy.txt index 5835b27..e2d5211 100644 --- a/Documentation/devicetree/bindings/usb/mxs-phy.txt +++ b/Documentation/devicetree/bindings/usb/mxs-phy.txt @@ -4,10 +4,12 @@ Required properties: - compatible: Should be "fsl,imx23-usbphy" - reg: Should contain registers location and length - interrupts: Should contain phy interrupt +- fsl,anatop: phandle for anatop register, it is only for mx6 SoC serial Example: usbphy1: usbphy@020c9000 { compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy"; reg = <0x020c9000 0x1000>; interrupts = <0 44 0x04>; + fsl,anatop = <&anatop>; };
Add anatop phandle which is used to access anatop registers to control PHY's power and other USB operations. Signed-off-by: Peter Chen <peter.chen@freescale.com> --- Documentation/devicetree/bindings/usb/mxs-phy.txt | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)