linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: amelie.delaunay@st.com (Amelie Delaunay)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 0/2] Introduce STM32 USB PHY Controller driver
Date: Fri, 2 Mar 2018 15:56:23 +0100	[thread overview]
Message-ID: <1520002585-13113-1-git-send-email-amelie.delaunay@st.com> (raw)

This patchset adds support for STMicroelectronics STM32 USB PHY Controller
(USBPHYC) which is embedded in STM32MP1 SoC.
The STM32 USBPHYC block contains a dual port High Speed UTMI+ PHY and a UTMI
switch that selects either USB OTG controller or USB Host controller for the
second PHY port.

---
Changes in v3:
* Address Kishon comments: move to phy provider + child phy sub-nodes model.
* Remove st,utmi-switch property as the information is now passed through
  phy cell for port#2.
* Rework phy init/exit by extracting pll management in dedicated functions.
* Make some clean-up around variable names and defines.

Changes in v2:
* Update diagram to better describe the context.
* Change boolean dt propery st,port2-switch-to-host into u32 st,utmi-switch.
* Silent phy creation failure in case of -EPROBE_DEFER.

Amelie Delaunay (2):
  dt-bindings: phy: add support for STM32 USB PHY Controller (USBPHYC)
  phy: stm32: add support for STM32 USB PHY Controller (USBPHYC)

 .../devicetree/bindings/phy/phy-stm32-usbphyc.txt  |  73 ++++
 drivers/phy/st/Kconfig                             |  14 +
 drivers/phy/st/Makefile                            |   1 +
 drivers/phy/st/phy-stm32-usbphyc.c                 | 461 +++++++++++++++++++++
 4 files changed, 549 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/phy-stm32-usbphyc.txt
 create mode 100644 drivers/phy/st/phy-stm32-usbphyc.c

-- 
2.7.4

             reply	other threads:[~2018-03-02 14:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-02 14:56 Amelie Delaunay [this message]
2018-03-02 14:56 ` [PATCH v3 1/2] dt-bindings: phy: add support for STM32 USB PHY Controller (USBPHYC) Amelie Delaunay
2018-03-07 20:29   ` Rob Herring
2018-03-02 14:56 ` [PATCH v3 2/2] phy: stm32: " Amelie Delaunay

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=1520002585-13113-1-git-send-email-amelie.delaunay@st.com \
    --to=amelie.delaunay@st.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).