[PATCH RESEND v10 1/4] PHY: Add function set_speed to generic PHY framework
Kishon Vijay Abraham I
kishon at ti.com
Tue Feb 25 07:05:37 EST 2014
Hi,
On Tuesday 25 February 2014 11:44 AM, Loc Ho wrote:
> This patch adds function set_speed to the generic PHY framework operation
> structure. This function can be called to instruct the PHY underlying layer
> at specified lane to configure for specified speed in hertz.
>
> Signed-off-by: Loc Ho <lho at apm.com>
> ---
> drivers/phy/phy-core.c | 21 +++++++++++++++++++++
> include/linux/phy/phy.h | 8 ++++++++
> 2 files changed, 29 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/phy/phy-core.c b/drivers/phy/phy-core.c
> index 645c867..44f2f63 100644
> --- a/drivers/phy/phy-core.c
> +++ b/drivers/phy/phy-core.c
> @@ -257,6 +257,27 @@ int phy_power_off(struct phy *phy)
> }
> EXPORT_SYMBOL_GPL(phy_power_off);
>
missing function comment :-s
> +int phy_set_speed(struct phy *phy, int lane, u64 speed)
> +{
Thanks
Kishon
More information about the linux-arm-kernel
mailing list