From: swarren@wwwdotorg•org (Stephen Warren)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH v2] ARM: tegra: expose chip ID and revision
Date: Tue, 12 Mar 2013 11:58:56 -0600 [thread overview]
Message-ID: <513F6CE0.2090600@wwwdotorg.org> (raw)
In-Reply-To: <1363089667-15737-1-git-send-email-dahuang@nvidia.com>
On 03/12/2013 06:01 AM, Danny Huang wrote:
> Expose Tegra chip ID and revision in /sys/devices/soc for user mode
> usage
> diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
> index d1c4893..b7abcfa 100644
> --- a/arch/arm/mach-tegra/Kconfig
> +++ b/arch/arm/mach-tegra/Kconfig
> @@ -17,6 +17,7 @@ config ARCH_TEGRA_2x_SOC
> select PINCTRL_TEGRA20
> select PL310_ERRATA_727915 if CACHE_L2X0
> select PL310_ERRATA_769419 if CACHE_L2X0
> + select SOC_BUS
> select USB_ARCH_HAS_EHCI if USB_SUPPORT
> select USB_ULPI if USB
> select USB_ULPI_VIEWPORT if USB_SUPPORT
> @@ -36,6 +37,7 @@ config ARCH_TEGRA_3x_SOC
> select PINCTRL
> select PINCTRL_TEGRA30
> select PL310_ERRATA_769419 if CACHE_L2X0
> + select SOC_BUS
> select USB_ARCH_HAS_EHCI if USB_SUPPORT
> select USB_ULPI if USB
> select USB_ULPI_VIEWPORT if USB_SUPPORT
> @@ -51,6 +53,7 @@ config ARCH_TEGRA_114_SOC
> select CPU_V7
> select PINCTRL
> select PINCTRL_TEGRA114
> + select SOC_BUS
> help
I assume we'll want this feature for all Tegra SoCs. Can't we select it
from ARCH_TEGRA, rather than separately for each chip? CONFIG_ARCH_TEGRA
is defined in arch/arm/Kconfig.
next prev parent reply other threads:[~2013-03-12 17:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-12 12:01 [PATCH v2] ARM: tegra: expose chip ID and revision Danny Huang
2013-03-12 12:16 ` Russell King - ARM Linux
2013-03-12 12:59 ` Arnd Bergmann
2013-03-12 18:04 ` Stephen Warren
2013-03-12 19:10 ` Arnd Bergmann
2013-03-12 19:45 ` Stephen Warren
2013-03-12 17:58 ` Stephen Warren [this message]
2013-03-12 18:01 ` Stephen Warren
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=513F6CE0.2090600@wwwdotorg.org \
--to=swarren@wwwdotorg$(echo .)org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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