ARM: tegra: soctherm: add OC interrupt support
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 1 Apr 2013 11:41:21 +0000 (16:41 +0530)
committerMrutyunjay Sawant <msawant@nvidia.com>
Wed, 3 Apr 2013 08:05:44 +0000 (01:05 -0700)
commitcb76cf5609787c416e9516e5b9cb72d63efd28eb
tree6b3fa26d08b1c44a8f6959ea04dfac47357bbf5e
parentd4d4f4b8555afd621c108beb9cf610d8f74d3208
ARM: tegra: soctherm: add OC interrupt support

The soctherm_oc pins are generally connected to the device
OC pins and sometimes this pins from device act as interrupt
line also.

In this case, it is require to act the tegra oc pin as SFIO and
route the interrupt call to device's isr.

Adding OC interrupt support so that soctherm can provide the interrupt
number and device can register with this irq number for handling their
interrupts.

Change-Id: Ibcb36afda9960305343f93109bb5d60b16e2320d
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/215055
arch/arm/mach-tegra/tegra11_soctherm.c
arch/arm/mach-tegra/tegra11_soctherm.h