| /OK3568_Linux_fs/kernel/drivers/gpu/drm/zte/ |
| H A D | zx_vga.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/connector/ |
| H A D | vga-connector.yaml | 1 # 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 …]
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.video | 3 * Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it 5 * SPDX-License-Identifier: GPL-2.0+ 8 "video-mode" environment variable 11 The 'video-mode' environment variable can be used to enable and configure 12 some video drivers. The format matches the video= command-line option used 15 video-mode=<driver>:<xres>x<yres>-<depth>@<freq><,option=string> 17 <driver> The video driver name, ignored by U-Boot 22 <options> A comma-separated list of device-specific options 25 U-Boot MPC8xx video controller driver 30 - MPC823FADS with AD7176 on a PAL TV (YCbYCr) - arsenio@tin.it [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | sun6i-a31-hummingbird.dts | 4 * 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 …]
|
| H A D | r8a7792-blanche.dts | 1 // 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 …]
|
| H A D | sun9i-a80-cubieboard4.dts | 5 * Chen-Yu Tsai <wens@csie.org> 7 * This file is dual-licensed: you can use it either under the terms 46 /dts-v1/; 47 #include "sun9i-a80.dtsi" 49 #include <dt-bindings/gpio/gpio.h> 53 compatible = "cubietech,a80-cubieboard4", "allwinner,sun9i-a80"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "gpio-leds"; 77 vga-connector { 78 compatible = "vga-connector"; [all …]
|
| H A D | integratorcp.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 11 compatible = "arm,integrator-cp"; 18 #address-cells = <1>; 19 #size-cells = <0>; 35 operating-points = <50000 0 38 clock-names = "cpu"; 39 clock-latency = <1000000>; /* 1 ms */ 45 * ARM DUI 0184B page 7-28 "Integrator/CP922T system clocks" which 51 #clock-cells = <0>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/ |
| H A D | display-connector.c | 1 // SPDX-License-Identifier: GPL-2.0 38 return flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR ? 0 : -EINVAL; in display_connector_attach() 46 if (conn->hpd_gpio) { in display_connector_detect() 47 if (gpiod_get_value_cansleep(conn->hpd_gpio)) in display_connector_detect() 53 if (conn->bridge.ddc && drm_probe_ddc(conn->bridge.ddc)) in display_connector_detect() 56 switch (conn->bridge.type) { in display_connector_detect() 73 * Composite and S-Video connectors have no other detection in display_connector_detect() 74 * mean than the HPD GPIO. For VGA connectors, even if we have in display_connector_detect() 84 struct drm_connector *connector) in display_connector_get_edid() argument 88 return drm_get_edid(connector, conn->bridge.ddc); in display_connector_get_edid() [all …]
|
| H A D | chrontel-ch7033.c | 1 // 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 …]
|
| H A D | simple-bridge.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2015-2016 Free Electrons 4 * Copyright (C) 2015-2016 NextThing Co 6 * Maxime Ripard <maxime.ripard@free-electrons.com> 28 struct drm_connector connector; member 44 drm_connector_to_simple_bridge(struct drm_connector *connector) in drm_connector_to_simple_bridge() argument 46 return container_of(connector, struct simple_bridge, connector); in drm_connector_to_simple_bridge() 49 static int simple_bridge_get_modes(struct drm_connector *connector) in simple_bridge_get_modes() argument 51 struct simple_bridge *sbridge = drm_connector_to_simple_bridge(connector); in simple_bridge_get_modes() 55 if (sbridge->next_bridge->ops & DRM_BRIDGE_OP_EDID) { in simple_bridge_get_modes() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/imx/ |
| H A D | imx-tve.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/samples/ |
| H A D | Kconfig | 1 # 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/ |
| H A D | intel_crt.c | 2 * 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 …]
|
| H A D | intel_acpi.c | 1 // SPDX-License-Identifier: GPL-2.0 28 return "Analog VGA"; in intel_dsm_port_name() 87 if (!pkg->package.count) { in intel_dsm_platform_mux_info() 92 connector_count = &pkg->package.elements[0]; in intel_dsm_platform_mux_info() 94 (unsigned long long)connector_count->integer.value); in intel_dsm_platform_mux_info() 95 for (i = 1; i < pkg->package.count; i++) { in intel_dsm_platform_mux_info() 96 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info() 100 if (obj->type != ACPI_TYPE_PACKAGE || obj->package.count < 2) { in intel_dsm_platform_mux_info() 105 connector_id = &obj->package.elements[0]; in intel_dsm_platform_mux_info() 106 info = &obj->package.elements[1]; in intel_dsm_platform_mux_info() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/panel/ |
| H A D | panel-arm-versatile.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_connectors.c | 2 * 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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/renesas/ |
| H A D | r8a77995-draak.dts | 1 // 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 = <®_12p0v>; 30 enable-gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>; 35 stdout-path = "serial0:115200n8"; [all …]
|
| H A D | r8a77990-ebisu.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 26 stdout-path = "serial0:115200n8"; 29 audio_clkout: audio-clkout { 32 * but needed to avoid cs2000/rcar_sound probe dead-lock 34 compatible = "fixed-clock"; 35 #clock-cells = <0>; 36 clock-frequency = <11289600>; 40 compatible = "pwm-backlight"; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/ |
| H A D | radeon_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 40 static int radeon_dp_handle_hpd(struct drm_connector *connector) in radeon_dp_handle_hpd() argument 42 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in radeon_dp_handle_hpd() 46 if (ret == -EINVAL) in radeon_dp_handle_hpd() 50 void radeon_connector_hotplug(struct drm_connector *connector) in radeon_connector_hotplug() argument 52 struct drm_device *dev = connector->dev; in radeon_connector_hotplug() 53 struct radeon_device *rdev = dev->dev_private; in radeon_connector_hotplug() 54 struct radeon_connector *radeon_connector = to_radeon_connector(connector); in radeon_connector_hotplug() 56 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in radeon_connector_hotplug() 58 radeon_connector->con_priv; in radeon_connector_hotplug() [all …]
|
| H A D | radeon_combios.c | 3 * Copyright 2007-8 Advanced Micro Devices, Inc. 136 struct radeon_device *rdev = dev->dev_private; in combios_get_table_offset() 140 if (!rdev->bios) in combios_get_table_offset() 365 size = RBIOS8(rdev->bios_header_start + 0x6); in combios_get_table_offset() 368 offset = RBIOS16(rdev->bios_header_start + check_offset); in combios_get_table_offset() 378 edid_info = combios_get_table_offset(rdev->ddev, COMBIOS_HARDCODED_EDID_TABLE); in radeon_combios_check_hardcoded_edid() 382 raw = rdev->bios + edid_info; in radeon_combios_check_hardcoded_edid() 395 rdev->mode_info.bios_hardcoded_edid = edid; in radeon_combios_check_hardcoded_edid() 396 rdev->mode_info.bios_hardcoded_edid_size = size; in radeon_combios_check_hardcoded_edid() 406 if (rdev->mode_info.bios_hardcoded_edid) { in radeon_bios_get_hardcoded_edid() [all …]
|
| H A D | radeon_acpi.h | 36 * The AMD ACPI notification mechanism uses Notify (VGA, 0x81) or a custom 38 * Method GET_SYSTEM_PARAMETERS. When the driver receives Notify (VGA, 0x81) or 71 * WORD - structure size in bytes (includes size field) 72 * WORD - version 73 * DWORD - supported notifications mask 74 * DWORD - supported functions bit vector 102 * WORD - structure size in bytes (includes size field) 103 * DWORD - valid flags mask 104 * DWORD - flags 108 * WORD - structure size in bytes (includes size field) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/include/ |
| H A D | amd_acpi.h | 48 u8 thermal_state; /* thermal state: state id (0: exit state, non-0: state) */ 52 u8 backlight_level; /* panel backlight level (0-255) */ 64 u8 ipnut_signal; /* input signal in range 0-255 */ 73 u8 min_input_signal; /* max input signal in range 0-255 */ 74 u8 max_input_signal; /* min input signal in range 0-255 */ 94 u16 client_id; /* client id (bit 2-0: func num, 7-3: dev num, 15-8: bus num) */ 112 * The AMD ACPI notification mechanism uses Notify (VGA, 0x81) or a custom 114 * Method GET_SYSTEM_PARAMETERS. When the driver receives Notify (VGA, 0x81) or 147 * WORD - structure size in bytes (includes size field) 148 * WORD - version [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/tve200/ |
| H A D | tve200_display.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2006-2008 Intel Corporation 15 #include <linux/dma-buf.h> 34 stat = readl(priv->regs + TVE200_INT_STAT); in tve200_irq() 51 val = readl(priv->regs + TVE200_CTRL); in tve200_irq() 54 drm_crtc_handle_vblank(&priv->pipe.crtc); in tve200_irq() 61 writel(val, priv->regs + TVE200_CTRL); in tve200_irq() 63 dev_err(priv->drm->dev, "stray IRQ %08x\n", stat); in tve200_irq() 66 writel(stat, priv->regs + TVE200_INT_CLR); in tve200_irq() 75 const struct drm_display_mode *mode = &cstate->mode; in tve200_display_check() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_bios.c | 2 * Copyright 2005-2006 Erik Waling 4 * Copyright 2007-2009 Stuart Bennett 30 #include <linux/io-mapping.h> 40 #define BIOSLOG(sip, fmt, arg...) NV_DEBUG(sip->dev, fmt, ##arg) 71 if (bios->major_version < 5) /* pre BIT */ in clkcmptable() 77 compareclk = ROM16(bios->data[clktable + compare_record_len * i]); in clkcmptable() 79 if (bios->major_version < 5) { in clkcmptable() 80 uint8_t tmdssub = bios->data[clktable + 2 + compare_record_len * i]; in clkcmptable() 81 scriptptr = ROM16(bios->data[bios->init_script_tbls_ptr + tmdssub * 2]); in clkcmptable() 83 scriptptr = ROM16(bios->data[clktable + 2 + compare_record_len * i]); in clkcmptable() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/ia64/ |
| H A D | serial.rst | 16 - Firmware on some machines (mostly from HP) provides an HCDP 23 - If there was no HCDP, we assumed there were UARTs at the 34 For example, an HP rx1600 with a single built-in serial port 39 Type MMIO pre-2.6.10 pre-2.6.10 2.6.10+ 63 - If your firmware supplies the HCDP, it is simplest to 64 configure EFI with a single device (either a UART or a VGA 71 - Without an HCDP, Linux defaults to a VGA console unless you 98 - You specified "console=ttyS0" but Linux changed the device 102 - The EFI console path contains both a VGA device and a UART. 103 EFI and elilo use both, but Linux defaults to VGA. Remove [all …]
|