Commit Graph

38 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>
rel-38_eng_2025-12-16 rel-38_eng_2025-12-05 rel-38_eng_2025-11-25 rel-38_eng_2025-11-12 rel-38_eng_2025-10-06 jetson_38.2.2 jetson_38.2.1 jetson_38.2
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
Sameer Pujar
31b2d3e128 overlay: audio: Remove legacy bindings
Graph based sound card is the default now and legacy bindings are
going to be removed. Thus remove legacy bindings.

Bug 4596865

Change-Id: I009fa7825479902ad764bd5c2459f9e41ff124ef
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3111494
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Mohan kumar <mkumard@nvidia.com>
2024-05-21 16:36:55 -07:00
raju patel
71ae34445f code-owners: Populate OWNERS file
Create OWNERS file for repo as part of Code Ownership
management initiative. This change populates initial set
of owners for the repository.
OWNERS file can be further modified to add additional owners
or manage ownership at granular level at subdirectory or file level
More details - https://gerrit.googlesource.com/plugins/code-owners

Bug 4199186

Change-Id: I0819848adc720dd28f30185a228cf068115c4b32
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/2953869
Tested-by: Raju Patel <rajup@nvidia.com>
Reviewed-by: Raju Patel <rajup@nvidia.com>
2023-08-27 14:07:14 -07:00
Laxman Dewangan
8ba5d53ef1 common: audio: Rename all common jetson dtsi files
Rename all common jetson audio files to have
jetson-audio-* to have the easily identification.

Change-Id: I69248b0864598c2a0d17f99fc7b3c1b123e501b3
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/2926979
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
rel-36_eng_2025-12-11 jetson_36.4.7 rel-36_lws2_eng_2025-09-23 l4t-l4t-r36.4.4_eng_2025-09-23 l4t-l4t-r36.4.1_eng_2025-09-19 jetson_36.4.4 l4t-l4t-r36.4.4_eng_2025-06-03 l4t-l4t-r36.4.4_eng_2025-04-02 IGX_OS-1.1.1 rel-36_eng_2025-02-28 jetson_36.4.3 l4t-l4t-r36.4.1_eng_2025-01-08 IGX_OS-1.1 rel-36_eng_2024-10-24 jetson_36.4 l4t-l4t-r36.4_eng_2024-09-12 rel-36_eng_2024-08-29 rel-36_eng_2024-07-23 rel-36_eng_2024-07-08 rel-36_eng_2024-06-26 rel-36_eng_2024-06-13 l4t-l4t-r36.3.1_eng_2024-05-29 jetson_36.3 l4t-l4t-r36.3_eng_2024-04-24 rel-36_eng_2024-04-04 rel-36_eng_2024-03-14 rel-36_eng_2024-03-06 rel-36_eng_2024-02-27 rel-36_eng_2024-02-05 rel-36_eng_2024-01-24 rel-36_eng_2024-01-12 rel-36_eng_2024-01-03 rel-36_eng_2023-12-12 jetson_36.2 rel-36_eng_2023-12-04 rel-36_eng_2023-11-07 rel-36_eng_2023-10-04
2023-06-28 02:06:21 -07:00
Laxman Dewangan
19a758aefa Merge common overlays from legacy DTS repo
Merge remote-tracking branch
  'origin/dev/ldewangan/integrate-common-overlay' into
   merge-integrate-dev-main

Change-Id: Ia040e750627927c6fd95fae9f925cffc3bf79a56
2023-06-27 07:31:01 +00:00
Laxman Dewangan
56eb51fed1 common: overlay: Fix the license and copyright
Fix the license and copyright information.

Change-Id: Id80962809631694bbdbb23b85b6466dfde976c62
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
2023-06-27 07:27:33 +00:00
Sameer Pujar
e2d2cb7e4d common: overlay: Add overlay for audio-graph
Add audio-graph overlay for the supported audio cards. In doing so
also update license header as per recommended style.

Bug 200692799

Change-Id: I7cbf9835026cec173f70ba307394a7ee6b7cc437
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2641874
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Tested-by: Sameer Pujar <spujar@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-06-27 07:22:44 +00:00
Asha Talambedu
42622281a7 common: overlay: ReSpeaker 4Mic Linear Array support
Added common overlay for supporting ReSpeaker 4Mic Linear Array
on jetson platforms

Bug 200679216

Change-Id: Ia19d54347252befe77d4315a66fb76941495c1fa
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2536284
(cherry picked from commit 467507c8cb0de0b91ff28a97b9f18f3daf6230a5)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2547865
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Asha Talambedu <atalambedu@nvidia.com>
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: Asha Talambedu <atalambedu@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-06-27 07:22:44 +00:00
Asha Talambedu
e557766b92 common: overlay: Adafruit UDA1334A support
Added common overlay for supporting
Adafruit I2S Stereo Decoder UDA1334A breakout on
jetson platforms

