/linux-6.8/arch/arm/boot/dts/nvidia/ |
D | tegra30.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra30-car.h> 3 #include <dt-bindings/gpio/tegra-gpio.h> 4 #include <dt-bindings/memory/tegra30-mc.h> 5 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/soc/tegra-pmc.h> 8 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra30-peripherals-opp.dtsi" 13 compatible = "nvidia,tegra30"; [all …]
|
D | tegra114.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra114-car.h> 3 #include <dt-bindings/gpio/tegra-gpio.h> 4 #include <dt-bindings/memory/tegra114-mc.h> 5 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/soc/tegra-pmc.h> 11 interrupt-parent = <&lic>; 12 #address-cells = <1>; 13 #size-cells = <1>; [all …]
|
D | tegra124.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra124-car.h> 3 #include <dt-bindings/gpio/tegra-gpio.h> 4 #include <dt-bindings/memory/tegra124-mc.h> 5 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/reset/tegra124-car.h> 8 #include <dt-bindings/thermal/tegra124-soctherm.h> 9 #include <dt-bindings/soc/tegra-pmc.h> 11 #include "tegra124-peripherals-opp.dtsi" [all …]
|
/linux-6.8/Documentation/devicetree/bindings/devfreq/ |
D | nvidia,tegra30-actmon.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/devfreq/nvidia,tegra30-actmon.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra30 Activity Monitor 10 - Dmitry Osipenko <digetx@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Thierry Reding <thierry.reding@gmail.com> 23 - nvidia,tegra30-actmon 24 - nvidia,tegra114-actmon [all …]
|
/linux-6.8/Documentation/devicetree/bindings/memory-controllers/ |
D | nvidia,tegra30-mc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra30-mc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra30 SoC Memory Controller 10 - Dmitry Osipenko <digetx@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Thierry Reding <thierry.reding@gmail.com> 15 Tegra30 Memory Controller architecturally consists of the following parts: 33 The Tegra30 Memory Controller handles memory requests from internal clients [all …]
|
D | nvidia,tegra30-emc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra30-emc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra30 SoC External Memory Controller 10 - Dmitry Osipenko <digetx@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Thierry Reding <thierry.reding@gmail.com> 15 The EMC interfaces with the off-chip SDRAM to service the request stream 16 sent from Memory Controller. The EMC also has various performance-affecting [all …]
|
/linux-6.8/drivers/memory/tegra/ |
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 tegra-mc-y := mc.o 4 tegra-mc-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20.o 5 tegra-mc-$(CONFIG_ARCH_TEGRA_3x_SOC) += tegra30.o 6 tegra-mc-$(CONFIG_ARCH_TEGRA_114_SOC) += tegra114.o 7 tegra-mc-$(CONFIG_ARCH_TEGRA_124_SOC) += tegra124.o 8 tegra-mc-$(CONFIG_ARCH_TEGRA_132_SOC) += tegra124.o 9 tegra-mc-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210.o 10 tegra-mc-$(CONFIG_ARCH_TEGRA_186_SOC) += tegra186.o 11 tegra-mc-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra186.o tegra194.o [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 This driver supports the Memory Controller (MC) hardware found on 27 tristate "NVIDIA Tegra30 External Memory Controller driver" 34 Tegra30 chips. The EMC controls the external DRAM on the board.
|
D | tegra30-emc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Tegra30 External Memory Controller driver 5 * Based on downstream driver from NVIDIA and tegra124-emc.c 6 * Copyright (C) 2011-2014 NVIDIA Corporation 9 * Copyright (C) 2019 GRATE-DRIVER project 18 #include <linux/interconnect-provider.h> 38 #include "mc.h" 357 struct tegra_mc *mc; member 392 /* protect shared rate-change code path */ 403 writel_relaxed(EMC_TIMING_UPDATE, emc->regs + EMC_TIMING_CONTROL); in emc_seq_update_timing() [all …]
|
D | mc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/dma-mapping.h> 18 #include <linux/tegra-icc.h> 22 #include "mc.h" 26 { .compatible = "nvidia,tegra20-mc-gart", .data = &tegra20_mc_soc }, 29 { .compatible = "nvidia,tegra30-mc", .data = &tegra30_mc_soc }, 32 { .compatible = "nvidia,tegra114-mc", .data = &tegra114_mc_soc }, 35 { .compatible = "nvidia,tegra124-mc", .data = &tegra124_mc_soc }, 38 { .compatible = "nvidia,tegra132-mc", .data = &tegra132_mc_soc }, 41 { .compatible = "nvidia,tegra210-mc", .data = &tegra210_mc_soc }, [all …]
|
D | tegra30.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <dt-bindings/memory/tegra30-mc.h> 12 #include "mc.h" 1219 static void tegra30_mc_tune_client_latency(struct tegra_mc *mc, in tegra30_mc_tune_client_latency() argument 1224 unsigned int fifo_size = client->fifo_size; in tegra30_mc_tune_client_latency() 1244 switch (client->swgroup) { in tegra30_mc_tune_client_latency() 1271 arb_nsec -= arb_tolerance_compensation_nsec; in tegra30_mc_tune_client_latency() 1279 * client may wait in the EMEM arbiter before it becomes a high-priority in tegra30_mc_tune_client_latency() 1282 la_ticks = arb_nsec / mc->tick; in tegra30_mc_tune_client_latency() 1283 la_ticks = min(la_ticks, client->regs.la.mask); in tegra30_mc_tune_client_latency() [all …]
|
/linux-6.8/Documentation/devicetree/bindings/display/tegra/ |
D | nvidia,tegra20-gr3d.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-gr3d.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 15 pattern: "^gr3d@[0-9a-f]+$" 19 - nvidia,tegra20-gr3d 20 - nvidia,tegra30-gr3d 21 - nvidia,tegra114-gr3d [all …]
|
D | nvidia,tegra20-gr2d.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-gr2d.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 15 pattern: "^gr2d@[0-9a-f]+$" 19 - nvidia,tegra20-gr2d 20 - nvidia,tegra30-gr2d 21 - nvidia,tegra114-gr2d [all …]
|
D | nvidia,tegra20-host1x.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-host1x.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 13 description: The host1x top-level node defines a number of children, each 19 - enum: 20 - nvidia,tegra20-host1x 21 - nvidia,tegra30-host1x [all …]
|
/linux-6.8/Documentation/devicetree/bindings/iommu/ |
D | nvidia,tegra30-smmu.txt | 4 - compatible : "nvidia,tegra30-smmu" 5 - reg : Should contain 3 register banks(address and length) for each 7 - interrupts : Should contain MC General interrupt. 8 - nvidia,#asids : # of ASIDs 9 - dma-window : IOVA start address and length. 10 - nvidia,ahb : phandle to the ahb bus connected to SMMU. 14 compatible = "nvidia,tegra30-smmu"; 19 dma-window = <0 0x40000000>; /* IOVA start & length */
|
/linux-6.8/arch/arm64/boot/dts/nvidia/ |
D | tegra132.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra124-car.h> 3 #include <dt-bindings/gpio/tegra-gpio.h> 4 #include <dt-bindings/memory/tegra124-mc.h> 5 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra-xusb.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/thermal/tegra124-soctherm.h> 9 #include <dt-bindings/soc/tegra-pmc.h> 11 #include "tegra132-peripherals-opp.dtsi" [all …]
|
D | tegra210.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra210-car.h> 3 #include <dt-bindings/gpio/tegra-gpio.h> 4 #include <dt-bindings/memory/tegra210-mc.h> 5 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h> 7 #include <dt-bindings/reset/tegra210-car.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/thermal/tegra124-soctherm.h> 10 #include <dt-bindings/soc/tegra-pmc.h> [all …]
|
/linux-6.8/drivers/gpu/drm/tegra/ |
D | gr3d.c | 1 // SPDX-License-Identifier: GPL-2.0-only 61 struct drm_device *dev = dev_get_drvdata(client->host); in gr3d_init() 66 gr3d->channel = host1x_channel_request(client); in gr3d_init() 67 if (!gr3d->channel) in gr3d_init() 68 return -ENOMEM; in gr3d_init() 70 client->syncpts[0] = host1x_syncpt_request(client, flags); in gr3d_init() 71 if (!client->syncpts[0]) { in gr3d_init() 72 err = -ENOMEM; in gr3d_init() 73 dev_err(client->dev, "failed to request syncpoint: %d\n", err); in gr3d_init() 79 dev_err(client->dev, "failed to attach to domain: %d\n", err); in gr3d_init() [all …]
|
D | gr2d.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2013, NVIDIA Corporation. 52 struct drm_device *dev = dev_get_drvdata(client->host); in gr2d_init() 57 gr2d->channel = host1x_channel_request(client); in gr2d_init() 58 if (!gr2d->channel) in gr2d_init() 59 return -ENOMEM; in gr2d_init() 61 client->syncpts[0] = host1x_syncpt_request(client, flags); in gr2d_init() 62 if (!client->syncpts[0]) { in gr2d_init() 63 err = -ENOMEM; in gr2d_init() 64 dev_err(client->dev, "failed to request syncpoint: %d\n", err); in gr2d_init() [all …]
|
/linux-6.8/Documentation/devicetree/bindings/media/ |
D | nvidia,tegra-vde.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/nvidia,tegra-vde.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Osipenko <digetx@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Thierry Reding <thierry.reding@gmail.com> 17 - items: 18 - enum: 19 - nvidia,tegra132-vde [all …]
|
/linux-6.8/drivers/clk/tegra/ |
D | clk-tegra30.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/clk-provider.h> 18 #include <dt-bindings/clock/tegra30-car.h> 21 #include "clk-id.h" 595 { .con_id = "vcp", .dev_id = "tegra-avp", .dt_id = TEGRA30_CLK_VCP }, 596 { .con_id = "bsea", .dev_id = "tegra-avp", .dt_id = TEGRA30_CLK_BSEA }, 597 { .con_id = "bsev", .dev_id = "tegra-aes", .dt_id = TEGRA30_CLK_BSEV }, 601 { .con_id = "pcie", .dev_id = "tegra-pcie", .dt_id = TEGRA30_CLK_PCIE }, 602 { .con_id = "afi", .dev_id = "tegra-pcie", .dt_id = TEGRA30_CLK_AFI }, 604 { .con_id = "fuse_burn", .dev_id = "fuse-tegra", .dt_id = TEGRA30_CLK_FUSE_BURN }, [all …]
|
/linux-6.8/Documentation/devicetree/bindings/serial/ |
D | 8250.yaml | 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - devicetree@vger.kernel.org 13 - $ref: serial.yaml# 14 - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# 15 - if: 17 - required: 18 - aspeed,lpc-io-reg 19 - required: 20 - aspeed,lpc-interrupts [all …]
|
/linux-6.8/drivers/media/platform/nvidia/tegra-vde/ |
D | vde.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2016-2017 Dmitry Osipenko <digetx@gmail.com> 10 #include <linux/dma-buf.h> 60 struct device *dev = vde->dev; in tegra_vde_alloc_bo() 66 return -ENOMEM; in tegra_vde_alloc_bo() 68 bo->vde = vde; in tegra_vde_alloc_bo() 69 bo->size = size; in tegra_vde_alloc_bo() 70 bo->dma_dir = dma_dir; in tegra_vde_alloc_bo() 71 bo->dma_attrs = DMA_ATTR_WRITE_COMBINE | in tegra_vde_alloc_bo() 74 if (!vde->domain) in tegra_vde_alloc_bo() [all …]
|
/linux-6.8/drivers/iommu/ |
D | tegra-smmu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011-2014 NVIDIA CORPORATION. All rights reserved. 17 #include <linux/dma-mapping.h> 20 #include <soc/tegra/mc.h> 34 struct tegra_mc *mc; member 73 writel(value, smmu->regs + offset); in smmu_writel() 78 return readl(smmu->regs + offset); in smmu_readl() 88 ((smmu)->soc->num_tlb_lines & (smmu)->tlb_mask) 120 /* per-SWGROUP SMMU_*_ASID register */ 135 #define SMMU_PAGE_MASK (~(SMMU_SIZE_PT-1)) [all …]
|
/linux-6.8/drivers/gpu/host1x/ |
D | dev.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2010-2013, NVIDIA Corporation. 10 #include <linux/dma-mapping.h> 27 #include <asm/dma-iommu.h> 47 writel(v, host1x->common_regs + r); in host1x_common_writel() 52 writel(v, host1x->hv_regs + r); in host1x_hypervisor_writel() 57 return readl(host1x->hv_regs + r); in host1x_hypervisor_readl() 62 void __iomem *sync_regs = host1x->regs + host1x->info->sync_offset; in host1x_sync_writel() 69 void __iomem *sync_regs = host1x->regs + host1x->info->sync_offset; in host1x_sync_readl() 76 writel(v, ch->regs + r); in host1x_ch_writel() [all …]
|