From: Tony Lindgren <tony@atomide.com>
To: Vaibhav Hiremath <hvaibhav@ti.com>
Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ARM: OMAP2: AM33XX: id: Add support for new AM335x PG2.1 Si
Date: Wed, 8 May 2013 16:33:06 -0700 [thread overview]
Message-ID: <20130508233306.GU32546@atomide.com> (raw)
In-Reply-To: <1367691820-11875-1-git-send-email-hvaibhav@ti.com>
* Vaibhav Hiremath <hvaibhav@ti.com> [130504 11:29]:
> Add support for chip id detection of AM335x PG2.1 Silicon.
>
> Currently omap3xxx_check_revision() detects PG1.0 and PG2.0 only,
> this patch extends it by adding PG2.1 Si support.
>
> Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Thanks applying into omap-for-v3.10/fixes.
Tony
> ---
> arch/arm/mach-omap2/id.c | 8 ++++++--
> arch/arm/mach-omap2/soc.h | 1 +
> 2 files changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
> index 0f4c18e..9bc5a18 100644
> --- a/arch/arm/mach-omap2/id.c
> +++ b/arch/arm/mach-omap2/id.c
> @@ -419,11 +419,15 @@ void __init omap3xxx_check_revision(void)
> cpu_rev = "1.0";
> break;
> case 1:
> - /* FALLTHROUGH */
> - default:
> omap_revision = AM335X_REV_ES2_0;
> cpu_rev = "2.0";
> break;
> + case 2:
> + /* FALLTHROUGH */
> + default:
> + omap_revision = AM335X_REV_ES2_1;
> + cpu_rev = "2.1";
> + break;
> }
> break;
> case 0xb8f2:
> diff --git a/arch/arm/mach-omap2/soc.h b/arch/arm/mach-omap2/soc.h
> index 18fdeeb..ccef2dd 100644
> --- a/arch/arm/mach-omap2/soc.h
> +++ b/arch/arm/mach-omap2/soc.h
> @@ -396,6 +396,7 @@ IS_OMAP_TYPE(3430, 0x3430)
> #define AM335X_CLASS 0x33500033
> #define AM335X_REV_ES1_0 AM335X_CLASS
> #define AM335X_REV_ES2_0 (AM335X_CLASS | (0x1 << 8))
> +#define AM335X_REV_ES2_1 (AM335X_CLASS | (0x2 << 8))
>
> #define OMAP443X_CLASS 0x44300044
> #define OMAP4430_REV_ES1_0 (OMAP443X_CLASS | (0x10 << 8))
> --
> 1.7.0.4
>
WARNING: multiple messages have this Message-ID (diff)
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: OMAP2: AM33XX: id: Add support for new AM335x PG2.1 Si
Date: Wed, 8 May 2013 16:33:06 -0700 [thread overview]
Message-ID: <20130508233306.GU32546@atomide.com> (raw)
In-Reply-To: <1367691820-11875-1-git-send-email-hvaibhav@ti.com>
* Vaibhav Hiremath <hvaibhav@ti.com> [130504 11:29]:
> Add support for chip id detection of AM335x PG2.1 Silicon.
>
> Currently omap3xxx_check_revision() detects PG1.0 and PG2.0 only,
> this patch extends it by adding PG2.1 Si support.
>
> Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Thanks applying into omap-for-v3.10/fixes.
Tony
> ---
> arch/arm/mach-omap2/id.c | 8 ++++++--
> arch/arm/mach-omap2/soc.h | 1 +
> 2 files changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
> index 0f4c18e..9bc5a18 100644
> --- a/arch/arm/mach-omap2/id.c
> +++ b/arch/arm/mach-omap2/id.c
> @@ -419,11 +419,15 @@ void __init omap3xxx_check_revision(void)
> cpu_rev = "1.0";
> break;
> case 1:
> - /* FALLTHROUGH */
> - default:
> omap_revision = AM335X_REV_ES2_0;
> cpu_rev = "2.0";
> break;
> + case 2:
> + /* FALLTHROUGH */
> + default:
> + omap_revision = AM335X_REV_ES2_1;
> + cpu_rev = "2.1";
> + break;
> }
> break;
> case 0xb8f2:
> diff --git a/arch/arm/mach-omap2/soc.h b/arch/arm/mach-omap2/soc.h
> index 18fdeeb..ccef2dd 100644
> --- a/arch/arm/mach-omap2/soc.h
> +++ b/arch/arm/mach-omap2/soc.h
> @@ -396,6 +396,7 @@ IS_OMAP_TYPE(3430, 0x3430)
> #define AM335X_CLASS 0x33500033
> #define AM335X_REV_ES1_0 AM335X_CLASS
> #define AM335X_REV_ES2_0 (AM335X_CLASS | (0x1 << 8))
> +#define AM335X_REV_ES2_1 (AM335X_CLASS | (0x2 << 8))
>
> #define OMAP443X_CLASS 0x44300044
> #define OMAP4430_REV_ES1_0 (OMAP443X_CLASS | (0x10 << 8))
> --
> 1.7.0.4
>
next prev parent reply other threads:[~2013-05-08 23:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-04 18:23 [PATCH] ARM: OMAP2: AM33XX: id: Add support for new AM335x PG2.1 Si Vaibhav Hiremath
2013-05-04 18:23 ` Vaibhav Hiremath
2013-05-04 18:23 ` Vaibhav Hiremath
2013-05-08 23:33 ` Tony Lindgren [this message]
2013-05-08 23:33 ` 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=20130508233306.GU32546@atomide.com \
--to=tony@atomide.com \
--cc=hvaibhav@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.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 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.