Commit Graph

3515 Commits

Author SHA1 Message Date
Laxman Dewangan
e37c28218e platform/tegra: Add common central actmon implementation
Add central actmon common functionality for actomon
driver implementation instead of dummy implementation.

Bug 3583573

Change-Id: Iff1512e62fc01431899515c78717d5afdae8d910
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2705646
GVS: Gerrit_Virtual_Submit
2022-05-01 12:43:29 -07:00
Laxman Dewangan
1c042c10b4 soc/tegra: Add Kfuse driver
Add kfuse driver. The kfuse block stores downstream
and upstream HDCP keys for use by the HDMI module.

Bug 3625675

Change-Id: Ie4b23c161035439266ec7dda54b61e84799a6d5a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2705641
GVS: Gerrit_Virtual_Submit
2022-05-01 12:43:20 -07:00
Laxman Dewangan
3637fb99cb arm64: Add RAS driver for ARM64-RAS
RAS are three aspects of the dependability of a system:
   Reliability: continuity of correct service
   Availability: readiness for correct service
   Serviceability: ability to undergo modifications and repairs

ARMv8.2 provides RAS extensions to achieve the above features in a system.

arm64_ras driver allows you to handle Correctable errors using per core
Fault Handling Interrupt (or FHI). Un-correactable errors are handled by
raising SError exception to kernel or Trusted Firmware(EL3) on CCLEX.

The driver provides an API for CPU specific RAS drivers to
register callbacks in case of FHI. When FHI occurs, the FHI
ISR goes through the list of registered callbacks and executes
them. Similarly, the driver allows registering SError callbacks
for Un-correctable errors within Core, Core-Cluster & CCPLEX.
When SError is reported, then those callbacks are scanned to
find and report error in a Core, Cluster or CCPLEX

Bug 3625675

Change-Id: I6dba7178fa7bbcf55bfa083be1b077874f4865c9
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2705396
GVS: Gerrit_Virtual_Submit
2022-05-01 09:26:37 -07:00
Laxman Dewangan
527743a5c3 platform/tegra: Add Tegra Central Activity Monitor driver
Actmon is a hardware block that can be used to track the activity of
certain hardware units. It can boost EMC clock depending
on the memory traffic among various client. It is called central actmon
as it monitors central activity for example MC activity.

Add central activity monitor driver.

Bug 3625675

Change-Id: I1a5918e7d84bc247f694f53f965c28888b773c91
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2705395
GVS: Gerrit_Virtual_Submit
2022-05-01 09:26:33 -07:00
Laxman Dewangan
d75309658f platform/tegra: Add bad driver for memory access check
Add bad driver which check the memory access more than
allocated size.

Bug 3625675

Change-Id: Iad248a00f3c0f6b71ea060a9e5475123cd893bc2
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2705394
GVS: Gerrit_Virtual_Submit
2022-05-01 09:26:28 -07:00
Laxman Dewangan
8fdd97797e pinctrl: Add pinctrl drivers for Nvidia Tegra234
Add pinctrl driver for NVIDIA Tegra234 for providing the
pin mux functionality of SoC pins.

Bug 3621816

Change-Id: Ibc1c334ee21c26f1ef57c7e626f8e16cb5833e53
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2704712
GVS: Gerrit_Virtual_Submit
2022-04-30 06:18:02 -07:00
Laxman Dewangan
2edab300a2 pinctrl: Add pinctrl driver for Tegra PEX pad controller
Add pinctrl driver for the NVIDIA Tegra pex pad controller.

Bug 3621816

Change-Id: I16d05c78882b84819c8911e43899f9cf9400acda
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2704359
GVS: Gerrit_Virtual_Submit
2022-04-30 06:17:53 -07:00
Laxman Dewangan
f0d8583fca pinctrl: Add pinctrl driver for tegra234 DP AUX
Add pinctrl driver for the Tegra234 DP Aux drivers.

Bug 3621816

Change-Id: I5709ae1797e98497675d6af20adb8157298ecec8
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2704300
GVS: Gerrit_Virtual_Submit
2022-04-30 06:17:31 -07:00
Laxman Dewangan
3a5b645b03 pwm: Add pwm based Tegra tachometer
Add PWM based NVIDIA tegra tachometer which capture the pwm
and reports the speed.

Bug 3621819

Change-Id: I1b5a9d326ce8452d2a4fb41e41d5e79d8f1cb8e8
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2703760
GVS: Gerrit_Virtual_Submit
2022-04-29 06:17:22 -07:00
Laxman Dewangan
5ee5661688 hwmon: Add pwm based generic tachometer
Add PWM based generic tachometer which capture the pwm
and report the speed.

Bug 3621819

Change-Id: I08d7fc808c3a29d6876026ce539e3467887f8112
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2703728
GVS: Gerrit_Virtual_Submit
2022-04-29 06:17:12 -07:00
Laxman Dewangan
80ef5179fe watchdog: Add NVIDIA Tegra watchdog timer driver
Add NVIDIA Tegra watchdog timer driver.

Bug 3583627

Change-Id: Iaa4c54c990eac7e74adfce342f22df413349f863
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2702335
GVS: Gerrit_Virtual_Submit
2022-04-25 22:44:58 -07:00
Laxman Dewangan
95b8f25957 mfd: Add mfd driver for nvidia VRS sequence
Add mfd driver for NVIDIA VRS sequencer. This device sequence
the power rail required by SoCs.

Bug 3583627

Change-Id: I774c286a61a5192478b9e8ceea839193c7cf6fe5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2702275
GVS: Gerrit_Virtual_Submit
2022-04-25 22:44:28 -07:00
Laxman Dewangan
ea19becc1b thermal: Add thermal driver for temperature sensor pex9749
Add thermal driver for temperature sensor pex9749.

Bug 3587973

Change-Id: I5bd10b37881e3150137864437358f9679ed5a5f9
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2701479
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2022-04-23 09:02:46 -07:00
Laxman Dewangan
21fb8a4e3a watchdog: Add software based watchdog timer
Add software based watchdog timer.

Change-Id: I923b1ea608d25105c5ad43bb561343cc2e403f3b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2674177
2022-02-28 04:27:34 -08:00
Laxman Dewangan
fe929331f4 drivers: Add dummy Makefile as placeholder
Add dummy Makefile as placeholder so that build
system should not report any error.

Change-Id: If8b0d0bb3c7b01a34c775f443b4c5ce87c635b22
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2672736
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2022-02-23 11:23:53 -08:00