From: santosh.shilimkar@ti.com (Santosh Shilimkar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: dts: keystone: Add usb devicetree bindings
Date: Wed, 27 Nov 2013 15:24:57 -0500 [thread overview]
Message-ID: <52965519.3080209@ti.com> (raw)
In-Reply-To: <5295C27E.3010805@ti.com>
On Wednesday 27 November 2013 04:59 AM, George Cherian wrote:
> On 11/26/2013 1:46 AM, WingMan Kwok wrote:
>> Added device tree support for TI's Keystone USB driver and updated the
>> Documentation with device tree binding information.
>>
>> On Keystone II platforms, we use no-op phy driver.
>>
>> Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
>> Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
>> ---
>> .../devicetree/bindings/usb/keystone-usb.txt | 43 ++++++++++++++++++++
>> arch/arm/boot/dts/keystone.dtsi | 27 ++++++++++++
>> 2 files changed, 70 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/usb/keystone-usb.txt
>>
[...]
>> diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi
>> index f6d6d9e..1e1049c 100644
>> --- a/arch/arm/boot/dts/keystone.dtsi
>> +++ b/arch/arm/boot/dts/keystone.dtsi
>> @@ -181,5 +181,32 @@
>> interrupts = <GIC_SPI 300 IRQ_TYPE_EDGE_RISING>;
>> clocks = <&clkspi>;
>> };
>> +
>> + usb2_phy: usb2_phy {
>> + compatible = "usb-nop-xceiv";
>> + };
>> +
>> + usb3_phy: usb3_phy {
>> + compatible = "usb-nop-xceiv";
>> + };
>> +
>> + usb: usb at 2680000 {
>> + compatible = "ti,keystone-dwc3";
>> + #address-cells = <1>;
>> + #size-cells = <1>;
>> + reg = <0x2680000 0x10000
>> + 0x2620738 32>;
>> + clocks = <&clkusb>;
>> + clock-names = "usb";
>> + interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
>
> You don't have seperate interrrupt for wrapper and core?
> Is it the same interrupt shared between XHCI,DWC3 and wrapper?
>
You don't need actually two seperate interrupts.
DWC3 core actually registers IRQ for XHCI. And in OMAP case, there
is one more IRQ in wrapper. After checking with Felipe, it seems
the OMAP wrapper interrupt was more for debug purpose than any real
use.
On Keystone only one IRQ is used and the handling is managed
through IRQF_SHARED and that is also mainly because the IRQ
ack needs special write to EOI register unlike OMAP.
Regards,
Santosh
next prev parent reply other threads:[~2013-11-27 20:24 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-25 20:16 [PATCH 0/3] Kesytone II USB support WingMan Kwok
2013-11-25 20:16 ` [PATCH 1/3] usb: dwc3: Add Keystone specific glue layer WingMan Kwok
2013-11-25 20:39 ` Felipe Balbi
2013-11-26 0:49 ` Santosh Shilimkar
2013-11-26 17:16 ` Felipe Balbi
2013-11-26 18:21 ` Santosh Shilimkar
2013-11-27 9:19 ` George Cherian
2013-11-27 17:41 ` Felipe Balbi
2013-11-27 18:32 ` Santosh Shilimkar
2013-11-27 19:39 ` Felipe Balbi
2013-11-25 20:16 ` [PATCH 2/3] ARM: dts: keystone: Add usb devicetree bindings WingMan Kwok
2013-11-25 20:42 ` Felipe Balbi
2013-11-25 21:04 ` Santosh Shilimkar
2013-11-25 21:06 ` Felipe Balbi
2013-11-27 9:59 ` George Cherian
2013-11-27 20:24 ` Santosh Shilimkar [this message]
2013-11-25 20:16 ` [PATCH 3/3] ARM: keystone: defconfig: enable USB host mode support WingMan Kwok
2013-11-25 20:43 ` Felipe Balbi
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=52965519.3080209@ti.com \
--to=santosh.shilimkar@ti.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 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.