From: Santosh Shilimkar <santosh.shilimkar@ti.com>
To: Olof Johansson <olof@lixom.net>
Cc: Mark Rutland <mark.rutland@arm.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Arnd Bergmann <arnd@arndb.de>, Rob Herring <robh+dt@kernel.org>,
"Karicheri, Muralidharan" <m-karicheri2@ti.com>,
Kumar Gala <galak@codeaurora.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 1/4] ARM: dts: keystone: update for supporting K2L/K2E EVMs
Date: Mon, 10 Mar 2014 04:01:12 +0800 [thread overview]
Message-ID: <531CC888.1080100@ti.com> (raw)
In-Reply-To: <20140309053924.GD12854@quad.lixom.net>
On Sunday 09 March 2014 01:39 PM, Olof Johansson wrote:
> On Tue, Feb 25, 2014 at 04:50:32PM -0500, Santosh Shilimkar wrote:
>> From: Murali Karicheri <m-karicheri2@ti.com>
>>
>> This patch add compatibility strings for k2hk, k2l and k2e EVMs
>>
>> Cc: Olof Johansson <olof@lixom.net>
>> Cc: Arnd Bergmann <arnd@arndb.de>
>> Cc: Rob Herring <robh+dt@kernel.org>
>> Cc: Kumar Gala <galak@codeaurora.org>
>> Cc: Mark Rutland <mark.rutland@arm.com>
>> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
>> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
>> ---
>> .../devicetree/bindings/arm/keystone/keystone.txt | 10 ++++++++++
>> arch/arm/mach-keystone/keystone.c | 3 +++
>> 2 files changed, 13 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/keystone/keystone.txt b/Documentation/devicetree/bindings/arm/keystone/keystone.txt
>> index 63c0e6a..ad16e7a 100644
>> --- a/Documentation/devicetree/bindings/arm/keystone/keystone.txt
>> +++ b/Documentation/devicetree/bindings/arm/keystone/keystone.txt
>> @@ -8,3 +8,13 @@ Required properties:
>> - compatible: All TI specific devices present in Keystone SOC should be in
>> the form "ti,keystone-*". Generic devices like gic, arch_timers, ns16550
>> type UART should use the specified compatible for those devices.
>> +
>> +Boards:
>> +- Keystone 2 Hawking/Kepler EVM
>> + compatible = "ti,k2hk-evm"
>> +
>> +- Keystone 2 Lamarr EVM
>> + compatible = "ti,k2l-evm"
>
> Your previous email said Lammar. One, or maybe both, are wrong, but which one?
>
My email had a typo then. The one here is right.
>> +
>> +- Keystone 2 Edison EVM
>> + compatible = "ti,k2e-evm"
>> diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c
>> index 6e6bb7d..aa0d212 100644
>> --- a/arch/arm/mach-keystone/keystone.c
>> +++ b/arch/arm/mach-keystone/keystone.c
>> @@ -47,6 +47,9 @@ static void __init keystone_init(void)
>>
>> static const char *keystone_match[] __initconst = {
>> "ti,keystone-evm",
>> + "ti,k2hk-evm",
>> + "ti,k2l-evm",
>> + "ti,k2e-evm",
>
> -evm indicate board-level compat fields. We'd be better off just keeping a
> "ti,keystone" top-level compatible here and just using that to probe. That
> way you don't have to touch the file for new boards in the future.
>
So far keystone-evm was k2hk(Keystone2 Hawking EVM) but with additional two
SOC's and board's, separate compatible was needed to differentiate. These
boards do have significant differences though current mainline code.
This mainly because the boards are build for those specific SOC families.
I would like to keep the organisation that way so that we cab support any
future boards like below.
"ti,k2hk-evm" --> All the Keystone2 Hawking/Kepler boards
"ti,k2l-evm" --> All the Keystone2 Lamarr boards
"ti,k2e-evm" --> All the Keystone2 Edision boards
I don't expect to touch this file till new SOC gets added with its
EVM.
Regards,
Ssantosh
next prev parent reply other threads:[~2014-03-09 20:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-25 21:50 [PATCH 0/4] ARM: dts: keystone: Add support for K2H and K2E SOCs/EVMs Santosh Shilimkar
[not found] ` <1393365035-20083-1-git-send-email-santosh.shilimkar-l0cyMroinI0@public.gmane.org>
2014-02-25 21:50 ` [PATCH 1/4] ARM: dts: keystone: update for supporting K2L/K2E EVMs Santosh Shilimkar
[not found] ` <1393365035-20083-2-git-send-email-santosh.shilimkar-l0cyMroinI0@public.gmane.org>
2014-03-09 5:39 ` Olof Johansson
2014-03-09 20:01 ` Santosh Shilimkar [this message]
[not found] ` <531CC888.1080100-l0cyMroinI0@public.gmane.org>
2014-03-11 19:58 ` Olof Johansson
2014-02-25 21:50 ` [PATCH 2/4] ARM: dts: keystone: preparatory patch to support K2L and K2E SOCs Santosh Shilimkar
2014-02-25 21:50 ` [PATCH 3/4] ARM: dts: keystone: add support for K2 Lamarr SoC and EVM Santosh Shilimkar
2014-02-25 21:50 ` [PATCH 4/4] ARM: dts: keystone: add support for k2 Edison " Santosh Shilimkar
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=531CC888.1080100@ti.com \
--to=santosh.shilimkar@ti.com \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=m-karicheri2@ti.com \
--cc=mark.rutland@arm.com \
--cc=olof@lixom.net \
--cc=robh+dt@kernel.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).