Linux Samsung SOC development
 help / color / mirror / Atom feed
From: Marek Szyprowski <m.szyprowski@samsung.com>
To: Vivek Gautam <gautam.vivek@samsung.com>
Cc: "linux-samsung-soc@vger.kernel.org"
	<linux-samsung-soc@vger.kernel.org>,
	Kukjin Kim <kgene.kim@samsung.com>,
	Kamil Debski <k.debski@samsung.com>,
	Sylwester Nawrocki <s.nawrocki@samsung.com>,
	Tobias Jakobi <Liquid.Acid@gmx.net>,
	Daniel Drake <drake@endlessm.com>
Subject: Re: [PATCH v2 3/5] ARM: dts: exynos4412-odroidx: add support for USB (phy, host, device)
Date: Thu, 26 Jun 2014 08:07:00 +0200	[thread overview]
Message-ID: <53ABB884.8040209@samsung.com> (raw)
In-Reply-To: <CAFp+6iHScs_wycE9XcDN46xg_N8hYf_BtJKNdtUVwg36sfZqMA@mail.gmail.com>

Hello,

On 2014-06-25 15:58, Vivek Gautam wrote:
> On Wed, Jun 25, 2014 at 6:56 PM, Marek Szyprowski
> <m.szyprowski@samsung.com> wrote:
>> From: Kamil Debski <k.debski@samsung.com>
>>
>> This patch adds basic support for USB modules (host and device) on
>> OdroidX board.
>>
>> Signed-off-by: Kamil Debski <k.debski@samsung.com>
>> [removed incorrect port@2 node]
>> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
>> ---
>>   arch/arm/boot/dts/exynos4412-odroidx.dts | 27 +++++++++++++++++++++++++++
>>   1 file changed, 27 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts
>> index fda9ac23dd55..4c853fbf7202 100644
>> --- a/arch/arm/boot/dts/exynos4412-odroidx.dts
>> +++ b/arch/arm/boot/dts/exynos4412-odroidx.dts
>> @@ -148,6 +148,16 @@
>>                  pinctrl-names = "default";
>>                  status = "okay";
>>
>> +               usb3503@08 {
>> +                       compatible = "smsc,usb3503";
>> +                       reg = <0x08>;
>> +
>> +                       intn-gpios = <&gpx3 0 0>;
>> +                       connect-gpios = <&gpx3 4 0>;
>> +                       reset-gpios = <&gpx3 5 0>;
>> +                       initial-mode = <1>;
>> +               };
>> +
>>                  max77686: pmic@09 {
>>                          compatible = "maxim,max77686";
>>                          reg = <0x09>;
>> @@ -338,4 +348,21 @@
>>                          };
>>                  };
>>          };
>> +
>> +       exynos-usbphy@125B0000 {
>> +               status = "okay";
>> +       };
>> +
>> +       hsotg@12480000 {
>> +               status = "okay";
>> +               vusb_d-supply = <&ldo15_reg>;
>> +               vusb_a-supply = <&ldo12_reg>;
> Can you please point me to the documentation for these two properties
> in the DT bindings ?

Documentation/devicetree/bindings/usb/samsung-hsotg.txt:
- vusb_d-supply: phandle to voltage regulator of digital section,
- vusb_a-supply: phandle to voltage regulator of analog section.

> Which tree i should grep to find that ?

Support for vusb_d and vusb_a regulators is already in s3c-hsotg driver
(now a part of dwc2/gadget driver) since v3.5.

> We have similar supplies for ehci/ohci and other host controllers too,
> so just wondering
> if we can use similar nomenclature for hsotg as well as host.
>
> I have posted driver side patches for host (with DT documentation) a
> while back :
> https://lkml.org/lkml/2014/6/25/363

Ok, I will take a look into your patches, but I'm not sure if it makes
sense to change the s3c-hsotg bindings now.

Best regards
-- 
Marek Szyprowski, PhD
Samsung R&D Institute Poland

  reply	other threads:[~2014-06-26  6:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-25 13:26 [PATCH v2 0/4] Add Exynos4412 based Odroid X2 and U2/U3/U3+ support Marek Szyprowski
2014-06-25 13:26 ` [PATCH v2 1/5] ARM: dts: exynos4: add port sub-nodes to exynos usb host modules Marek Szyprowski
2014-06-25 13:26 ` [PATCH v2 2/5] ARM: dts: exynos4412-odroidx: enable common hardware blocks Marek Szyprowski
2014-06-25 13:26 ` [PATCH v2 3/5] ARM: dts: exynos4412-odroidx: add support for USB (phy, host, device) Marek Szyprowski
2014-06-25 13:58   ` Vivek Gautam
2014-06-26  6:07     ` Marek Szyprowski [this message]
2014-06-25 13:26 ` [PATCH v2 4/5] ARM: dts: refactor Odroid DTS file and add support for Odroid X2 and U2/U3 Marek Szyprowski
2014-06-25 13:26 ` [PATCH v2 5/5] ARM: dts: exynos4412-odroid-common: disable 'always on' for BUCK8 regulator Marek Szyprowski
2014-06-30  5:34 ` [PATCH v2 0/4] Add Exynos4412 based Odroid X2 and U2/U3/U3+ support Marek Szyprowski
2014-07-18  5:56   ` Olof Johansson
2014-07-18  6:02     ` Olof Johansson
2014-07-18  6:06     ` Daniel Drake
2014-07-18 15:40   ` Przemyslaw Marczak
2014-08-19 19:40     ` Olof Johansson
2014-08-19 19:54       ` Daniel Drake
2014-08-19 20:26         ` Olof Johansson
2014-08-20  6:29           ` Marek Szyprowski
2014-08-20  7:18             ` Javier Martinez Canillas
2014-08-20  9:22               ` Daniel Drake

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=53ABB884.8040209@samsung.com \
    --to=m.szyprowski@samsung.com \
    --cc=Liquid.Acid@gmx.net \
    --cc=drake@endlessm.com \
    --cc=gautam.vivek@samsung.com \
    --cc=k.debski@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=s.nawrocki@samsung.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox