| /linux/drivers/gpu/drm/mediatek/ |
| H A D | mtk_dsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 217 unsigned int lanes; member 238 static void mtk_dsi_mask(struct mtk_dsi *dsi, u32 offset, u32 mask, u32 data) in mtk_dsi_mask() argument 240 u32 temp = readl(dsi->regs + offset); in mtk_dsi_mask() 242 writel((temp & ~mask) | (data & mask), dsi->regs + offset); in mtk_dsi_mask() 245 static void mtk_dsi_phy_timconfig(struct mtk_dsi *dsi) in mtk_dsi_phy_timconfig() argument 248 u32 data_rate_mhz = DIV_ROUND_UP(dsi->data_rate, HZ_PER_MHZ); in mtk_dsi_phy_timconfig() 249 struct mtk_phy_timing *timing = &dsi->phy_timing; in mtk_dsi_phy_timconfig() 251 timing->lpx = (60 * data_rate_mhz / (8 * 1000)) + 1; in mtk_dsi_phy_timconfig() 252 timing->da_hs_prepare = (80 * data_rate_mhz + 4 * 1000) / 8000; in mtk_dsi_phy_timconfig() [all …]
|
| /linux/Documentation/devicetree/bindings/display/bridge/ |
| H A D | renesas,dsi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/renesas,dsi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas RZ/G2L MIPI DSI Encoder 10 - Biju Das <biju.das.jz@bp.renesas.com> 13 This binding describes the MIPI DSI encoder embedded in the Renesas 14 RZ/G2L alike family of SoC's. The encoder can operate in DSI mode, with 15 up to four data lanes. 18 - $ref: /schemas/display/dsi-controller.yaml# [all …]
|
| H A D | renesas,dsi-csi2-tx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/bridge/renesas,dsi-csi2-tx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car MIPI DSI/CSI-2 Encoder 10 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 13 This binding describes the MIPI DSI/CSI-2 encoder embedded in the Renesas 14 R-Car Gen4 SoCs. The encoder can operate in either DSI or CSI-2 mode, with up 15 to four data lanes. 20 - renesas,r8a779a0-dsi-csi2-tx # for V3U [all …]
|
| H A D | ti,sn65dsi83.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SN65DSI83 and SN65DSI84 DSI to LVDS bridge chip 10 - Marek Vasut <marex@denx.de> 13 Texas Instruments SN65DSI83 1x Single-link MIPI DSI 14 to 1x Single-link LVDS 16 Texas Instruments SN65DSI84 1x Single-link MIPI DSI 17 to 1x Dual-link or 2x Single-link LVDS 23 - ti,sn65dsi83 [all …]
|
| H A D | adi,adv7533.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 13 - $ref: /schemas/sound/dai-common.yaml# 18 conversion, S/PDIF, CEC and HDCP. The transmitter input is MIPI DSI. 23 - adi,adv7533 24 - adi,adv7535 38 reg-names: 41 needing a non-default address. [all …]
|
| H A D | toshiba,tc358775.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Toshiba TC358775 DSI to LVDS bridge 10 - Vinay Simha BN <simhavcs@gmail.com> 13 This binding supports DSI to LVDS bridges TC358765 and TC358775 15 MIPI DSI-RX Data 4-lane, CLK 1-lane with data rates up to 800 Mbps/lane. 17 Up to 1600x1200 24-bit/pixel resolution for single-link LVDS display panel 19 Up to WUXGA (1920x1200 24-bit pixels) resolution for dual-link LVDS display 25 - toshiba,tc358765 [all …]
|
| H A D | ti,dlpc3433.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI DLPC3433 MIPI DSI to DMD bridge 10 - Jagan Teki <jagan@amarulasolutions.com> 11 - Christopher Vollo <chris@renewoutreach.org> 14 TI DLPC3433 is a MIPI DSI based display controller bridge 17 It has a flexible configuration of MIPI DSI and DPI signal 30 - 0x1b 31 - 0x1d [all …]
|
| H A D | ti,sn65dsi86.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SN65DSI86 DSI to eDP bridge chip 10 - Douglas Anderson <dianders@chromium.org> 13 The Texas Instruments SN65DSI86 bridge takes MIPI DSI in and outputs eDP. 23 enable-gpios: 27 suspend-gpios: 31 no-hpd: 37 vccio-supply: [all …]
|
| H A D | toshiba,tc358767.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Toshiba TC358767/TC358867/TC9595 DSI/DPI/eDP bridge 10 - Andrey Gusakov <andrey.gusakov@cogentembedded.com> 14 converts DSI/DPI to eDP/DP . 19 - items: 20 - enum: 21 - toshiba,tc358867 22 - toshiba,tc9595 [all …]
|
| H A D | ps8640.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MIPI DSI to eDP Video Format Converter 10 - Nicolas Boichat <drinkcat@chromium.org> 13 The PS8640 is a low power MIPI-to-eDP video format converter supporting 15 device accepts a single channel of MIPI DSI v1.1, with up to four lanes 17 device outputs eDP v1.4, one or two lanes, at a link rate of up to 28 powerdown-gpios: 32 reset-gpios: [all …]
|
| /linux/Documentation/devicetree/bindings/display/ti/ |
| H A D | ti,omap5-dss.txt | 4 See Documentation/devicetree/bindings/display/ti/ti,omap-dss.txt for generic 8 -------- 11 - compatible: "ti,omap5-dss" 12 - reg: address and length of the register space 13 - ti,hwmods: "dss_core" 14 - clocks: handle to fclk 15 - clock-names: "fck" 18 - DISPC 21 - DSS Submodules: RFBI, DSI, HDMI 22 - Video port for DPI output [all …]
|
| H A D | ti,omap4-dss.txt | 4 See Documentation/devicetree/bindings/display/ti/ti,omap-dss.txt for generic 8 -------- 11 - compatible: "ti,omap4-dss" 12 - reg: address and length of the register space 13 - ti,hwmods: "dss_core" 14 - clocks: handle to fclk 15 - clock-names: "fck" 18 - DISPC 21 - DSS Submodules: RFBI, VENC, DSI, HDMI 22 - Video port for DPI output [all …]
|
| H A D | ti,omap3-dss.txt | 4 See Documentation/devicetree/bindings/display/ti/ti,omap-dss.txt for generic 8 -------- 11 - compatible: "ti,omap3-dss" 12 - reg: address and length of the register space 13 - ti,hwmods: "dss_core" 14 - clocks: handle to fclk 15 - clock-names: "fck" 18 - Video ports: 19 - Port 0: DPI output 20 - Port 1: SDI output [all …]
|
| /linux/Documentation/devicetree/bindings/display/panel/ |
| H A D | raydium,rm67191.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Raydium RM67171 OLED LCD panel with MIPI-DSI protocol 10 - Robert Chiras <robert.chiras@nxp.com> 13 - $ref: panel-common.yaml# 23 reset-gpios: true 24 width-mm: true 25 height-mm: true 27 dsi-lanes: [all …]
|
| /linux/drivers/gpu/drm/stm/ |
| H A D | dw_mipi_dsi-stm.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/clk-provider.h> 28 /* DSI digital registers & bit definitions */ 32 /* DSI wrapper registers & bit definitions */ 35 #define WCFGR_DSIM BIT(0) /* DSI Mode */ 39 #define WCR_DSIEN BIT(3) /* DSI ENable */ 47 #define WPCR0_TDDL BIT(16) /* Turn Disable Data Lanes */ 63 /* dsi color format coding according to the datasheet */ 86 struct dw_mipi_dsi *dsi; member 94 static inline void dsi_write(struct dw_mipi_dsi_stm *dsi, u32 reg, u32 val) in dsi_write() argument [all …]
|
| /linux/drivers/gpu/drm/sun4i/ |
| H A D | sun6i_mipi_dsi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2017-2018 Bootlin 11 #include <linux/crc-ccitt.h> 14 #include <linux/phy/phy-mipi-dphy.h> 291 static void sun6i_dsi_inst_abort(struct sun6i_dsi *dsi) in sun6i_dsi_inst_abort() argument 293 regmap_update_bits(dsi->regs, SUN6I_DSI_BASIC_CTL0_REG, in sun6i_dsi_inst_abort() 297 static void sun6i_dsi_inst_commit(struct sun6i_dsi *dsi) in sun6i_dsi_inst_commit() argument 299 regmap_update_bits(dsi->regs, SUN6I_DSI_BASIC_CTL0_REG, in sun6i_dsi_inst_commit() 304 static int sun6i_dsi_inst_wait_for_completion(struct sun6i_dsi *dsi) in sun6i_dsi_inst_wait_for_completion() argument 308 return regmap_read_poll_timeout(dsi->regs, SUN6I_DSI_BASIC_CTL0_REG, in sun6i_dsi_inst_wait_for_completion() [all …]
|
| /linux/include/drm/bridge/ |
| H A D | dw_mipi_dsi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 39 unsigned long mode_flags, u32 lanes, u32 format, 48 struct mipi_dsi_device *dsi); 50 struct mipi_dsi_device *dsi); 60 u32 lanes, u32 format); 82 void dw_mipi_dsi_remove(struct dw_mipi_dsi *dsi); 83 int dw_mipi_dsi_bind(struct dw_mipi_dsi *dsi, struct drm_encoder *encoder); 84 void dw_mipi_dsi_unbind(struct dw_mipi_dsi *dsi); 85 void dw_mipi_dsi_set_slave(struct dw_mipi_dsi *dsi, struct dw_mipi_dsi *slave); 86 struct drm_bridge *dw_mipi_dsi_get_bridge(struct dw_mipi_dsi *dsi);
|
| /linux/arch/arm64/boot/dts/renesas/ |
| H A D | white-hawk-csi-dsi.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 * Device Tree Source for the White Hawk CSI/DSI sub-board 8 #include <dt-bindings/media/video-interfaces.h> 14 #address-cells = <1>; 15 #size-cells = <0>; 21 bus-type = <MEDIA_BUS_TYPE_CSI2_CPHY>; 22 clock-lanes = <0>; 23 data-lanes = <1 2 3>; 24 line-orders = <MEDIA_BUS_CSI2_CPHY_LINE_ORDER_ABC 27 remote-endpoint = <&max96712_out0>; [all …]
|
| H A D | r8a779a0-falcon-csi-dsi.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the Falcon CSI/DSI sub-board 8 #include <dt-bindings/media/video-interfaces.h> 14 #address-cells = <1>; 15 #size-cells = <0>; 21 clock-lanes = <0>; 22 data-lanes = <1 2 3 4>; 23 remote-endpoint = <&max96712_out0>; 33 #address-cells = <1>; 34 #size-cells = <0>; [all …]
|
| /linux/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | dsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/video/omap2/dss/dsi.c 9 #define DSS_SUBSYS_NAME "DSI" 47 /* DSI Protocol Engine */ 213 /* DSI PLL HSDIV indices */ 370 struct dsi_lane_config lanes[DSI_MAX_NR_LANES]; member 408 return to_platform_device(dssdev->dev); in dsi_get_dsidev_from_dssdev() 429 return out ? to_platform_device(out->dev) : NULL; in dsi_get_dsidev_from_id() 435 struct dsi_data *dsi = dsi_get_dsidrv_data(dsidev); in dsi_write_reg() local 439 case DSI_PROTO: base = dsi->proto_base; break; in dsi_write_reg() [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap3-n950.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap3-n950.dts - Device Tree file for Nokia N950 8 /dts-v1/; 10 #include "omap3-n950-n9.dtsi" 11 #include <dt-bindings/input/input.h> 15 compatible = "nokia,omap3-n950", "ti,omap3630", "ti,omap3"; 18 compatible = "gpio-keys"; 23 linux,input-type = <EV_SW>; 25 wakeup-source; 26 pinctrl-names = "default"; [all …]
|
| /linux/Documentation/devicetree/bindings/display/tegra/ |
| H A 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 …]
|
| H A 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 …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mp-tx8p-ml81-moduline-display-106-av123z7m-n17.dtso | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 #include <dt-bindings/gpio/gpio.h> 9 #include "imx8mp-pinfunc.h" 11 /dts-v1/; 15 model = "GOcontroll Moduline Display with BOE av123z7m-n17 display"; 18 compatible = "boe,av123z7m-n17"; 19 enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; 20 pinctrl-0 = <&pinctrl_panel>; 21 pinctrl-names = "default"; 22 power-supply = <®_3v3_per>; [all …]
|
| /linux/drivers/gpu/drm/panel/ |
| H A D | panel-samsung-s6e63m0-dsi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * DSI interface to the Samsung S6E63M0 panel. 14 #include "panel-samsung-s6e63m0.h" 22 struct mipi_dsi_device *dsi = to_mipi_dsi_device(dev); in s6e63m0_dsi_dcs_read() local 25 ret = mipi_dsi_dcs_read(dsi, cmd, data, 1); in s6e63m0_dsi_dcs_read() 31 dev_dbg(dev, "DSI read CMD %02x = %02x\n", cmd, *data); in s6e63m0_dsi_dcs_read() 39 struct mipi_dsi_device *dsi = to_mipi_dsi_device(dev); in s6e63m0_dsi_dcs_write() local 47 dev_dbg(dev, "DSI writing dcs seq: %*ph\n", (int)len, data); in s6e63m0_dsi_dcs_write() 53 remain = len - 1; in s6e63m0_dsi_dcs_write() 59 ret = mipi_dsi_dcs_write(dsi, cmd, seqp, chunk); in s6e63m0_dsi_dcs_write() [all …]
|