<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-obmc-linux/drivers/phy/phy-miphy28lp.c, branch dev-4.10</title>
<subtitle>Talos™ II Linux sources for OpenBMC</subtitle>
<id>https://git.raptorcs.com/git/talos-obmc-linux/atom?h=dev-4.10</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-obmc-linux/atom?h=dev-4.10'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/'/>
<updated>2016-07-01T09:51:30+00:00</updated>
<entry>
<title>phy: miphy28lp: Inform the reset framework that our reset line may be shared</title>
<updated>2016-07-01T09:51:30+00:00</updated>
<author>
<name>Lee Jones</name>
<email>lee.jones@linaro.org</email>
</author>
<published>2016-06-03T10:44:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=8293c8a3bb068bd2d2dfe00b6b0000a8fc5c860a'/>
<id>urn:sha1:8293c8a3bb068bd2d2dfe00b6b0000a8fc5c860a</id>
<content type='text'>
On the STiH410 B2120 development board the MiPHY28lp shares its reset
line with the Synopsys DWC3 SuperSpeed (SS) USB 3.0 Dual-Role-Device
(DRD).  New functionality in the reset subsystems forces consumers to
be explicit when requesting shared/exclusive reset lines.

Acked-by: Kishon Vijay Abraham I &lt;kishon@ti.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>phy: miphy28lp: add missing of_node_put</title>
<updated>2015-12-03T06:58:23+00:00</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2015-11-16T11:33:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=7fd7fa43f4f7b1ce9ef0070256530dab6726ef08'/>
<id>urn:sha1:7fd7fa43f4f7b1ce9ef0070256530dab6726ef08</id>
<content type='text'>
for_each_child_of_node performs an of_node_get on each iteration,
so a return from the middle of the loop requires an of_node_put.

A simplified version of the semantic patch that finds this problem is as
follows (http://coccinelle.lip6.fr):

// &lt;smpl&gt;
@@
expression root,e;
local idexpression child;
@@

 for_each_child_of_node(root, child) {
   ... when != of_node_put(child)
       when != e = child
(
   return child;
|
*  return ...;
)
   ...
 }
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: Kishon Vijay Abraham I &lt;kishon@ti.com&gt;
</content>
</entry>
<entry>
<title>phy: Constify struct phy_ops variables</title>
<updated>2015-08-03T13:05:09+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2015-07-15T07:33:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=4a9e5ca1a54a3cb4a5f85359f646638cec567607'/>
<id>urn:sha1:4a9e5ca1a54a3cb4a5f85359f646638cec567607</id>
<content type='text'>
The phy_ops variables are never modified after initialized in these
drivers, so make them const.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Acked-by: Patrice Chotard &lt;patrice.chotard@st.com&gt;
Signed-off-by: Kishon Vijay Abraham I &lt;kishon@ti.com&gt;
</content>
</entry>
<entry>
<title>phy: Drop owner assignment from platform_driver</title>
<updated>2015-07-25T10:15:48+00:00</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>k.kozlowski@samsung.com</email>
</author>
<published>2015-07-10T06:26:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=219bf1599e1f6c0cbdc2fe775a97c00bf1ae392d'/>
<id>urn:sha1:219bf1599e1f6c0cbdc2fe775a97c00bf1ae392d</id>
<content type='text'>
platform_driver does not need to set an owner because
platform_driver_register() will set it.

Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Signed-off-by: Kishon Vijay Abraham I &lt;kishon@ti.com&gt;
</content>
</entry>
<entry>
<title>phy: core: Check requested PHY status in _of_phy_get()</title>
<updated>2015-05-11T16:12:27+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2015-04-07T04:23:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=33f434d283a27116fb358ae5bc3b42967c12f85a'/>
<id>urn:sha1:33f434d283a27116fb358ae5bc3b42967c12f85a</id>
<content type='text'>
This is a common checking in various drivers, so move the checking to
_of_phy_get().

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Kishon Vijay Abraham I &lt;kishon@ti.com&gt;
</content>
</entry>
<entry>
<title>phy: miphy28lp: fix sparse warnings</title>
<updated>2015-05-11T16:12:26+00:00</updated>
<author>
<name>Felipe Balbi</name>
<email>balbi@ti.com</email>
</author>
<published>2015-05-08T16:30:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=99db11c6e8a89b236b283df0ec592aecdd00d8ef'/>
<id>urn:sha1:99db11c6e8a89b236b283df0ec592aecdd00d8ef</id>
<content type='text'>
Add missing __iomem annotation to the base address
so Sparse doesn't complain.

Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Acked-by: Maxime Coquelin &lt;maxime.coquelin@st.com&gt;
Signed-off-by: Kishon Vijay Abraham I &lt;kishon@ti.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy into usb-next</title>
<updated>2015-04-10T11:47:50+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2015-04-10T11:47:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=2aebe3f3b20724e09ec76b196e16404d1ea573d9'/>
<id>urn:sha1:2aebe3f3b20724e09ec76b196e16404d1ea573d9</id>
<content type='text'>
Kishon writes:

New Features
============
*) Add driver for USB PHYs on sun9i
*) Add driver for USB PHY on dm816x
*) Modified exynos5-usbdrd driver to add support for Exynos5433 SoC

Fixes
=====
*) Fix power_on/power_off failure paths in some drivers
*) Make miphy365x use generic PHY type constants
*) Fix build errors due to missing export symbols in qcom-ufs driver
*) Make all the functions return proper error values

Cleanups
========
*) use PTR_ERR_OR_ZERO to simplify code
*) use devm_kcalloc instead of devm_kzalloc with multiply
*) remove un-necessary ifdef CONFIG_OF
</content>
</entry>
<entry>
<title>phy: miphy28lp: Convert to devm_kcalloc and fix wrong sizof</title>
<updated>2015-03-13T11:44:37+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2015-03-05T01:43:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=018e6ff3c09f32b8743e06870c4dd6ed9a0b7ff5'/>
<id>urn:sha1:018e6ff3c09f32b8743e06870c4dd6ed9a0b7ff5</id>
<content type='text'>
Prefer devm_kcalloc over devm_kzalloc with multiply.
In additional, use sizeof(phy) is incorrect, fix it.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Acked-by: Gabriel Fernandez&lt;gabriel.fernandez@linaro.org&gt;
Signed-off-by: Kishon Vijay Abraham I &lt;kishon@ti.com&gt;
</content>
</entry>
<entry>
<title>phy: miphy28lp: Use PTR_ERR_OR_ZERO</title>
<updated>2015-03-10T08:42:27+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2015-03-05T01:44:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=320c3fcec64a9e115a3d8a5d005d2fb21c15ef01'/>
<id>urn:sha1:320c3fcec64a9e115a3d8a5d005d2fb21c15ef01</id>
<content type='text'>
PTR_ERR_OR_ZERO simplifies the code.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Acked-by: Gabriel Fernandez&lt;gabriel.fernandez@linaro.org&gt;
Signed-off-by: Kishon Vijay Abraham I &lt;kishon@ti.com&gt;
</content>
</entry>
<entry>
<title>phy: miphy28lp: Add missing .owner field in miphy28lp_ops</title>
<updated>2015-03-04T13:01:47+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2015-02-25T14:12:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=235b633eb513f8471b9f23635345ede6e49371ab'/>
<id>urn:sha1:235b633eb513f8471b9f23635345ede6e49371ab</id>
<content type='text'>
Add missing .owner field in miphy28lp_ops, which is used for refcounting.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Kishon Vijay Abraham I &lt;kishon@ti.com&gt;
</content>
</entry>
</feed>
