All of lore.kernel.org
 help / color / mirror / Atom feed
* dts file with usb entry for dragonboard
@ 2014-01-29 22:19 Tim Bird
  2014-01-30 10:06 ` Andreas Färber
  0 siblings, 1 reply; 6+ messages in thread
From: Tim Bird @ 2014-01-29 22:19 UTC (permalink / raw)
  To: iivanov, linux-arm-msm

Ivan,

I'm looking at the USB patches you posted in November.  I'd like
to test them on a dragonboard I've got here.  Could you possibly send
me your dts file for the dragonboard, or let me know where I might
get one with correpsonding bindings for the dragonboard (apq8074)?

Thanks,
 -- Tim Bird

Senior Software Engineer, Sony Mobile
Architecture Group Chair, CE Workgroup, Linux Foundation

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: dts file with usb entry for dragonboard
  2014-01-29 22:19 dts file with usb entry for dragonboard Tim Bird
@ 2014-01-30 10:06 ` Andreas Färber
  2014-01-30 15:20   ` Ivan T. Ivanov
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Färber @ 2014-01-30 10:06 UTC (permalink / raw)
  To: Tim Bird, linux-arm-msm; +Cc: iivanov

Hi,

Am 29.01.2014 23:19, schrieb Tim Bird:
> I'm looking at the USB patches you posted in November.  I'd like
> to test them on a dragonboard I've got here.  Could you possibly send
> me your dts file for the dragonboard, or let me know where I might
> get one with correpsonding bindings for the dragonboard (apq8074)?

It looked as if there is one queued for 3.14 here:

http://git.kernel.org/cgit/linux/kernel/git/davidb/linux-msm.git/commit/?h=for-3.14/boards&id=e1959aadd4fdb804da85dbd2c6d11021811db7a3

HTH,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: dts file with usb entry for dragonboard
  2014-01-30 10:06 ` Andreas Färber
@ 2014-01-30 15:20   ` Ivan T. Ivanov
  2014-02-05 23:33     ` Tim Bird
  0 siblings, 1 reply; 6+ messages in thread
From: Ivan T. Ivanov @ 2014-01-30 15:20 UTC (permalink / raw)
  To: Tim Bird; +Cc: AndreasFärber, linux-arm-msm

Hi, 

On Thu, 2014-01-30 at 11:06 +0100, Andreas Färber wrote:
> Hi,
> 
> Am 29.01.2014 23:19, schrieb Tim Bird:
> > I'm looking at the USB patches you posted in November.  I'd like
> > to test them on a dragonboard I've got here.  Could you possibly send
> > me your dts file for the dragonboard, or let me know where I might
> > get one with correpsonding bindings for the dragonboard (apq8074)?
> 
> It looked as if there is one queued for 3.14 here:
> 
> http://git.kernel.org/cgit/linux/kernel/git/davidb/linux-msm.git/commit/?h=for-3.14/boards&id=e1959aadd4fdb804da85dbd2c6d11021811db7a3
> 
> HTH,
> Andreas
> 

Well, you will not get too far with just these files. I am using 
DTS files available in CAF repository with new Qualcomm clock 
controller driver and one ugly patch which "port" regulator drivers
to upstream kernel.

USB3.0 patches are not really tested because I can not 
get one of the PHY clocks up.

USB2.0 driver is working fine with following DTS bindings.

