diff mbox

[v2,1/2] ARM: DRA7: Add support for soc_is_dra74x() and soc_is_dra72x() variants

Message ID 1406523237-6905-2-git-send-email-lokeshvutla@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lokesh Vutla July 28, 2014, 4:53 a.m. UTC
From: Rajendra Nayak <rnayak@ti.com>

Use the corresponding compatibles to identify the devices.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Tested-by: Nishanth Menon <nm@ti.com>
---
Changes since v1:
	-Removed an extra blank line as suggested by Suman.
 arch/arm/mach-omap2/soc.h | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Paul Walmsley July 28, 2014, 5:29 a.m. UTC | #1
On Mon, 28 Jul 2014, Lokesh Vutla wrote:

> From: Rajendra Nayak <rnayak@ti.com>
> 
> Use the corresponding compatibles to identify the devices.
> 
> Signed-off-by: Rajendra Nayak <rnayak@ti.com>
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> Acked-by: Nishanth Menon <nm@ti.com>
> Tested-by: Nishanth Menon <nm@ti.com>

Thanks, queued for (hopefully) early v3.17-rc.


- Paul
Lokesh Vutla July 28, 2014, 5:34 a.m. UTC | #2
On Monday 28 July 2014 10:59 AM, Paul Walmsley wrote:
> On Mon, 28 Jul 2014, Lokesh Vutla wrote:
> 
>> From: Rajendra Nayak <rnayak@ti.com>
>>
>> Use the corresponding compatibles to identify the devices.
>>
>> Signed-off-by: Rajendra Nayak <rnayak@ti.com>
>> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
>> Acked-by: Nishanth Menon <nm@ti.com>
>> Tested-by: Nishanth Menon <nm@ti.com>
> 
> Thanks, queued for (hopefully) early v3.17-rc.
Thanks Paul.

Regards,
Lokesh
> 
> 
> - Paul
>
Nishanth Menon Aug. 27, 2014, 5:16 p.m. UTC | #3
On Mon, Jul 28, 2014 at 12:34 AM, Lokesh Vutla <lokeshvutla@ti.com> wrote:
> On Monday 28 July 2014 10:59 AM, Paul Walmsley wrote:
>> On Mon, 28 Jul 2014, Lokesh Vutla wrote:
>>
>>> From: Rajendra Nayak <rnayak@ti.com>
>>>
>>> Use the corresponding compatibles to identify the devices.
>>>
>>> Signed-off-by: Rajendra Nayak <rnayak@ti.com>
>>> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
>>> Acked-by: Nishanth Menon <nm@ti.com>
>>> Tested-by: Nishanth Menon <nm@ti.com>
>>
>> Thanks, queued for (hopefully) early v3.17-rc.
> Thanks Paul.
>
Paul, Tony,

we are at 3.17-rc2 today, unfortunately..
http://slexy.org/view/s20MbRgipa dra72-evm is still broken due to
this. Needs:
https://patchwork.kernel.org/patch/4632161/ and
https://patchwork.kernel.org/patch/4632171/

What can we do to help speed this along?
Paul Walmsley Aug. 28, 2014, 6:19 a.m. UTC | #4
On Wed, 27 Aug 2014, Nishanth Menon wrote:

> On Mon, Jul 28, 2014 at 12:34 AM, Lokesh Vutla <lokeshvutla@ti.com> wrote:
> > On Monday 28 July 2014 10:59 AM, Paul Walmsley wrote:
> >> On Mon, 28 Jul 2014, Lokesh Vutla wrote:
> >>
> >>> From: Rajendra Nayak <rnayak@ti.com>
> >>>
> >>> Use the corresponding compatibles to identify the devices.
> >>>
> >>> Signed-off-by: Rajendra Nayak <rnayak@ti.com>
> >>> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> >>> Acked-by: Nishanth Menon <nm@ti.com>
> >>> Tested-by: Nishanth Menon <nm@ti.com>
> >>
> >> Thanks, queued for (hopefully) early v3.17-rc.
> > Thanks Paul.
> >
> Paul, Tony,
> 
> we are at 3.17-rc2 today, unfortunately..
> http://slexy.org/view/s20MbRgipa dra72-evm is still broken due to
> this. Needs:
> https://patchwork.kernel.org/patch/4632161/ and
> https://patchwork.kernel.org/patch/4632171/
> 
> What can we do to help speed this along?

A simple reminder, like this one, is good.  Also providing boards and 
documentation generally helps, so the patches can be tested and reviewed.


- Paul
Nishanth Menon Aug. 28, 2014, 12:01 p.m. UTC | #5
On Thu, Aug 28, 2014 at 1:19 AM, Paul Walmsley <paul@pwsan.com> wrote:
> On Wed, 27 Aug 2014, Nishanth Menon wrote:
>
>> On Mon, Jul 28, 2014 at 12:34 AM, Lokesh Vutla <lokeshvutla@ti.com> wrote:
>> > On Monday 28 July 2014 10:59 AM, Paul Walmsley wrote:
>> >> On Mon, 28 Jul 2014, Lokesh Vutla wrote:
>> >>
>> >>> From: Rajendra Nayak <rnayak@ti.com>
>> >>>
>> >>> Use the corresponding compatibles to identify the devices.
>> >>>
>> >>> Signed-off-by: Rajendra Nayak <rnayak@ti.com>
>> >>> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
>> >>> Acked-by: Nishanth Menon <nm@ti.com>
>> >>> Tested-by: Nishanth Menon <nm@ti.com>
>> >>
>> >> Thanks, queued for (hopefully) early v3.17-rc.
>> > Thanks Paul.
>> >
>> Paul, Tony,
>>
>> we are at 3.17-rc2 today, unfortunately..
>> http://slexy.org/view/s20MbRgipa dra72-evm is still broken due to
>> this. Needs:
>> https://patchwork.kernel.org/patch/4632161/ and
>> https://patchwork.kernel.org/patch/4632171/
>>
>> What can we do to help speed this along?
>
> A simple reminder, like this one, is good.  Also providing boards and
> documentation generally helps, so the patches can be tested and reviewed.

