All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kishon Vijay Abraham I <kishon@ti.com>
To: Loc Ho <lho@apm.com>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	Suman Tripathi <stripathi@apm.com>, Arnd Bergmann <arnd@arndb.de>,
	Linux SCSI List <linux-scsi@vger.kernel.org>,
	"linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>,
	Jon Masters <jcm@redhat.com>, Tejun Heo <tj@kernel.org>,
	Olof Johansson <olof@lixom.net>, Tuan Phan <tphan@apm.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH v3 3/4] ata: Add APM X-Gene SoC SATA host controller driver
Date: Wed, 27 Nov 2013 11:22:53 +0530	[thread overview]
Message-ID: <529588B5.1070109@ti.com> (raw)
In-Reply-To: <CAPw-ZTmPgYA+saJPVvB17VOPouDGvR0rd0nrZWi0j3zE7cc2rg@mail.gmail.com>

On Tuesday 26 November 2013 10:11 PM, Loc Ho wrote:
> Hi,
> 
>>> int set_speed(struct *phy, int lane, u64 speed);
>>
>> it should be phy_set_speed.
> [Loc Ho]
> But your other functions don't repeat the prefix "phy"?

refer include/linux/phy/phy.h..

int phy_init(struct phy *phy);
int phy_exit(struct phy *phy);
int phy_power_on(struct phy *phy);
int phy_power_off(struct phy *phy);

??

> 
>>>
>>> where lane indicates the lane of the PHY and speed is the PHY speed in hertz.
>>
>> Does lane here means the number of lanes? Is the lane also obtained after the
>> training sequence?
> [Loc Ho]
> Lane here is the lane with you are changing the speed. If there are
> two lanes, then 0 parameter would change lane 0. 1 would change lane
> 1.

can different lanes operate at different speed at the same time?

Thanks
Kishon

WARNING: multiple messages have this Message-ID (diff)
From: kishon@ti.com (Kishon Vijay Abraham I)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 3/4] ata: Add APM X-Gene SoC SATA host controller driver
Date: Wed, 27 Nov 2013 11:22:53 +0530	[thread overview]
Message-ID: <529588B5.1070109@ti.com> (raw)
In-Reply-To: <CAPw-ZTmPgYA+saJPVvB17VOPouDGvR0rd0nrZWi0j3zE7cc2rg@mail.gmail.com>

On Tuesday 26 November 2013 10:11 PM, Loc Ho wrote:
> Hi,
> 
>>> int set_speed(struct *phy, int lane, u64 speed);
>>
>> it should be phy_set_speed.
> [Loc Ho]
> But your other functions don't repeat the prefix "phy"?

refer include/linux/phy/phy.h..

int phy_init(struct phy *phy);
int phy_exit(struct phy *phy);
int phy_power_on(struct phy *phy);
int phy_power_off(struct phy *phy);

??

> 
>>>
>>> where lane indicates the lane of the PHY and speed is the PHY speed in hertz.
>>
>> Does lane here means the number of lanes? Is the lane also obtained after the
>> training sequence?
> [Loc Ho]
> Lane here is the lane with you are changing the speed. If there are
> two lanes, then 0 parameter would change lane 0. 1 would change lane
> 1.

can different lanes operate at different speed at the same time?

Thanks
Kishon

  reply	other threads:[~2013-11-27  5:52 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-14 21:39 [PATCH v3 0/4] ata: Add APM X-Gene SoC SATA host controller support Loc Ho
2013-11-14 21:39 ` Loc Ho
2013-11-14 21:39 ` [PATCH v3 1/4] ata: Export required functions by APM X-Gene SATA driver Loc Ho
2013-11-14 21:39   ` Loc Ho
2013-11-14 21:39   ` [PATCH v3 2/4] Documentation: Add documentation for APM X-Gene SATA controllor DTS binding Loc Ho
2013-11-14 21:39     ` Loc Ho
2013-11-14 21:39     ` [PATCH v3 3/4] ata: Add APM X-Gene SoC SATA host controller driver Loc Ho
2013-11-14 21:39       ` Loc Ho
2013-11-14 21:39       ` [PATCH v4 4/4] arm64: Add APM X-Gene SoC SATA DTS entries Loc Ho
2013-11-14 21:39         ` Loc Ho
2013-11-15 13:48       ` [PATCH v3 3/4] ata: Add APM X-Gene SoC SATA host controller driver Arnd Bergmann
2013-11-15 13:48         ` Arnd Bergmann
2013-11-16  6:36         ` Loc Ho
2013-11-16  6:36           ` Loc Ho
2013-11-19 21:22           ` Loc Ho
2013-11-19 21:22             ` Loc Ho
2013-11-26 10:11             ` Kishon Vijay Abraham I
2013-11-26 10:11               ` Kishon Vijay Abraham I
2013-11-26 16:41               ` Loc Ho
2013-11-26 16:41                 ` Loc Ho
2013-11-27  5:52                 ` Kishon Vijay Abraham I [this message]
2013-11-27  5:52                   ` Kishon Vijay Abraham I
2013-11-27  5:58                   ` Loc Ho
2013-11-27  5:58                     ` Loc Ho
2013-11-21 13:20           ` Arnd Bergmann
2013-11-21 13:20             ` Arnd Bergmann
2013-11-21 19:01             ` Loc Ho
2013-11-21 19:01               ` Loc Ho
2013-11-15 13:28     ` [PATCH v3 2/4] Documentation: Add documentation for APM X-Gene SATA controllor DTS binding Arnd Bergmann
2013-11-15 13:28       ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=529588B5.1070109@ti.com \
    --to=kishon@ti.com \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=jcm@redhat.com \
    --cc=lho@apm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=stripathi@apm.com \
    --cc=tj@kernel.org \
    --cc=tphan@apm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.