/Linux-v6.1/Documentation/devicetree/bindings/arm/tegra/ |
D | nvidia,tegra20-pmc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/arm/tegra/nvidia,tegra20-pmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Tegra Power Management Controller (PMC) 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jonathan Hunter <jonathanh@nvidia.com> 16 - nvidia,tegra20-pmc 17 - nvidia,tegra30-pmc 18 - nvidia,tegra114-pmc [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/nvidia/ |
D | tegra210-p2530.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "tegra210.dtsi" 5 model = "NVIDIA Tegra210 P2530 main board"; 6 compatible = "nvidia,p2530", "nvidia,tegra210"; 14 stdout-path = "serial0:115200n8"; 29 clock-frequency = <400000>; 32 pmc@7000e400 { 33 nvidia,invert-interrupt; 39 bus-width = <8>; 40 non-removable; [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 …]
|
D | tegra186.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra186-clock.h> 3 #include <dt-bindings/gpio/tegra186-gpio.h> 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/mailbox/tegra186-hsp.h> 6 #include <dt-bindings/memory/tegra186-mc.h> 7 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h> 8 #include <dt-bindings/power/tegra186-powergate.h> 9 #include <dt-bindings/reset/tegra186-reset.h> 10 #include <dt-bindings/thermal/tegra186-bpmp-thermal.h> [all …]
|
D | tegra194.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra194-clock.h> 3 #include <dt-bindings/gpio/tegra194-gpio.h> 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/mailbox/tegra186-hsp.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h> 7 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 8 #include <dt-bindings/power/tegra194-powergate.h> 9 #include <dt-bindings/reset/tegra194-reset.h> 10 #include <dt-bindings/thermal/tegra194-bpmp-thermal.h> [all …]
|
D | tegra234.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/clock/tegra234-clock.h> 4 #include <dt-bindings/gpio/tegra234-gpio.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/mailbox/tegra186-hsp.h> 7 #include <dt-bindings/memory/tegra234-mc.h> 8 #include <dt-bindings/power/tegra234-powergate.h> 9 #include <dt-bindings/reset/tegra234-reset.h> 13 interrupt-parent = <&gic>; 14 #address-cells = <2>; [all …]
|
D | tegra210-p2180.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/mfd/max77620.h> 4 #include "tegra210.dtsi" 8 compatible = "nvidia,p2180", "nvidia,tegra210"; 17 stdout-path = "serial0:115200n8"; 26 vdd-supply = <&vdd_gpu>; 36 clock-frequency = <400000>; 41 interrupt-parent = <&tegra_pmc>; 44 #interrupt-cells = <2>; 45 interrupt-controller; [all …]
|
D | tegra210-p3450-0000.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/mfd/max77620.h> 8 #include "tegra210.dtsi" 12 compatible = "nvidia,p3450-0000", "nvidia,tegra210"; 22 stdout-path = "serial0:115200n8"; 33 hvddio-pex-supply = <&vdd_1v8>; 34 dvddio-pex-supply = <&vdd_pex_1v05>; [all …]
|
D | tegra210-smaug.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/mfd/max77620.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 8 #include "tegra210.dtsi" 12 compatible = "google,smaug-rev8", "google,smaug-rev7", 13 "google,smaug-rev6", "google,smaug-rev5", 14 "google,smaug-rev4", "google,smaug-rev3", 15 "google,smaug-rev2", "google,smaug-rev1", [all …]
|
D | tegra210-p2894.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/input.h> 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/mfd/max77620.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 7 #include "tegra210.dtsi" 16 stdout-path = "serial0:115200n8"; 26 pinctrl-names = "boot"; 27 pinctrl-0 = <&state_boot>; 35 nvidia,enable-input = <TEGRA_PIN_DISABLE>; [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/usb/ |
D | nvidia,tegra124-xusb.txt | 8 -------------------- 9 - compatible: Must be: 10 - Tegra124: "nvidia,tegra124-xusb" 11 - Tegra132: "nvidia,tegra132-xusb", "nvidia,tegra124-xusb" 12 - Tegra210: "nvidia,tegra210-xusb" 13 - Tegra186: "nvidia,tegra186-xusb" 14 - reg: Must contain the base and length of the xHCI host registers, XUSB FPCI 16 - reg-names: Must contain the following entries: 17 - "hcd" 18 - "fpci" [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/phy/ |
D | nvidia,tegra124-xusb-padctl.txt | 11 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 12 super-speed USB. Other lanes are for various types of low-speed, full-speed 13 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller 14 contains a software-configurable mux that sits between the I/O controller 17 In addition to per-lane configuration, USB 3.0 ports may require additional 18 settings on a per-board basis. 20 Pads will be represented as children of the top-level XUSB pad controller 23 PHY bindings, as described by the phy-bindings.txt file in this directory. 34 -------------------- 35 - compatible: Must be: [all …]
|
/Linux-v6.1/drivers/clk/tegra/ |
D | clk-tegra210.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2020 NVIDIA CORPORATION. All rights reserved. 8 #include <linux/clk-provider.h> 17 #include <dt-bindings/clock/tegra210-car.h> 18 #include <dt-bindings/reset/tegra210-car.h> 20 #include <soc/tegra/pmc.h> 23 #include "clk-id.h" 27 * banks present in the Tegra210 CAR IP block. The banks are 264 * SDM fractional divisor is 16-bit 2's complement signed number within 265 * (-2^12 ... 2^12-1) range. Represented in PLL data structure as unsigned [all …]
|
/Linux-v6.1/drivers/gpu/drm/tegra/ |
D | nvdec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2015-2021, NVIDIA Corporation. 8 #include <linux/dma-mapping.h> 19 #include <soc/tegra/pmc.h> 54 writel(value, nvdec->regs + offset); in nvdec_writel() 60 struct iommu_fwspec *spec = dev_iommu_fwspec_get(nvdec->dev); in nvdec_boot() 65 if (nvdec->config->supports_sid && spec) { in nvdec_boot() 71 if (spec->num_ids > 0) { in nvdec_boot() 72 value = spec->ids[0] & 0xffff; in nvdec_boot() 80 err = falcon_boot(&nvdec->falcon); in nvdec_boot() [all …]
|
D | vic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/dma-mapping.h> 19 #include <soc/tegra/pmc.h> 54 writel(value, vic->regs + offset); in vic_writel() 60 struct iommu_fwspec *spec = dev_iommu_fwspec_get(vic->dev); in vic_boot() 67 if (vic->config->supports_sid && spec) { in vic_boot() 74 if (spec->num_ids > 0) { in vic_boot() 75 value = spec->ids[0] & 0xffff; in vic_boot() 101 err = falcon_boot(&vic->falcon); in vic_boot() 105 hdr = vic->falcon.firmware.virt; in vic_boot() [all …]
|
D | sor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/clk-provider.h> 17 #include <soc/tegra/pmc.h> 486 u32 value = readl(sor->regs + (offset << 2)); in tegra_sor_readl() 488 trace_sor_readl(sor->dev, offset, value); in tegra_sor_readl() 496 trace_sor_writel(sor->dev, offset, value); in tegra_sor_writel() 497 writel(value, sor->regs + (offset << 2)); in tegra_sor_writel() 504 clk_disable_unprepare(sor->clk); in tegra_sor_set_parent_clock() 506 err = clk_set_parent(sor->clk_out, parent); in tegra_sor_set_parent_clock() 510 err = clk_prepare_enable(sor->clk); in tegra_sor_set_parent_clock() [all …]
|
D | dc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/dma-mapping.h> 21 #include <soc/tegra/pmc.h> 42 stats->frames = 0; in tegra_dc_stats_reset() 43 stats->vblank = 0; in tegra_dc_stats_reset() 44 stats->underflow = 0; in tegra_dc_stats_reset() 45 stats->overflow = 0; in tegra_dc_stats_reset() 64 offset = 0x000 + (offset - 0x500); in tegra_plane_offset() 65 return plane->offset + offset; in tegra_plane_offset() 69 offset = 0x180 + (offset - 0x700); in tegra_plane_offset() [all …]
|
/Linux-v6.1/drivers/soc/tegra/ |
D | pmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/soc/tegra/pmc.c 6 * Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved. 12 #define pr_fmt(fmt) "tegra-pmc: " fmt 14 #include <linux/arm-smccc.h> 16 #include <linux/clk-provider.h> 18 #include <linux/clk/clk-conf.h> 36 #include <linux/pinctrl/pinconf-generic.h> 52 #include <soc/tegra/pmc.h> 54 #include <dt-bindings/interrupt-controller/arm-gic.h> [all …]
|
/Linux-v6.1/drivers/gpio/ |
D | gpio-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/arm/mach-tegra/gpio.c 6 * Copyright (c) 2011-2016, NVIDIA CORPORATION. All rights reserved. 31 #define GPIO_REG(tgi, x) (GPIO_BANK(x) * tgi->soc->bank_stride + \ 45 #define GPIO_MSK_CNF(t, x) (GPIO_REG(t, x) + t->soc->upper_offset + 0x00) 46 #define GPIO_MSK_OE(t, x) (GPIO_REG(t, x) + t->soc->upper_offset + 0x10) 47 #define GPIO_MSK_OUT(t, x) (GPIO_REG(t, x) + t->soc->upper_offset + 0X20) 48 #define GPIO_MSK_DBC_EN(t, x) (GPIO_REG(t, x) + t->soc->upper_offset + 0x30) 49 #define GPIO_MSK_INT_STA(t, x) (GPIO_REG(t, x) + t->soc->upper_offset + 0x40) 50 #define GPIO_MSK_INT_ENB(t, x) (GPIO_REG(t, x) + t->soc->upper_offset + 0x50) [all …]
|
/Linux-v6.1/drivers/ata/ |
D | ahci_tegra.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #include <soc/tegra/pmc.h> 25 #define DRV_NAME "tegra-ahci" 184 struct tegra_ahci_priv *tegra = hpriv->plat_data; in tegra_ahci_handle_quirks() 187 if (tegra->sata_aux_regs && !tegra->soc->supports_devslp) { in tegra_ahci_handle_quirks() 188 val = readl(tegra->sata_aux_regs + SATA_AUX_MISC_CNTL_1_0); in tegra_ahci_handle_quirks() 190 writel(val, tegra->sata_aux_regs + SATA_AUX_MISC_CNTL_1_0); in tegra_ahci_handle_quirks() 196 struct tegra_ahci_priv *tegra = hpriv->plat_data; in tegra124_ahci_init() 208 writel(BIT(0), tegra->sata_regs + SCFG_OFFSET + T_SATA0_INDEX); in tegra124_ahci_init() 210 val = readl(tegra->sata_regs + in tegra124_ahci_init() [all …]
|
/Linux-v6.1/drivers/usb/host/ |
D | xhci-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved. 11 #include <linux/dma-mapping.h> 32 #include <soc/tegra/pmc.h> 283 return readl(tegra->fpci_base + offset); in fpci_readl() 289 writel(value, tegra->fpci_base + offset); in fpci_writel() 294 return readl(tegra->ipfs_base + offset); in ipfs_readl() 300 writel(value, tegra->ipfs_base + offset); in ipfs_writel() 327 struct clk *clk = tegra->ss_src_clk; in tegra_xusb_set_ss_clk() 341 new_parent_rate = clk_get_rate(tegra->pll_u_480m); in tegra_xusb_set_ss_clk() [all …]
|
/Linux-v6.1/drivers/pci/controller/ |
D | pci-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright (c) 2008-2009, NVIDIA Corporation. 11 * Bits taken from arch/arm/mach-dove/pcie.c 44 #include <soc/tegra/pmc.h> 256 * Fields in PADS_REFCLK_CFG*. Those registers form an array of 16-bit 378 writel(value, pcie->afi + offset); in afi_writel() 383 return readl(pcie->afi + offset); in afi_readl() 389 writel(value, pcie->pads + offset); in pads_writel() 394 return readl(pcie->pads + offset); in pads_readl() 429 struct tegra_pcie *pcie = bus->sysdata; in tegra_pcie_map_bus() [all …]
|
/Linux-v6.1/drivers/staging/media/tegra-video/ |
D | vi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #include <media/v4l2-dv-timings.h> 22 #include <media/v4l2-event.h> 23 #include <media/v4l2-fh.h> 24 #include <media/v4l2-fwnode.h> 25 #include <media/v4l2-ioctl.h> 26 #include <media/videobuf2-dma-contig.h> 28 #include <soc/tegra/pmc.h> 68 for (i = offset; i < vi->soc->nformats; ++i) { in tegra_get_format_idx_by_code() 69 if (vi->soc->video_formats[i].code == code) in tegra_get_format_idx_by_code() [all …]
|
/Linux-v6.1/ |
D | MAINTAINERS | 9 ------------------------- 30 ``diff -u`` to make the patch easy to merge. Be prepared to get your 40 See Documentation/process/coding-style.rst for guidance here. 46 See Documentation/process/submitting-patches.rst for details. 57 include a Signed-off-by: line. The current version of this 59 Documentation/process/submitting-patches.rst. 70 that the bug would present a short-term risk to other users if it 76 Documentation/admin-guide/security-bugs.rst for details. 81 --------------------------------------------------- 97 W: *Web-page* with status/info [all …]
|