soc: t23x: kernel-dts: Add display fb carveout node

- Add display fb carveout region node to the list of
reserved memory regions
- UEFI updates the "reg" property with base address and
size of display fb carveout memory region and "status"
of display fb carveout region node to "okay" if UEFI
initializes display.
- keeping the fb carveout region node disabled by default
such that it is enabled by UEFI dynamically only when UEFI
initializes display and handsoff display fb carveout region
to kernel.
- add display fb reserved region node handle to display DT node
for unity mapping of display reserved region when SMMU driver
comes up in kernel only if display fb carveout region DT node
is enabled by UEFI.

Bug 3601162

Change-Id: Ia7060558e0723f4c04c2b026bc93a7e58692898a
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/soc/t23x/+/2857443
(cherry picked from 5b2263f878459f4795e079d475cb0c3f416aaf7d)
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2942106
Reviewed-by: Vinod Atyam <vatyam@nvidia.com>
This commit is contained in:
Santosh Reddy Galma
2023-02-13 22:03:24 +05:30
committed by mobile promotions
parent 3f56ab0564
commit 09beba7104

View File

@@ -7,6 +7,18 @@
fragment-t234-display@0 {
target-path = "/";
__overlay__ {
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
fb0_reserved: framebuffer@0,0 {
compatible = "framebuffer";
reg = <0x00 0x00 0x00 0x00>;
iommu-addresses = <&dc0 0x0 0x0 0x0 0x0>;
status = "disabled";
};
};
dce@d800000 {
compatible = "nvidia,tegra234-dce";
@@ -20,7 +32,7 @@
status = "disabled";
};
display@13800000 {
dc0: display@13800000 {
compatible = "nvidia,tegra234-display";
power-domains = <&bpmp TEGRA234_POWER_DOMAIN_DISP>;
nvidia,num-dpaux-instance = <1>;