sheetal
36c8e53545
[UPSTREAM] arm64: tegra: Add audio support for Jetson Orin NX and Jetson Orin Nano
...
Add audio support for the NVIDIA Jetson Orin NX (p3767, SKU0) module and
Jetson Orin Nano (p3767, SKU5) module Developer Kit with P3768 carrier
board.
APE and HDA sound cards are enabled.
Supported IO interfaces: I2S2 and I2S4.
Upstream commit ID: 5f360dbc22f17bb0f850039e955656528c6e8772
Bug 4429992
TAS-2240
Change-Id: I81f2086c7131a51ae8023ae82194e239008d55dc
Signed-off-by: sheetal <sheetal@nvidia.com >
Signed-off-by: Thierry Reding <treding@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3086460
Reviewed-by: Sameer Pujar <spujar@nvidia.com >
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-by: Mohan kumar <mkumard@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2024-03-13 05:17:59 -07:00
Sheetal
fb98e4d8ba
nv-public: p3767: Remove change from mainline DT
...
- While enabling audio for Orin NX and Nano maniline DT are modified
Removed the change from mainline DT and required nodes which will
not be defined in mainline DT is added to nv-platform DT file.
- Audio related changes for Orin NX and Nano are now in mainline.
Those will be taken while backporting.
Bug 4429992
TAS-2240
Change-Id: Ic93aabedd7b478e1b1c28e132139857e814b1c98
Signed-off-by: Sheetal <sheetal@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3082469
Reviewed-by: Sharad Gupta <sharadg@nvidia.com >
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-by: Sameer Pujar <spujar@nvidia.com >
Reviewed-by: Sandipan Patra <spatra@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
Reviewed-by: Mohan kumar <mkumard@nvidia.com >
2024-03-13 05:17:35 -07:00
Russell Xiao
bb96528e39
UPSTREAM: arm64: tegra: Use consistent SD/MMC aliases on Tegra234
...
Tegra234 boards use a mixture of aliases for the
SD/MMC hardware blocks, which can lead to confusion.
A common method was to use mmc3 as the alias for the
eMMC because "SDMMC3" happens to be the name of the
corresponding controller in the reference manual.
This isn't a great choice because there is no hardware
named SDMMC0, so the mmc0 alias would never get used
with that nomenclature and in fact mmc1 and mmc2
wouldn't either in many configurations, thereby
creating weird discontiguous enumeration.
Instead of trying to match the aliases to the hardware
block names, use mmc0 to denote the device's primary
SD/MMC controller (typically eMMC) and mmc1 for the
secondary SD/MMC controller (typically removable SD).
In cases where eMMC is the only controller we can omit
the mmc1 alias and if a device has no eMMC, the
removable SD card can be aliased to mmc0 instead.
Bug 4182005
Co-developed-by: Russell Xiao <russellx@nvidia.com >
Signed-off-by: Thierry Reding <treding@nvidia.com >
Link: https://lore.kernel.org/linux-tegra/20231219171523.557928-1-thierry.reding@gmail.com/
Signed-off-by: Russell Xiao <russellx@nvidia.com >
Change-Id: I67fed6013346031ab56422b1dab804a67645cae1
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3012675
(cherry picked from commit b72f483520 )
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3069160
Reviewed-by: Andrew Chew <achew@nvidia.com >
Reviewed-by: Brad Griffis <bgriffis@nvidia.com >
Tested-by: Brad Griffis <bgriffis@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2024-02-03 22:15:34 -08:00
Jon Hunter
9d60e5aaa8
arm64: tegra: Add power-sensors for Tegra234 boards
...
Populate the ina219 and ina3221 power-sensors for the various Tegra234
boards. These sensors are located on the Tegra234 module boards and the
configuration of some sensors is common across the different Tegra234
modules. Therefore, add any common sensor configurations to appropriate
device tree source file so it can be re-used across modules.
Change-Id: I3a1244497a27f6ecb2364bcb9112522a22dbae60
Signed-off-by: Jon Hunter <jonathanh@nvidia.com >
Signed-off-by: Thierry Reding <treding@nvidia.com >
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3036335
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-12-18 15:02:03 -08:00
Brad Griffis
54485ba2b6
arm64: tegra: Fix P3767 card detect polarity
...
The SD card detect pin is active-low on all Orin Nano and NX SKUs that
have an SD card slot.
Bug 4307643
Fixes: 13b0aca303e9 ("arm64: tegra: Support Jetson Orin NX")
Signed-off-by: Brad Griffis <bgriffis@nvidia.com >
Signed-off-by: Thierry Reding <treding@nvidia.com >
Change-Id: Ib62725a90625027150f7b55c41af0f18bc5f5e69
(cherry picked from mainline commit c6b7a1d11d0fa6333078141251908f48042016e1)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3015728
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-11-15 04:28:01 -08:00
Brad Griffis
02d148216c
arm64: tegra: Fix P3767 QSPI speed
...
The QSPI device used on Jetson Orin NX and Nano modules (p3767) is
the same as Jetson AGX Orin (p3701) and should have a maximum speed of
102 MHz.
Bug 3854990
Fixes: 13b0aca303e9 ("arm64: tegra: Support Jetson Orin NX")
Signed-off-by: Brad Griffis <bgriffis@nvidia.com >
Signed-off-by: Thierry Reding <treding@nvidia.com >
Change-Id: I150f32186f5102ff3e09873fc1c2784ebb3df87e
(cherry picked from mainline commit 57ea99ba176913c325fc8324a24a1b5e8a6cf520)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3015727
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-11-15 04:27:57 -08:00
Sheetal
53c13363cb
p3768: Enable APE nodes
...
- Enabled APE nodes.
- For Jetson IO tool:
- Added required labels.
- Defined regulator node.
Bug 4287075
Change-Id: I94a92fb460e00da2c59b9e537514a5d0a5b8710e
Signed-off-by: Sheetal <sheetal@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996845
(cherry picked from commit 58e42d9b14 )
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996755
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com >
Reviewed-by: Sharad Gupta <sharadg@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-10-19 12:11:45 -07:00
Thierry Reding
d3aa3fafe2
arm64: tegra: Add 35°C trip point for Jetson Orin NX/Nano
...
It turns out that these devices can get quite hot to the touch with the
standard cooling configuration, so add another trip point at 35°C along
with a cooling map to help keep the system reasonably cool at very low
system load.
Cherry picked from commit 22237440d89c870ec3f905a59f469998233718ec
Bug 4204722
Change-Id: I7eb212241600f945173f4702fa2f9d09a6daf232
Reviewed-by: Yi-Wei Wang <yiweiw@nvidia.com >
Signed-off-by: Thierry Reding <treding@nvidia.com >
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2946052
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2023-08-02 14:26:50 -07:00
Yi-Wei Wang
b83129f918
[UPSTREAM v6.5]: arm64: tegra: Enable thermal support on Jetson Orin NX
...
Enable the TJ thermal zone and hook up cooling maps for the PWM-
controlled fan and two trip points.
This also removes a duplicate definition of the PWM fan and changes its
cooling levels. This should have no effect, though, because the fan
wasn't previously connected to anything and by default would be turned
off at probe time.
Cherry picked from commit a6fb90f0eefb13e2cf18f39f1a84a9ef6054153b
Bug 3960800
Bug 4035713
Bug 4204722
Acked-by: Jon Hunter <jonathanh@nvidia.com >
Signed-off-by: Thierry Reding <treding@nvidia.com >
Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com >
Change-Id: I222e43a16f8853ccec70006b72a40973b5e2cc86
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2941396
(cherry picked from commit 50b6a5db24 )
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2944435
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com >
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com >
2023-08-01 02:56:01 -07:00
Gautham Srinivasan
884c9fafe5
UPSTREAM: arm64: tegra: Add Jetson Orin NX support
...
This adds a device tree for the Jetson Orin NX module, which is Jetson
AGX Orin's little sibling with 6 or 8 ARM Cortex-A78AE cores, an Ampere
GPU (1024 GPU and 32 tensor cores) and a number of accelerators for
machine learning, image processing and more.
The Jetson Orin NX comes with either 8 or 16 GiB of 128-bit LPDDR5 and
supports NVME for mass storage.
Ref CL: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git/commit/?h=for-6.4/arm64/dt&id=13b0aca303e97500e6aa6fa7965c620394c67775
Bug 3998955
Change-Id: I10aeb14293657e491e2d7627d7f2a3639b844be4
Signed-off-by: Thierry Reding <treding@nvidia.com >
Signed-off-by: Gautham Srinivasan <gauthams@nvidia.com >
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2894102
Reviewed-by: svcacv <svcacv@nvidia.com >
Reviewed-by: Bibek Basu <bbasu@nvidia.com >
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com >
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com >
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com >
2023-05-05 02:31:59 -07:00