Bug 200679216

Change-Id: I4c94f39ae68cff1cf940da405872c4b6b3e19db2
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2471661
(cherry picked from commit b2394b7de4b7be1acad5ed5aacf3f4ff39af51d4)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2491601
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Asha Talambedu <atalambedu@nvidia.com>
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: Asha Talambedu <atalambedu@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-06-27 07:22:44 +00:00
Viswanath L
5f0d901138 common: overlay: Overlays updated per new design
HW addon overlay files on 40-pin header are updated to match the new
design of Jetson-IO tool, which supports multiple headers and SFIOs:
 - 'jetson-header-name' property is specified to associate the
    40-pin header
 - pinctrl phandle is standardized so that overlay from multiple
    headers can be overlaid
 - Pin node names are specified as hdr40-pin## {};

Bug 200581790

Change-Id: I7c32e11e02a2a8d53120beabd14400bed7e0221b
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2420885
(cherry picked from commit f491e1882f225c21ea884fb5173e1514b2eea9ac)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2533825
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: Viswanath L <viswanathl@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-06-27 07:22:44 +00:00
Asha Talambedu
b77993bb67 common: overlay: Add fe-pi Line In/Out support
- FE-PI Audio V1 and Z V2 have Line In and Line Out jacks.
 On V1, Line In and Line out are realised with the help of
 2 RCA jacks for Input and 2 RCA jacks for output.
 on Z V2, they are realised with 3.5mm stereo jacks
 Added relevant DAPM widgets to support audio on these jacks

Bug 2827043

Change-Id: If346f0748ea5208db08fd36bff427d1ce78e2510
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2371097
(cherry picked from commit 6a1f8e33a424b7afc84d2479672724fada606778)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2409602
Tested-by: Asha Talambedu <atalambedu@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Asha Talambedu <atalambedu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-06-27 07:22:44 +00:00
Asha Talambedu
bbc18a5979 common: overlay: Rename fe-pi ovelay
- Renamed overlay as FE-PI Audio V1 and Z V2 as the same overlay
  is applicable to both versions (V1 and Z V2) of the board

- Renamed overlay file as it common across V1 and Z V2

Bug 2827043

Change-Id: I198ad1ee485a5b597fe7fae44943e721d997bf06
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2323072
(cherry picked from commit 0ea4af124a0c99571947e2c04a30a3178c0df26e)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2371752
Tested-by: Asha Talambedu <atalambedu@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Asha Talambedu <atalambedu@nvidia.com>
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-06-27 07:22:44 +00:00
Ronit Halder
0494ee2972 tegra: common: move to GPLv2
- change all dt file licenses to Nvidia, Nvidia Copyright, GPLv2 License
- GPLv2 License:
  https://wiki.nvidia.com/nvwiki/index.php/SW_IP_Audit_Team/Licenses/GPLv2-only

ESLC-5105

Change-Id: I069e525ebb521b986156495ec1c791f5a97a8b39
Signed-off-by: Ronit Halder <rhalder@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2383708
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vipin Kumar <vipink@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-06-27 07:22:44 +00:00
Shubhi Garg
8dd941ec2f common: overlay: Add MCP251x overlay
Adding MCP251x overlay dts file which is made common to be used on
all jetson platforms.

Bug 2733928

Change-Id: I3d1bf5dd2307a2039a38d1d5ae9db58a74755f88
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2326443
(cherry picked from commit c6592f3ab2277110a4b744e605a167b7e3170cbc)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2356320
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2023-06-27 07:22:44 +00:00
Asha Talambedu
9341e77759 common: overlay: Add overlay for ReSpeaker 4Mic
Adds the ReSpeaker 4 Mic Array device-tree overlay template
for the Jetson platforms.

Bug 200526593

Change-Id: I74095f0684a6322424784770a03eebc6e0b2f5ea
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2301751
(cherry picked from commit 1f358a549d0bb0f6cab46e7d6ac2ec75c1a546c8)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2321795
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Asha Talambedu <atalambedu@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Asha Talambedu <atalambedu@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-06-27 07:22:44 +00:00
Sameer Pujar
fa72b8e248 common: overlay: update prefix name for Fe-Pi codec
Currently we are using random prefix names for widgets and mixer controls.
These are not very descriptive and not consistent across platforms. For
example 40-pin header has prefix "x" on TX2 and "y" on Xavier.

