Home
last modified time | relevance | path

Searched +full:sharkl3 +full:- +full:dpu (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/display/sprd/
Dsprd,sharkl3-dpu.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/sprd/sprd,sharkl3-dpu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Unisoc Sharkl3 Display Processor Unit (DPU)
10 - Kevin Tang <kevin.tang@unisoc.com>
13 DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs
19 const: sprd,sharkl3-dpu
30 clock-names:
32 - const: clk_src_128m
[all …]
Dsprd,sharkl3-dsi-host.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/sprd/sprd,sharkl3-dsi-host.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Kevin Tang <kevin.tang@unisoc.com>
14 const: sprd,sharkl3-dsi-host
25 clock-names:
27 - const: clk_src_96m
29 power-domains:
36 "#address-cells":
[all …]
/Linux-v6.1/drivers/gpu/drm/sprd/
Dsprd_dpu.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/dma-buf.h>
131 static int dpu_wait_stop_done(struct sprd_dpu *dpu) in dpu_wait_stop_done() argument
133 struct dpu_context *ctx = &dpu->ctx; in dpu_wait_stop_done()
136 if (ctx->stopped) in dpu_wait_stop_done()
139 rc = wait_event_interruptible_timeout(ctx->wait_queue, ctx->evt_stop, in dpu_wait_stop_done()
141 ctx->evt_stop = false; in dpu_wait_stop_done()
143 ctx->stopped = true; in dpu_wait_stop_done()
146 drm_err(dpu->drm, "dpu wait for stop done time out!\n"); in dpu_wait_stop_done()
147 return -ETIMEDOUT; in dpu_wait_stop_done()
[all …]
Dsprd_dsi.c1 // SPDX-License-Identifier: GPL-2.0
142 return (readl(ctx->base + offset) & mask) >> shift; in dsi_reg_rd()
151 ret = readl(ctx->base + offset); in dsi_reg_wr()
154 writel(ret, ctx->base + offset); in dsi_reg_wr()
161 u32 ret = readl(ctx->base + offset); in dsi_reg_up()
163 writel((ret & ~mask) | (val & mask), ctx->base + offset); in dsi_reg_up()
169 struct dsi_context *ctx = &dsi->ctx; in regmap_tst_io_write()
172 return -EINVAL; in regmap_tst_io_write()
174 drm_dbg(dsi->drm, "reg = 0x%02x, val = 0x%02x\n", reg, val); in regmap_tst_io_write()
191 struct dsi_context *ctx = &dsi->ctx; in regmap_tst_io_read()
[all …]