[PATCH v8 0/6] efuse driver for Tegra
From: pdeschrijver@nvidia.com (Peter De Schrijver)
Date: 2014-06-13 08:00:52
Also in:
linux-devicetree, linux-tegra
From: pdeschrijver@nvidia.com (Peter De Schrijver)
Date: 2014-06-13 08:00:52
Also in:
linux-devicetree, linux-tegra
On Fri, Jun 13, 2014 at 09:23:28AM +0200, Peter De Schrijver wrote:
On Fri, Jun 13, 2014 at 12:17:02AM +0200, Stephen Warren wrote:quoted
On 06/12/2014 09:36 AM, Peter De Schrijver wrote:quoted
This driver allows userspace to read the raw efuse data. Its userspace interface is modelled after the sunxi_sid driver which provides similar functionality for some Allwinner SoCs. It has been tested on Tegra20 (ventana), Tegra30 (beaverboard), Tegra114 (dalmore) and Tegra124 (jetson TK1).I think this series looks OK now. However, I noticed one change in behaviour that I don't think is expected: The current code/DTB print: Tegra Revision: A01 SKU: 0 CPU Process: 0 Core Process: 0 However, applying these patches and booting yields: Tegra Revision: A01 SKU: 0 CPU Process: 1 Core Process: 1On which board/SoC?
I'm guessing you're running on Tegra124 because the silicon revision reported is A01. If this is correct then, the current output is bogus. The current fuse code does not have any Tegra124 support and will fall back to reading the same fuse bits as on Tegra20 to determine the process IDs. You should get a warning message though: 'Tegra: unknown chip id' Cheers, Peter.