All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrice CHOTARD <patrice.chotard@st.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v7 04/10] usb: phy: Add STi USB2 PHY
Date: Tue, 6 Jun 2017 07:16:10 +0000	[thread overview]
Message-ID: <10a85c9c-e2ee-e94d-7ab1-a708f86252bd@st.com> (raw)
In-Reply-To: <82d4cfa4-7f4b-7c3f-86fa-aac097b7794f@denx.de>

Hi Marek

On 06/05/2017 01:21 PM, Marek Vasut wrote:
> On 06/05/2017 08:58 AM, Patrice CHOTARD wrote:
>> Hi Marek
>>
>> On 06/03/2017 08:08 AM, Marek Vasut wrote:
>>> On 06/01/2017 02:05 PM, patrice.chotard at st.com wrote:
>>>> From: Patrice Chotard <patrice.chotard@st.com>
>>>>
>>>> This is the generic phy driver for the picoPHY ports
>>>> used by USB2/1.1 controllers. It is found on STiH407 SoC
>>>> family from STMicroelectronics.
>>>>
>>>> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
>>>> Reviewed-by: Marek Vasut <marex@denx.de>
>>>> ---
>>>> v7:	_ replace fdtdec_parse_phandle_with_args() by dev_read_phandle_with_args()
>>>> 	_ replace uclass_get_device_by_of_offset() by uclass_get_device_by_ofnode()
>>>>
>>>
>>> You should drop RB if you do significant changes.
>>>
>>>>
>>>> v5:	_ add Reviewed-by: Marek Vasut <marex@denx.de>
>>>>
>>>> v4:	_ update to use the new PHY uclass currently available on dm-next branch
>>>>
>>>> v3: 	_ convert driver to USB PHY uclass
>>>>
>>>> v2:	_ replace bitfield_replace() by clrsetbits_le32()
>>>>
>>>>    doc/device-tree-bindings/phy/phy-stih407-usb.txt |  24 +++
>>>>    drivers/phy/Kconfig                              |   8 +
>>>>    drivers/phy/Makefile                             |   1 +
>>>>    drivers/phy/sti_usb_phy.c                        | 181 +++++++++++++++++++++++
>>>>    4 files changed, 214 insertions(+)
>>>>    create mode 100644 doc/device-tree-bindings/phy/phy-stih407-usb.txt
>>>>    create mode 100644 drivers/phy/sti_usb_phy.c
>>>>
>>>> diff --git a/doc/device-tree-bindings/phy/phy-stih407-usb.txt b/doc/device-tree-bindings/phy/phy-stih407-usb.txt
>>>> new file mode 100644
>>>> index 0000000..de6a706
>>>> --- /dev/null
>>>> +++ b/doc/device-tree-bindings/phy/phy-stih407-usb.txt
>>>> @@ -0,0 +1,24 @@
>>>> +ST STiH407 USB PHY controller
>>>> +
>>>> +This file documents the dt bindings for the usb picoPHY driver which is the PHY for both USB2 and USB3
>>>> +host controllers (when controlling usb2/1.1 devices) available on STiH407 SoC family from STMicroelectronics.
>>>> +
>>>> +Required properties:
>>>> +- compatible		: should be "st,stih407-usb2-phy"
>>>> +- st,syscfg		: phandle of sysconfig bank plus integer array containing phyparam and phyctrl register offsets
>>>> +- resets		: list of phandle and reset specifier pairs. There should be two entries, one
>>>> +			  for the whole phy and one for the port
>>>> +- reset-names		: list of reset signal names. Should be "global" and "port"
>>>> +See: Documentation/devicetree/bindings/reset/st,sti-powerdown.txt
>>>> +See: Documentation/devicetree/bindings/reset/reset.txt
>>>> +
>>>> +Example:
>>>> +
>>>> +usb2_picophy0: usbpicophy at f8 {
>>>
>>> This example uses address, but has no reg property ?
>>
>> Agree, but following advices from Arnd Bergman about not mixing address
>> space and sysconfig registers int the reg property, the reg property was
>> removed.
>>
>> For more details, see https://patches.linaro.org/patch/44081/
> 
> Then you should remove it from usbpicophy at f8 too .

Ok

> 
> [...]
> 

  reply	other threads:[~2017-06-06  7:16 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-01 12:05 [U-Boot] [PATCH v7 00/10] STiH410-B2260: add reset, usb and fastboot support patrice.chotard at st.com
2017-06-01 12:05 ` [U-Boot] [PATCH v7 01/10] mmc: sti_sdhci: Rework sti_mmc_core_config() patrice.chotard at st.com
2017-06-01 12:05 ` [U-Boot] [PATCH v7 02/10] ARM: dts: stih410-family: Add missing reset_names for mmc1 node patrice.chotard at st.com
2017-06-01 12:05 ` [U-Boot] [PATCH v7 03/10] mmc: sti_sdhci: Use reset framework patrice.chotard at st.com
2017-06-01 12:05 ` [U-Boot] [PATCH v7 04/10] usb: phy: Add STi USB2 PHY patrice.chotard at st.com
2017-06-02  2:56   ` Simon Glass
2017-06-03  6:08   ` Marek Vasut
2017-06-05  6:58     ` Patrice CHOTARD
2017-06-05 11:21       ` Marek Vasut
2017-06-06  7:16         ` Patrice CHOTARD [this message]
2017-06-01 12:05 ` [U-Boot] [PATCH v7 05/10] STiH410-B2260: enable USB Host Networking patrice.chotard at st.com
2017-06-01 12:05 ` [U-Boot] [PATCH v7 06/10] STiH410-B2260: enable USB, fastboot, reset, PHY related flags patrice.chotard at st.com
2017-06-01 12:05 ` [U-Boot] [PATCH v7 07/10] usb: dwc3: Add dwc3 glue driver support for STi patrice.chotard at st.com
2017-06-03  6:06   ` Marek Vasut
2017-06-05  6:40     ` Patrice CHOTARD
2017-06-05 11:22       ` Marek Vasut
2017-06-06  7:26         ` Patrice CHOTARD
2017-06-01 12:05 ` [U-Boot] [PATCH v7 08/10] ARM: dts: STiH410: set DWC3 dual role mode to peripheral patrice.chotard at st.com
2017-06-02  2:56   ` Simon Glass
2017-06-01 12:05 ` [U-Boot] [PATCH v7 09/10] ARM: dts: STiH410: update ehci and ohci compatible patrice.chotard at st.com
2017-06-02  2:56   ` Simon Glass
2017-06-01 12:05 ` [U-Boot] [PATCH v7 10/10] board: STiH410-B2260: add fastboot support patrice.chotard at st.com

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=10a85c9c-e2ee-e94d-7ab1-a708f86252bd@st.com \
    --to=patrice.chotard@st.com \
    --cc=u-boot@lists.denx.de \
    /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.