[PATCH 3/3] soc/tegra: fuse: Add Tegra132 support

Thierry Reding thierry.reding at gmail.com
Thu Jan 8 00:50:20 PST 2015


On Thu, Jan 08, 2015 at 03:42:14PM +0800, Vince Hsu wrote:
> 
> On 01/08/2015 03:24 PM, Thierry Reding wrote:
> >From: Thierry Reding <treding at nvidia.com>
> >
> >Tegra132 is very similar to Tegra124 from a peripheral point of view and
> >uses the same fuse controller.
> >
> >Signed-off-by: Thierry Reding <treding at nvidia.com>
> >---
> >  drivers/soc/tegra/fuse/fuse-tegra.c   | 1 +
> >  drivers/soc/tegra/fuse/fuse-tegra30.c | 2 ++
> >  2 files changed, 3 insertions(+)
> >
> >diff --git a/drivers/soc/tegra/fuse/fuse-tegra.c b/drivers/soc/tegra/fuse/fuse-tegra.c
> >index 011a3363c265..c0d660f1aaac 100644
> >--- a/drivers/soc/tegra/fuse/fuse-tegra.c
> >+++ b/drivers/soc/tegra/fuse/fuse-tegra.c
> >@@ -81,6 +81,7 @@ static const struct of_device_id car_match[] __initconst = {
> >  	{ .compatible = "nvidia,tegra30-car", },
> >  	{ .compatible = "nvidia,tegra114-car", },
> >  	{ .compatible = "nvidia,tegra124-car", },
> >+	{ .compatible = "nvidia,tegra132-car", },
> >  	{},
> >  };
> >diff --git a/drivers/soc/tegra/fuse/fuse-tegra30.c b/drivers/soc/tegra/fuse/fuse-tegra30.c
> >index d1a4290cda5c..11fe22e0de73 100644
> >--- a/drivers/soc/tegra/fuse/fuse-tegra30.c
> >+++ b/drivers/soc/tegra/fuse/fuse-tegra30.c
> >@@ -184,6 +184,8 @@ static void __init legacy_fuse_init(void)
> >  	case TEGRA124:
> >  		fuse_info = &tegra124_info;
> >  		break;
> >+	case TEGRA132:
> >+		fuse_info = &tegra124_info;
> Fall through intentionally?

Nope, good catch.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150108/fb1c0a7e/attachment.sig>


More information about the linux-arm-kernel mailing list