[PATCH v2] ARM: tegra: expose chip ID and revision

Stephen Warren swarren at wwwdotorg.org
Tue Mar 12 14:01:24 EDT 2013


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/common.c b/arch/arm/mach-tegra/common.c

> +void __init tegra_soc_device_init(void)

Oh, and since this is exposing data that's initialized by Tegra's
fuse.c, wouldn't it make sense to put this function into fuse.c at the
end of its initialization function?



More information about the linux-arm-kernel mailing list