From mboxrd@z Thu Jan 1 00:00:00 1970 From: kishon@ti.com (Kishon Vijay Abraham I) Date: Tue, 25 Feb 2014 17:35:37 +0530 Subject: [PATCH RESEND v10 1/4] PHY: Add function set_speed to generic PHY framework In-Reply-To: <1393308882-3964-2-git-send-email-lho@apm.com> References: <1393308882-3964-1-git-send-email-lho@apm.com> <1393308882-3964-2-git-send-email-lho@apm.com> Message-ID: <530C8711.4000600@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > --- > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kishon Vijay Abraham I Subject: Re: [PATCH RESEND v10 1/4] PHY: Add function set_speed to generic PHY framework Date: Tue, 25 Feb 2014 17:35:37 +0530 Message-ID: <530C8711.4000600@ti.com> References: <1393308882-3964-1-git-send-email-lho@apm.com> <1393308882-3964-2-git-send-email-lho@apm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1393308882-3964-2-git-send-email-lho@apm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Loc Ho , tj@kernel.org Cc: devicetree@vger.kernel.org, arnd@arndb.de, jcm@redhat.com, patches@apm.com, linux-kernel@vger.kernel.org, ddutile@redhat.com, olof@lixom.net, linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org 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 > --- > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752829AbaBYMGR (ORCPT ); Tue, 25 Feb 2014 07:06:17 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:44490 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750744AbaBYMGQ (ORCPT ); Tue, 25 Feb 2014 07:06:16 -0500 Message-ID: <530C8711.4000600@ti.com> Date: Tue, 25 Feb 2014 17:35:37 +0530 From: Kishon Vijay Abraham I User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Loc Ho , CC: , , , , , , , Subject: Re: [PATCH RESEND v10 1/4] PHY: Add function set_speed to generic PHY framework References: <1393308882-3964-1-git-send-email-lho@apm.com> <1393308882-3964-2-git-send-email-lho@apm.com> In-Reply-To: <1393308882-3964-2-git-send-email-lho@apm.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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