ARM: tegra: Add NCT access api and sysfs interface
authorJoshua Cha <joshuac@nvidia.com>
Wed, 13 Mar 2013 01:54:55 +0000 (10:54 +0900)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:13:45 +0000 (13:13 -0700)
commit966b8ae9a0f22a64f4d6c4819e7dafc134b0d890
treef7c32bca552a39bce2254f27fd446a1a09a4eebd
parent8321d5f35d8c51aebdd8f264d9da8f41256edf4c
ARM: tegra: Add NCT access api and sysfs interface

NCT is the acronym for Nvidia Configuration Table.
This change provides API to read NCT items from NCT carveout region
and create sysfs interface for userspace to read items.

Bug 1223662

Change-Id: Id6f887fd9c458f4f9c3dfe27f6a95fbe930cfb00
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/208680
(cherry picked from commit d6234478cd3e92b8c739e806998b9f75e732d714)
Reviewed-on: http://git-master/r/226216
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
arch/arm/mach-tegra/Kconfig
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/board.h
arch/arm/mach-tegra/common.c
arch/arm/mach-tegra/include/mach/nct.h [new file with mode: 0644]
arch/arm/mach-tegra/nct.c [new file with mode: 0644]
arch/arm/mach-tegra/nct_sysfs.c [new file with mode: 0644]