Commit Graph

11 Commits

Author SHA1 Message Date
amohil
21daec5a0c t23x: nv-public: cell warnings & hidden warnings
Types of warnings fixed:
- /home/amohil/l4t-rel-38-generic-release-20251029T114108/out/l4t-generic-debug-aarch64/nvidia/kernel-noble/kernel-devicetree/generic-dts/../../../../../..//hardware/nvidia/t264/nv-public/nv-platform/tegra264-p3971-0000.dtsi:473.3-13: Warning (reg_format): /regulator-vcc-src-fet:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 2)

Changes:
- Remove reg property

Bug 3782641

Change-Id: Ia42061b2bda03b272f18690d0933cb60982c8277
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3479855
Reviewed-by: Anjanii Mohil <amohil@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Shubhi Garg <shgarg@nvidia.com>
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Tested-by: Anjanii Mohil <amohil@nvidia.com>
2025-11-03 23:42:12 -08: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
Hiteshkumar Patel
5c8338bf44 nv-platform: Enable nvpps driver on AGX Orin
Enable nvpps driver so it can be tested.

AGX Orin has ethernet connected on mgbe0 emac so passing primary emac
mgbe0.

Bug 4489344

Change-Id: I8cbe61557364ae92c2428ec4f5db999f4c1bfe83
Signed-off-by: Hiteshkumar Patel <hiteshkumarg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3075387
(cherry picked from edea2581e4)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3097857
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-04-02 08:02:07 -07:00
Jon Hunter
4a727c972f t23x: nv-public: Remove duplicated MGBE properties
The 'phy-mode' and 'power-domains' properties for the MGBE ethernet
controller is present in the upstream SoC and platform files and so need
to duplicate these properties in the SoC and platform overlay files.

Bug 3820445
Bug 4293378

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Change-Id: Ibf99701be0796a1b84db439c262a3f718587ab7b
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3082847
(cherry picked from commit 4d2010af58)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3083876
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2024-02-27 06:55:07 -08:00
Vishwaroop A
895148c1f3 nv-platform: p3737: enable hdr40 spi nodes
Enable SPI nodes for Concord 40-pin header.

Bug 4397019

Signed-off-by: Vishwaroop A <va@nvidia.com>
Change-Id: I1e475f404520aa847befa591d55f67563fcdad00
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3025462
(cherry picked from commit d0aa71b652)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3025579
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-12-07 08:02:50 -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
21a76d3b1c nv-public: SD card fixes for Concord and Nano
The power supply info is missing for the SD card interface:

1. SD card for Concord is implemented at the board level, not in
   the module itself.  Accordingly the updates are in the board
   files (p3737) rather than the module (p3701).

2. SD card for Orin Nano is implemented at the module level.
   Accordingly the updates are in the modules files (p3767)
   rather than the board files (p3768).

Bug 4307643

Change-Id: Id2bc9071387b3a16141db68076d29f0158f82cce
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3013069
(cherry picked from commit 71752edda2)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3013410
Reviewed-by: Paritosh Dixit <paritoshd@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-11-10 08:32:57 -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