For better readability this patch updates prefix names for above. Following
guideline is proposed to have consistency in the naming:
  1. Shorter prefix is preferrable, at the same time keep it meaningful.
     It should be noted that maximum allowed size, including prefix, for a
     control name is "44" characters.
  2. Prefix is preferred to have an indication about the I/O it sits on and
     the codec it belongs to. If there are multiple instances of the codec
     on the same I/O, these can be differentiated by L/R or A/B/C/... or
     1/2/3... suffix, whichever suits best for the board.
  3. On-board codec can use combination of "CVB" and codec initials. If
     there are multiple instances of the codec then additionally suffix
     mentioned in [2] can be used.
  4. Prefix for 40-pin header is used as "H40". Similarly other I/O ports
     can use similar syntax or specific names can be used to indicate the
     I/O port. One such example would be "M2.E" which is more descriptive
     than just "Hxx".

As per above "H40-SGTL" prefix is used for Fe-Pi card.

Bug 200575695

Change-Id: I667d27e2cde4416de75798e1374be1e7fb170b70
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2290938
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Asha Talambedu <atalambedu@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-06-27 07:22:44 +00:00
Sameer Pujar
2816e74b76 common: overlay: add machine DAPM widgets
Machine DAPM widgets are currently defined in the driver. Since the same
driver is used on multiple platforms, all these widgets are not always
used. If any platform requires additional widget, machine driver patch is
required to update the DAPM widget list.

This patch avoids above by moving all machine DAPM widgets to the platform
DTs and the driver can just parse these. Any platform can declare required
number of widgets and thus create a corresponding audio routing map.

Bug 200503387

Change-Id: I62c31b67e43da850dba91607690763d61ddc39c7
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2257382
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-06-27 07:22:44 +00:00
Sameer Pujar
b152dd458f tegra: common: move to DT based DAI links
Current 'sound' node does not describe all the DAI links that Tegra sound
card uses. Most of the links are statically declared in the driver code
and only few codec links are exposed from the DT. As the plan is to move
towards DT based binding for all DAI links, the sound node is removed
from 'tegra-platforms-audio-dai-links.dtsi'. This file currently enables
audio nodes of APE/AHUB and populates plugin related info for ADSP. Going
ahead this file either needs to be removed or renamed for better clarity
with naming of files. Though it is present in common path, it is used on
Tegra194 platforms only.

As part of the new approach following dtsi files are proposed.
* tegra210-audio-dai-links.dtsi : This includes all the DAI links needed
  for Tegra210 based platforms.
* tegra186-audio-dai-links.dtsi : This includes all the DAI links needed
  for Tegra186 based platforms. Since AHUB architecture of Tegra194 is
  similar to Tegra186, platforms based on Tegra194 can use the same dtsi
  file.

This patch also updates audio routing property name to be similar in style
with upstream DT binding for simple card.

Bug 200538260

Change-Id: If80b1de9baea572882c6ffb37d9a643d224c7088
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2209424
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-06-27 07:22:44 +00:00
Jon Hunter
d368a43956 common: overlay: Fix audio route for FE-PI Audio Z V2 Mic
The Mic Bias is not being enabled for the SGTL5000 codec on the FE-PI
Audio Z V2 board which prevents audio being captured from the microphone
input. Fix this by adding the a route to enable the Mic Bias when the
ADC is enabled.

Bug 2414131

Change-Id: Ie48ee5afd401b4a22fb29fc7f0317fe844fd7e95
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2220929
(cherry picked from commit 2e2c25c179e5b4b9dfdad6a49310344317bf43bb)
Reviewed-on: https://git-master.nvidia.com/r/2224179
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-06-27 07:22:44 +00:00
Jonathan Hunter
020a01a620 common: overlay: Add common overlay for Jetson
Add the following device-tree overlay templates for the Jetson
platforms.

1. ADAFRUIT SPH0645LM4H (I2S MEMS Microphone)
2. FE-PI Audio Z V2 (SGTL5000 Audio Codec)

Note that these templates cannot be compiled as-is because they include
definitions that are defined in the corresponding
'dt-bindings/platform/jetson/<board>.h'. Therefore, to use these
templates they need to be compiled along with the appropriate include
file.

These have been created to avoid duplicating nodes that are common to
all Jetson platforms for using these add-on modules.

Bug 2414131

Change-Id: I60b29bb72fdd206786fd76cd1676ed6d6f3c9f1b
Signed-off-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2202471
(cherry picked from commit 3ca13ed86364fe2b606e470870ffa778f36a03c9)
Reviewed-on: https://git-master.nvidia.com/r/2217432
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-06-27 07:22:44 +00:00
Harshit Mehta
bf6151adea Initial empty repository 2023-06-22 05:37:38 -07:00