Commit Graph

3184 Commits

Author SHA1 Message Date
Laxman Dewangan
cd924ab2b2 Documentation: Add DT binding doc for Tegra i2c-slave
Add DT binding document for NVIDIA Tegra I2C slave controller.

Bug 3631219

Change-Id: Iec8f9f9cd6ce7ab443f2751bb141e03ed9b448ba
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2705959
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
GVS: Gerrit_Virtual_Submit
2022-05-02 23:17:00 -07:00
Laxman Dewangan
d7cfbd7ad1 i2c: busses: Add I2C tegra slave driver in byte mode
Add I2C slave driver for NVIDIA Tegra which works
in byte mode of data transfer i.e. rx/tx interrupts
per byte.

Bug 3631219

Change-Id: Ic40b868a3d195495550148a89d41f9d5d799d7ac
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2705958
GVS: Gerrit_Virtual_Submit
2022-05-02 23:16:55 -07:00
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
2bf79d8c1a documentation: Add DT binding document for Tegra KFuse
Add Device Tree binding document for the Tegra KFuse

Bug 3625675

Change-Id: I8bc4fd3b1353d4ae8ca253e9aeed9d0116d8af93
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2705642
GVS: Gerrit_Virtual_Submit
2022-05-01 12:43:25 -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
6d96357ebe documentation: Add DT binding document for ARM64 RAS
Add Device Tree binding document for the ARM64 RAS.

Bug 3625675

Change-Id: If992f72a67e6269ae8e9b63863cf485c05cecff4
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2705398
GVS: Gerrit_Virtual_Submit
2022-05-01 09:26:46 -07:00
Laxman Dewangan
857718b2ad documentation: Add DT binding document for central activity monitor
Add Device Tree binding document for the NVIDIA Tegra central
activity monitor device.

Bug 3625675

Change-Id: I85dc848b561802dd749f59c0a57654264f83f082
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2705397
GVS: Gerrit_Virtual_Submit
2022-05-01 09:26:41 -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
7435d5749a documentation: Add DT binding document for Tegra234 pinmux controller
Add Device Tree binding document for the NVIDIA Tegra234 pinmux controller.

Bug 3621816

Change-Id: Ide78ac3bccbce341afe1e648d901e4f0ffb27bdf
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2704710
GVS: Gerrit_Virtual_Submit
2022-04-30 06:18:11 -07:00
Laxman Dewangan
c2bf51b5fe documentation: Add DT binding document for Tegra PEX pad controller
Add Device Tree binding document for the NVIDIA Tegra PEX pad
controller.

Bug 3621816

Change-Id: I6df186f88c5ea48242472a2c30288d9d0942e679
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2704360
GVS: Gerrit_Virtual_Submit
2022-04-30 06:18:06 -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
4a80517c10 pinctrl: Add drivers internal headers as driver-privates
Pinctrl drivers have few headers which are in driver folders
and it has declaration of exported APIs which are needed for
developing the device specific pinctrl driver.

Add such drivers in driver-private in out-of-tree includes
so that out-of-tree module can be developed.

bug 3621816

Change-Id: Iaf596873cd96a4af0ee551dc7b749c4bb758a86e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2704711
GVS: Gerrit_Virtual_Submit
2022-04-30 06:17:58 -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
7243c92f8e include: linux: Add header for tegra-prod apis
Add header file for tegra-prod APIs so that driver
can use the prod APIs. The implementation is kept as
dummy i.e. not supported.

Bug 3621816

Change-Id: I0aeada74eace74770bc3c5d2964b57ba9ba8f1c5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2704358
GVS: Gerrit_Virtual_Submit
2022-04-30 06:17:49 -07:00
Laxman Dewangan
6cf534dc34 documentation: Add DT binding document for Tegra234 DPAUX pin controller
Add Device Tree binding document for the Tegra234 DPAUX pin controller.

Bug 3621816

Change-Id: Ie4920ce584e0a41c692fcf9f7f4035c3ab971559
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2704301
GVS: Gerrit_Virtual_Submit
2022-04-30 06:17:35 -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
fb19a12e96 documentation: Add DT binding document for PWM tachometer driver
Add Device Tree binding document for the PWM based tachometer driver.

Bug 3621819

Change-Id: I186f473afbfbbf56741dcf7149f68823d1d01f30
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2703761
GVS: Gerrit_Virtual_Submit
2022-04-29 06:17:27 -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
048787d3cf documentation: Add DT binding document for generic PWM based tachometer
Add Device Tree binding document for the generic PWM based tachometer.

Bug 3621819

Change-Id: Ic8184e3e86d8708fd776d276e4d9994e4103b5ed
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2703730
GVS: Gerrit_Virtual_Submit
2022-04-29 06:17:17 -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
dc5237350d Documentation: Fix error from dt_binding_check
Fix the errors generated when running the dt_binding_check on the
DT binding document yaml format.

Change-Id: Ie000447c97e92532755a484be02c5b347216d774
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2702785
GVS: Gerrit_Virtual_Submit
2022-04-26 07:48:11 -07:00
Laxman Dewangan
e6d27a79da documentation: Add DT binding document for watchdog-tegra-t18x
Add Device Tree binding document for the NVIDIA Tegra watchdog timer.

Bug 3583627

Change-Id: I242585c8a543d03e0c58bfb9098fdbd1c780886e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2702336
GVS: Gerrit_Virtual_Submit
2022-04-25 22:45:02 -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
a2bb0f6898 documentation: Add DT binding document for nvidia-vrs-pseq
Add Device Tree binding document for the NVIDIA VRS power sequencer
device.

Bug 3583627

Change-Id: I708ec9377543228d60a91defe57a8c88b2fc7b0a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2702276
GVS: Gerrit_Virtual_Submit
2022-04-25 22:44:33 -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
e658a56460 DTS: Add empty overlay DTS file as placeholder
Add empty overlay DTS file as placeholder and enable
the build and flashing. The build will generate the
respective DTBO file and it is flashed into the DTBO
partition.

Bug 3614924

Change-Id: I01ab9ce90b24a78f25eb442a14166e9f272b070e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2702020
GVS: Gerrit_Virtual_Submit
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
2022-04-25 09:02:57 -07:00
Laxman Dewangan
6ed6c05da2 DTS: Add makefile to build DTB/DTBO
Add makefile support to build DTB and DTBO from the
arch/arm64/boot/dts.

This will help to add the DTB/DTBOs for the platform which
are not upstreamed yet.

Change-Id: I1c01de68fbfefb0f6328f3a6a9cc8ff9c8b587cd
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2700778
GVS: Gerrit_Virtual_Submit
2022-04-24 10:19:51 -07:00
Laxman Dewangan
3c5adb91ea Documentation: devicetree: Add DT binding document for pex9749-thermal
Add device tree binding document for the thermal sensor pex9749.

bug 3587973

Change-Id: I0793854fd5a22cc2daa59408bb9adcb4aa78cade
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2701480
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2022-04-23 09:02:50 -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
Nehal Shastri
65e7023d32 Initial empty repository 2022-01-25 10:35:35 -08:00