History log of /freebsd-14.2/sys/dev/extres/phy/phy.c (Results 1 – 12 of 12)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0, release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0
# e4ef4c5d 03-Feb-2021 Michal Meloun <[email protected]>

extres/phy: Add mode setting function.

Modern multi-protocol phys are capable of supporting multiple different
protocols. Add a method for mode (and/or its variants) setting.

Discused with: ganbold

extres/phy: Add mode setting function.

Modern multi-protocol phys are capable of supporting multiple different
protocols. Add a method for mode (and/or its variants) setting.

Discused with: ganbold, manu, andrew
MFC after: 3 weeks

show more ...


# 5cfacab1 19-Dec-2022 Ganbold Tsagaankhuu <[email protected]>

Revert "Enable setting the phy id."

This reverts commit 6692670f58f9069e59bc0c958fdaefb9bea5f726.


# 6692670f 19-Dec-2022 Søren Schmidt <[email protected]>

Enable setting the phy id.

It is needed for the RK356X combo phy.


# 78e60ba0 28-Oct-2022 Andrew Turner <[email protected]>

Only include phydev_if.h when needed

We only need to include phydev_if.h in phy.c when FDT is enabled and
don't need it at all in phy_usb.c.

Sponsored by: Innovate UK


Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0
# 2dd13cf6 19-Mar-2019 Michal Meloun <[email protected]>

extres: Unify error codes for <foo>_get_by_ofw_property() methods.
Return:
- ENOENT if requested property doesn't exist
- ENODEV if producer device is not (yet) attached
- ENXIO otherwise

MFC aft

extres: Unify error codes for <foo>_get_by_ofw_property() methods.
Return:
- ENOENT if requested property doesn't exist
- ENODEV if producer device is not (yet) attached
- ENXIO otherwise

MFC after: 2 weeks

show more ...


# 1289ca62 27-Jan-2019 Michal Meloun <[email protected]>

Properly define and declare phynode_topo_lock,
it should be single global variable.

X-MFC with: r340845
Noticed by: phynode_topo_lock


Revision tags: release/12.0.0
# f9f020a4 23-Nov-2018 Emmanuel Vadot <[email protected]>

Derive PHY class to new one specialized for USB PHY functions.

Submitted by: mmel


Revision tags: release/11.2.0
# f7604b1b 09-Apr-2018 Oleksandr Tymoshenko <[email protected]>

Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc

Change OF_getencprop_alloc semantics to be combination of malloc and
OF_getencprop and return size of the property, not number o

Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc

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.

show more ...


# f8759fac 20-Jan-2018 Michal Meloun <[email protected]>

Convert extres/phy to kobj model.
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 diffe

Convert extres/phy to kobj model.
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

show more ...


Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0
# dac93553 10-Jul-2016 Michal Meloun <[email protected]>

EXTRES: Add OF node as argument to all <foo>_get_by_ofw_<bar>() functions.
In some cases, the driver must handle given properties located in
specific OF subnode. Instead of creating duplicate set of

EXTRES: Add OF node as argument to all <foo>_get_by_ofw_<bar>() functions.
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

show more ...


# f4eefe43 14-May-2016 Oleksandr Tymoshenko <[email protected]>

Use OF_prop_free instead of direct call to free(9)

Reviewed by: mmel@


Revision tags: release/10.3.0
# 4e3d35d7 15-Mar-2016 Michal Meloun <[email protected]>

Add phy framework, a next part of new 'extended resources' family of
support frameworks (i.e. clk/regulators/tsensors/fuses...).

It provides simple unified consumers interface for manipulations with

Add phy framework, a next part of new 'extended resources' family of
support frameworks (i.e. clk/regulators/tsensors/fuses...).

It provides simple unified consumers interface for manipulations with
phy (USB/SATA/PCIe) resources.

show more ...