[PATCH V6 07/12] pinctrl: tegra-xusb: Add USB PHY support
Andrew Bresticker
abrestic at chromium.org
Wed Nov 26 11:41:58 PST 2014
On Tue, Nov 25, 2014 at 5:49 AM, Kishon Vijay Abraham I <kishon at ti.com> wrote:
> Hi,
>
> On Tuesday 25 November 2014 05:47 AM, Andrew Bresticker wrote:
>> In addition to the PCIe and SATA PHYs, the XUSB pad controller also
>> supports 3 UTMI, 2 HSIC, and 2 USB3 PHYs. Each USB3 PHY uses a single
>> PCIe or SATA lane and is mapped to one of the three UTMI ports.
>>
>> The xHCI controller will also send messages intended for the PHY driver,
>> so request and listen for messages on the mailbox's PHY channel.
>>
>> Signed-off-by: Andrew Bresticker <abrestic at chromium.org>
>> Acked-by: Linus Walleij <linus.walleij at linaro.org>
>> Reviewed-by: Stephen Warren <swarren at nvidia.com>
>> ---
>> No changes from v5.
>> Changes from v4:
>> - Disabled USB support on missing mailbox channel instead of failing
>> to probe.
>> - Made usb3-port a pinconfig property.
>> - Addressed review comments from Thierry.
>> No changes from v3.
>> Changes from v2:
>> - Added support for nvidia,otg-hs-curr-level-offset property.
>> - Moved mailbox request handling to workqueue.
>> - Added filtering out of non-PHY mailbox messages.
>> - Dropped "-otg" from VBUS supplies.
>> Changes from v1:
>> - Updated to use common mailbox API.
>> - Added SATA PHY enable sequence for USB3 ports using the SATA lane.
>> - Made USB3 port-to-lane mappins a top-level binding rather than a pinconfig
>> binding.
>> ---
>> drivers/pinctrl/Kconfig | 1 +
>> drivers/pinctrl/pinctrl-tegra-xusb.c | 1262 +++++++++++++++++++++++++++++++++-
>> include/soc/tegra/xusb.h | 7 +
>> 3 files changed, 1254 insertions(+), 16 deletions(-)
>
> The devm_phy_create() API has changed (see linux-phy next) and the patch that
> modified the existing devm_phy_create() in pinctrl-tegra-xusb.c has also been
> merged in linux-phy tree.
Ok, I'll rebase on top of that.
More information about the linux-arm-kernel
mailing list