2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-03 19:24:02 +08:00
linux-next/drivers/soc/tegra
Jon Hunter 379ac9eb1f soc/tegra: fuse: Add custom SoC attributes
Add a custom SoC attribute for Tegra to expose the HIDREV register
fields to userspace via the sysfs. This register provides additional
details about the type of device (eg, silicon, FPGA, etc) as well as
revision. Exposing this information is useful for identifying the
exact device revision and device type.

For Tegra devices up until Tegra186, the majorrev and minorrev fields of
the HIDREV register are used to determine the device revision and device
type. For Tegra194, the majorrev and minorrev fields only determine the
revision. Starting with Tegra194, there is an additional field,
pre_si_platform (which occupies bits 20-23), that now determines device
type. Therefore, for all Tegra devices, add a custom SoC attribute for
the majorrev and minorrev fields and for Tegra194 add an additional
attribute for the pre_si_platform field.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2020-04-22 00:07:23 +02:00
..
fuse soc/tegra: fuse: Add custom SoC attributes 2020-04-22 00:07:23 +02:00
common.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
flowctrl.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
Kconfig soc/tegra: fuse: Add APB DMA dependency for Tegra20 2020-01-10 15:30:11 +01:00
Makefile soc/tegra: regulators: Add regulators coupler for Tegra30 2019-10-29 14:02:59 +01:00
pmc.c soc/tegra: pmc: Enable PMIC wake event on Tegra186 2020-04-22 00:04:19 +02:00
powergate-bpmp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
regulators-tegra20.c soc/tegra: regulators: Do nothing if voltage is unchanged 2020-01-10 15:42:58 +01:00
regulators-tegra30.c soc/tegra: regulators: Do nothing if voltage is unchanged 2020-01-10 15:42:58 +01:00