Regards,
Ivan

	usb2_phy: usb@f9a55000 {
		compatible = "qcom,usb-otg-snps";
		status = "disabled";

		reg = <0xf9a55000 0x400>;
		interrupts = <0 134 0>;

		vddcx-supply = <&pm8841_s2_corner>;
		v1p8-supply = <&pm8941_l6>;
		v3p3-supply = <&pm8941_l24>;

		dr_mode = "peripheral";
		qcom,phy-init-sequence = <0x63 0x81 0xffffffff>;
		qcom,otg-control = <1>;
		qcom,vdd-levels = <1 5 7>;

		resets = <&gcc GCC_USB2A_PHY_BCR>, <&gcc GCC_USB_HS_BCR>;
		reset-names = "phy", "link";

                clocks = <&gcc GCC_XO_CLK>, <&gcc GCC_USB_HS_SYSTEM_CLK>,
                            <&gcc GCC_USB_HS_AHB_CLK>;
                clock-names = "phy", "core", "iface";
	};

	gadget@f9a55000 {
		compatible = "qcom,ci-hdrc";
		reg = <0xf9a55000 0x400>;
		dr_mode = "peripheral";
		interrupts = <0 134 0>;
		interrupt-names = "core_irq";
                usb-phy = <&usb2_phy>;
	};

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: dts file with usb entry for dragonboard
  2014-01-30 15:20   ` Ivan T. Ivanov
@ 2014-02-05 23:33     ` Tim Bird
  2014-02-06 14:22       ` Tim Bird
  0 siblings, 1 reply; 6+ messages in thread
From: Tim Bird @ 2014-02-05 23:33 UTC (permalink / raw)
  To: Ivan T. Ivanov; +Cc: AndreasFärber, linux-arm-msm

Thanks very much.

I'm also working with a tree with some hacked-in regulators and a new
qcom clock controller.

I seem to be missing the driver for the chipidea block.  I don't have
anything in my tree
with a compatible string of "qcom,ci-hdrc".  I do have an ehci-msm.c file, with
a compatible string of "qcom,ehci-host".  Sorry for asking newbie
questions, but I'm
trying to figure out the relationship between the different files,
drivers and IP blocks, and
which are applicable to the OTG port on the dragonboard.

(I did find that the other ports all seem to go through external USB hub chips).

Can you tell me what driver in your tree has the compatible string of
"qcom,ci-hdrc"?

Thanks for any direction you can provide.
 -- Tim


On Thu, Jan 30, 2014 at 7:20 AM, Ivan T. Ivanov <iivanov@mm-sol.com> wrote:
> Hi,
>
> On Thu, 2014-01-30 at 11:06 +0100, Andreas Färber wrote:
>> Hi,
>>
>> Am 29.01.2014 23:19, schrieb Tim Bird:
>> > I'm looking at the USB patches you posted in November.  I'd like
>> > to test them on a dragonboard I've got here.  Could you possibly send
>> > me your dts file for the dragonboard, or let me know where I might
>> > get one with correpsonding bindings for the dragonboard (apq8074)?
>>
>> It looked as if there is one queued for 3.14 here:
>>
>> http://git.kernel.org/cgit/linux/kernel/git/davidb/linux-msm.git/commit/?h=for-3.14/boards&id=e1959aadd4fdb804da85dbd2c6d11021811db7a3
>>
>> HTH,
>> Andreas
>>
>
> Well, you will not get too far with just these files. I am using
> DTS files available in CAF repository with new Qualcomm clock
> controller driver and one ugly patch which "port" regulator drivers
> to upstream kernel.
>
> USB3.0 patches are not really tested because I can not
> get one of the PHY clocks up.
>
> USB2.0 driver is working fine with following DTS bindings.
>
> Regards,
> Ivan
>
>         usb2_phy: usb@f9a55000 {
>                 compatible = "qcom,usb-otg-snps";
>                 status = "disabled";
>
>                 reg = <0xf9a55000 0x400>;
>                 interrupts = <0 134 0>;
>
>                 vddcx-supply = <&pm8841_s2_corner>;
>                 v1p8-supply = <&pm8941_l6>;
>                 v3p3-supply = <&pm8941_l24>;
>
>                 dr_mode = "peripheral";
>                 qcom,phy-init-sequence = <0x63 0x81 0xffffffff>;
>                 qcom,otg-control = <1>;
>                 qcom,vdd-levels = <1 5 7>;
>
>                 resets = <&gcc GCC_USB2A_PHY_BCR>, <&gcc GCC_USB_HS_BCR>;
>                 reset-names = "phy", "link";
>
>                 clocks = <&gcc GCC_XO_CLK>, <&gcc GCC_USB_HS_SYSTEM_CLK>,
>                             <&gcc GCC_USB_HS_AHB_CLK>;
>                 clock-names = "phy", "core", "iface";
>         };
>
>         gadget@f9a55000 {
>                 compatible = "qcom,ci-hdrc";
>                 reg = <0xf9a55000 0x400>;
>                 dr_mode = "peripheral";
>                 interrupts = <0 134 0>;
>                 interrupt-names = "core_irq";
>                 usb-phy = <&usb2_phy>;
>         };
>
>
>
>



-- 
 -- Tim Bird
Senior Software Engineer, Sony Mobile
Architecture Group Chair, CE Workgroup, Linux Foundation

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: dts file with usb entry for dragonboard
  2014-02-05 23:33     ` Tim Bird
@ 2014-02-06 14:22       ` Tim Bird
  2014-02-06 14:58         ` Ivan T. Ivanov
  0 siblings, 1 reply; 6+ messages in thread
From: Tim Bird @ 2014-02-06 14:22 UTC (permalink / raw)
  To: Ivan T. Ivanov; +Cc: AndreasFärber, linux-arm-msm

OK, it looks like the part I need is in the patchset here:
https://lkml.org/lkml/2013/11/11/310

These patches add DT support to drivers/usb/chipidea/ci_hdrc_msm.c

Have there been any other updates to either this or
drivers/usb/phy/phy_msm_usb.c since November?

Thanks,
 -- Tim

