<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/phy, branch v2018.09-rc1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>phy: Be able to get phy from PHY provider</title>
<updated>2018-07-19T20:31:35+00:00</updated>
<author>
<name>Patrice Chotard</name>
<email>patrice.chotard@st.com</email>
</author>
<published>2018-06-27T09:55:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a1b2faed7cbaf23d4af8a629c4db1bebb8e99d1b'/>
<id>a1b2faed7cbaf23d4af8a629c4db1bebb8e99d1b</id>
<content type='text'>
In case of phy are provided from a PHY provider nodes as following:

usbphyc: usb-phy@5a006000 {
	compatible = "st,stm32mp1-usbphyc";
	reg = &lt;0x5a006000 0x1000&gt;;
	clocks = &lt;&amp;rcc_clk USBPHY_K&gt;;
	resets = &lt;&amp;rcc_rst USBPHY_R&gt;;
	#address-cells = &lt;1&gt;;
	#size-cells = &lt;0&gt;;

	usbphyc_port0: usb-phy@0 {
		reg = &lt;0&gt;;
		phy-supply = &lt;&amp;vdd_usb&gt;;
		vdda1v1-supply = &lt;&amp;reg11&gt;;
		vdda1v8-supply = &lt;&amp;reg18&gt;
		#phy-cells = &lt;0&gt;;
	};

	usbphyc_port1: usb-phy@1 {
		reg = &lt;1&gt;;
		phy-supply = &lt;&amp;vdd_usb&gt;;
		vdda1v1-supply = &lt;&amp;reg11&gt;;
		vdda1v8-supply = &lt;&amp;reg18&gt;
		#phy-cells = &lt;1&gt;;
	};
};

and PHY are called as following:

usbh_ehci: usbh-ehci@5800d000 {
	compatible = "generic-ehci";
	reg = &lt;0x5800d000 0x1000&gt;;
	clocks = &lt;&amp;rcc_clk USBH&gt;;
	resets = &lt;&amp;rcc_rst USBH_R&gt;;
	interrupts = &lt;GIC_SPI 75 IRQ_TYPE_NONE&gt;;
	companion = &lt;&amp;usbh_ohci&gt;;
	phys = &lt;&amp;usbphyc_port0&gt;;
	phy-names = "usb";
	status = "okay";
};

generic_phy_get_by_index() must be updated to first look for
PHY phandle as previously and in case of error looks for PHY
provider by finding the parent's current node which is the PHY
provider.
args (ofnode_phandle_args struct) must also be updated by inserting
the phy index into the PHY provider as args[0].

Signed-off-by: Patrice Chotard &lt;patrice.chotard@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In case of phy are provided from a PHY provider nodes as following:

usbphyc: usb-phy@5a006000 {
	compatible = "st,stm32mp1-usbphyc";
	reg = &lt;0x5a006000 0x1000&gt;;
	clocks = &lt;&amp;rcc_clk USBPHY_K&gt;;
	resets = &lt;&amp;rcc_rst USBPHY_R&gt;;
	#address-cells = &lt;1&gt;;
	#size-cells = &lt;0&gt;;

	usbphyc_port0: usb-phy@0 {
		reg = &lt;0&gt;;
		phy-supply = &lt;&amp;vdd_usb&gt;;
		vdda1v1-supply = &lt;&amp;reg11&gt;;
		vdda1v8-supply = &lt;&amp;reg18&gt;
		#phy-cells = &lt;0&gt;;
	};

	usbphyc_port1: usb-phy@1 {
		reg = &lt;1&gt;;
		phy-supply = &lt;&amp;vdd_usb&gt;;
		vdda1v1-supply = &lt;&amp;reg11&gt;;
		vdda1v8-supply = &lt;&amp;reg18&gt;
		#phy-cells = &lt;1&gt;;
	};
};

and PHY are called as following:

usbh_ehci: usbh-ehci@5800d000 {
	compatible = "generic-ehci";
	reg = &lt;0x5800d000 0x1000&gt;;
	clocks = &lt;&amp;rcc_clk USBH&gt;;
	resets = &lt;&amp;rcc_rst USBH_R&gt;;
	interrupts = &lt;GIC_SPI 75 IRQ_TYPE_NONE&gt;;
	companion = &lt;&amp;usbh_ohci&gt;;
	phys = &lt;&amp;usbphyc_port0&gt;;
	phy-names = "usb";
	status = "okay";
};

generic_phy_get_by_index() must be updated to first look for
PHY phandle as previously and in case of error looks for PHY
provider by finding the parent's current node which is the PHY
provider.
args (ofnode_phandle_args struct) must also be updated by inserting
the phy index into the PHY provider as args[0].

Signed-off-by: Patrice Chotard &lt;patrice.chotard@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.denx.de/u-boot-sunxi</title>
<updated>2018-06-04T12:55:00+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2018-06-04T12:55:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=809e0e398a91db7bf8b4d6259d9bfc6fbd6bce83'/>
<id>809e0e398a91db7bf8b4d6259d9bfc6fbd6bce83</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>phy: bcm6318-usbh: convert to use live dt</title>
<updated>2018-06-01T13:56:02+00:00</updated>
<author>
<name>Álvaro Fernández Rojas</name>
<email>noltari@gmail.com</email>
</author>
<published>2018-03-22T18:39:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9ca33ebf1c3a950d06cb50dba8d0a94e150bc0fd'/>
<id>9ca33ebf1c3a950d06cb50dba8d0a94e150bc0fd</id>
<content type='text'>
Also fix bad accents in my name.

Signed-off-by: Álvaro Fernández Rojas &lt;noltari@gmail.com&gt;
Reviewed-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fix bad accents in my name.

