Home
last modified time | relevance | path

Searched +full:vga +full:- +full:connector (Results 1 – 25 of 219) sorted by relevance

123456789

/kernel/linux/linux-4.19/drivers/gpu/drm/bridge/
Ddumb-vga-dac.c2 * Copyright (C) 2015-2016 Free Electrons
3 * Copyright (C) 2015-2016 NextThing Co
5 * Maxime Ripard <maxime.ripard@free-electrons.com>
25 struct drm_connector connector; member
38 drm_connector_to_dumb_vga(struct drm_connector *connector) in drm_connector_to_dumb_vga() argument
40 return container_of(connector, struct dumb_vga, connector); in drm_connector_to_dumb_vga()
43 static int dumb_vga_get_modes(struct drm_connector *connector) in dumb_vga_get_modes() argument
45 struct dumb_vga *vga = drm_connector_to_dumb_vga(connector); in dumb_vga_get_modes() local
49 if (IS_ERR(vga->ddc)) in dumb_vga_get_modes()
52 edid = drm_get_edid(connector, vga->ddc); in dumb_vga_get_modes()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/zte/
Dzx_vga.c1 // SPDX-License-Identifier: GPL-2.0-only
35 struct drm_connector connector; member
50 struct zx_vga *vga = to_zx_vga(encoder); in zx_vga_encoder_enable() local
51 struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl; in zx_vga_encoder_enable()
53 /* Set bit to power up VGA DACs */ in zx_vga_encoder_enable()
54 regmap_update_bits(pwrctrl->regmap, pwrctrl->reg, pwrctrl->mask, in zx_vga_encoder_enable()
55 pwrctrl->mask); in zx_vga_encoder_enable()
57 vou_inf_enable(VOU_VGA, encoder->crtc); in zx_vga_encoder_enable()
62 struct zx_vga *vga = to_zx_vga(encoder); in zx_vga_encoder_disable() local
63 struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl; in zx_vga_encoder_disable()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/zte/
Dzx_vga.c35 struct drm_connector connector; member
50 struct zx_vga *vga = to_zx_vga(encoder); in zx_vga_encoder_enable() local
51 struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl; in zx_vga_encoder_enable()
53 /* Set bit to power up VGA DACs */ in zx_vga_encoder_enable()
54 regmap_update_bits(pwrctrl->regmap, pwrctrl->reg, pwrctrl->mask, in zx_vga_encoder_enable()
55 pwrctrl->mask); in zx_vga_encoder_enable()
57 vou_inf_enable(VOU_VGA, encoder->crtc); in zx_vga_encoder_enable()
62 struct zx_vga *vga = to_zx_vga(encoder); in zx_vga_encoder_disable() local
63 struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl; in zx_vga_encoder_disable()
65 vou_inf_disable(VOU_VGA, encoder->crtc); in zx_vga_encoder_disable()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/display/connector/
Dvga-connector.txt1 VGA Connector
6 - compatible: "vga-connector"
10 - label: a symbolic name for the connector corresponding to a hardware label
11 - ddc-i2c-bus: phandle to the I2C bus that is connected to VGA DDC
15 The VGA connector internal connections are modeled using the OF graph bindings
18 The VGA connector has a single port that must be connected to a video source
23 -------
25 vga0: connector@0 {
26 compatible = "vga-connector";
27 label = "vga";
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/connector/
Dvga-connector.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/display/connector/vga-connector.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: VGA Connector
10 - Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
14 const: vga-connector
18 ddc-i2c-bus:
23 description: Connection to controller providing VGA signals
26 - compatible
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
Ddisplay-connector.c1 // SPDX-License-Identifier: GPL-2.0
34 return flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR ? 0 : -EINVAL; in display_connector_attach()
42 if (conn->hpd_gpio) { in display_connector_detect()
43 if (gpiod_get_value_cansleep(conn->hpd_gpio)) in display_connector_detect()
49 if (conn->bridge.ddc && drm_probe_ddc(conn->bridge.ddc)) in display_connector_detect()
52 switch (conn->bridge.type) { in display_connector_detect()
69 * Composite and S-Video connectors have no other detection in display_connector_detect()
70 * mean than the HPD GPIO. For VGA connectors, even if we have in display_connector_detect()
80 struct drm_connector *connector) in display_connector_get_edid() argument
84 return drm_get_edid(connector, conn->bridge.ddc); in display_connector_get_edid()
[all …]
Dchrontel-ch7033.c1 // SPDX-License-Identifier: GPL-2.0-only
203 struct drm_connector connector; member
207 container_of(x, struct ch7033_priv, connector)
213 struct drm_connector *connector, bool force) in ch7033_connector_detect() argument
215 struct ch7033_priv *priv = conn_to_ch7033_priv(connector); in ch7033_connector_detect()
217 return drm_bridge_detect(priv->next_bridge); in ch7033_connector_detect()
229 static int ch7033_connector_get_modes(struct drm_connector *connector) in ch7033_connector_get_modes() argument
231 struct ch7033_priv *priv = conn_to_ch7033_priv(connector); in ch7033_connector_get_modes()
235 edid = drm_bridge_get_edid(priv->next_bridge, connector); in ch7033_connector_get_modes()
236 drm_connector_update_edid_property(connector, edid); in ch7033_connector_get_modes()
[all …]
/kernel/linux/linux-4.19/samples/
DKconfig10 tristate "Build trace_events examples -- loadable modules only"
16 tristate "Build trace_printk module - tests various trace_printk formats"
23 tristate "Build kobject examples -- loadable modules only"
33 tristate "Build kprobes examples -- loadable modules only"
39 tristate "Build kretprobes example -- loadable modules only"
44 tristate "Build kernel hardware breakpoint examples -- loadable module only"
50 tristate "Build kfifo examples -- loadable modules only"
60 tristate "Build kdb command example -- loadable modules only"
67 tristate "Build qmi client sample -- loadable modules only"
77 tristate "Build rpmsg client sample -- loadable modules only"
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dsun6i-a31-hummingbird.dts4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun6i-a31.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
53 compatible = "merrii,a31-hummingbird", "allwinner,sun6i-a31";
62 stdout-path = "serial0:115200n8";
65 hdmi-connector {
66 compatible = "hdmi-connector";
[all …]
Dr8a7792-blanche.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
25 stdout-path = "serial0:115200n8";
33 d3_3v: regulator-3v3 {
34 compatible = "regulator-fixed";
35 regulator-name = "D3.3V";
36 regulator-min-microvolt = <3300000>;
37 regulator-max-microvolt = <3300000>;
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/bochs/
Dbochs_kms.c19 /* ---------------------------------------------------------------------- */
45 bo = gem_to_bochs_bo(bochs_fb->obj); in bochs_crtc_mode_set_base()
46 ret = ttm_bo_reserve(&bo->bo, true, false, NULL); in bochs_crtc_mode_set_base()
51 ttm_bo_unreserve(&bo->bo); in bochs_crtc_mode_set_base()
55 if (WARN_ON(crtc->primary->fb == NULL)) in bochs_crtc_mode_set_base()
56 return -EINVAL; in bochs_crtc_mode_set_base()
58 bochs_fb = to_bochs_framebuffer(crtc->primary->fb); in bochs_crtc_mode_set_base()
59 bo = gem_to_bochs_bo(bochs_fb->obj); in bochs_crtc_mode_set_base()
60 ret = ttm_bo_reserve(&bo->bo, true, false, NULL); in bochs_crtc_mode_set_base()
66 ttm_bo_unreserve(&bo->bo); in bochs_crtc_mode_set_base()
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dsun6i-a31-hummingbird.dts4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun6i-a31.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
53 compatible = "merrii,a31-hummingbird", "allwinner,sun6i-a31";
62 stdout-path = "serial0:115200n8";
65 hdmi-connector {
66 compatible = "hdmi-connector";
[all …]
Dr8a7792-blanche.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
25 stdout-path = "serial0:115200n8";
33 d3_3v: regulator-3v3 {
34 compatible = "regulator-fixed";
35 regulator-name = "D3.3V";
36 regulator-min-microvolt = <3300000>;
37 regulator-max-microvolt = <3300000>;
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-integrator/
Dimpd1.c2 * linux/arch/arm/mach-integrator/impd1.c
10 * This file provides the core support for the IM-PD1 module.
13 * lmid=n impd1.lmid=n - set the logic module position in stack to 'n'
25 #include <linux/platform_data/clk-integrator.h>
27 #include <linux/irqchip/arm-vic.h>
50 cur = readl(impd1->base + IMPD1_CTRL) & ~mask; in impd1_tweak_control()
51 writel(cur | val, impd1->base + IMPD1_CTRL); in impd1_tweak_control()
71 #define VGA 4 macro
73 #if PANEL == VGA
74 #define PANELTYPE vga
[all …]
/kernel/linux/linux-5.10/samples/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
14 tristate "Build trace_events examples -- loadable modules only"
20 tristate "Build trace_printk module - tests various trace_printk formats"
51 tristate "Build kprobes examples -- loadable modules only"
57 tristate "Build kretprobes example -- loadable modules only"
62 tristate "Build kernel hardware breakpoint examples -- loadable module only"
68 tristate "Build kfifo examples -- loadable modules only"
78 tristate "Build kdb command example -- loadable modules only"
85 tristate "Build qmi client sample -- loadable modules only"
95 tristate "Build rpmsg client sample -- loadable modules only"
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/
Dimx-tve.c1 // SPDX-License-Identifier: GPL-2.0+
3 * i.MX drm driver - Television Encoder (TVEv2)
8 #include <linux/clk-provider.h>
18 #include <video/imx-ipu-v3.h>
25 #include "imx-drm.h"
103 struct drm_connector connector; member
121 return container_of(c, struct imx_tve, connector); in con_to_tve()
131 clk_prepare_enable(tve->clk); in tve_enable()
132 regmap_update_bits(tve->regmap, TVE_COM_CONF_REG, TVE_EN, TVE_EN); in tve_enable()
135 regmap_write(tve->regmap, TVE_STAT_REG, 0xffffffff); in tve_enable()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/imx/
Dimx-tve.c2 * i.MX drm driver - Television Encoder (TVEv2)
17 #include <linux/clk-provider.h>
29 #include <video/imx-ipu-v3.h>
31 #include "imx-drm.h"
109 struct drm_connector connector; member
129 return container_of(c, struct imx_tve, connector); in con_to_tve()
138 __acquires(&tve->lock) in tve_lock()
142 spin_lock(&tve->lock); in tve_lock()
146 __releases(&tve->lock) in tve_unlock()
150 spin_unlock(&tve->lock); in tve_unlock()
[all …]
/kernel/linux/linux-4.19/arch/arm64/boot/dts/renesas/
Dr8a77995-draak.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
24 stdout-path = "serial0:115200n8";
27 vga {
28 compatible = "vga-connector";
32 remote-endpoint = <&adv7123_out>;
37 vga-encoder {
41 #address-cells = <1>;
42 #size-cells = <0>;
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/i915/
Dintel_crt.c2 * Copyright © 2006-2007 Intel Corporation
49 /* DPMS state is stored in the connector, which we need in the
51 struct intel_connector *connector; member
61 static struct intel_crt *intel_attached_crt(struct drm_connector *connector) in intel_attached_crt() argument
63 return intel_encoder_to_crt(intel_attached_encoder(connector)); in intel_attached_crt()
85 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_crt_get_hw_state()
90 encoder->power_domain)) in intel_crt_get_hw_state()
93 ret = intel_crt_port_enabled(dev_priv, crt->adpa_reg, pipe); in intel_crt_get_hw_state()
95 intel_display_power_put(dev_priv, encoder->power_domain); in intel_crt_get_hw_state()
102 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_crt_get_flags()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/panel/
Dpanel-arm-versatile.c1 // SPDX-License-Identifier: GPL-2.0
14 * - The IB1 is a passive board where the display connector defines a
19 * - The IB2 is a more complex board intended for GSM phone development
64 * struct versatile_panel_type - lookup struct for the supported panels
98 * struct versatile_panel - state container for the Versatile panels
125 * Sanyo TM38QV67A02A - 3.8 inch QVGA (320x240) Color TFT
126 * found on the Versatile AB IB1 connector or the Versatile
127 * PB adaptor board connector.
149 * Sharp LQ084V1DG21 640x480 VGA Color TFT module
150 * found on the Versatile AB IB1 connector or the Versatile
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
Dpanel-arm-versatile.c1 // SPDX-License-Identifier: GPL-2.0
14 * - The IB1 is a passive board where the display connector defines a
19 * - The IB2 is a more complex board intended for GSM phone development
66 * struct versatile_panel_type - lookup struct for the supported panels
100 * struct versatile_panel - state container for the Versatile panels
127 * Sanyo TM38QV67A02A - 3.8 inch QVGA (320x240) Color TFT
128 * found on the Versatile AB IB1 connector or the Versatile
129 * PB adaptor board connector.
150 * Sharp LQ084V1DG21 640x480 VGA Color TFT module
151 * found on the Versatile AB IB1 connector or the Versatile
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_crt.c2 * Copyright © 2006-2007 Intel Corporation
55 /* DPMS state is stored in the connector, which we need in the
57 struct intel_connector *connector; member
67 static struct intel_crt *intel_attached_crt(struct intel_connector *connector) in intel_attached_crt() argument
69 return intel_encoder_to_crt(intel_attached_encoder(connector)); in intel_attached_crt()
91 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_crt_get_hw_state()
97 encoder->power_domain); in intel_crt_get_hw_state()
101 ret = intel_crt_port_enabled(dev_priv, crt->adpa_reg, pipe); in intel_crt_get_hw_state()
103 intel_display_power_put(dev_priv, encoder->power_domain, wakeref); in intel_crt_get_hw_state()
110 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); in intel_crt_get_flags()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_connectors.c2 * Copyright 2007-8 Advanced Micro Devices, Inc.
42 void amdgpu_connector_hotplug(struct drm_connector *connector) in amdgpu_connector_hotplug() argument
44 struct drm_device *dev = connector->dev; in amdgpu_connector_hotplug()
46 struct amdgpu_connector *amdgpu_connector = to_amdgpu_connector(connector); in amdgpu_connector_hotplug()
48 /* bail if the connector does not have hpd pin, e.g., in amdgpu_connector_hotplug()
49 * VGA, TV, etc. in amdgpu_connector_hotplug()
51 if (amdgpu_connector->hpd.hpd == AMDGPU_HPD_NONE) in amdgpu_connector_hotplug()
54 amdgpu_display_hpd_set_polarity(adev, amdgpu_connector->hpd.hpd); in amdgpu_connector_hotplug()
56 /* if the connector is already off, don't turn it back on */ in amdgpu_connector_hotplug()
57 if (connector->dpms != DRM_MODE_DPMS_ON) in amdgpu_connector_hotplug()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_connectors.c2 * Copyright 2007-8 Advanced Micro Devices, Inc.
40 void amdgpu_connector_hotplug(struct drm_connector *connector) in amdgpu_connector_hotplug() argument
42 struct drm_device *dev = connector->dev; in amdgpu_connector_hotplug()
43 struct amdgpu_device *adev = dev->dev_private; in amdgpu_connector_hotplug()
44 struct amdgpu_connector *amdgpu_connector = to_amdgpu_connector(connector); in amdgpu_connector_hotplug()
46 /* bail if the connector does not have hpd pin, e.g., in amdgpu_connector_hotplug()
47 * VGA, TV, etc. in amdgpu_connector_hotplug()
49 if (amdgpu_connector->hpd.hpd == AMDGPU_HPD_NONE) in amdgpu_connector_hotplug()
52 amdgpu_display_hpd_set_polarity(adev, amdgpu_connector->hpd.hpd); in amdgpu_connector_hotplug()
54 /* if the connector is already off, don't turn it back on */ in amdgpu_connector_hotplug()
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/renesas/
Dr8a77995-draak.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016-2018 Renesas Electronics Corp.
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
23 compatible = "pwm-backlight";
26 brightness-levels = <512 511 505 494 473 440 392 327 241 133 0>;
27 default-brightness-level = <10>;
29 power-supply = <&reg_12p0v>;
30 enable-gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
35 stdout-path = "serial0:115200n8";
[all …]

123456789