/linux-6.12.1/Documentation/devicetree/bindings/display/tegra/ |
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-vip.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-vip.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Luca Ceresoli <luca.ceresoli@bootlin.com> 15 - nvidia,tegra20-vip 29 Port sending the video stream to the VI 32 - port@0 33 - port@1 38 - compatible [all …]
|
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# 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 27 - description: A/B lanes clock [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/i2c/ |
D | nvidia,tegra20-i2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/i2c/nvidia,tegra20-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 - Thierry Reding <thierry.reding@gmail.com> 9 - Jon Hunter <jonathanh@nvidia.com> 16 - description: Tegra20 has 4 generic I2C controller. This can support 17 master and slave mode of I2C communication. The i2c-tegra driver 19 controller is only compatible with "nvidia,tegra20-i2c". 20 const: nvidia,tegra20-i2c [all …]
|
/linux-6.12.1/drivers/staging/media/tegra-video/ |
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 | tegra20.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Tegra20-specific VI implementation 10 * This source file contains Tegra20 supported video formats, 11 * VI and VIP SoC specific data, operations and registers accessors. 19 #include <linux/v4l2-mediabus.h> 22 #include "vi.h" 26 /* This are just good-sense numbers. The actual min/max is not documented. */ 32 /* -------------------------------------------------------------------------- 124 #define VI_DATA_INPUT_SFT 0 /* [11:0] = mask pin inputs to VI core */ 147 /* -------------------------------------------------------------------------- [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> 44 * struct tegra_vi_ops - Tegra VI operations 45 * @vi_enable: soc-specific operations needed to enable/disable the VI peripheral [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 tegra-video-objs := \ 4 vi.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 | vip.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Parallel video capture module (VIP) for the Tegra VI. 5 * This file implements the VIP-specific infrastructure. 19 #include <media/v4l2-fwnode.h> 44 remote_pad = media_pad_remote_pad_first(&chan->pads[TEGRA_VIP_PAD_SINK]); in tegra_vip_channel_get_prev_subdev() 48 return media_entity_to_v4l2_subdev(remote_pad->entity); in tegra_vip_channel_get_prev_subdev() 58 err = pm_runtime_resume_and_get(vip->dev); in tegra_vip_enable_stream() 60 return dev_err_probe(vip->dev, err, "failed to get runtime PM\n"); in tegra_vip_enable_stream() 62 err = vip->soc->ops->vip_start_streaming(vip_chan); in tegra_vip_enable_stream() 67 if (err < 0 && err != -ENOIOCTLCMD) in tegra_vip_enable_stream() [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> 30 #include "vi.h" 36 * struct tegra_vi_graph_entity - Entity in the video graph 66 static int tegra_get_format_idx_by_code(struct tegra_vi *vi, in tegra_get_format_idx_by_code() argument [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nvidia/ |
D | tegra20.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra20-car.h> 3 #include <dt-bindings/gpio/tegra-gpio.h> 4 #include <dt-bindings/memory/tegra20-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> 9 #include "tegra20-peripherals-opp.dtsi" 12 compatible = "nvidia,tegra20"; 13 interrupt-parent = <&lic>; [all …]
|
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" 14 interrupt-parent = <&lic>; [all …]
|
D | tegra20-trimslice.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/leds/common.h> 6 #include "tegra20.dtsi" 7 #include "tegra20-cpu-opp.dtsi" 11 compatible = "compulab,trimslice", "nvidia,tegra20"; 20 stdout-path = "serial0:115200n8"; 31 vdd-supply = <&hdmi_vdd_reg>; 32 pll-supply = <&hdmi_pll_reg>; [all …]
|
D | tegra20-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "tegra20.dtsi" 22 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 23 nvidia,hpd-gpio = 25 pll-supply = <®_1v8_avdd_hdmi_pll>; 26 vdd-supply = <®_3v3_avdd_hdmi>; 31 lan-reset-n-hog { 32 gpio-hog; 34 output-high; 35 line-name = "LAN_RESET#"; [all …]
|
D | tegra20-acer-a500-picasso.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/atmel-maxtouch.h> 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/thermal/thermal.h> 9 #include "tegra20.dtsi" 10 #include "tegra20-cpu-opp.dtsi" 11 #include "tegra20-cpu-opp-microvolt.dtsi" 15 compatible = "acer,picasso", "nvidia,tegra20"; [all …]
|
D | tegra20-ventana.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/thermal/thermal.h> 6 #include "tegra20.dtsi" 7 #include "tegra20-cpu-opp.dtsi" 8 #include "tegra20-cpu-opp-microvolt.dtsi" 11 model = "NVIDIA Tegra20 Ventana evaluation board"; 12 compatible = "nvidia,ventana", "nvidia,tegra20"; 21 stdout-path = "serial0:115200n8"; [all …]
|
D | tegra20-asus-tf101.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/atmel-maxtouch.h> 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/thermal/thermal.h> 9 #include "tegra20.dtsi" 10 #include "tegra20-cpu-opp.dtsi" 11 #include "tegra20-cpu-opp-microvolt.dtsi" 15 compatible = "asus,tf101", "nvidia,tegra20"; [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/ |
D | nvidia,tegra20-pinmux.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/nvidia,tegra20-pinmux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra20 Pinmux Controller 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 15 const: nvidia,tegra20-pinmux 19 - description: tri-state registers 20 - description: mux register [all …]
|
D | nvidia,tegra124-pinmux.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/nvidia,tegra124-pinmux.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 Tegra124 pinctrl binding is very similar to the Tegra20 and 14 Tegra30 pinctrl binding, as described in nvidia,tegra20-pinmux.yaml and 15 nvidia,tegra30-pinmux.yaml. In fact, this document assumes that binding as a 21 - const: nvidia,tegra124-pinmux [all …]
|
/linux-6.12.1/include/dt-bindings/clock/ |
D | tegra20-car.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * This header provides constants for binding nvidia,tegra20-car. 40 /* 20 (register bit affects vi and vi_sensor) */
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/i2c/busses/i2c-tegra.c 14 #include <linux/dma-mapping.h> 51 #define I2C_FIFO_CONTROL_TX_TRIG(x) (((x) - 1) << 5) 52 #define I2C_FIFO_CONTROL_RX_TRIG(x) (((x) - 1) << 2) 130 #define I2C_MST_FIFO_CONTROL_RX_TRIG(x) (((x) - 1) << 4) 131 #define I2C_MST_FIFO_CONTROL_TX_TRIG(x) (((x) - 1) << 16) 154 * @MSG_END_REPEAT_START: Send repeat-start. 155 * @MSG_END_CONTINUE: Don't send stop or repeat-start. 165 * @has_continue_xfer_support: continue-transfer supported [all …]
|
/linux-6.12.1/drivers/clk/tegra/ |
D | clk-tegra20.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/clk-provider.h> 15 #include <dt-bindings/clock/tegra20-car.h> 18 #include "clk-id.h" 444 { .dev_id = "tegra20-ac97", .dt_id = TEGRA20_CLK_AC97 }, 445 { .dev_id = "tegra-apbdma", .dt_id = TEGRA20_CLK_APBDMA }, 446 { .dev_id = "rtc-tegra", .dt_id = TEGRA20_CLK_RTC }, 448 { .dev_id = "tegra-kbc", .dt_id = TEGRA20_CLK_KBC }, 450 { .con_id = "vcp", .dev_id = "tegra-avp", .dt_id = TEGRA20_CLK_VCP }, 451 { .con_id = "bsea", .dev_id = "tegra-avp", .dt_id = TEGRA20_CLK_BSEA }, [all …]
|
/linux-6.12.1/drivers/pinctrl/tegra/ |
D | pinctrl-tegra20.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Pinctrl data for the NVIDIA Tegra20 pinmux 7 * Copyright (c) 2011-2012, NVIDIA CORPORATION. All rights reserved. 14 #include <linux/clk-provider.h> 21 #include "pinctrl-tegra.h" 254 /* All non-GPIO pins follow */ 1957 FUNCTION(vi), 1967 /* Pin group with mux control, and typically tri-state and pull-up/down too */ 1980 .mux_reg = ((mux_r) - PIN_MUX_CTL_REG_A), \ 1983 .pupd_reg = ((pupd_r) - PULLUPDOWN_REG_A), \ [all …]
|
/linux-6.12.1/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 …]
|