<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/phy, branch v2018.09</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: rcar: Add R-Car Gen2 PHY driver</title>
<updated>2018-08-14T09:31:19+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@gmail.com</email>
</author>
<published>2018-08-05T13:22:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=664258887ded6cb3a3e4414dd1d4ea34abc0a7d7'/>
<id>664258887ded6cb3a3e4414dd1d4ea34abc0a7d7</id>
<content type='text'>
Add a PHY driver for the R-Car Gen2 which allows configuring the mux
connected to the EHCI controllers and USBHS controller.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
Cc: Nobuhiro Iwamatsu &lt;iwamatsu@nigauri.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a PHY driver for the R-Car Gen2 which allows configuring the mux
connected to the EHCI controllers and USBHS controller.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
Cc: Nobuhiro Iwamatsu &lt;iwamatsu@nigauri.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>phy: Fix off-by-one error when parsing DT PHY bindings</title>
<updated>2018-08-14T09:31:19+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@gmail.com</email>
</author>
<published>2018-08-07T10:24:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5e50adf6679831bc34a567a1bf20ff1642c418dd'/>
<id>5e50adf6679831bc34a567a1bf20ff1642c418dd</id>
<content type='text'>
The code fails to copy the last PHY phandle argument, so it is
missing from the adjusted phandle args and the consumer cannot
use it to determine what the PHY should do.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
Cc: Patrice Chotard &lt;patrice.chotard@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The code fails to copy the last PHY phandle argument, so it is
missing from the adjusted phandle args and the consumer cannot
use it to determine what the PHY should do.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
Cc: Patrice Chotard &lt;patrice.chotard@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>phy: sun4i-usb: Update PHY#3 rst_mask only for H3_H5</title>
<updated>2018-07-31T06:11:49+00:00</updated>
<author>
<name>Jagan Teki</name>
<email>jagan@amarulasolutions.com</email>
</author>
<published>2018-07-20T07:04:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=69aa1b234e14503a95f43e33f0b3d4174f350bd2'/>
<id>69aa1b234e14503a95f43e33f0b3d4174f350bd2</id>
<content type='text'>
Only H3 and H5 have 4 PHYS so restrict rst_mask only for them
by checking PHY id as 3 and update the proper bits.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only H3 and H5 have 4 PHYS so restrict rst_mask only for them
by checking PHY id as 3 and update the proper bits.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>phy: sun4i-usb: Remove usb_clk_cfg set in probe</title>
<updated>2018-07-31T06:11:45+00:00</updated>
<author>
<name>Jagan Teki</name>
<email>jagan@amarulasolutions.com</email>
</author>
<published>2018-07-20T07:04:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=52185b094d6283808d67d64949891edbe26abba2'/>
<id>52185b094d6283808d67d64949891edbe26abba2</id>
<content type='text'>
usb_clk_cfg is setting CTRL_PHYGATE bit value in probe
which is BIT 0 for sun4i, 6i and 8 for a83t but all
these were handling in phy ops init exit calls.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
usb_clk_cfg is setting CTRL_PHYGATE bit value in probe
which is BIT 0 for sun4i, 6i and 8 for a83t but all
these were handling in phy ops init exit calls.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>phy: sun4i-usb: Call phy_passby even for PHY#0</title>
<updated>2018-07-31T06:11:41+00:00</updated>
<author>
<name>Jagan Teki</name>
<email>jagan@amarulasolutions.com</email>
</author>
<published>2018-07-20T07:04:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0bfcb47aa0317cb94621a5c28a3e8c6ac8ff34d6'/>
<id>0bfcb47aa0317cb94621a5c28a3e8c6ac8ff34d6</id>
<content type='text'>
On newer Allwinner SoC, there is a pair of EHCI/OHCI USB hosts
for OTG host mode. USB PHY passby must be configured for its
corresponding PHY. so we can call for PHY#0. on the other hand
in past usb-phy code the same thing can be restricted for
Lower SoC's, other than H3/H5/A64.

Now there is no need to restrict usb passby since the phy driver
is DT enabled, and the respective phy calls will trigger based
DT information initiated by the drivers.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On newer Allwinner SoC, there is a pair of EHCI/OHCI USB hosts
for OTG host mode. USB PHY passby must be configured for its
corresponding PHY. so we can call for PHY#0. on the other hand
in past usb-phy code the same thing can be restricted for
Lower SoC's, other than H3/H5/A64.

Now there is no need to restrict usb passby since the phy driver
is DT enabled, and the respective phy calls will trigger based
DT information initiated by the drivers.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</pre>
</div>
</content>
</entry>
<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>
</feed>
