Re: [PATCH V2 2/3] soc/tegra: fuse: Correct Tegra194 revision
From: Jon Hunter
Date: Fri Apr 17 2020 - 07:45:16 EST
On 31/03/2020 11:33, Jon Hunter wrote:
> Determining the revision for Tegra194 devices is slightly different from
> previous generations. For Tegra194, the majorrev field of the HIDREV
> register determines if the major revision is A, B, C, etc and the
> minorrev field determines if the minorrev is 01, 02, 03, etc.
>
> For Tegra194, there are two main revisions which are A01 and A02.
> Therefore, add a new function to correctly identify the revision for
> Tegra194 devices.
>
> Signed-off-by: Jon Hunter <jonathanh@xxxxxxxxxx>
> ---
> drivers/soc/tegra/fuse/fuse-tegra20.c | 3 ++-
> drivers/soc/tegra/fuse/fuse-tegra30.c | 8 ++++++-
> drivers/soc/tegra/fuse/fuse.h | 2 ++
> drivers/soc/tegra/fuse/tegra-apbmisc.c | 29 ++++++++++++++++++++++++++
> 4 files changed, 40 insertions(+), 2 deletions(-)
Although there is a slight difference, it turns out that the existing
code does work fine for Tegra194 as well and so I will drop this change
as it is not needed.
Jon
--
nvpublic