From: Santosh Shilimkar <santosh.shilimkar-l0cyMroinI0@public.gmane.org>
To: kishon <kishon-l0cyMroinI0@public.gmane.org>
Cc: linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org,
Sergei Shtylyov
<sshtylyov-Igf4POYTYCDQT0dZR+AlfA@public.gmane.org>,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
balbi-l0cyMroinI0@public.gmane.org,
gg-kDsPt+C1G03kYMGBc/C6ZA@public.gmane.org,
s-guiriec-l0cyMroinI0@public.gmane.org,
linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH v2 4/6] ARM: dts: omap5: add dwc3 omap dt data
Date: Tue, 5 Feb 2013 14:37:05 +0530 [thread overview]
Message-ID: <5110CBB9.5080307@ti.com> (raw)
In-Reply-To: <5110C6EC.6050606-l0cyMroinI0@public.gmane.org>
On Tuesday 05 February 2013 02:16 PM, kishon wrote:
> Hi,
>
> On Tuesday 05 February 2013 02:08 PM, Felipe Balbi wrote:
>> On Tue, Feb 05, 2013 at 01:59:26PM +0530, kishon wrote:
>>> On Sunday 27 January 2013 01:17 AM, Sergei Shtylyov wrote:
>>>> Hello.
>>>>
>>>> On 25-01-2013 15:11, Kishon Vijay Abraham I wrote:
>>>>
>>>>> Add dwc3 omap glue data to the omap5 dt data file. The information
>>>>> about
>>>>> the dt node added here is available @
>>>>> Documentation/devicetree/bindings/usb/omap-usb.txt
>>>>
>>>>> Signed-off-by: Kishon Vijay Abraham I <kishon-l0cyMroinI0@public.gmane.org>
>>>>> ---
>>>>> arch/arm/boot/dts/omap5.dtsi | 11 +++++++++++
>>>>> 1 file changed, 11 insertions(+)
>>>>
>>>>> diff --git a/arch/arm/boot/dts/omap5.dtsi
>>>>> b/arch/arm/boot/dts/omap5.dtsi
>>>>> index 5f59bf2..1703a72 100644
>>>>> --- a/arch/arm/boot/dts/omap5.dtsi
>>>>> +++ b/arch/arm/boot/dts/omap5.dtsi
>>>>> @@ -513,6 +513,17 @@
>>>>> ti,type = <2>;
>>>>> };
>>>>>
>>>>> + omap_dwc3@4a020000 {
>>>>> + compatible = "ti,dwc3";
>>>>> + ti,hwmods = "usb_otg_ss";
>>>>> + reg = <0x4a020000 0x1ff>;
>>>>
>>>> Shoudn't the "reg" length be 0x200 here? It's length, not limit.
>>>
>>> I think 0x1ff is correct. I got the data from hwmod data.
>>
>> hwmod is utterly wrong. Looking at TRM, it says the size here is 64KiB
>> (0x10000), so is the size for dwc3 itself. Please don't blindly trust
>> hwmod, make sure you read data from TRM ;-)
>
> hmm..ok. But it has only 17 registers :-D
>
As Felipe said, it should be 0x200. And if you are
interested in lesser space, there is no need to map entire 64 KB
address space if it isn't being used.
Regards,
Santosh
next prev parent reply other threads:[~2013-02-05 9:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-25 11:11 [PATCH v2 0/6] ARM: dts: omap: add dt data for dwc3 Kishon Vijay Abraham I
2013-01-25 11:11 ` [PATCH v2 1/6] ARM: dts: omap5: Add omap control usb data Kishon Vijay Abraham I
2013-01-25 11:11 ` [PATCH v2 4/6] ARM: dts: omap5: add dwc3 omap dt data Kishon Vijay Abraham I
2013-01-26 19:47 ` Sergei Shtylyov
2013-02-05 8:29 ` kishon
[not found] ` <5110C2E6.30504-l0cyMroinI0@public.gmane.org>
2013-02-05 8:38 ` Felipe Balbi
[not found] ` <20130205083828.GE32118-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2013-02-05 8:46 ` kishon
[not found] ` <5110C6EC.6050606-l0cyMroinI0@public.gmane.org>
2013-02-05 9:07 ` Santosh Shilimkar [this message]
[not found] ` <5110CBB9.5080307-l0cyMroinI0@public.gmane.org>
2013-02-05 9:46 ` Felipe Balbi
2013-01-25 11:11 ` [PATCH v2 5/6] ARM: dts: omap5: add dwc3 core " Kishon Vijay Abraham I
2013-01-26 19:49 ` Sergei Shtylyov
2013-01-25 11:11 ` [PATCH v2 6/6] ARM: dts: palmas: update dt data for palmas-usb Kishon Vijay Abraham I
[not found] ` <1359112312-6918-1-git-send-email-kishon-l0cyMroinI0@public.gmane.org>
2013-01-25 11:11 ` [PATCH v2 2/6] ARM: dts: omap5: Add ocp2scp data Kishon Vijay Abraham I
2013-01-25 11:11 ` [PATCH v2 3/6] ARM: dts: omap5: Add omap-usb3 and omap-usb2 dt data Kishon Vijay Abraham I
2013-01-25 12:18 ` [PATCH v2 0/6] ARM: dts: omap: add dt data for dwc3 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=5110CBB9.5080307@ti.com \
--to=santosh.shilimkar-l0cymroini0@public.gmane.org \
--cc=balbi-l0cyMroinI0@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=gg-kDsPt+C1G03kYMGBc/C6ZA@public.gmane.org \
--cc=kishon-l0cyMroinI0@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=s-guiriec-l0cyMroinI0@public.gmane.org \
--cc=sshtylyov-Igf4POYTYCDQT0dZR+AlfA@public.gmane.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).