On Wed, Feb 5, 2014 at 3:33 PM, Tim Bird <tbird20d@gmail.com> wrote:
> Thanks very much.
>
> I'm also working with a tree with some hacked-in regulators and a new
> qcom clock controller.
>
> I seem to be missing the driver for the chipidea block.  I don't have
> anything in my tree
> with a compatible string of "qcom,ci-hdrc".  I do have an ehci-msm.c file, with
> a compatible string of "qcom,ehci-host".  Sorry for asking newbie
> questions, but I'm
> trying to figure out the relationship between the different files,
> drivers and IP blocks, and
> which are applicable to the OTG port on the dragonboard.
>
> (I did find that the other ports all seem to go through external USB hub chips).
>
> Can you tell me what driver in your tree has the compatible string of
> "qcom,ci-hdrc"?
>
> Thanks for any direction you can provide.
>  -- Tim
>
>
> On Thu, Jan 30, 2014 at 7:20 AM, Ivan T. Ivanov <iivanov@mm-sol.com> wrote:
>> Hi,
>>
>> On Thu, 2014-01-30 at 11:06 +0100, Andreas Färber wrote:
>>> Hi,
>>>
>>> Am 29.01.2014 23:19, schrieb Tim Bird:
>>> > I'm looking at the USB patches you posted in November.  I'd like
>>> > to test them on a dragonboard I've got here.  Could you possibly send
>>> > me your dts file for the dragonboard, or let me know where I might
>>> > get one with correpsonding bindings for the dragonboard (apq8074)?
>>>
>>> It looked as if there is one queued for 3.14 here:
>>>
>>> http://git.kernel.org/cgit/linux/kernel/git/davidb/linux-msm.git/commit/?h=for-3.14/boards&id=e1959aadd4fdb804da85dbd2c6d11021811db7a3
>>>
>>> HTH,
>>> Andreas
>>>
>>
>> Well, you will not get too far with just these files. I am using
>> DTS files available in CAF repository with new Qualcomm clock
>> controller driver and one ugly patch which "port" regulator drivers
>> to upstream kernel.
>>
>> USB3.0 patches are not really tested because I can not
>> get one of the PHY clocks up.
>>
>> USB2.0 driver is working fine with following DTS bindings.
>>
>> Regards,
>> Ivan
>>
>>         usb2_phy: usb@f9a55000 {
>>                 compatible = "qcom,usb-otg-snps";
>>                 status = "disabled";
>>
>>                 reg = <0xf9a55000 0x400>;
>>                 interrupts = <0 134 0>;
>>
>>                 vddcx-supply = <&pm8841_s2_corner>;
>>                 v1p8-supply = <&pm8941_l6>;
>>                 v3p3-supply = <&pm8941_l24>;
>>
>>                 dr_mode = "peripheral";
>>                 qcom,phy-init-sequence = <0x63 0x81 0xffffffff>;
>>                 qcom,otg-control = <1>;
>>                 qcom,vdd-levels = <1 5 7>;
>>
>>                 resets = <&gcc GCC_USB2A_PHY_BCR>, <&gcc GCC_USB_HS_BCR>;
>>                 reset-names = "phy", "link";
>>
>>                 clocks = <&gcc GCC_XO_CLK>, <&gcc GCC_USB_HS_SYSTEM_CLK>,
>>                             <&gcc GCC_USB_HS_AHB_CLK>;
>>                 clock-names = "phy", "core", "iface";
>>         };
>>
>>         gadget@f9a55000 {
>>                 compatible = "qcom,ci-hdrc";
>>                 reg = <0xf9a55000 0x400>;
>>                 dr_mode = "peripheral";
>>                 interrupts = <0 134 0>;
>>                 interrupt-names = "core_irq";
>>                 usb-phy = <&usb2_phy>;
>>         };
>>
>>
>>
>>
>
>
>
> --
>  -- Tim Bird
> Senior Software Engineer, Sony Mobile
> Architecture Group Chair, CE Workgroup, Linux Foundation



-- 
 -- Tim Bird
Senior Software Engineer, Sony Mobile
Architecture Group Chair, CE Workgroup, Linux Foundation

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: dts file with usb entry for dragonboard
  2014-02-06 14:22       ` Tim Bird
@ 2014-02-06 14:58         ` Ivan T. Ivanov
  0 siblings, 0 replies; 6+ messages in thread
From: Ivan T. Ivanov @ 2014-02-06 14:58 UTC (permalink / raw)
  To: Tim Bird; +Cc: AndreasFärber, linux-arm-msm


Hi, 

Sorry for delayed answer.

On Thu, 2014-02-06 at 06:22 -0800, Tim Bird wrote: 
> OK, it looks like the part I need is in the patchset here:
> https://lkml.org/lkml/2013/11/11/310
> 
> These patches add DT support to drivers/usb/chipidea/ci_hdrc_msm.c
> 
> Have there been any other updates to either this or
> drivers/usb/phy/phy_msm_usb.c since November?
> 

No. v4 for USB PHY driver and v0 for Chipidea driver.
I have v2 for Chipidea driver, but didn't contain any
functional changes, just patch description is improved.

Regards,
Ivan

> Thanks,
>  -- Tim
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-06 14:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-29 22:19 dts file with usb entry for dragonboard Tim Bird
2014-01-30 10:06 ` Andreas Färber
2014-01-30 15:20   ` Ivan T. Ivanov
2014-02-05 23:33     ` Tim Bird
2014-02-06 14:22       ` Tim Bird
2014-02-06 14:58         ` Ivan T. Ivanov

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.