Home
last modified time | relevance | path

Searched full:dsi (Results 1 – 25 of 735) sorted by relevance

12345678910>>...30

/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-newvision-nv3051d.c3 * NV3051D MIPI-DSI panel driver for Anbernic RG353x
8 * Elida kd35t133 3.5" MIPI-DSI panel driver
48 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in panel_nv3051d_init_sequence() local
55 mipi_dsi_dcs_write_seq(dsi, 0xFF, 0x30); in panel_nv3051d_init_sequence()
56 mipi_dsi_dcs_write_seq(dsi, 0xFF, 0x52); in panel_nv3051d_init_sequence()
57 mipi_dsi_dcs_write_seq(dsi, 0xFF, 0x01); in panel_nv3051d_init_sequence()
58 mipi_dsi_dcs_write_seq(dsi, 0xE3, 0x00); in panel_nv3051d_init_sequence()
59 mipi_dsi_dcs_write_seq(dsi, 0x03, 0x40); in panel_nv3051d_init_sequence()
60 mipi_dsi_dcs_write_seq(dsi, 0x04, 0x00); in panel_nv3051d_init_sequence()
61 mipi_dsi_dcs_write_seq(dsi, 0x05, 0x03); in panel_nv3051d_init_sequence()
[all …]
H A Dpanel-sony-tulip-truly-nt35521.c5 * Generated with linux-mdss-dsi-panel-driver-generator from vendor device tree:
22 struct mipi_dsi_device *dsi; member
48 struct mipi_dsi_device *dsi = ctx->dsi; in truly_nt35521_on() local
49 struct device *dev = &dsi->dev; in truly_nt35521_on()
52 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in truly_nt35521_on()
54 mipi_dsi_generic_write_seq(dsi, 0xf0, 0x55, 0xaa, 0x52, 0x08, 0x00); in truly_nt35521_on()
55 mipi_dsi_generic_write_seq(dsi, 0xff, 0xaa, 0x55, 0xa5, 0x80); in truly_nt35521_on()
56 mipi_dsi_generic_write_seq(dsi, 0x6f, 0x11, 0x00); in truly_nt35521_on()
57 mipi_dsi_generic_write_seq(dsi, 0xf7, 0x20, 0x00); in truly_nt35521_on()
58 mipi_dsi_generic_write_seq(dsi, 0x6f, 0x01); in truly_nt35521_on()
[all …]
H A Dpanel-novatek-nt36523.c34 struct mipi_dsi_device *dsi[2]; member
70 struct mipi_dsi_device *dsi0 = pinfo->dsi[0]; in elish_boe_init_sequence()
71 struct mipi_dsi_device *dsi1 = pinfo->dsi[1]; in elish_boe_init_sequence()
290 struct mipi_dsi_device *dsi0 = pinfo->dsi[0]; in elish_csot_init_sequence()
291 struct mipi_dsi_device *dsi1 = pinfo->dsi[1]; in elish_csot_init_sequence()
488 struct mipi_dsi_device *dsi = pinfo->dsi[0]; in j606f_boe_init_sequence() local
489 struct device *dev = &dsi->dev; in j606f_boe_init_sequence()
492 mipi_dsi_dcs_write_seq(dsi, 0xff, 0x20); in j606f_boe_init_sequence()
493 mipi_dsi_dcs_write_seq(dsi, 0xfb, 0x01); in j606f_boe_init_sequence()
494 mipi_dsi_dcs_write_seq(dsi, 0x05, 0xd9); in j606f_boe_init_sequence()
[all …]
H A Dpanel-asus-z00t-tm5p5-n35596.c16 struct mipi_dsi_device *dsi; member
39 struct mipi_dsi_device *dsi = ctx->dsi; in tm5p5_nt35596_on() local
41 mipi_dsi_generic_write_seq(dsi, 0xff, 0x05); in tm5p5_nt35596_on()
42 mipi_dsi_generic_write_seq(dsi, 0xfb, 0x01); in tm5p5_nt35596_on()
43 mipi_dsi_generic_write_seq(dsi, 0xc5, 0x31); in tm5p5_nt35596_on()
44 mipi_dsi_generic_write_seq(dsi, 0xff, 0x04); in tm5p5_nt35596_on()
45 mipi_dsi_generic_write_seq(dsi, 0x01, 0x84); in tm5p5_nt35596_on()
46 mipi_dsi_generic_write_seq(dsi, 0x05, 0x25); in tm5p5_nt35596_on()
47 mipi_dsi_generic_write_seq(dsi, 0x06, 0x01); in tm5p5_nt35596_on()
48 mipi_dsi_generic_write_seq(dsi, 0x07, 0x20); in tm5p5_nt35596_on()
[all …]
H A Dpanel-visionox-r66451.c22 struct mipi_dsi_device *dsi; member
45 struct mipi_dsi_device *dsi = ctx->dsi; in visionox_r66451_on() local
47 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in visionox_r66451_on()
49 mipi_dsi_dcs_write_seq(dsi, 0xb0, 0x00); in visionox_r66451_on()
50 mipi_dsi_dcs_write_seq(dsi, 0xc2, in visionox_r66451_on()
53 mipi_dsi_dcs_write_seq(dsi, 0xd7, in visionox_r66451_on()
57 mipi_dsi_dcs_write_seq(dsi, 0xb0, 0x80); in visionox_r66451_on()
58 mipi_dsi_dcs_write_seq(dsi, 0xde, in visionox_r66451_on()
61 mipi_dsi_dcs_write_seq(dsi, 0xb0, 0x04); in visionox_r66451_on()
62 mipi_dsi_dcs_write_seq(dsi, 0xe8, 0x00, 0x02); in visionox_r66451_on()
[all …]
H A Dpanel-visionox-vtdr6130.c20 struct mipi_dsi_device *dsi; member
43 struct mipi_dsi_device *dsi = ctx->dsi; in visionox_vtdr6130_on() local
44 struct device *dev = &dsi->dev; in visionox_vtdr6130_on()
47 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in visionox_vtdr6130_on()
49 ret = mipi_dsi_dcs_set_tear_on(dsi, MIPI_DSI_DCS_TEAR_MODE_VBLANK); in visionox_vtdr6130_on()
53 mipi_dsi_dcs_write_seq(dsi, MIPI_DCS_WRITE_CONTROL_DISPLAY, 0x20); in visionox_vtdr6130_on()
54 mipi_dsi_dcs_write_seq(dsi, MIPI_DCS_SET_DISPLAY_BRIGHTNESS, 0x00, 0x00); in visionox_vtdr6130_on()
55 mipi_dsi_dcs_write_seq(dsi, 0x59, 0x09); in visionox_vtdr6130_on()
56 mipi_dsi_dcs_write_seq(dsi, 0x6c, 0x01); in visionox_vtdr6130_on()
57 mipi_dsi_dcs_write_seq(dsi, 0x6d, 0x00); in visionox_vtdr6130_on()
[all …]
H A Dpanel-jdi-fhd-r63452.c5 * Generated using linux-mdss-dsi-panel-driver-generator from Lineage OS device tree:
22 struct mipi_dsi_device *dsi; member
44 struct mipi_dsi_device *dsi = ctx->dsi; in jdi_fhd_r63452_on() local
45 struct device *dev = &dsi->dev; in jdi_fhd_r63452_on()
48 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in jdi_fhd_r63452_on()
50 mipi_dsi_generic_write_seq(dsi, 0xb0, 0x00); in jdi_fhd_r63452_on()
51 mipi_dsi_generic_write_seq(dsi, 0xd6, 0x01); in jdi_fhd_r63452_on()
52 mipi_dsi_generic_write_seq(dsi, 0xec, in jdi_fhd_r63452_on()
55 mipi_dsi_generic_write_seq(dsi, 0xb0, 0x03); in jdi_fhd_r63452_on()
57 ret = mipi_dsi_dcs_set_tear_on(dsi, MIPI_DSI_DCS_TEAR_MODE_VBLANK); in jdi_fhd_r63452_on()
[all …]
H A Dpanel-samsung-s6d7aa0.c3 * Samsung S6D7AA0 MIPI-DSI TFT LCD controller drm_panel driver.
29 struct mipi_dsi_device *dsi; member
67 struct mipi_dsi_device *dsi = ctx->dsi; in s6d7aa0_lock() local
70 mipi_dsi_dcs_write_seq(dsi, MCS_PASSWD1, 0xa5, 0xa5); in s6d7aa0_lock()
71 mipi_dsi_dcs_write_seq(dsi, MCS_PASSWD2, 0xa5, 0xa5); in s6d7aa0_lock()
73 mipi_dsi_dcs_write_seq(dsi, MCS_PASSWD3, 0x5a, 0x5a); in s6d7aa0_lock()
75 mipi_dsi_dcs_write_seq(dsi, MCS_PASSWD1, 0x5a, 0x5a); in s6d7aa0_lock()
76 mipi_dsi_dcs_write_seq(dsi, MCS_PASSWD2, 0x5a, 0x5a); in s6d7aa0_lock()
78 mipi_dsi_dcs_write_seq(dsi, MCS_PASSWD3, 0xa5, 0xa5); in s6d7aa0_lock()
86 struct mipi_dsi_device *dsi = ctx->dsi; in s6d7aa0_on() local
[all …]
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dnwl-dsi.c3 * i.MX8 NWL MIPI DSI host driver
34 #include "nwl-dsi.h"
36 #define DRV_NAME "nwl-dsi"
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
81 * 4. Send DSI cmds to configure peripheral (handled by panel drv)
83 * DSI data
85 * TODO: Since panel_bridges do their DSI setup in enable we
94 /* DSI clocks */
[all …]
H A Dsamsung-dsim.c520 static inline void samsung_dsim_write(struct samsung_dsim *dsi, in samsung_dsim_write() argument
523 writel(val, dsi->reg_base + dsi->driver_data->reg_ofs[idx]); in samsung_dsim_write()
526 static inline u32 samsung_dsim_read(struct samsung_dsim *dsi, enum reg_idx idx) in samsung_dsim_read() argument
528 return readl(dsi->reg_base + dsi->driver_data->reg_ofs[idx]); in samsung_dsim_read()
531 static void samsung_dsim_wait_for_reset(struct samsung_dsim *dsi) in samsung_dsim_wait_for_reset() argument
533 if (wait_for_completion_timeout(&dsi->completed, msecs_to_jiffies(300))) in samsung_dsim_wait_for_reset()
536 dev_err(dsi->dev, "timeout waiting for reset\n"); in samsung_dsim_wait_for_reset()
539 static void samsung_dsim_reset(struct samsung_dsim *dsi) in samsung_dsim_reset() argument
541 u32 reset_val = dsi->driver_data->reg_values[RESET_TYPE]; in samsung_dsim_reset()
543 reinit_completion(&dsi->completed); in samsung_dsim_reset()
[all …]
/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_dsi.c223 static void mtk_dsi_mask(struct mtk_dsi *dsi, u32 offset, u32 mask, u32 data) in mtk_dsi_mask() argument
225 u32 temp = readl(dsi->regs + offset); in mtk_dsi_mask()
227 writel((temp & ~mask) | (data & mask), dsi->regs + offset); in mtk_dsi_mask()
230 static void mtk_dsi_phy_timconfig(struct mtk_dsi *dsi) in mtk_dsi_phy_timconfig() argument
233 u32 data_rate_mhz = DIV_ROUND_UP(dsi->data_rate, 1000000); in mtk_dsi_phy_timconfig()
234 struct mtk_phy_timing *timing = &dsi->phy_timing; in mtk_dsi_phy_timconfig()
262 writel(timcon0, dsi->regs + DSI_PHY_TIMECON0); in mtk_dsi_phy_timconfig()
263 writel(timcon1, dsi->regs + DSI_PHY_TIMECON1); in mtk_dsi_phy_timconfig()
264 writel(timcon2, dsi->regs + DSI_PHY_TIMECON2); in mtk_dsi_phy_timconfig()
265 writel(timcon3, dsi->regs + DSI_PHY_TIMECON3); in mtk_dsi_phy_timconfig()
[all …]
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-mipi-dsi.c7 * This generic Synopsys DesignWare MIPI DSI host driver is based on the
8 * Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs.
226 #define VPG_DEFS(name, dsi) \ argument
227 ((void __force *)&((*dsi).vpg_defs.name))
229 #define REGISTER(name, mask, dsi) \ argument
230 { #name, VPG_DEFS(name, dsi), mask, dsi }
236 struct dw_mipi_dsi *dsi; member
265 struct dw_mipi_dsi *master; /* dual-dsi master ptr */
266 struct dw_mipi_dsi *slave; /* dual-dsi slave ptr */
275 static inline bool dw_mipi_is_dual_mode(struct dw_mipi_dsi *dsi) in dw_mipi_is_dual_mode() argument
[all …]
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddsi.c7 #define DSS_SUBSYS_NAME "DSI"
48 #include "dsi.h"
50 #define REG_GET(dsi, idx, start, end) \ argument
51 FLD_GET(dsi_read_reg(dsi, idx), start, end)
53 #define REG_FLD_MOD(dsi, idx, val, start, end) \ argument
54 dsi_write_reg(dsi, idx, FLD_MOD(dsi_read_reg(dsi, idx), val, start, end))
56 static int dsi_init_dispc(struct dsi_data *dsi);
57 static void dsi_uninit_dispc(struct dsi_data *dsi);
59 static int dsi_vc_send_null(struct dsi_data *dsi, int vc, int channel);
61 static ssize_t _omap_dsi_host_transfer(struct dsi_data *dsi, int vc,
[all …]
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Ddw-mipi-dsi-rockchip.c359 static inline void dsi_write(struct dw_mipi_dsi_rockchip *dsi, u32 reg, u32 val) in dsi_write() argument
361 writel(val, dsi->base + reg); in dsi_write()
364 static void dw_mipi_dsi_phy_write(struct dw_mipi_dsi_rockchip *dsi, in dw_mipi_dsi_phy_write() argument
373 dsi_write(dsi, DSI_PHY_TST_CTRL0, PHY_TESTCLK | PHY_UNTESTCLR); in dw_mipi_dsi_phy_write()
375 dsi_write(dsi, DSI_PHY_TST_CTRL1, PHY_TESTEN | PHY_TESTDOUT(0) | in dw_mipi_dsi_phy_write()
378 dsi_write(dsi, DSI_PHY_TST_CTRL0, PHY_UNTESTCLK | PHY_UNTESTCLR); in dw_mipi_dsi_phy_write()
380 dsi_write(dsi, DSI_PHY_TST_CTRL1, PHY_UNTESTEN | PHY_TESTDOUT(0) | in dw_mipi_dsi_phy_write()
383 dsi_write(dsi, DSI_PHY_TST_CTRL0, PHY_TESTCLK | PHY_UNTESTCLR); in dw_mipi_dsi_phy_write()
389 static inline unsigned int ns2bc(struct dw_mipi_dsi_rockchip *dsi, int ns) in ns2bc() argument
391 return DIV_ROUND_UP(ns * dsi->lane_mbps / 8, 1000); in ns2bc()
[all …]
/openbmc/linux/drivers/gpu/drm/tegra/
H A Ddsi.c29 #include "dsi.h"
102 static struct tegra_dsi_state *tegra_dsi_get_state(struct tegra_dsi *dsi) in tegra_dsi_get_state() argument
104 return to_dsi_state(dsi->output.connector.state); in tegra_dsi_get_state()
107 static inline u32 tegra_dsi_readl(struct tegra_dsi *dsi, unsigned int offset) in tegra_dsi_readl() argument
109 u32 value = readl(dsi->regs + (offset << 2)); in tegra_dsi_readl()
111 trace_dsi_readl(dsi->dev, offset, value); in tegra_dsi_readl()
116 static inline void tegra_dsi_writel(struct tegra_dsi *dsi, u32 value, in tegra_dsi_writel() argument
119 trace_dsi_writel(dsi->dev, offset, value); in tegra_dsi_writel()
120 writel(value, dsi->regs + (offset << 2)); in tegra_dsi_writel()
202 struct tegra_dsi *dsi = node->info_ent->data; in tegra_dsi_show_regs() local
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_mipi_dsi.c2 * MIPI DSI Bus
42 * DOC: dsi helpers
44 * These functions contain some common logic and helpers to deal with MIPI DSI
47 * Helpers are provided for a number of standard MIPI DSI command as well as a
53 struct mipi_dsi_device *dsi = to_mipi_dsi_device(dev); in mipi_dsi_device_match() local
59 /* compare DSI device and driver names */ in mipi_dsi_device_match()
60 if (!strcmp(dsi->name, drv->name)) in mipi_dsi_device_match()
68 const struct mipi_dsi_device *dsi = to_mipi_dsi_device(dev); in mipi_dsi_uevent() local
76 dsi->name); in mipi_dsi_uevent()
93 .name = "mipi-dsi",
[all …]
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drzg2l_mipi_dsi.c3 * RZ/G2L MIPI DSI Encoder Driver
163 static void rzg2l_mipi_dsi_phy_write(struct rzg2l_mipi_dsi *dsi, u32 reg, u32 data) in rzg2l_mipi_dsi_phy_write() argument
165 iowrite32(data, dsi->mmio + reg); in rzg2l_mipi_dsi_phy_write()
168 static void rzg2l_mipi_dsi_link_write(struct rzg2l_mipi_dsi *dsi, u32 reg, u32 data) in rzg2l_mipi_dsi_link_write() argument
170 iowrite32(data, dsi->mmio + LINK_REG_OFFSET + reg); in rzg2l_mipi_dsi_link_write()
173 static u32 rzg2l_mipi_dsi_phy_read(struct rzg2l_mipi_dsi *dsi, u32 reg) in rzg2l_mipi_dsi_phy_read() argument
175 return ioread32(dsi->mmio + reg); in rzg2l_mipi_dsi_phy_read()
178 static u32 rzg2l_mipi_dsi_link_read(struct rzg2l_mipi_dsi *dsi, u32 reg) in rzg2l_mipi_dsi_link_read() argument
180 return ioread32(dsi->mmio + LINK_REG_OFFSET + reg); in rzg2l_mipi_dsi_link_read()
187 static int rzg2l_mipi_dsi_dphy_init(struct rzg2l_mipi_dsi *dsi, in rzg2l_mipi_dsi_dphy_init() argument
[all …]
H A Drcar_mipi_dsi.c3 * R-Car MIPI DSI Encoder
70 struct clk *dsi; member
176 static void rcar_mipi_dsi_write(struct rcar_mipi_dsi *dsi, u32 reg, u32 data) in rcar_mipi_dsi_write() argument
178 iowrite32(data, dsi->mmio + reg); in rcar_mipi_dsi_write()
181 static u32 rcar_mipi_dsi_read(struct rcar_mipi_dsi *dsi, u32 reg) in rcar_mipi_dsi_read() argument
183 return ioread32(dsi->mmio + reg); in rcar_mipi_dsi_read()
186 static void rcar_mipi_dsi_clr(struct rcar_mipi_dsi *dsi, u32 reg, u32 clr) in rcar_mipi_dsi_clr() argument
188 rcar_mipi_dsi_write(dsi, reg, rcar_mipi_dsi_read(dsi, reg) & ~clr); in rcar_mipi_dsi_clr()
191 static void rcar_mipi_dsi_set(struct rcar_mipi_dsi *dsi, u32 reg, u32 set) in rcar_mipi_dsi_set() argument
193 rcar_mipi_dsi_write(dsi, reg, rcar_mipi_dsi_read(dsi, reg) | set); in rcar_mipi_dsi_set()
[all …]
/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsun6i_mipi_dsi.c291 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()
314 static void sun6i_dsi_inst_setup(struct sun6i_dsi *dsi, in sun6i_dsi_inst_setup() argument
321 regmap_write(dsi->regs, SUN6I_DSI_INST_FUNC_REG(id), in sun6i_dsi_inst_setup()
329 static void sun6i_dsi_inst_init(struct sun6i_dsi *dsi, in sun6i_dsi_inst_init() argument
334 sun6i_dsi_inst_setup(dsi, DSI_INST_ID_LP11, DSI_INST_MODE_STOP, in sun6i_dsi_inst_init()
[all …]
/openbmc/linux/include/drm/
H A Ddrm_mipi_dsi.h3 * MIPI DSI Bus
24 * struct mipi_dsi_msg - read/write DSI buffer
49 * struct mipi_dsi_packet - represents a MIPI DSI packet in protocol format
67 * struct mipi_dsi_host_ops - DSI bus operations
68 * @attach: attach DSI device to DSI host
69 * @detach: detach DSI device from DSI host
70 * @transfer: transmit a DSI packet
72 * DSI packets transmitted by .transfer() are passed in as mipi_dsi_msg
80 * Note that typically DSI packet transmission is atomic, so the .transfer()
91 struct mipi_dsi_device *dsi);
[all …]
/openbmc/linux/drivers/gpu/drm/stm/
H A Ddw_mipi_dsi-stm.c25 /* DSI digital registers & bit definitions */
29 /* DSI wrapper registers & bit definitions */
32 #define WCFGR_DSIM BIT(0) /* DSI Mode */
36 #define WCR_DSIEN BIT(3) /* DSI ENable */
60 /* dsi color format coding according to the datasheet */
80 struct dw_mipi_dsi *dsi; member
87 static inline void dsi_write(struct dw_mipi_dsi_stm *dsi, u32 reg, u32 val) in dsi_write() argument
89 writel(val, dsi->base + reg); in dsi_write()
92 static inline u32 dsi_read(struct dw_mipi_dsi_stm *dsi, u32 reg) in dsi_read() argument
94 return readl(dsi->base + reg); in dsi_read()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/display/msm/
H A Ddsi-controller-main.yaml4 $id: http://devicetree.org/schemas/display/msm/dsi-controller-main.yaml#
7 title: Qualcomm Display DSI controller
17 - qcom,apq8064-dsi-ctrl
18 - qcom,msm8226-dsi-ctrl
19 - qcom,msm8916-dsi-ctrl
20 - qcom,msm8953-dsi-ctrl
21 - qcom,msm8974-dsi-ctrl
22 - qcom,msm8996-dsi-ctrl
23 - qcom,msm8998-dsi-ctrl
24 - qcom,qcm2290-dsi-ctrl
[all …]
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_dsi.c9 * BCM2835 contains two DSI modules, DSI0 and DSI1. DSI0 is a
10 * single-lane DSI controller, while DSI1 is a more modern 4-lane DSI
550 /* General DSI hardware state. */
571 /* DSI channel for the panel we're connected to. */
578 /* Input clock from CPRMAN to the digital PHY, for the DSI
583 /* Input clock to the analog PHY, used to generate the DSI bit
588 /* HS Clocks generated within the DSI analog PHY. */
614 dsi_dma_workaround_write(struct vc4_dsi *dsi, u32 offset, u32 val) in dsi_dma_workaround_write() argument
616 struct dma_chan *chan = dsi->reg_dma_chan; in dsi_dma_workaround_write()
625 writel(val, dsi->regs + offset); in dsi_dma_workaround_write()
[all …]
/openbmc/linux/drivers/gpu/drm/bridge/cadence/
H A Dcdns-dsi-core.c25 #include "cdns-dsi-core.h"
27 #include "cdns-dsi-j721e.h"
467 static int cdns_dsi_mode2cfg(struct cdns_dsi *dsi, in cdns_dsi_mode2cfg() argument
472 struct cdns_dsi_output *output = &dsi->output; in cdns_dsi_mode2cfg()
513 static int cdns_dsi_adjust_phy_config(struct cdns_dsi *dsi, in cdns_dsi_adjust_phy_config() argument
519 struct cdns_dsi_output *output = &dsi->output; in cdns_dsi_adjust_phy_config()
536 * Make sure DSI htotal is aligned on a lane boundary when calculating in cdns_dsi_adjust_phy_config()
562 static int cdns_dsi_check_conf(struct cdns_dsi *dsi, in cdns_dsi_check_conf() argument
567 struct cdns_dsi_output *output = &dsi->output; in cdns_dsi_check_conf()
573 ret = cdns_dsi_mode2cfg(dsi, mode, dsi_cfg, mode_valid_check); in cdns_dsi_check_conf()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dqcom,mmcc.yaml85 - description: DSI phy instance 1 dsi clock
86 - description: DSI phy instance 1 byte clock
87 - description: DSI phy instance 2 dsi clock
88 - description: DSI phy instance 2 byte clock
117 - description: DSI phy instance 0 dsi clock
118 - description: DSI phy instance 0 byte clock
145 - description: DSI phy instance 0 dsi clock
146 - description: DSI phy instance 0 byte clock
147 - description: DSI phy instance 1 dsi clock
148 - description: DSI phy instance 1 byte clock
[all …]

12345678910>>...30