TI is working diligently towards a public TRM and potentially a
related platform as well for all.

Unfortunately, I am not yet aware of a official finalized release
date.. hopefully this year..

In the meanwhile, we will try to provide test logs that you may desire
for at least the
platforms we have functioning and access to. please feel free to
request specific test
vectors if you feel our coverage is not good enough.
Paul Walmsley Sept. 5, 2014, 6:08 p.m. UTC | #6
On Thu, 28 Aug 2014, Nishanth Menon wrote:

> On Thu, Aug 28, 2014 at 1:19 AM, Paul Walmsley <paul@pwsan.com> wrote:
> > On Wed, 27 Aug 2014, Nishanth Menon wrote:
> >
> >> On Mon, Jul 28, 2014 at 12:34 AM, Lokesh Vutla <lokeshvutla@ti.com> wrote:
> >> > On Monday 28 July 2014 10:59 AM, Paul Walmsley wrote:
> >> >> On Mon, 28 Jul 2014, Lokesh Vutla wrote:
> >> >>
> >> >>> From: Rajendra Nayak <rnayak@ti.com>
> >> >>>
> >> >>> Use the corresponding compatibles to identify the devices.
> >> >>>
> >> >>> Signed-off-by: Rajendra Nayak <rnayak@ti.com>
> >> >>> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> >> >>> Acked-by: Nishanth Menon <nm@ti.com>
> >> >>> Tested-by: Nishanth Menon <nm@ti.com>
> >> >>
> >> >> Thanks, queued for (hopefully) early v3.17-rc.
> >> > Thanks Paul.
> >> >
> >> Paul, Tony,
> >>
> >> we are at 3.17-rc2 today, unfortunately..
> >> http://slexy.org/view/s20MbRgipa dra72-evm is still broken due to
> >> this. Needs:
> >> https://patchwork.kernel.org/patch/4632161/ and
> >> https://patchwork.kernel.org/patch/4632171/
> >>
> >> What can we do to help speed this along?
> >
> > A simple reminder, like this one, is good.  Also providing boards and
> > documentation generally helps, so the patches can be tested and reviewed.
> 
> TI is working diligently towards a public TRM and potentially a
> related platform as well for all.
> 
> Unfortunately, I am not yet aware of a official finalized release
> date.. hopefully this year..

OK

> In the meanwhile, we will try to provide test logs that you may desire 
> for at least the platforms we have functioning and access to. please 
> feel free to request specific test vectors if you feel our coverage is 
> not good enough.

Thanks.  You've been showing a lot of great leadership in proactively 
posting test logs.  What I'd suggest doing is to keep that up, and if 
possible, post one of the test reports for each patch series that's 
posted, if possible. 


- Paul
Nishanth Menon Sept. 5, 2014, 6:14 p.m. UTC | #7
On 09/05/2014 01:08 PM, Paul Walmsley wrote:
[...]
>> In the meanwhile, we will try to provide test logs that you may desire 
>> for at least the platforms we have functioning and access to. please 
>> feel free to request specific test vectors if you feel our coverage is 
>> not good enough.
> 
> Thanks.  You've been showing a lot of great leadership in proactively 
> posting test logs.  What I'd suggest doing is to keep that up, and if 
> possible, post one of the test reports for each patch series that's 
> posted, if possible. 

I do have automated scripts verifying various defconfigs on a daily
basis for linux-next and master tags..
https://github.com/nmenon/kernel-test-logs/ (based on each tag).

Every TI engineer does have access to these platforms as well as I do.
Realistically, few platforms do go offline and online as time goes on.
we will try to post test reports for each series as much as our TI
policies let us.
Nishanth Menon Nov. 4, 2014, 3:02 p.m. UTC | #8
On 09/05/2014 01:14 PM, Menon, Nishanth wrote:
> On 09/05/2014 01:08 PM, Paul Walmsley wrote:
> [...]

Just adding to this: public version of AM572x is now available here:


http://www.ti.com/lit/spruhz6
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/soc.h b/arch/arm/mach-omap2/soc.h
index 01ca808..4376f59 100644
--- a/arch/arm/mach-omap2/soc.h
+++ b/arch/arm/mach-omap2/soc.h
@@ -245,6 +245,8 @@  IS_AM_SUBCLASS(437x, 0x437)
 #define soc_is_omap54xx()		0
 #define soc_is_omap543x()		0
 #define soc_is_dra7xx()			0
+#define soc_is_dra74x()			0
+#define soc_is_dra72x()			0
 
 #if defined(MULTI_OMAP2)
 # if defined(CONFIG_ARCH_OMAP2)
@@ -393,7 +395,11 @@  IS_OMAP_TYPE(3430, 0x3430)
 
 #if defined(CONFIG_SOC_DRA7XX)
 #undef soc_is_dra7xx
+#undef soc_is_dra74x
+#undef soc_is_dra72x
 #define soc_is_dra7xx()	(of_machine_is_compatible("ti,dra7"))
+#define soc_is_dra74x()	(of_machine_is_compatible("ti,dra74"))
+#define soc_is_dra72x()	(of_machine_is_compatible("ti,dra72"))
 #endif
 
 /* Various silicon revisions for omap2 */