Home
last modified time | relevance | path

Searched +full:jz4760 +full:- +full:ipu (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/Documentation/devicetree/bindings/display/
Dingenic,ipu.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/ingenic,ipu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ingenic SoCs Image Processing Unit (IPU)
10 - Paul Cercueil <paul@crapouillou.net>
15 - enum:
16 - ingenic,jz4725b-ipu
17 - ingenic,jz4760-ipu
18 - items:
[all …]
Dingenic,lcd.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Paul Cercueil <paul@crapouillou.net>
14 pattern: "^lcd-controller@[0-9a-f]+$"
18 - ingenic,jz4740-lcd
19 - ingenic,jz4725b-lcd
20 - ingenic,jz4760-lcd
21 - ingenic,jz4760b-lcd
22 - ingenic,jz4770-lcd
[all …]
/Linux-v6.6/drivers/gpu/drm/ingenic/
Dingenic-ipu.c1 // SPDX-License-Identifier: GPL-2.0
3 // Ingenic JZ47xx IPU driver
8 #include "ingenic-drm.h"
9 #include "ingenic-ipu.h"
43 void (*set_coefs)(struct ingenic_ipu *ipu, unsigned int reg,
71 /* Signed 15.16 fixed-point math (for bicubic scaling coefficients) */
75 #define SHARPNESS_INCR (I2F(-1) / 8)
93 priv_state = drm_atomic_get_private_obj_state(state, &priv->private_obj); in ingenic_ipu_get_priv_state()
105 priv_state = drm_atomic_get_new_private_obj_state(state, &priv->private_obj); in ingenic_ipu_get_new_priv_state()
114 * and return value are 15.16 signed fixed-point.
[all …]
Dingenic-drm-drv.c1 // SPDX-License-Identifier: GPL-2.0
7 #include "ingenic-drm.h"
12 #include <linux/dma-mapping.h>
14 #include <linux/media-bus-format.h>
87 * f0 (aka. foreground0) can be overlayed. Z-order is fixed in
146 priv_state = drm_atomic_get_private_obj_state(state, &priv->private_obj); in ingenic_drm_get_priv_state()
158 priv_state = drm_atomic_get_new_private_obj_state(state, &priv->private_obj); in ingenic_drm_get_new_priv_state()
209 return priv->dma_hwdescs_phys + offset; in dma_hwdesc_addr()
220 mutex_lock(&priv->clk_mutex); in ingenic_drm_update_pixclk()
221 priv->update_clk_rate = true; in ingenic_drm_update_pixclk()
[all …]
/Linux-v6.6/drivers/clk/ingenic/
Djz4760-cgu.c1 // SPDX-License-Identifier: GPL-2.0
3 * JZ4760 SoC CGU driver
8 #include <linux/clk-provider.h>
15 #include <dt-bindings/clock/ingenic,jz4760-cgu.h>
45 0x0, 0x1, -1, 0x2, -1, -1, -1, 0x3,
61 unsigned int m, n, od, m_max = (1 << pll_info->m_bits) - 1; in jz4760_cgu_calc_m_n_od()
67 n = clamp_val(n, 2, 1 << pll_info->n_bits); in jz4760_cgu_calc_m_n_od()
72 for (m = m_max; m >= m_max && n >= 2; n--) { in jz4760_cgu_calc_m_n_od()
133 .bypass_bit = -1,
151 CGU_REG_CPCCR, 0, 1, 4, 22, -1, -1, 0,
[all …]