18 Commits

Author SHA1 Message Date
Bitan Biswas
2101ccc1b1 t23x: nv-public: add dt-bindings header
Add t23x nv-public dt-bindings headers so
that generic-dts compilation errors can be fixed.

bug 4197981

Change-Id: I00f3a1f02540cfe5eeb4be51defe985d0857654f
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2978965
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3168935
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
2024-07-16 02:20:15 -07:00
Lovie Wang
8fdbcfc7ff t23x: overlay: fsicom: add new hsp mailbox and stream id inst
- add top2 hsp mailbox 5 and 4 for core 1 usage
- add FSI_CPU1 stream id for core 1 memory map
- newnode created for each SMMU inst

Bug 4243457

Change-Id: Id66c060d5daa1ca6458e3cbeee81dafc88904560
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2977860
Reviewed-by: Prashant Kumar Shaw <pshaw@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Lovie Wang <loview@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3168934
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-16 02:20:11 -07:00
Yi-Wei Wang
3073391461 arm64: tegra: Add Tegra234 thermal support
Add device tree node for the BPMP thermal node on Tegra234 and add
thermal zone definitions.

Cherry picked from commit 09d990782a243b97eb566717a2155a306a2f42af

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: Ifef49687ef550cbdcdf26a511a69b1e46502b376
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2941394
(cherry picked from commit 0038ca5d15fc3f703d78833f98c89da0f685b0ff)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2944240
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3168932
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-16 02:20:06 -07:00
Mohan Kumar
b1fd105047 dt-binding: move rt5640 header under dt-bindings
Move rt5640.h header under dt-bindings directory.

Bug 4115300

Change-Id: I3cfeb04d90e9937046090ab59acd8fdd11972204
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2943046
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3168931
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
2024-07-16 02:20:02 -07:00
Laxman Dewangan
a0dd6b315f include: dt-binding: Sync dt headers with 6.5.rc2
Sync the DT binding headers from mainline kernel version
6.5.rc2.

Bug 4037899

Change-Id: I6016c49c622057bff7ec01e080a87b246c747838
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2941155
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3168930
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-16 02:19:57 -07:00
Laxman Dewangan
d1a9ce0a51 nv-public: remove unused uapi header
Remove unused uapi header for input-event-codes.

Bug 4078385

Change-Id: Id4a8b1a573139a77fd48a3d44a6662863c755639
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2892588
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3168929
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-16 02:19:53 -07:00
Laxman Dewangan
f888861b5e dt-binding: move gpio header under dt-bindings
Move gpio.h header under dt-bindings directroy.

Bug 4078385

Change-Id: I1db6a461b488458ea12d6c3753d70b2f595204fd
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2892584
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3168928
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-16 02:19:48 -07:00
Laxman Dewangan
35d3f3f3e8 dt-binding: Add gpio.h header
Add gpio.h header for dt-bindings.

Bug 4078385

Change-Id: Id478947d89f3fb327ee84dbf2dfd6403b0cde6bf
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2892546
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3168927
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-16 02:19:44 -07:00
Laxman Dewangan
ee836343bf dt-bindings: input: Add linux event codes and gpio keys header
Add linux-event-codes.h and gpio-keys.h header
under dt-bindings.

Bug 4078385

Change-Id: Iaf67da3ae2355eaf9b257a197fc69b0cacd3af0f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2892534
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3168926
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-16 02:19:40 -07:00
Laxman Dewangan
c0baa074cc include: dt-bindings: Sync required header from kernel v6.3-rc5
Sync the DT binding headers for tegra234 which are required
for SOC and platform DTS/DTSI from kernel V6.3-rc5.

Bug 4078385

Change-Id: I96ee533ae752879ca8a3f06a732180c631cce228
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3168925
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-16 02:19:35 -07:00
Joseph Yoon
c1e503124d nv-public: t234: Apply HSP 128bit flag for QNX
Apply HSP 128bit flag for QNX only
to differentiate from Linux

Bug 4270996

Change-Id: Icd933bf5341413bbfc9ecb1172f5d4a42f25810c
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3164375
Reviewed-by: Kartik Rajput <kkartik@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Joseph Yoon <tyoon@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Joseph Yoon <tyoon@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3171454
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
2024-07-12 09:08:55 -07:00
Joseph Yoon
35bbd98521 t234: nv-public: Add HSP shared IRQ decl macro
Add HSP shared IRQ declaration macro

