/Linux-v4.19/drivers/gpu/drm/tinydrm/ |
D | ili9225.c | 68 static inline int ili9225_command(struct mipi_dbi *mipi, u8 cmd, u16 data) in ili9225_command() argument 72 return mipi_dbi_command_buf(mipi, cmd, par, 2); in ili9225_command() 82 struct mipi_dbi *mipi = mipi_dbi_from_tinydrm(tdev); in ili9225_fb_dirty() local 83 bool swap = mipi->swap_bytes; in ili9225_fb_dirty() 91 if (!mipi->enabled) in ili9225_fb_dirty() 100 if (!mipi->dc || !full || swap || in ili9225_fb_dirty() 102 tr = mipi->tx_buf; in ili9225_fb_dirty() 103 ret = mipi_dbi_buf_copy(mipi->tx_buf, fb, &clip, swap); in ili9225_fb_dirty() 110 switch (mipi->rotation) { in ili9225_fb_dirty() 145 ili9225_command(mipi, ILI9225_HORIZ_WINDOW_ADDR_1, x2); in ili9225_fb_dirty() [all …]
|
D | mi0283qt.c | 57 struct mipi_dbi *mipi = mipi_dbi_from_tinydrm(tdev); in mi0283qt_enable() local 63 ret = mipi_dbi_poweron_conditional_reset(mipi); in mi0283qt_enable() 69 mipi_dbi_command(mipi, MIPI_DCS_SET_DISPLAY_OFF); in mi0283qt_enable() 71 mipi_dbi_command(mipi, ILI9341_PWCTRLB, 0x00, 0x83, 0x30); in mi0283qt_enable() 72 mipi_dbi_command(mipi, ILI9341_PWRSEQ, 0x64, 0x03, 0x12, 0x81); in mi0283qt_enable() 73 mipi_dbi_command(mipi, ILI9341_DTCTRLA, 0x85, 0x01, 0x79); in mi0283qt_enable() 74 mipi_dbi_command(mipi, ILI9341_PWCTRLA, 0x39, 0x2c, 0x00, 0x34, 0x02); in mi0283qt_enable() 75 mipi_dbi_command(mipi, ILI9341_PUMPCTRL, 0x20); in mi0283qt_enable() 76 mipi_dbi_command(mipi, ILI9341_DTCTRLB, 0x00, 0x00); in mi0283qt_enable() 79 mipi_dbi_command(mipi, ILI9341_PWCTRL1, 0x26); in mi0283qt_enable() [all …]
|
D | ili9341.c | 55 struct mipi_dbi *mipi = mipi_dbi_from_tinydrm(tdev); in yx240qv29_enable() local 61 ret = mipi_dbi_poweron_conditional_reset(mipi); in yx240qv29_enable() 67 mipi_dbi_command(mipi, MIPI_DCS_SET_DISPLAY_OFF); in yx240qv29_enable() 69 mipi_dbi_command(mipi, ILI9341_PWCTRLB, 0x00, 0xc1, 0x30); in yx240qv29_enable() 70 mipi_dbi_command(mipi, ILI9341_PWRSEQ, 0x64, 0x03, 0x12, 0x81); in yx240qv29_enable() 71 mipi_dbi_command(mipi, ILI9341_DTCTRLA, 0x85, 0x00, 0x78); in yx240qv29_enable() 72 mipi_dbi_command(mipi, ILI9341_PWCTRLA, 0x39, 0x2c, 0x00, 0x34, 0x02); in yx240qv29_enable() 73 mipi_dbi_command(mipi, ILI9341_PUMPCTRL, 0x20); in yx240qv29_enable() 74 mipi_dbi_command(mipi, ILI9341_DTCTRLB, 0x00, 0x00); in yx240qv29_enable() 77 mipi_dbi_command(mipi, ILI9341_PWCTRL1, 0x23); in yx240qv29_enable() [all …]
|
D | st7735r.c | 44 struct mipi_dbi *mipi = mipi_dbi_from_tinydrm(tdev); in jd_t18003_t01_pipe_enable() local 50 ret = mipi_dbi_poweron_reset(mipi); in jd_t18003_t01_pipe_enable() 56 mipi_dbi_command(mipi, MIPI_DCS_EXIT_SLEEP_MODE); in jd_t18003_t01_pipe_enable() 59 mipi_dbi_command(mipi, ST7735R_FRMCTR1, 0x01, 0x2c, 0x2d); in jd_t18003_t01_pipe_enable() 60 mipi_dbi_command(mipi, ST7735R_FRMCTR2, 0x01, 0x2c, 0x2d); in jd_t18003_t01_pipe_enable() 61 mipi_dbi_command(mipi, ST7735R_FRMCTR3, 0x01, 0x2c, 0x2d, 0x01, 0x2c, in jd_t18003_t01_pipe_enable() 63 mipi_dbi_command(mipi, ST7735R_INVCTR, 0x07); in jd_t18003_t01_pipe_enable() 64 mipi_dbi_command(mipi, ST7735R_PWCTR1, 0xa2, 0x02, 0x84); in jd_t18003_t01_pipe_enable() 65 mipi_dbi_command(mipi, ST7735R_PWCTR2, 0xc5); in jd_t18003_t01_pipe_enable() 66 mipi_dbi_command(mipi, ST7735R_PWCTR3, 0x0a, 0x00); in jd_t18003_t01_pipe_enable() [all …]
|
D | st7586.c | 118 struct mipi_dbi *mipi = mipi_dbi_from_tinydrm(tdev); in st7586_fb_dirty() local 123 if (!mipi->enabled) in st7586_fb_dirty() 136 ret = st7586_buf_copy(mipi->tx_buf, fb, &clip); in st7586_fb_dirty() 144 mipi_dbi_command(mipi, MIPI_DCS_SET_COLUMN_ADDRESS, in st7586_fb_dirty() 147 mipi_dbi_command(mipi, MIPI_DCS_SET_PAGE_ADDRESS, in st7586_fb_dirty() 151 ret = mipi_dbi_command_buf(mipi, MIPI_DCS_WRITE_MEMORY_START, in st7586_fb_dirty() 152 (u8 *)mipi->tx_buf, in st7586_fb_dirty() 169 struct mipi_dbi *mipi = mipi_dbi_from_tinydrm(tdev); in st7586_pipe_enable() local 175 ret = mipi_dbi_poweron_reset(mipi); in st7586_pipe_enable() 179 mipi_dbi_command(mipi, ST7586_AUTO_READ_CTRL, 0x9f); in st7586_pipe_enable() [all …]
|
D | mipi-dbi.c | 95 static bool mipi_dbi_command_is_read(struct mipi_dbi *mipi, u8 cmd) in mipi_dbi_command_is_read() argument 99 if (!mipi->read_commands) in mipi_dbi_command_is_read() 103 if (!mipi->read_commands[i]) in mipi_dbi_command_is_read() 105 if (cmd == mipi->read_commands[i]) in mipi_dbi_command_is_read() 123 int mipi_dbi_command_read(struct mipi_dbi *mipi, u8 cmd, u8 *val) in mipi_dbi_command_read() argument 125 if (!mipi->read_commands) in mipi_dbi_command_read() 128 if (!mipi_dbi_command_is_read(mipi, cmd)) in mipi_dbi_command_read() 131 return mipi_dbi_command_buf(mipi, cmd, val, 1); in mipi_dbi_command_read() 145 int mipi_dbi_command_buf(struct mipi_dbi *mipi, u8 cmd, u8 *data, size_t len) in mipi_dbi_command_buf() argument 149 mutex_lock(&mipi->cmdlock); in mipi_dbi_command_buf() [all …]
|
D | Makefile | 4 obj-$(CONFIG_TINYDRM_MIPI_DBI) += mipi-dbi.o
|
/Linux-v4.19/drivers/gpu/host1x/ |
D | mipi.c | 131 struct tegra_mipi *mipi; member 136 static inline u32 tegra_mipi_readl(struct tegra_mipi *mipi, in tegra_mipi_readl() argument 139 return readl(mipi->regs + (offset << 2)); in tegra_mipi_readl() 142 static inline void tegra_mipi_writel(struct tegra_mipi *mipi, u32 value, in tegra_mipi_writel() argument 145 writel(value, mipi->regs + (offset << 2)); in tegra_mipi_writel() 148 static int tegra_mipi_power_up(struct tegra_mipi *mipi) in tegra_mipi_power_up() argument 153 err = clk_enable(mipi->clk); in tegra_mipi_power_up() 157 value = tegra_mipi_readl(mipi, MIPI_CAL_BIAS_PAD_CFG0); in tegra_mipi_power_up() 160 if (mipi->soc->needs_vclamp_ref) in tegra_mipi_power_up() 163 tegra_mipi_writel(mipi, value, MIPI_CAL_BIAS_PAD_CFG0); in tegra_mipi_power_up() [all …]
|
D | Makefile | 11 mipi.o \
|
/Linux-v4.19/include/drm/tinydrm/ |
D | mipi-dbi.h | 45 int (*command)(struct mipi_dbi *mipi, u8 cmd, u8 *param, size_t num); 64 int mipi_dbi_spi_init(struct spi_device *spi, struct mipi_dbi *mipi, 66 int mipi_dbi_init(struct device *dev, struct mipi_dbi *mipi, 70 void mipi_dbi_enable_flush(struct mipi_dbi *mipi, 74 void mipi_dbi_hw_reset(struct mipi_dbi *mipi); 75 bool mipi_dbi_display_is_on(struct mipi_dbi *mipi); 76 int mipi_dbi_poweron_reset(struct mipi_dbi *mipi); 77 int mipi_dbi_poweron_conditional_reset(struct mipi_dbi *mipi); 80 int mipi_dbi_command_read(struct mipi_dbi *mipi, u8 cmd, u8 *val); 81 int mipi_dbi_command_buf(struct mipi_dbi *mipi, u8 cmd, u8 *data, size_t len); [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/display/tegra/ |
D | nvidia,tegra114-mipi.txt | 4 - compatible: "nvidia,tegra<chip>-mipi" 9 - mipi-cal 10 - #nvidia,mipi-calibrate-cells: Should be 1. The cell is a bitmask of the pads 13 User nodes need to contain an nvidia,mipi-calibrate property that has a 19 mipi: mipi@700e3000 { 20 compatible = "nvidia,tegra114-mipi"; 23 clock-names = "mipi-cal"; 24 #nvidia,mipi-calibrate-cells = <1>; 35 nvidia,mipi-calibrate = <&mipi 0x060>;
|
/Linux-v4.19/Documentation/devicetree/bindings/display/rockchip/ |
D | dw_mipi_dsi_rockchip.txt | 7 - compatible: "rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi". 8 "rockchip,rk3399-mipi-dsi", "snps,dw-mipi-dsi". 19 - power-domains: a phandle to mipi dsi power domain node. 28 mipi_dsi: mipi@ff960000 { 31 compatible = "rockchip,rk3288-mipi-dsi", "snps,dw-mipi-dsi";
|
/Linux-v4.19/Documentation/devicetree/bindings/display/exynos/ |
D | exynos_dsim.txt | 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 */ 42 for Exynos5433 mipi dsi. So mic can access to panel node 46 required in all kinds of exynos mipi dsi to represent 47 the connection between mipi dsi and panel. 52 [1]: Documentation/devicetree/bindings/display/mipi-dsi-bus.txt 58 compatible = "samsung,exynos4210-mipi-dsi";
|
D | exynos-mic.txt | 3 MIC (mobile image compressor) resides between decon and mipi dsi. Mipi dsi is 6 transferred through mipi dsi. The compressed frame data must be uncompressed in
|
/Linux-v4.19/Documentation/devicetree/bindings/display/sunxi/ |
D | sun6i-dsi.txt | 14 * allwinner,sun6i-a31-mipi-dsi 31 the bindings defined in ../mipi-dsi-bus.txt 38 * allwinner,sun6i-a31-mipi-dphy 49 compatible = "allwinner,sun6i-a31-mipi-dsi"; 86 compatible = "allwinner,sun6i-a31-mipi-dphy";
|
/Linux-v4.19/Documentation/gpu/ |
D | tinydrm.rst | 35 .. kernel-doc:: drivers/gpu/drm/tinydrm/mipi-dbi.c 38 .. kernel-doc:: include/drm/tinydrm/mipi-dbi.h 41 .. kernel-doc:: drivers/gpu/drm/tinydrm/mipi-dbi.c
|
/Linux-v4.19/Documentation/devicetree/bindings/display/mediatek/ |
D | mediatek,dsi.txt | 28 - compatible: "mediatek,<chip>-mipi-tx" 38 mipi_tx0: mipi-dphy@10215000 { 39 compatible = "mediatek,mt8173-mipi-tx";
|
/Linux-v4.19/Documentation/devicetree/bindings/phy/ |
D | samsung-phy.txt | 6 - "samsung,s5pv210-mipi-video-phy" 7 - "samsung,exynos5420-mipi-video-phy" 8 - "samsung,exynos5433-mipi-video-phy" 20 For "samsung,s5pv210-mipi-video-phy" compatible PHYs the second cell in 26 "samsung,exynos5420-mipi-video-phy" and "samsung,exynos5433-mipi-video-phy"
|
/Linux-v4.19/drivers/gpu/drm/bridge/synopsys/ |
D | Makefile | 8 obj-$(CONFIG_DRM_DW_MIPI_DSI) += dw-mipi-dsi.o
|
/Linux-v4.19/Documentation/media/v4l-drivers/ |
D | imx.rst | 106 imx6-mipi-csi2 136 MIPI CSI-2 virtual channels from imx6-mipi-csi2 entity. They have a 399 The links shown do not include the backend sensor, video mux, or mipi 401 (parallel or mipi csi-2). So these pipelines begin with: 407 sensor -> imx6-mipi-csi2 -> (ipuX_csiY_mux) -> ... 409 for mipi csi-2 sensors. The imx6-mipi-csi2 receiver may need to route 411 on the mipi csi-2 virtual channel, hence ipuX_csiY_mux is shown in 482 imx6-mipi-csi2 pad 2), is routed to ipu1_csi1. Both sensors are 493 media-ctl -l "'ov5640 1-0040':0 -> 'imx6-mipi-csi2':0[1]" 494 media-ctl -l "'imx6-mipi-csi2':2 -> 'ipu1_csi1':0[1]" [all …]
|
/Linux-v4.19/drivers/gpu/drm/tegra/ |
D | Makefile | 14 mipi-phy.o \
|
/Linux-v4.19/drivers/gpu/drm/rockchip/ |
D | Makefile | 14 rockchipdrm-$(CONFIG_ROCKCHIP_DW_MIPI_DSI) += dw-mipi-dsi.o
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | tegra114.dtsi | 114 nvidia,mipi-calibrate = <&mipi 0x060>; /* DSIA & DSIB pads */ 130 nvidia,mipi-calibrate = <&mipi 0x180>; /* DSIC & DSID pads */ 638 mipi: mipi@700e3000 { label 639 compatible = "nvidia,tegra114-mipi"; 642 #nvidia,mipi-calibrate-cells = <1>;
|
/Linux-v4.19/drivers/phy/samsung/ |
D | Makefile | 3 obj-$(CONFIG_PHY_EXYNOS_MIPI_VIDEO) += phy-exynos-mipi-video.o
|
/Linux-v4.19/drivers/staging/media/imx/ |
D | Makefile | 13 obj-$(CONFIG_VIDEO_IMX_CSI) += imx6-mipi-csi2.o
|