From: Tony Lindgren <tony@atomide.com>
To: Nishanth Menon <nm@ti.com>
Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
Rajendra Nayak <rnayak@ti.com>
Subject: Re: [PATCH] ARM: DRA722: add detection of SoC information.
Date: Mon, 16 Jun 2014 04:53:14 -0700 [thread overview]
Message-ID: <20140616115313.GG17845@atomide.com> (raw)
In-Reply-To: <1401390350-10048-1-git-send-email-nm@ti.com>
* Nishanth Menon <nm@ti.com> [140529 12:07]:
> Add support for DRA72x device DIEID. Currently these devices are
> reported as DRA75/74 family of processors.
>
> Signed-off-by: Nishanth Menon <nm@ti.com>
Thanks applying into omap-for-v3.16/fixes.
Tony
> ---
> (test using linux-next next-20140529 tag):
> before: http://slexy.org/raw/s21Yb8sOhy
> after: http://slexy.org/raw/s20Nx96NrY
>
> Applies on:
> git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git
> branch: omap-for-v3.16/soc
>
> arch/arm/mach-omap2/id.c | 12 ++++++++++++
> arch/arm/mach-omap2/soc.h | 1 +
> 2 files changed, 13 insertions(+)
>
> diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
> index 71bf216..801244a 100644
> --- a/arch/arm/mach-omap2/id.c
> +++ b/arch/arm/mach-omap2/id.c
> @@ -649,6 +649,18 @@ void __init dra7xxx_check_revision(void)
> }
> break;
>
> + case 0xb9bc:
> + switch (rev) {
> + case 0:
> + omap_revision = DRA722_REV_ES1_0;
> + break;
> + default:
> + /* If we have no new revisions */
> + omap_revision = DRA722_REV_ES1_0;
> + break;
> + }
> + break;
> +
> default:
> /* Unknown default to latest silicon rev as default*/
> pr_warn("%s: unknown idcode=0x%08x (hawkeye=0x%08x,rev=0x%d)\n",
> diff --git a/arch/arm/mach-omap2/soc.h b/arch/arm/mach-omap2/soc.h
> index de2a34c..01ca808 100644
> --- a/arch/arm/mach-omap2/soc.h
> +++ b/arch/arm/mach-omap2/soc.h
> @@ -462,6 +462,7 @@ IS_OMAP_TYPE(3430, 0x3430)
> #define DRA7XX_CLASS 0x07000000
> #define DRA752_REV_ES1_0 (DRA7XX_CLASS | (0x52 << 16) | (0x10 << 8))
> #define DRA752_REV_ES1_1 (DRA7XX_CLASS | (0x52 << 16) | (0x11 << 8))
> +#define DRA722_REV_ES1_0 (DRA7XX_CLASS | (0x22 << 16) | (0x10 << 8))
>
> void omap2xxx_check_revision(void);
> void omap3xxx_check_revision(void);
> --
> 1.7.9.5
>
WARNING: multiple messages have this Message-ID (diff)
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: DRA722: add detection of SoC information.
Date: Mon, 16 Jun 2014 04:53:14 -0700 [thread overview]
Message-ID: <20140616115313.GG17845@atomide.com> (raw)
In-Reply-To: <1401390350-10048-1-git-send-email-nm@ti.com>
* Nishanth Menon <nm@ti.com> [140529 12:07]:
> Add support for DRA72x device DIEID. Currently these devices are
> reported as DRA75/74 family of processors.
>
> Signed-off-by: Nishanth Menon <nm@ti.com>
Thanks applying into omap-for-v3.16/fixes.
Tony
> ---
> (test using linux-next next-20140529 tag):
> before: http://slexy.org/raw/s21Yb8sOhy
> after: http://slexy.org/raw/s20Nx96NrY
>
> Applies on:
> git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git
> branch: omap-for-v3.16/soc
>
> arch/arm/mach-omap2/id.c | 12 ++++++++++++
> arch/arm/mach-omap2/soc.h | 1 +
> 2 files changed, 13 insertions(+)
>
> diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
> index 71bf216..801244a 100644
> --- a/arch/arm/mach-omap2/id.c
> +++ b/arch/arm/mach-omap2/id.c
> @@ -649,6 +649,18 @@ void __init dra7xxx_check_revision(void)
> }
> break;
>
> + case 0xb9bc:
> + switch (rev) {
> + case 0:
> + omap_revision = DRA722_REV_ES1_0;
> + break;
> + default:
> + /* If we have no new revisions */
> + omap_revision = DRA722_REV_ES1_0;
> + break;
> + }
> + break;
> +
> default:
> /* Unknown default to latest silicon rev as default*/
> pr_warn("%s: unknown idcode=0x%08x (hawkeye=0x%08x,rev=0x%d)\n",
> diff --git a/arch/arm/mach-omap2/soc.h b/arch/arm/mach-omap2/soc.h
> index de2a34c..01ca808 100644
> --- a/arch/arm/mach-omap2/soc.h
> +++ b/arch/arm/mach-omap2/soc.h
> @@ -462,6 +462,7 @@ IS_OMAP_TYPE(3430, 0x3430)
> #define DRA7XX_CLASS 0x07000000
> #define DRA752_REV_ES1_0 (DRA7XX_CLASS | (0x52 << 16) | (0x10 << 8))
> #define DRA752_REV_ES1_1 (DRA7XX_CLASS | (0x52 << 16) | (0x11 << 8))
> +#define DRA722_REV_ES1_0 (DRA7XX_CLASS | (0x22 << 16) | (0x10 << 8))
>
> void omap2xxx_check_revision(void);
> void omap3xxx_check_revision(void);
> --
> 1.7.9.5
>
next prev parent reply other threads:[~2014-06-16 11:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-29 19:05 [PATCH] ARM: DRA722: add detection of SoC information Nishanth Menon
2014-05-29 19:05 ` Nishanth Menon
2014-06-16 11:53 ` Tony Lindgren [this message]
2014-06-16 11:53 ` Tony Lindgren
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=20140616115313.GG17845@atomide.com \
--to=tony@atomide.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=nm@ti.com \
--cc=rnayak@ti.com \
/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.