Commit Graph

10 Commits

Author SHA1 Message Date
Ritu Chaudhary
19e485e69e nv-public: Enable DPCM links
Enable DPCM links and update the widgets property of sound
node.

Bug 4596841

Change-Id: Ia42ee4bbbe519788f74b51921bc4fb9a47b09f06
Signed-off-by: Ritu Chaudhary <rituc@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3297629
Tested-by: Sheetal . <sheetal@nvidia.com>
Reviewed-by: Mohan kumar <mkumard@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
2025-02-17 04:02:55 -08:00
Shubhi Garg
eea0eeefbf nv-public: p3740: fix cvb eeprom bus id
Since IGX CVM eeprom uses different I2C controller than CVB, bus id
in eeprom manager should be different. Currently, CVM and CVB has bus@0,
which brings CVB eeprom inside wrong i2c controller. Fixes it by differentiating
bus ids. Now, bus@0 has CVM and bus@1 has CVB eeprom.

Bug 4625456

Change-Id: Ied4cd3c66bf0c1122bce9899b3fa749c4ff38d26
Signed-off-by: Shubhi Garg <shgarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3135834
(cherry picked from commit aa281b277b)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3141028
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2024-05-22 23:25:36 -07:00
Sameer Pujar
a27a5a2ae2 t23x: nv-public: Remove legacy sound bindings
Graph sound card driver is enabled by default now and legacy machine
driver is going to be removed. Hence cleanup the legacy bindings and
going forward only maintain the graph sound card bindings. The 'sound'
device for graph card and legacy machine driver were merged earlier,
so we don't require duplicate phandles for the 'sound' node. Hence
remove the 'tegra_sound_graph' phandle.

Bug 4596865

Change-Id: Ie5a0a325a3d8b72d102a789116f7ccafa0bc7726
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3111444
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2024-05-21 16:36:46 -07:00
Sameer Pujar
1adbf25ff3 t23x: Use graph sound card driver
This commit helps to use upstream graph sound card driver and has
following changes to support it:

  - compatible property update for sound node is removed from the
    nv-platform DTSI file. No need to support legacy machine driver
    anymore and thus compatible from generic DT is good enough.

  - Rename 'nvidia-audio-card,mclk-fs' property to just 'mclk-fs'
    to align with upstream binding.

  - Upstream device tree sources have the audio codec enabled by
    default for AGX Orin platform. This was done so because all
    publicly available AGX Orin boards have onboard codec. But,
    downstream still runs some sanity tests on older boards which
    don't have codec. To support this, disable the codec in the
    downstream device tree and conditionally enable them based on
    the board revision check.

  - Upstream device tree doesn't enable all the I/O instances,
    however downstream enables all of them and has sanity coverage.
    Thus enable these by updating 'dais' property in downstream
    device tree.

  - There is codec specific setting required from machine driver
    for RT5640 codec. Add the legacy DAI link name in the codec
    endpoint node.

Bug 4451662
Bug 4453772

Change-Id: Ib471ed4526c6b45def7e1797ba9ac8b05da0946c
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3095766
Reviewed-by: Mohan kumar <mkumard@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
2024-04-19 00:18:49 -07:00
Ilies CHERGUI
e4e6198686 nv-platform: p3740: enable I/O expander
Enable I/O expander for IGX Orin Boards Kit

Bug 4358744

Signed-off-by: Ilies CHERGUI <ichergui@nvidia.com>
Change-Id: Iecbda281e4d3979adf8dcd776917a4faad41ec86
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3029467
(cherry picked from commit 1f13b70e19)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3041084
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-01-13 00:25:54 -08:00
Laxman Dewangan
46c1a0c49d t23x: nv-platforms: Remove INA device node
The INA device nodes are added in the base DTB
files which is integrated from mainline. Hence,
it is not required to add the same devices frm
override base DTB files.

Remove the duplicate entries.

Bug 4037899

Change-Id: I60e13b6daf0dec819c4ced4add019097f4735c66
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3036336
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-18 15:02:08 -08:00
Yi-Wei Wang
1195e0fc52 nv-platform: replace INA, hdr40_vdd_3v3, and CMA
The on-board INA sensors and hdr40_vdd_3v3 regulator should be defined
in CVB-specific device tree instead of CVM-specific.
CMA should be defined in CVM-specific instead of CVB-specific.

Bug 4378720

Signed-off-by: Yi-Wei Wang <yiweiw@nvidia.com>
Change-Id: I31ebb14ffacb6d1fb58ba3848f4ce1ac5322655f
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3016311
(cherry picked from commit c194f14a21)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3017146
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-16 14:54:40 -08:00
Brad Griffis
955b31bed3 nv-public: fix indentation for nv-dtb includes
As a final step in changing overlay fragments to includes
for nv dtb files, fix the indentation.

Bug 4290389

Change-Id: Ib7be8c925a33b5d30b93a8a8491ea8fe6419f2a4
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3005704
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-28 19:02:07 -07:00
Brad Griffis
ef304f6995 nv-public: remove REMOVE_FRAGMENT_SYNTAX
These preprocessor conditionals were a temporary step to facilitate
step by step reviews.  Remove them.

Delete display overlay includes from tegra234-jetson.dts since the
formatting no longer is correct for an overlay.  This file
tegra234-jetson.dts is planned for removal in the near future.

Indentation will be fixed in a follow-on patch to make reviews easier.

Bug 4290389

Change-Id: Ia6a0e240a96823e989e994d5564a7f0ad94061cc
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3005701
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-10-28 19:02:02 -07:00
Brad Griffis
2f14d2d18f nv-public: add new nv dtb files
In this commit:

1. The large platform overlays are being directly built into
   a new base "nv" dtb. The names of these new dtbs directly tracks the
   name of the upstream dtb that it extends. For an upstream dtb named
   <base>.dtb the new corresponding new file is named <base>-nv.dtb.

2. The source files for <base>-nv.dtb are located in the nv-soc/ and
   nv-platform/ files.  Those files originated in the overlay/
   directory but are moved to reflect that they are no longer part of
   an overlay.

This new layout seeks to simplify building and handling of dtb files
while retaining close compatibility with the upstream dts sources.

Bug 4290389

Change-Id: Ic812e8e16c5515bb3e17b99a23815a99f67c42a2
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2996468
(cherry picked from commit ee6247a701)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3002840
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2023-10-27 22:43:37 -07:00