On Wed, 2013-03-20 at 09:50 +0800, Stephen Warren wrote:
> On 03/19/2013 07:39 PM, Danny Huang wrote:
> > On Wed, 2013-03-20 at 02:05 +0800, Stephen Warren wrote:
> >> On 03/18/2013 08:33 PM, Danny Huang wrote:
> >>> Add functions to read the speedo and process id of
On Wed, 2013-03-20 at 01:54 +0800, Stephen Warren wrote:
> On 03/18/2013 05:17 AM, Danny Huang wrote:
> > Add speedo-based process identifictaion for Tegra114.
>
> I have applied this to Tegra's for-3.10/soc branch, with one addition below:
>
> > dif
On Wed, 2013-03-20 at 02:05 +0800, Stephen Warren wrote:
> On 03/18/2013 08:33 PM, Danny Huang wrote:
> > Add functions to read the speedo and process id of both cpu and soc.
> > There might be some drivers need the information as well.
>
> What code wants to use these funct
Add functions to read the speedo and process id of both cpu and soc.
There might be some drivers need the information as well.
Signed-off-by: Danny Huang
---
arch/arm/mach-tegra/fuse.c | 24
include/linux/tegra-soc.h | 6 +-
2 files changed, 29 insertions(+), 1
Add speedo-based process identifictaion for Tegra114.
Based on the work by:
Alex Frid
Signed-off-by: Danny Huang
---
arch/arm/mach-tegra/Makefile | 1 +
arch/arm/mach-tegra/fuse.c| 4 ++
arch/arm/mach-tegra/fuse.h| 7 +++
arch/arm/mach-tegra
On Sat, 2013-03-16 at 01:36 +0800, Stephen Warren wrote:
> On 03/14/2013 01:40 AM, Danny Huang wrote:
> > Add speedo-based process identifictaion for Tegra114.
> >
> > Based on the work by:
> > Alex Frid
>
> This code is surprisingly quite a bit simpler than the
Add speedo-based process identifictaion for Tegra114.
Based on the work by:
Alex Frid
Signed-off-by: Danny Huang
---
arch/arm/mach-tegra/Makefile | 1 +
arch/arm/mach-tegra/fuse.c| 4 ++
arch/arm/mach-tegra/fuse.h| 7 +++
arch/arm/mach-tegra
Expose Tegra chip ID and revision in /sys/devices/soc for user mode
usage
Signed-off-by: Danny Huang
---
arch/arm/Kconfig| 1 +
arch/arm/mach-tegra/tegra.c | 29 -
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/arch/arm/Kconfig b/arch/arm
Expose Tegra chip ID and revision in /sys/devices/soc for user mode
usage
Signed-off-by: Danny Huang
---
arch/arm/Kconfig| 1 +
arch/arm/mach-tegra/tegra.c | 31 ++-
2 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/arch/arm/Kconfig b/arch
Expose Tegra chip ID and revision in /sys/devices/soc for user mode
usage
Signed-off-by: Danny Huang
---
arch/arm/mach-tegra/Kconfig | 3 +++
arch/arm/mach-tegra/common.c | 23 +++
2 files changed, 26 insertions(+)
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach
Expose tegra chip id and revision in /proc/cpu/chipinfo for user mode
usage.
Signed-off-by: Danny Huang
---
arch/arm/mach-tegra/fuse.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/mach-tegra/fuse.c b/arch/arm/mach-tegra/fuse.c
index f7db078..7895542 100644
Change the spare fuse base from a definition to a variable.
It provides flexibilty to read spare fuse on different chip.
Signed-off-by: Danny Huang
---
arch/arm/mach-tegra/fuse.c | 19 ---
arch/arm/mach-tegra/fuse.h | 2 ++
2 files changed, 14 insertions(+), 7 deletions
Detect CPU and core process ID by checking speedo corner tables.
This can provide a more accurate process ID.
Signed-off-by: Danny Huang
---
arch/arm/mach-tegra/Makefile | 1 +
arch/arm/mach-tegra/fuse.c | 31 +++---
arch/arm/mach-tegra/fuse.h | 7 +++
arch
* Change size check of speedo cornor table
* Set speedo id to 0 with unknown chip revision/SKU
* Set process id to 0 when speedo value out of range
Danny Huang (3):
ARM: tegra: flexible spare fuse read function
ARM: tegra: Add speedo-based process identification
ARM: tegra: T30 speedo-based
This patch adds speedo-based process identification support for T30.
Signed-off-by: Danny Huang
---
arch/arm/mach-tegra/Makefile | 1 +
arch/arm/mach-tegra/fuse.c | 11 +-
arch/arm/mach-tegra/fuse.h | 7 +
arch/arm/mach-tegra/tegra30_speedo.c | 292
This patch adds speedo-based identification support for T30.
Signed-off-by: Danny Huang
---
arch/arm/mach-tegra/Makefile | 1 +
arch/arm/mach-tegra/fuse.c | 26 +++-
arch/arm/mach-tegra/fuse.h | 8 +
arch/arm/mach-tegra/tegra30_speedo.c | 290
Detect CPU and core process ID by checking speedo corner tables.
This can provide a more accurate process ID.
Signed-off-by: Danny Huang
---
arch/arm/mach-tegra/Makefile | 1 +
arch/arm/mach-tegra/fuse.c | 13 ++---
arch/arm/mach-tegra/fuse.h | 8 +++
arch/arm
This patch series adds speedo identification functionality for tegra
T20 and T30. It reads speedo value from fuse and chooses CPU and core
process ID by checking speedo corner tables.
Danny Huang (2):
ARM: tegra: Add speedo-based process identification
ARM: tegra: T30 speedo-based
18 matches
Mail list logo