Signed-off-by: Álvaro Fernández Rojas &lt;noltari@gmail.com&gt;
Reviewed-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>phy: bcm6368-usbh: convert to use live dt</title>
<updated>2018-06-01T13:56:02+00:00</updated>
<author>
<name>Álvaro Fernández Rojas</name>
<email>noltari@gmail.com</email>
</author>
<published>2018-03-22T18:39:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=25d8380f221ecb6948ea98c2ac67ccc60892efc8'/>
<id>25d8380f221ecb6948ea98c2ac67ccc60892efc8</id>
<content type='text'>
Also fix bad accents in my name.

Signed-off-by: Álvaro Fernández Rojas &lt;noltari@gmail.com&gt;
Reviewed-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fix bad accents in my name.

Signed-off-by: Álvaro Fernández Rojas &lt;noltari@gmail.com&gt;
Reviewed-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>phy: bcm6358-usbh: convert to use live dt</title>
<updated>2018-06-01T13:56:02+00:00</updated>
<author>
<name>Álvaro Fernández Rojas</name>
<email>noltari@gmail.com</email>
</author>
<published>2018-03-22T18:39:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5a1ab87f53df13f363498974a3034a66bc576ab7'/>
<id>5a1ab87f53df13f363498974a3034a66bc576ab7</id>
<content type='text'>
Also fix bad accents in my name.

Signed-off-by: Álvaro Fernández Rojas &lt;noltari@gmail.com&gt;
Reviewed-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fix bad accents in my name.

Signed-off-by: Álvaro Fernández Rojas &lt;noltari@gmail.com&gt;
Reviewed-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>phy: bcm6348-usbh: convert to use live dt</title>
<updated>2018-06-01T13:56:02+00:00</updated>
<author>
<name>Álvaro Fernández Rojas</name>
<email>noltari@gmail.com</email>
</author>
<published>2018-03-22T18:39:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=50d16bcf331081dbb7f2d76a7acd33ac4580e1a8'/>
<id>50d16bcf331081dbb7f2d76a7acd33ac4580e1a8</id>
<content type='text'>
Also fix bad accents in my name.

Signed-off-by: Álvaro Fernández Rojas &lt;noltari@gmail.com&gt;
Reviewed-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fix bad accents in my name.

Signed-off-by: Álvaro Fernández Rojas &lt;noltari@gmail.com&gt;
Reviewed-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>phy: sun4i-usb: Add a sunxi specific function for setting squelch-detect</title>
<updated>2018-05-28T11:10:43+00:00</updated>
<author>
<name>Jagan Teki</name>
<email>jagan@amarulasolutions.com</email>
</author>
<published>2018-05-07T07:33:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=aa29b11b3fdeaedb9689e89e467e6bbd036780ac'/>
<id>aa29b11b3fdeaedb9689e89e467e6bbd036780ac</id>
<content type='text'>
The sunxi otg phy has a bug where it wrongly detects a high speed squelch
when reset on the root port gets de-asserted with a lo-speed device.

The workaround for this is to disable squelch detect before de-asserting
reset, and re-enabling it after the reset de-assert is done. Add a sunxi
specific phy function to allow the sunxi-musb glue to do this.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Jun Nie &lt;jun.nie@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The sunxi otg phy has a bug where it wrongly detects a high speed squelch
when reset on the root port gets de-asserted with a lo-speed device.

The workaround for this is to disable squelch detect before de-asserting
reset, and re-enabling it after the reset de-assert is done. Add a sunxi
specific phy function to allow the sunxi-musb glue to do this.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Jun Nie &lt;jun.nie@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>phy: sun4i-usb: Add A23 USB PHY config</title>
<updated>2018-05-28T11:10:43+00:00</updated>
<author>
<name>Jagan Teki</name>
<email>jagan@amarulasolutions.com</email>
</author>
<published>2018-05-07T07:33:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=194ccb9a349c50f1fd75e2bcb67490cb5a738de4'/>
<id>194ccb9a349c50f1fd75e2bcb67490cb5a738de4</id>
<content type='text'>
Allwinner A23 has 2 USB PHY's and 0x04 has phy ctrl offset.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Jun Nie &lt;jun.nie@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allwinner A23 has 2 USB PHY's and 0x04 has phy ctrl offset.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Jun Nie &lt;jun.nie@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>phy: sun4i-usb: Add A33 USB PHY config</title>
<updated>2018-05-28T11:10:43+00:00</updated>
<author>
<name>Jagan Teki</name>
<email>jagan@amarulasolutions.com</email>
</author>
<published>2018-05-07T07:33:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=61bf0ed5dbeb944970605f829bd0c631f7d70b13'/>
<id>61bf0ed5dbeb944970605f829bd0c631f7d70b13</id>
<content type='text'>
Allwinner A33 has 2 USB PHY's and 0x10 has phy ctrl offset.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Jun Nie &lt;jun.nie@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allwinner A33 has 2 USB PHY's and 0x10 has phy ctrl offset.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Jun Nie &lt;jun.nie@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>phy: sun4i-usb: Add A31 PHY config</title>
<updated>2018-05-28T11:10:43+00:00</updated>
<author>
<name>Jagan Teki</name>
<email>jagan@amarulasolutions.com</email>
</author>
<published>2018-05-07T07:33:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bf986d1f60730eebd12337aa8f7f1bf566fc9087'/>
<id>bf986d1f60730eebd12337aa8f7f1bf566fc9087</id>
<content type='text'>
Allwinner A31 has 3 USB PHY's and rest similar to A10.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Jun Nie &lt;jun.nie@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allwinner A31 has 3 USB PHY's and rest similar to A10.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Jun Nie &lt;jun.nie@linaro.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
