/Linux-v6.1/Documentation/devicetree/bindings/clock/ |
D | qcom,mmcc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeffrey Hugo <quic_jhugo@quicinc.com> 11 - Taniya Das <tdas@codeaurora.org> 20 - qcom,mmcc-apq8064 21 - qcom,mmcc-apq8084 22 - qcom,mmcc-msm8226 23 - qcom,mmcc-msm8660 24 - qcom,mmcc-msm8960 [all …]
|
/Linux-v6.1/drivers/gpu/drm/hisilicon/kirin/ |
D | dw_drm_dsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * DesignWare MIPI DSI Host Controller v1.02 driver 6 * Copyright (c) 2014-2016 HiSilicon Limited. 89 struct mipi_phy_params phy; member 98 struct dw_dsi dsi; member 122 static u32 dsi_calc_phy_rate(u32 req_kHz, struct mipi_phy_params *phy) in dsi_calc_phy_rate() argument 152 phy->pll_vco_750M = dphy_range_info[i].pll_vco_750M; in dsi_calc_phy_rate() 153 phy->hstx_ckg_sel = dphy_range_info[i].hstx_ckg_sel; in dsi_calc_phy_rate() 155 if (phy->hstx_ckg_sel <= 7 && in dsi_calc_phy_rate() 156 phy->hstx_ckg_sel >= 4) in dsi_calc_phy_rate() [all …]
|
/Linux-v6.1/drivers/gpu/drm/rockchip/ |
D | dw-mipi-dsi-rockchip.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Chris Zhong <zyw@rock-chips.com> 6 * Nickey Yang <nickey.yang@rock-chips.com> 15 #include <linux/phy/phy.h> 40 #define N_LANES(n) ((((n) - 1) & 0x3) << 0) 92 #define INPUT_DIVIDER(val) (((val) - 1) & 0x7f) 95 #define LOOP_DIV_LOW_SEL(val) (((val) - 1) & 0x1f) 96 #define LOOP_DIV_HIGH_SEL(val) ((((val) - 1) >> 5) & 0xf) 244 int (*dphy_rx_init)(struct phy *phy); 245 int (*dphy_rx_power_on)(struct phy *phy); [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/display/msm/ |
D | dsi-phy-7nm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/display/msm/dsi-phy-7nm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Display DSI 7nm PHY 10 - Jonathan Marek <jonathan@marek.ca> 13 - $ref: dsi-phy-common.yaml# 18 - qcom,dsi-phy-7nm 19 - qcom,dsi-phy-7nm-8150 20 - qcom,sc7280-dsi-phy-7nm [all …]
|
D | dsi-phy-28nm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/display/msm/dsi-phy-28nm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Display DSI 28nm PHY 10 - Krishna Manikandan <quic_mkrishn@quicinc.com> 13 - $ref: dsi-phy-common.yaml# 18 - qcom,dsi-phy-28nm-hpm 19 - qcom,dsi-phy-28nm-lp 20 - qcom,dsi-phy-28nm-8960 [all …]
|
D | dsi-phy-14nm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/display/msm/dsi-phy-14nm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Display DSI 14nm PHY 10 - Krishna Manikandan <quic_mkrishn@quicinc.com> 13 - $ref: dsi-phy-common.yaml# 18 - qcom,dsi-phy-14nm 19 - qcom,dsi-phy-14nm-660 20 - qcom,dsi-phy-14nm-8953 [all …]
|
D | dsi-phy-10nm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/display/msm/dsi-phy-10nm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Display DSI 10nm PHY 10 - Krishna Manikandan <quic_mkrishn@quicinc.com> 13 - $ref: dsi-phy-common.yaml# 18 - qcom,dsi-phy-10nm 19 - qcom,dsi-phy-10nm-8998 23 - description: dsi phy register set [all …]
|
D | dsi-phy-20nm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/display/msm/dsi-phy-20nm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Display DSI 20nm PHY 10 - Krishna Manikandan <quic_mkrishn@quicinc.com> 13 - $ref: dsi-phy-common.yaml# 17 const: qcom,dsi-phy-20nm 21 - description: dsi pll register set 22 - description: dsi phy register set [all …]
|
/Linux-v6.1/drivers/gpu/drm/msm/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 97 bool "Enable DSI support in MSM DRM driver" 103 Choose this option if you have a need for MIPI DSI connector 107 bool "Enable DSI 28nm PHY driver in MSM DRM" 111 Choose this option if the 28nm DSI PHY is used on the platform. 114 bool "Enable DSI 20nm PHY driver in MSM DRM" 118 Choose this option if the 20nm DSI PHY is used on the platform. 121 bool "Enable DSI 28nm 8960 PHY driver in MSM DRM" 125 Choose this option if the 28nm DSI PHY 8960 variant is used on the 129 bool "Enable DSI 14nm PHY driver in MSM DRM (used by MSM8996/APQ8096)" [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 ccflags-y := -I $(srctree)/$(src) 3 ccflags-y += -I $(srctree)/$(src)/disp/dpu1 4 ccflags-$(CONFIG_DRM_MSM_DSI) += -I $(srctree)/$(src)/dsi 5 ccflags-$(CONFIG_DRM_MSM_DP) += -I $(srctree)/$(src)/dp 7 msm-y := \ 20 msm-$(CONFIG_DRM_MSM_HDMI) += \ 33 msm-$(CONFIG_DRM_MSM_MDP4) += \ 44 msm-$(CONFIG_DRM_MSM_MDP5) += \ 57 msm-$(CONFIG_DRM_MSM_DPU) += \ [all …]
|
/Linux-v6.1/drivers/phy/mediatek/ |
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for the phy drivers. 6 obj-$(CONFIG_PHY_MTK_DP) += phy-mtk-dp.o 7 obj-$(CONFIG_PHY_MTK_PCIE) += phy-mtk-pcie.o 8 obj-$(CONFIG_PHY_MTK_TPHY) += phy-mtk-tphy.o 9 obj-$(CONFIG_PHY_MTK_UFS) += phy-mtk-ufs.o 10 obj-$(CONFIG_PHY_MTK_XSPHY) += phy-mtk-xsphy.o 12 phy-mtk-hdmi-drv-y := phy-mtk-hdmi.o 13 phy-mtk-hdmi-drv-y += phy-mtk-hdmi-mt2701.o 14 phy-mtk-hdmi-drv-y += phy-mtk-hdmi-mt8173.o [all …]
|
/Linux-v6.1/drivers/gpu/drm/bridge/ |
D | nwl-dsi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * i.MX8 NWL MIPI DSI host driver 15 #include <linux/media-bus-format.h> 20 #include <linux/phy/phy.h> 34 #include "nwl-dsi.h" 36 #define DRV_NAME "nwl-dsi" 70 struct phy *phy; member 77 * The DSI host controller needs this reset sequence according to NWL: 78 * 1. Deassert pclk reset to get access to DSI regs 79 * 2. Configure DSI Host and DPHY and enable DPHY [all …]
|
/Linux-v6.1/drivers/gpu/drm/msm/dsi/ |
D | dsi_manager.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include "dsi.h" 24 struct msm_dsi *dsi[DSI_MAX]; member 53 return !(next_bridge && next_bridge->of_node && in dsi_mgr_power_on_early() 54 of_device_is_compatible(next_bridge->of_node, "parade,ps8640")); in dsi_mgr_power_on_early() 65 return msm_dsim_glb.dsi[id]; in dsi_mgr_get_dsi() 70 return msm_dsim_glb.dsi[(id + 1) % DSI_MAX]; in dsi_mgr_get_other_dsi() 77 /* We assume 2 dsi nodes have the same information of bonded dsi and in dsi_mgr_parse_of() 78 * sync-mode, and only one node specifies master in case of bonded mode. in dsi_mgr_parse_of() 80 if (!msm_dsim->is_bonded_dsi) in dsi_mgr_parse_of() [all …]
|
D | dsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "dsi.h" 11 unsigned long host_flags = msm_dsi_host_get_mode_flags(msm_dsi->host); in msm_dsi_is_cmd_mode() 18 return msm_dsi_host_get_dsc_config(msm_dsi->host); in msm_dsi_get_dsc_config() 23 struct platform_device *pdev = msm_dsi->pdev; in dsi_get_phy() 27 phy_node = of_parse_phandle(pdev->dev.of_node, "phys", 0); in dsi_get_phy() 29 DRM_DEV_ERROR(&pdev->dev, "cannot find phy device\n"); in dsi_get_phy() 30 return -ENXIO; in dsi_get_phy() 35 msm_dsi->phy = platform_get_drvdata(phy_pdev); in dsi_get_phy() 36 msm_dsi->phy_dev = &phy_pdev->dev; in dsi_get_phy() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/display/mediatek/ |
D | mediatek,dsi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,dsi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek DSI Controller Device Tree Bindings 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 12 - Jitao Shi <jitao.shi@mediatek.com> 13 - Xinlei Lee <xinlei.lee@mediatek.com> 16 The MediaTek DSI function block is a sink of the display subsystem and can [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/display/rockchip/ |
D | dw_mipi_dsi_rockchip.txt | 1 Rockchip specific extensions to the Synopsys Designware MIPI DSI 5 - #address-cells: Should be <1>. 6 - #size-cells: Should be <0>. 7 - compatible: one of 8 "rockchip,px30-mipi-dsi", "snps,dw-mipi-dsi" 9 "rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi" 10 "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi" 11 "rockchip,rk3568-mipi-dsi", "snps,dw-mipi-dsi" 12 - reg: Represent the physical address range of the controller. 13 - interrupts: Represent the controller's interrupt to the CPU(s). [all …]
|
/Linux-v6.1/drivers/gpu/drm/msm/dsi/phy/ |
D | dsi_phy_10nm.c | 2 * SPDX-License-Identifier: GPL-2.0 7 #include <linux/clk-provider.h> 11 #include "dsi.xml.h" 15 * DSI PLL 10nm - clock diagram (eg: DSI0): 20 * +---------+ | +----------+ | +----+ 21 * dsi0vco_clk ---| out_div |--o--| divl_3_0 |--o--| /8 |-- dsi0_phy_pll_out_byteclk 22 * +---------+ | +----------+ | +----+ 26 * | | +----+ | |\ dsi0_pclk_mux 27 * | |--| /2 |--o--| \ | 28 * | | +----+ | \ | +---------+ [all …]
|
D | dsi_phy_14nm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/clk-provider.h> 11 #include "dsi.xml.h" 17 * DSI PLL 14nm - clock diagram (eg: DSI0): 22 * +----+ | +----+ 23 * dsi0vco_clk ---| n1 |--o--| /8 |-- dsi0pllbyte 24 * +----+ | +----+ 26 * | +----+ | 27 * o---| /2 |--o--|\ 28 * | +----+ | \ +----+ [all …]
|
D | dsi_phy_7nm.c | 2 * SPDX-License-Identifier: GPL-2.0 7 #include <linux/clk-provider.h> 11 #include "dsi.xml.h" 15 * DSI PLL 7nm - clock diagram (eg: DSI0): TODO: updated CPHY diagram 20 * +---------+ | +----------+ | +----+ 21 * dsi0vco_clk ---| out_div |--o--| divl_3_0 |--o--| /8 |-- dsi0_phy_pll_out_byteclk 22 * +---------+ | +----------+ | +----+ 26 * | | +----+ | |\ dsi0_pclk_mux 27 * | |--| /2 |--o--| \ | 28 * | | +----+ | \ | +---------+ [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/display/bridge/ |
D | cdns,dsi.txt | 1 Cadence DSI bridge 4 The Cadence DSI bridge is a DPI to DSI bridge supporting up to 4 DSI lanes. 7 - compatible: should be set to "cdns,dsi". 8 - reg: physical base address and length of the controller's registers. 9 - interrupts: interrupt line connected to the DSI bridge. 10 - clocks: DSI bridge clocks. 11 - clock-names: must contain "dsi_p_clk" and "dsi_sys_clk". 12 - phys: phandle link to the MIPI D-PHY controller. 13 - phy-names: must contain "dphy". 14 - #address-cells: must be set to 1. [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/display/exynos/ |
D | exynos_dsim.txt | 1 Exynos MIPI DSI Master 4 - compatible: value should be one of the following 5 "samsung,exynos3250-mipi-dsi" /* for Exynos3250/3472 SoCs */ 6 "samsung,exynos4210-mipi-dsi" /* for Exynos4 SoCs */ 7 "samsung,exynos5410-mipi-dsi" /* for Exynos5410/5420/5440 SoCs */ 8 "samsung,exynos5422-mipi-dsi" /* for Exynos5422/5800 SoCs */ 9 "samsung,exynos5433-mipi-dsi" /* for Exynos5433 SoCs */ 10 - reg: physical base address and length of the registers set for the device 11 - interrupts: should contain DSI interrupt 12 - clocks: list of clock specifiers, must contain an entry for each required [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/display/ |
D | brcm,bcm2835-dsi0.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-dsi0.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom VC4 (VideoCore4) DSI Controller 10 - Eric Anholt <eric@anholt.net> 13 - $ref: dsi-controller.yaml# 16 "#clock-cells": 21 - brcm,bcm2711-dsi1 22 - brcm,bcm2835-dsi0 [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/phy/ |
D | mixel,mipi-dsi-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/mixel,mipi-dsi-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mixel DSI PHY for i.MX8 10 - Guido Günther <agx@sigxcpu.org> 13 The Mixel MIPI-DSI PHY IP block is e.g. found on i.MX8 platforms (along the 14 MIPI-DSI IP from Northwest Logic). It represents the physical layer for the 15 electrical signals for DSI. 17 The Mixel PHY IP block found on i.MX8qxp is a combo PHY that can work [all …]
|
D | rockchip,px30-dsi-dphy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/rockchip,px30-dsi-dphy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 13 "#phy-cells": 18 - rockchip,px30-dsi-dphy 19 - rockchip,rk3128-dsi-dphy 20 - rockchip,rk3368-dsi-dphy 21 - rockchip,rk3568-dsi-dphy [all …]
|
/Linux-v6.1/drivers/gpu/drm/mediatek/ |
D | mtk_dsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/phy/phy.h> 174 struct phy; 189 struct phy *phy; member 222 static void mtk_dsi_mask(struct mtk_dsi *dsi, u32 offset, u32 mask, u32 data) in mtk_dsi_mask() argument 224 u32 temp = readl(dsi->regs + offset); in mtk_dsi_mask() 226 writel((temp & ~mask) | (data & mask), dsi->regs + offset); in mtk_dsi_mask() 229 static void mtk_dsi_phy_timconfig(struct mtk_dsi *dsi) in mtk_dsi_phy_timconfig() argument 232 u32 data_rate_mhz = DIV_ROUND_UP(dsi->data_rate, 1000000); in mtk_dsi_phy_timconfig() 233 struct mtk_phy_timing *timing = &dsi->phy_timing; in mtk_dsi_phy_timconfig() [all …]
|