lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5555C2A5.8010509@gmail.com>
Date:	Fri, 15 May 2015 11:55:49 +0200
From:	Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>
To:	Rob Herring <robh@...nel.org>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Alan Stern <stern@...land.harvard.edu>,
	Kishon Vijay Abraham I <kishon@...com>
CC:	linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
	linux-usb@...r.kernel.org, Jason Cooper <jason@...edaemon.net>,
	Andrew Lunn <andrew@...n.ch>,
	Gregory Clement <gregory.clement@...e-electrons.com>,
	Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>
Subject: Re: [PATCH 0/5] Marvell PXA1928 USB support

On 14.05.2015 00:48, Rob Herring wrote:
> This series adds USB PHYs and EHCI host drivers for the Marvell PXA1928
> SOC.
>
> The OTG block is based on ChipIdea and works with "chipidea,usb2"
> compatible driver as is just by adding the PHY driver. Yay!
>
> Rob
>
> Rob Herring (5):
>    dt-bindings: Add Marvell PXA1928 USB and HSIC PHY bindings
>    dt-bindings: Add Marvell PXA1928 USB EHCI controller binding
>    phy: Add Marvell USB 2.0 OTG 28nm PHY
>    phy: add Marvell HSIC 28nm PHY
>    usb: add pxa1928 ehci support
>
>   .../devicetree/bindings/phy/pxa1928-usb-phy.txt    |  18 ++
>   .../devicetree/bindings/usb/ehci-pxa1928.txt       |  19 ++
>   drivers/phy/Kconfig                                |  20 ++
>   drivers/phy/Makefile                               |   2 +
>   drivers/phy/phy-mv-hsic.c                          | 208 +++++++++++++
>   drivers/phy/phy-mv-usb2.c                          | 329 +++++++++++++++++++++

[Adding some MVEBU guys]

Rob,

I had a look at the USB PHYs of some of the other Marvell SoCs a while
ago for the barebox bootloader [1]. Marvell seems to distinguish the
USB PHY type by technology node, e.g. 28nm like the one above. For the
most used Marvell SoCs, i.e. Kirkwood, Dove, and Armada 370/XP, they all
use a different technology node and we could either use the SoC name
or the technology node as compatible.

Anyway, if you are introducing new PHY drivers with _that_ generic
names, it will either clash with every other Marvell USB PHYs -
or we'll have to add the PHY code into the drivers above.

[1] http://lists.infradead.org/pipermail/barebox/2014-June/019600.html

>   drivers/usb/host/Kconfig                           |  15 +-
>   drivers/usb/host/Makefile                          |   1 +
>   drivers/usb/host/ehci-mv-of.c                      | 243 +++++++++++++++
>   9 files changed, 854 insertions(+), 1 deletion(-)
>   create mode 100644 Documentation/devicetree/bindings/phy/pxa1928-usb-phy.txt
>   create mode 100644 Documentation/devicetree/bindings/usb/ehci-pxa1928.txt
>   create mode 100644 drivers/phy/phy-mv-hsic.c
>   create mode 100644 drivers/phy/phy-mv-usb2.c
>   create mode 100644 drivers/usb/host/ehci-mv-of.c
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