| /kernel/linux/linux-5.10/drivers/staging/media/tegra-video/ |
| D | tegra210.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * This source file contains Tegra210 supported video formats, 8 * VI and CSI SoC specific data, operations and registers accessors. 17 #include "csi.h" 22 /* Tegra210 VI registers */ 33 /* Tegra210 VI CSI registers */ 57 /* Tegra210 CSI Pixel Parser registers: Starts from 0x838, offset 0x0 */ 85 /* Tegra210 CSI PHY registers */ 139 /* Tegra210 VI registers accessors */ 143 writel_relaxed(val, chan->vi->iomem + addr); in tegra_vi_write() [all …]
|
| D | video.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 tegra_channels_cleanup(vid->vi); in tegra_v4l2_dev_release() 22 media_device_unregister(&vid->media_dev); in tegra_v4l2_dev_release() 23 media_device_cleanup(&vid->media_dev); in tegra_v4l2_dev_release() 34 return -ENOMEM; in host1x_video_probe() 36 dev_set_drvdata(&dev->dev, vid); in host1x_video_probe() 38 vid->media_dev.dev = &dev->dev; in host1x_video_probe() 39 strscpy(vid->media_dev.model, "NVIDIA Tegra Video Input Device", in host1x_video_probe() 40 sizeof(vid->media_dev.model)); in host1x_video_probe() 42 media_device_init(&vid->media_dev); in host1x_video_probe() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 tegra-video-objs := \ 5 csi.o 7 tegra-video-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210.o 8 obj-$(CONFIG_VIDEO_TEGRA) += tegra-video.o
|
| D | csi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <media/v4l2-fwnode.h> 19 #include "csi.h" 36 * CSI is a separate subdevice which has 6 source pads to generate 37 * test pattern. CSI subdevice pad ops are used only for TPG and 71 return -ENOIOCTLCMD; in csi_enum_bus_code() 73 if (code->index >= ARRAY_SIZE(tegra_csi_tpg_fmts)) in csi_enum_bus_code() 74 return -EINVAL; in csi_enum_bus_code() 76 code->code = tegra_csi_tpg_fmts[code->index].code; in csi_enum_bus_code() 88 return -ENOIOCTLCMD; in csi_get_format() [all …]
|
| D | vi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #include <media/v4l2-event.h> 22 #include <media/v4l2-fh.h> 23 #include <media/v4l2-fwnode.h> 24 #include <media/v4l2-ioctl.h> 25 #include <media/videobuf2-dma-contig.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() 73 return -1; in tegra_get_format_idx_by_code() 79 if (index >= vi->soc->nformats) in tegra_get_format_fourcc_by_idx() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/media/tegra-video/ |
| D | tegra210.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * This source file contains Tegra210 supported video formats, 8 * VI and CSI SoC specific data, operations and registers accessors. 17 #include "csi.h" 29 /* Tegra210 VI registers */ 40 /* Tegra210 VI CSI registers */ 64 /* Tegra210 CSI Pixel Parser registers: Starts from 0x838, offset 0x0 */ 92 /* Tegra210 CSI PHY registers */ 146 /* Tegra210 VI registers accessors */ 150 writel_relaxed(val, chan->vi->iomem + addr); in tegra_vi_write() [all …]
|
| D | vi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 #include <media/media-entity.h> 17 #include <media/v4l2-async.h> 18 #include <media/v4l2-ctrls.h> 19 #include <media/v4l2-device.h> 20 #include <media/v4l2-dev.h> 21 #include <media/v4l2-subdev.h> 22 #include <media/videobuf2-v4l2.h> 24 #include "csi.h" 44 * struct tegra_vi_ops - Tegra VI operations [all …]
|
| D | video.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <media/v4l2-event.h> 21 tegra_channels_cleanup(vid->vi); in tegra_v4l2_dev_release() 24 media_device_unregister(&vid->media_dev); in tegra_v4l2_dev_release() 25 media_device_cleanup(&vid->media_dev); in tegra_v4l2_dev_release() 39 v4l2_event_queue(&chan->video, arg); in tegra_v4l2_dev_notify() 40 if (ev->type == V4L2_EVENT_SOURCE_CHANGE && vb2_is_streaming(&chan->queue)) in tegra_v4l2_dev_notify() 41 vb2_queue_error(&chan->queue); in tegra_v4l2_dev_notify() 51 return -ENOMEM; in host1x_video_probe() 53 dev_set_drvdata(&dev->dev, vid); in host1x_video_probe() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 tegra-video-objs := \ 6 csi.o 8 tegra-video-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20.o 9 tegra-video-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210.o 10 obj-$(CONFIG_VIDEO_TEGRA) += tegra-video.o
|
| D | csi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <media/v4l2-fwnode.h> 18 #include "csi.h" 35 * CSI is a separate subdevice which has 6 source pads to generate 36 * test pattern. CSI subdevice pad ops are used only for TPG and 70 return -ENOIOCTLCMD; in csi_enum_bus_code() 72 if (code->index >= ARRAY_SIZE(tegra_csi_tpg_fmts)) in csi_enum_bus_code() 73 return -EINVAL; in csi_enum_bus_code() 75 code->code = tegra_csi_tpg_fmts[code->index].code; in csi_enum_bus_code() 87 return -ENOIOCTLCMD; in csi_get_format() [all …]
|
| 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> 36 * struct tegra_vi_graph_entity - Entity in the video graph 72 for (i = offset; i < vi->soc->nformats; ++i) { in tegra_get_format_idx_by_code() 73 if (vi->soc->video_formats[i].code == code) in tegra_get_format_idx_by_code() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/tegra/ |
| D | nvidia,tegra210-csi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra210-csi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra CSI controller 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 15 pattern: "^csi@[0-9a-f]+$" 19 - nvidia,tegra210-csi 26 - description: module clock [all …]
|
| D | nvidia,tegra20-vi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-vi.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: "^vi@[0-9a-f]+$" 19 - const: nvidia,tegra20-vi 20 - const: nvidia,tegra30-vi 21 - const: nvidia,tegra114-vi [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 …]
|
| D | nvidia,tegra20-dsi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-dsi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 16 - enum: 17 - nvidia,tegra20-dsi 18 - nvidia,tegra30-dsi 19 - nvidia,tegra114-dsi [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/tegra/ |
| D | nvidia,tegra20-host1x.txt | 4 - compatible: "nvidia,tegra<chip>-host1x" 5 - reg: Physical base address and length of the controller's registers. 6 For pre-Tegra186, one entry describing the whole register area. 7 For Tegra186, one entry for each entry in reg-names: 8 "vm" - VM region assigned to Linux 9 "hypervisor" - Hypervisor region (only if Linux acts as hypervisor) 10 - interrupts: The interrupt outputs from the controller. 11 - #address-cells: The number of cells used to represent physical base addresses 13 - #size-cells: The number of cells used to represent the size of an address 15 - ranges: The mapping of the host1x address space to the CPU address space. [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/ |
| D | tegra210-p2371-2180.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra210-p2180.dtsi" 5 #include "tegra210-p2597.dtsi" 9 compatible = "nvidia,p2371-2180", "nvidia,tegra210"; 14 avdd-pll-uerefe-supply = <&avdd_1v05_pll>; 15 hvddio-pex-supply = <&vdd_1v8>; 16 dvddio-pex-supply = <&vdd_pex_1v05>; 17 dvdd-pex-pll-supply = <&vdd_pex_1v05>; 18 hvdd-pex-pll-e-supply = <&vdd_1v8>; [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 | 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 avdd-pll-uerefe-supply = <&vdd_pex_1v05>; 34 hvddio-pex-supply = <&vdd_1v8>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/nvidia/ |
| 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 | tegra210-p2371-2180.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra210-p2180.dtsi" 5 #include "tegra210-p2597.dtsi" 9 compatible = "nvidia,p2371-2180", "nvidia,tegra210"; 14 hvddio-pex-supply = <&vdd_1v8>; 15 dvddio-pex-supply = <&vdd_pex_1v05>; 16 vddio-pex-ctl-supply = <&vdd_1v8>; 19 phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, 20 <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>, [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-p2597.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/gpio/tegra-gpio.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 8 model = "NVIDIA Tegra210 P2597 I/O board"; 9 compatible = "nvidia,p2597", "nvidia,tegra210"; 23 avdd-dsi-csi-supply = <&vdd_dsi_csi>; 25 csi@838 { 33 avdd-io-hdmi-dp-supply = <&avdd_1v05>; 34 vdd-hdmi-dp-pll-supply = <&vdd_1v8>; [all …]
|
| /kernel/linux/linux-6.6/drivers/spi/ |
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG 8 # small core, mostly translating board-specific 10 obj-$(CONFIG_SPI_MASTER) += spi.o 11 obj-$(CONFIG_SPI_MEM) += spi-mem.o 12 obj-$(CONFIG_SPI_MUX) += spi-mux.o 13 obj-$(CONFIG_SPI_SPIDEV) += spidev.o 14 obj-$(CONFIG_SPI_LOOPBACK_TEST) += spi-loopback-test.o 17 obj-$(CONFIG_SPI_ALTERA) += spi-altera-platform.o 18 obj-$(CONFIG_SPI_ALTERA_CORE) += spi-altera-core.o [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 dynamic device discovery; some are even write-only or read-only. 17 chips, analog to digital (and d-to-a) converters, and more. 44 If your system has an master-capable SPI controller (which 56 by providing a high-level interface to send memory-like commands. 145 supports spi-mem interface. 224 this code to manage the per-word or per-transfer accesses to the 254 Flash over 1/2/4-bit wide bus. Enable this option if you have a 266 Flash over up to 8-bit wide bus. Enable this option if you have a 274 This enables dedicated general purpose SPI/Microwire1-compatible [all …]
|