Jira ESQCD60-9998

Change-Id: Ibc98e89d018bb62d0c04c18b221978b8480e0e0b
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3157444
Tested-by: Jinyoung Park <jinyoungp@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Joseph Yoon <tyoon@nvidia.com>
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Joseph Yoon <tyoon@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3171453
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
2024-07-12 09:08:51 -07:00
Hyong Bin Kim
b233ddfbaf nv-public: dts: Add missing kernel include file
Add missing include file for automotive DTB.

Bug 4355701

Change-Id: I26436ec9b6c39283752bb9f7ba1ac31c11847c54
Signed-off-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3122877
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3171452
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2024-07-12 09:08:47 -07:00
Sameer Pujar
c9a6ede789 Revert "Revert "nv-public: p3737: Allow upstream AHUB drivers usage""
This reverts commit f859916a039525285117b0c19d2e7ed3bc43105a.
This is done to restore original commit of using upstream AHUB drivers
as GVS intermittency issue is now root caused.

Bug 4508166

Change-Id: I23befe181f51d491b4230cd4668da4b0eab64f8b
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3083131
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Mohan kumar <mkumard@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Tested-by: Sameer Pujar <spujar@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3171451
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
2024-07-12 09:08:44 -07:00
Sameer Pujar
f7eccd45e4 Revert "nv-public: p3737: Allow upstream AHUB drivers usage"
This reverts commit 69c14e5a515230ff4a95901bb029a5f5fc0b04c4.
This is done to unblock gvs intermittency of audio test and
kernel warning test failure.

Bug 4508166

Change-Id: Ia0af6a00e9e9ef6c2ec6b20fbf7672ac4db59dec
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3082640
Reviewed-by: Shubham Chandra <shubhamc@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Tested-by: Shubham Chandra <shubhamc@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3171450
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2024-07-12 09:08:40 -07:00
Sameer Pujar
550c2456a3 nv-public: p3737: Allow upstream AHUB drivers usage
Upstream AHUB drivers have following variations when compared to
OOT versions:

  - Upstream AHUB drivers of I/O modules don't expose dummy DAIs.

    To use upstream AHUB drivers, legacy machine driver exposes
    dummy DAI and use the same here. There were objections from
    upstream maintainers to expose dummy DAIs from the I/O module
    drivers. Hence these are now exposed from the legacy machine
    driver.

  - DAI index of ADX input and output ports are different in
    upstream ADX driver.

    To use upstream ADX driver update the DAI index values.

  - Upstream SFC, OPE and MVC drivers use separate ports for
    input and output.

    To use upstream drivers, use correct DAI index of for these
    modules. Remove the TODO comment and cleanup the macro check.

  - ARAD, AFC and ADSP audio devices are yet to be upstreamed.

    Remove DAI links related to these modules to allow legacy
    machine driver to work with already upstreamed AHUB drivers.
    There is no plan to productize these modules with legacy
    machine driver and hence these can be removed. In future,
    these will be supported from graph card driver and the DT
    binding for it is going to be different anyways.

Bug 4451662
Bug 4432184
TAS-2251

Change-Id: I934a75c067e46433b41a484bdacaa5e2c66566cb
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3059813
Reviewed-by: Mohan kumar <mkumard@nvidia.com>
Reviewed-by: Sheetal . <sheetal@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3171449
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-12 09:08:37 -07:00
Laxman Dewangan
f60e25fcf3 include: dt-bindings: Add headers for nvidia-oot
Add DT binding headers, non-upstreamed version, which
are used for SOC and platform DTS/DTSI. These headers
are in staging state and taken from the
     hardware/nvidia/soc/generic-dts/tegra/include/nvidia-oot.

Bug 4078385

Change-Id: Ia482b55e44c708ce5cab7d1fbcb8abfc07f4e440
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3171448
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2024-07-12 09:08:33 -07:00
Yi-Wei Wang
88812ddfa7 overlay: header: Copy thermal.h DT binding header
Copy thermal.h DT binding header file from core kernel which is needed
for the thermal overlay.

Bug 4035713

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I596e182bb1bb94bc90a9a2812dafafe6f1c4fbf3
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2952085
(cherry picked from commit 2f4bb5bc45f6f41dbebf399c20fbc87f1bbcce4f)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2933110
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3168933
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
2024-07-06 01:28:40 -07:00