* Re: [PATCH 3/3] ARM: OMAP2+: Let DT say what devices should not to idled or reset
[not found] ` <1376983966-16490-4-git-send-email-rnayak@ti.com>
@ 2013-10-09 7:24 ` Paul Walmsley
2013-10-09 7:37 ` Rajendra Nayak
0 siblings, 1 reply; 4+ messages in thread
From: Paul Walmsley @ 2013-10-09 7:24 UTC (permalink / raw)
To: bcousson, Rajendra Nayak
Cc: tony, linux-omap, linux-arm-kernel, devicetree, linux-doc
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1679 bytes --]
Hi Benoît, Rajendra,
On Tue, 20 Aug 2013, Rajendra Nayak wrote:
> Now that we have DT bindings to specify which devices on the SoC should not
> be reset or idled, get rid of the same information existing as part of the
> hwmod data files and pass this info from DT instead.
>
> For GPMC, the HWMOD_INIT_NO_RESET flag seems to be added in hwmod not due to
> any errata around the GPMC IP, but rather because any timings
> set by the bootloader are not being correctly programmed by the kernel.
> This seems like something that needs to be fixed as part of GPMC driver
> in the kernel, and hence the flag is left as is in hwmod, which can be
> removed once the driver does what its expected to.
>
> Signed-off-by: Rajendra Nayak <rnayak@ti.com>
> ---
> arch/arm/boot/dts/am33xx.dtsi | 2 ++
> arch/arm/boot/dts/omap4.dtsi | 3 +++
> arch/arm/boot/dts/omap5.dtsi | 2 ++
> arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 4 ++--
> arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 4 +---
> arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 2 --
> 6 files changed, 10 insertions(+), 7 deletions(-)
Looking at this one, maybe the best thing for this patch is for Rajendra
to split it into two patches. Benoît can merge the DTS patch first, then
I can merge the hwmod side as a cleanup once the first one goes in. That
will avoid conflicts from other DTS and hwmod changes going into the tree.
Rajendra, when you do the split, please add in the DT documentation part
from patch 2. Am going to strip that out from the second patch and just
merge the hwmod changes.
Sound good?
- Paul
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 3/3] ARM: OMAP2+: Let DT say what devices should not to idled or reset
2013-10-09 7:24 ` [PATCH 3/3] ARM: OMAP2+: Let DT say what devices should not to idled or reset Paul Walmsley
@ 2013-10-09 7:37 ` Rajendra Nayak
2013-10-09 8:19 ` Benoit Cousson
0 siblings, 1 reply; 4+ messages in thread
From: Rajendra Nayak @ 2013-10-09 7:37 UTC (permalink / raw)
To: Paul Walmsley
Cc: bcousson, tony, linux-omap, linux-arm-kernel, devicetree,
linux-doc
On Wednesday 09 October 2013 12:54 PM, Paul Walmsley wrote:
> Hi Benoît, Rajendra,
>
> On Tue, 20 Aug 2013, Rajendra Nayak wrote:
>
>> Now that we have DT bindings to specify which devices on the SoC should not
>> be reset or idled, get rid of the same information existing as part of the
>> hwmod data files and pass this info from DT instead.
>>
>> For GPMC, the HWMOD_INIT_NO_RESET flag seems to be added in hwmod not due to
>> any errata around the GPMC IP, but rather because any timings
>> set by the bootloader are not being correctly programmed by the kernel.
>> This seems like something that needs to be fixed as part of GPMC driver
>> in the kernel, and hence the flag is left as is in hwmod, which can be
>> removed once the driver does what its expected to.
>>
>> Signed-off-by: Rajendra Nayak <rnayak@ti.com>
>> ---
>> arch/arm/boot/dts/am33xx.dtsi | 2 ++
>> arch/arm/boot/dts/omap4.dtsi | 3 +++
>> arch/arm/boot/dts/omap5.dtsi | 2 ++
>> arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 4 ++--
>> arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 4 +---
>> arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 2 --
>> 6 files changed, 10 insertions(+), 7 deletions(-)
>
> Looking at this one, maybe the best thing for this patch is for Rajendra
> to split it into two patches. Benoît can merge the DTS patch first, then
> I can merge the hwmod side as a cleanup once the first one goes in. That
> will avoid conflicts from other DTS and hwmod changes going into the tree.
>
> Rajendra, when you do the split, please add in the DT documentation part
> from patch 2. Am going to strip that out from the second patch and just
> merge the hwmod changes.
>
> Sound good?
Sure Paul, I'll repost the complete series with proper splits such that its
easier for you and Benoit to pick them up independently.
>
>
> - Paul
>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 3/3] ARM: OMAP2+: Let DT say what devices should not to idled or reset
2013-10-09 7:37 ` Rajendra Nayak
@ 2013-10-09 8:19 ` Benoit Cousson
2013-10-09 8:49 ` Rajendra Nayak
0 siblings, 1 reply; 4+ messages in thread
From: Benoit Cousson @ 2013-10-09 8:19 UTC (permalink / raw)
To: Rajendra Nayak
Cc: Paul Walmsley, tony, linux-omap, linux-arm-kernel, devicetree,
linux-doc
Hi Rajendra,
On 09/10/2013 09:37, Rajendra Nayak wrote:
> On Wednesday 09 October 2013 12:54 PM, Paul Walmsley wrote:
>> Hi Benoît, Rajendra,
>>
>> On Tue, 20 Aug 2013, Rajendra Nayak wrote:
>>
>>> Now that we have DT bindings to specify which devices on the SoC should not
>>> be reset or idled, get rid of the same information existing as part of the
>>> hwmod data files and pass this info from DT instead.
>>>
>>> For GPMC, the HWMOD_INIT_NO_RESET flag seems to be added in hwmod not due to
>>> any errata around the GPMC IP, but rather because any timings
>>> set by the bootloader are not being correctly programmed by the kernel.
>>> This seems like something that needs to be fixed as part of GPMC driver
>>> in the kernel, and hence the flag is left as is in hwmod, which can be
>>> removed once the driver does what its expected to.
>>>
>>> Signed-off-by: Rajendra Nayak <rnayak@ti.com>
>>> ---
>>> arch/arm/boot/dts/am33xx.dtsi | 2 ++
>>> arch/arm/boot/dts/omap4.dtsi | 3 +++
>>> arch/arm/boot/dts/omap5.dtsi | 2 ++
>>> arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 4 ++--
>>> arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 4 +---
>>> arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 2 --
>>> 6 files changed, 10 insertions(+), 7 deletions(-)
>>
>> Looking at this one, maybe the best thing for this patch is for Rajendra
>> to split it into two patches. Benoît can merge the DTS patch first, then
>> I can merge the hwmod side as a cleanup once the first one goes in. That
>> will avoid conflicts from other DTS and hwmod changes going into the tree.
>>
>> Rajendra, when you do the split, please add in the DT documentation part
>> from patch 2. Am going to strip that out from the second patch and just
>> merge the hwmod changes.
>>
>> Sound good?
>
> Sure Paul, I'll repost the complete series with proper splits such that its
> easier for you and Benoit to pick them up independently.
If you could do it soon, I'm about to send an early pull request to Tony
to avoid the trouble we had last time.
Thanks,
Benoit
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 3/3] ARM: OMAP2+: Let DT say what devices should not to idled or reset
2013-10-09 8:19 ` Benoit Cousson
@ 2013-10-09 8:49 ` Rajendra Nayak
0 siblings, 0 replies; 4+ messages in thread
From: Rajendra Nayak @ 2013-10-09 8:49 UTC (permalink / raw)
To: Benoit Cousson
Cc: devicetree, Paul Walmsley, linux-doc, tony, linux-omap,
linux-arm-kernel
On Wednesday 09 October 2013 01:49 PM, Benoit Cousson wrote:
> Hi Rajendra,
>
> On 09/10/2013 09:37, Rajendra Nayak wrote:
>> On Wednesday 09 October 2013 12:54 PM, Paul Walmsley wrote:
>>> Hi Benoît, Rajendra,
>>>
>>> On Tue, 20 Aug 2013, Rajendra Nayak wrote:
>>>
>>>> Now that we have DT bindings to specify which devices on the SoC should not
>>>> be reset or idled, get rid of the same information existing as part of the
>>>> hwmod data files and pass this info from DT instead.
>>>>
>>>> For GPMC, the HWMOD_INIT_NO_RESET flag seems to be added in hwmod not due to
>>>> any errata around the GPMC IP, but rather because any timings
>>>> set by the bootloader are not being correctly programmed by the kernel.
>>>> This seems like something that needs to be fixed as part of GPMC driver
>>>> in the kernel, and hence the flag is left as is in hwmod, which can be
>>>> removed once the driver does what its expected to.
>>>>
>>>> Signed-off-by: Rajendra Nayak <rnayak@ti.com>
>>>> ---
>>>> arch/arm/boot/dts/am33xx.dtsi | 2 ++
>>>> arch/arm/boot/dts/omap4.dtsi | 3 +++
>>>> arch/arm/boot/dts/omap5.dtsi | 2 ++
>>>> arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 4 ++--
>>>> arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 4 +---
>>>> arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 2 --
>>>> 6 files changed, 10 insertions(+), 7 deletions(-)
>>>
>>> Looking at this one, maybe the best thing for this patch is for Rajendra
>>> to split it into two patches. Benoît can merge the DTS patch first, then
>>> I can merge the hwmod side as a cleanup once the first one goes in. That
>>> will avoid conflicts from other DTS and hwmod changes going into the tree.
>>>
>>> Rajendra, when you do the split, please add in the DT documentation part
>>> from patch 2. Am going to strip that out from the second patch and just
>>> merge the hwmod changes.
>>>
>>> Sound good?
>>
>> Sure Paul, I'll repost the complete series with proper splits such that its
>> easier for you and Benoit to pick them up independently.
>
> If you could do it soon, I'm about to send an early pull request to Tony to avoid the trouble we had last time.
I am sending them right-away Benoit.
>
> Thanks,
> Benoit
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-10-09 8:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1376983966-16490-1-git-send-email-rnayak@ti.com>
[not found] ` <1376983966-16490-4-git-send-email-rnayak@ti.com>
2013-10-09 7:24 ` [PATCH 3/3] ARM: OMAP2+: Let DT say what devices should not to idled or reset Paul Walmsley
2013-10-09 7:37 ` Rajendra Nayak
2013-10-09 8:19 ` Benoit Cousson
2013-10-09 8:49 ` Rajendra Nayak
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).