<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/extres/phy, branch release/12.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F12.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2019-08-09T10:33:23Z</updated>
<entry>
<title>MFC r345295:</title>
<updated>2019-08-09T10:33:23Z</updated>
<author>
<name>Michal Meloun</name>
<email>mmel@FreeBSD.org</email>
</author>
<published>2019-08-09T10:33:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ccd3424f47f21470265c594aa7523471c3ca9235'/>
<id>urn:sha1:ccd3424f47f21470265c594aa7523471c3ca9235</id>
<content type='text'>
  extres: Unify error codes for &lt;foo&gt;_get_by_ofw_property() methods.  Return:
   - ENOENT if requested property doesn't exist - ENODEV if producer device is
   not (yet) attached - ENXIO otherwise
</content>
</entry>
<entry>
<title>MFC r343498:</title>
<updated>2019-08-09T09:57:04Z</updated>
<author>
<name>Michal Meloun</name>
<email>mmel@FreeBSD.org</email>
</author>
<published>2019-08-09T09:57:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2d15f73414e2b59cd3db1ac7e7dc845c8ed072fb'/>
<id>urn:sha1:2d15f73414e2b59cd3db1ac7e7dc845c8ed072fb</id>
<content type='text'>
  Properly define and declare phynode_topo_lock, it should be single global
  variable.
</content>
</entry>
<entry>
<title>MFC r340845-r340848, r340971, r340981, r342076</title>
<updated>2019-08-05T16:36:11Z</updated>
<author>
<name>Emmanuel Vadot</name>
<email>manu@FreeBSD.org</email>
</author>
<published>2019-08-05T16:36:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e5d84f7f2997015b4bc871ae52e68d803fec4b80'/>
<id>urn:sha1:e5d84f7f2997015b4bc871ae52e68d803fec4b80</id>
<content type='text'>
r340845:
Derive PHY class to new one specialized for USB PHY functions.

Submitted by:	mmel

r340846:
aw_usbphy: Convert to usbphy subclass

Instead of routing the phy when enabling it, do the configuration
and routing in the phynode_usb_set_mode function.
While here, if we don't have a vbus detection method, enable the phy
if requested.

r340847:
a10_ehci: Always set the phy to host mode

r340848:
axp8xx: Rework the enable part and add the GPIOXLDO regulators

r340971:
aw_usbphy: Do not error if it's not phy 0

Only phy0 can switch between host/otg, do not error if we request
host mode on phy != 0.

X-MFC with:	r340846

r340981:
release: arm64: Add PINEBOOK config

Add a configuration for PINEBOOK image.
Pinebook is a arm64 laptop based on a Pine64 board.

Since the usb trackpad need a quirk, add a common function for adding
quirk for arm board.
A default one is supplied as most board to not need quirks.

Reviewed by:	gjb
Differential Revision:	https://reviews.freebsd.org/D18337

r342076:
arm64: allwinner: axp81x: Fix double invertion for FLDO1

This fix booting on A64 boards when disabling the unused regulators at boot.
We did disable all the regulator handled by register 0x13 which of course contain
mandatory regulators for the board to be up.

Reported by:	Mark Millard &lt;marklmi@yahoo.com&gt;
X-MFC-With:	r340848
</content>
</entry>
<entry>
<title>Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc</title>
<updated>2018-04-09T22:06:16Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2018-04-09T22:06:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f7604b1b275455fc5506c3c83a4876f567bbc6b3'/>
<id>urn:sha1:f7604b1b275455fc5506c3c83a4876f567bbc6b3</id>
<content type='text'>
Change OF_getencprop_alloc semantics to be combination of malloc and
OF_getencprop and return size of the property, not number of elements
allocated.

For the use cases where number of elements is preferred introduce
OF_getencprop_alloc_multi helper function that copies semantics
of OF_getencprop_alloc prior to this change.

This is to make OF_getencprop_alloc and OF_getencprop_alloc_multi
function signatures consistent with OF_getencprop_alloc and
OF_getencprop_alloc_multi.

Functionality-wise this patch is mostly rename of OF_getencprop_alloc
to OF_getencprop_alloc_multi except two calls in ofw_bus_setup_iinfo
where 1 was used as a block size.
</content>
</entry>
<entry>
<title>Convert extres/phy to kobj model.</title>
<updated>2018-01-20T17:02:17Z</updated>
<author>
<name>Michal Meloun</name>
<email>mmel@FreeBSD.org</email>
</author>
<published>2018-01-20T17:02:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f8759facd2126e067fe09f66643af75826036a1e'/>
<id>urn:sha1:f8759facd2126e067fe09f66643af75826036a1e</id>
<content type='text'>
Similarly as other extres pseudo-drivers, implement phy by using kobj model.
This detaches it from provider device, so single device driver can export
multiple different phys. Additionally, this  allows phy to be subclassed to
more specialized drivers, like is USB OTG phy, or PCIe phy with hot-plug
capability.

Tested by:	manu (previous version, on Allwinner board)
MFC after:	1 month
</content>
</entry>
<entry>
<title>EXTRES: Add OF node as argument to all &lt;foo&gt;_get_by_ofw_&lt;bar&gt;() functions.</title>
<updated>2016-07-10T18:28:15Z</updated>
<author>
<name>Michal Meloun</name>
<email>mmel@FreeBSD.org</email>
</author>
<published>2016-07-10T18:28:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dac935533b354a9be9167013e999d128bfc8392b'/>
<id>urn:sha1:dac935533b354a9be9167013e999d128bfc8392b</id>
<content type='text'>
In some cases, the driver must handle given properties located in
specific OF subnode. Instead of creating duplicate set of function, add
'node' as argument to existing functions, defaulting it to device OF node.

MFC after: 3 weeks
</content>
</entry>
<entry>
<title>Use OF_prop_free instead of direct call to free(9)</title>
<updated>2016-05-14T04:59:36Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2016-05-14T04:59:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f4eefe43b218cf1e7750bf2fa89ac601de61feb8'/>
<id>urn:sha1:f4eefe43b218cf1e7750bf2fa89ac601de61feb8</id>
<content type='text'>
Reviewed by:	mmel@
</content>
</entry>
<entry>
<title>Add phy framework, a next part of new 'extended resources' family of</title>
<updated>2016-03-15T15:31:17Z</updated>
<author>
<name>Michal Meloun</name>
<email>mmel@FreeBSD.org</email>
</author>
<published>2016-03-15T15:31:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4e3d35d76e33b4f1c40f312d482b7c3769892304'/>
<id>urn:sha1:4e3d35d76e33b4f1c40f312d482b7c3769892304</id>
<content type='text'>
support frameworks (i.e. clk/regulators/tsensors/fuses...).

It provides simple unified consumers interface for manipulations with
phy (USB/SATA/PCIe) resources.
</content>
</entry>
</feed>
