Home
last modified time | relevance | path

Searched +full:sun4i +full:- +full:a10 +full:- +full:tcon (Results 1 – 25 of 44) sorted by relevance

12

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dallwinner,sun4i-a10-tcon-ch0-clk.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-tcon-ch0-clk.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 TCON Channel 0 Clock Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
16 "#clock-cells":
19 "#reset-cells":
24 - allwinner,sun4i-a10-tcon-ch0-clk
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/
Dallwinner,sun4i-a10-tcon.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-tcon.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 Timings Controller (TCON) Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 The TCON acts as a timing controller for RGB, LVDS and TV
18 "#clock-cells":
23 - const: allwinner,sun4i-a10-tcon
[all …]
Dallwinner,sun4i-a10-display-engine.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-display-engine.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 Display Engine Pipeline Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
18 The Allwinner A10 Display pipeline is composed of several components
27 Frontend 0 [0] ------- [0] Backend 0 [0] ------- [0] TCON 0
28 [1] -- -- [1] [1] -- -- [1]
[all …]
Dallwinner,sun4i-a10-tv-encoder.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-tv-encoder.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 TV Encoder Device Tree Bindings
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
15 const: allwinner,sun4i-a10-tv-encoder
30 Documentation/devicetree/bindings/media/video-interfaces.txt. The
32 associated TCON.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/clock/
Dsunxi.txt1 Device Tree Clock bindings for arch-sunxi
5 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
8 - compatible : shall be one of the following:
9 "allwinner,sun4i-a10-osc-clk" - for a gatable oscillator
10 "allwinner,sun4i-a10-pll1-clk" - for the main PLL clock and PLL4
11 "allwinner,sun6i-a31-pll1-clk" - for the main PLL clock on A31
12 "allwinner,sun8i-a23-pll1-clk" - for the main PLL clock on A23
13 "allwinner,sun4i-a10-pll3-clk" - for the video PLL clock on A10
14 "allwinner,sun9i-a80-pll4-clk" - for the peripheral PLLs on A80
15 "allwinner,sun4i-a10-pll5-clk" - for the PLL5 clock
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dsun4i-a10.dtsi5 * This file is dual-licensed: you can use it either under the terms
44 #include <dt-bindings/thermal/thermal.h>
45 #include <dt-bindings/dma/sun4i-a10.h>
46 #include <dt-bindings/clock/sun4i-a10-ccu.h>
47 #include <dt-bindings/reset/sun4i-a10-ccu.h>
50 #address-cells = <1>;
51 #size-cells = <1>;
52 interrupt-parent = <&intc>;
59 #address-cells = <1>;
60 #size-cells = <1>;
[all …]
Dsun5i.dtsi2 * Copyright 2012-2015 Maxime Ripard
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
47 #include <dt-bindings/clock/sun5i-ccu.h>
48 #include <dt-bindings/dma/sun4i-a10.h>
49 #include <dt-bindings/reset/sun5i-ccu.h>
52 interrupt-parent = <&intc>;
55 #address-cells = <1>;
56 #size-cells = <0>;
60 compatible = "arm,cortex-a8";
[all …]
Dsun7i-a20.dtsi4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
47 #include <dt-bindings/interrupt-controller/arm-gic.h>
48 #include <dt-bindings/thermal/thermal.h>
49 #include <dt-bindings/dma/sun4i-a10.h>
50 #include <dt-bindings/clock/sun7i-a20-ccu.h>
51 #include <dt-bindings/reset/sun4i-a10-ccu.h>
54 interrupt-parent = <&gic>;
61 #address-cells = <1>;
62 #size-cells = <1>;
[all …]
Dsun8i-v3s.dtsi4 * This file is dual-licensed: you can use it either under the terms
43 #include <dt-bindings/interrupt-controller/arm-gic.h>
44 #include <dt-bindings/clock/sun8i-v3s-ccu.h>
45 #include <dt-bindings/reset/sun8i-v3s-ccu.h>
48 #address-cells = <1>;
49 #size-cells = <1>;
50 interrupt-parent = <&gic>;
53 #address-cells = <1>;
54 #size-cells = <0>;
57 compatible = "arm,cortex-a7";
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/display/sunxi/
Dsun4i-drm.txt1 Allwinner A10 Display Pipeline
4 The Allwinner A10 Display pipeline is composed of several components
13 Frontend 0 [0] ------- [0] Backend 0 [0] ------- [0] TCON 0
14 [1] -- -- [1] [1] -- -- [1]
18 [0] -- -- [0] [0] -- -- [0]
19 Frontend 1 [1] ------- [1] Backend 1 [1] ------- [1] TCON 1
25 The same rule also applies to DE 2.0 mixer-TCON connections:
27 Mixer 0 [0] ----------- [0] TCON 0
28 [1] ---- ---- [1]
32 [0] ---- ---- [0]
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dsun4i-a10.dtsi5 * This file is dual-licensed: you can use it either under the terms
44 #include <dt-bindings/thermal/thermal.h>
45 #include <dt-bindings/dma/sun4i-a10.h>
46 #include <dt-bindings/clock/sun4i-a10-ccu.h>
47 #include <dt-bindings/reset/sun4i-a10-ccu.h>
50 #address-cells = <1>;
51 #size-cells = <1>;
52 interrupt-parent = <&intc>;
59 #address-cells = <1>;
60 #size-cells = <1>;
[all …]
Dsun5i.dtsi2 * Copyright 2012-2015 Maxime Ripard
4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 #include <dt-bindings/clock/sun5i-ccu.h>
46 #include <dt-bindings/dma/sun4i-a10.h>
47 #include <dt-bindings/reset/sun5i-ccu.h>
50 interrupt-parent = <&intc>;
51 #address-cells = <1>;
52 #size-cells = <1>;
55 #address-cells = <1>;
[all …]
Dsun7i-a20.dtsi4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 #include <dt-bindings/interrupt-controller/arm-gic.h>
46 #include <dt-bindings/thermal/thermal.h>
47 #include <dt-bindings/dma/sun4i-a10.h>
48 #include <dt-bindings/clock/sun7i-a20-ccu.h>
49 #include <dt-bindings/reset/sun4i-a10-ccu.h>
50 #include <dt-bindings/pinctrl/sun4i-a10.h>
53 interrupt-parent = <&gic>;
54 #address-cells = <1>;
[all …]
Dsun8i-r40.dtsi2 * Copyright 2017 Chen-Yu Tsai <wens@csie.org>
5 * This file is dual-licensed: you can use it either under the terms
44 #include <dt-bindings/interrupt-controller/arm-gic.h>
45 #include <dt-bindings/clock/sun8i-de2.h>
46 #include <dt-bindings/clock/sun8i-r40-ccu.h>
47 #include <dt-bindings/clock/sun8i-tcon-top.h>
48 #include <dt-bindings/reset/sun8i-r40-ccu.h>
49 #include <dt-bindings/reset/sun8i-de2.h>
50 #include <dt-bindings/thermal/thermal.h>
53 #address-cells = <1>;
[all …]
Dsun6i-a31.dtsi4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 #include <dt-bindings/interrupt-controller/arm-gic.h>
46 #include <dt-bindings/thermal/thermal.h>
48 #include <dt-bindings/clock/sun6i-a31-ccu.h>
49 #include <dt-bindings/reset/sun6i-a31-ccu.h>
52 interrupt-parent = <&gic>;
53 #address-cells = <1>;
54 #size-cells = <1>;
61 #address-cells = <1>;
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/sun4i/
DKconfig2 tristate "DRM Support for Allwinner A10 Display Engine"
14 sun4i-drm.
19 tristate "Allwinner A10 HDMI Controller Support"
26 bool "Allwinner A10 HDMI CEC Support"
35 tristate "Support for Allwinner A10 Display Engine Backend"
40 do some alpha blending and feed graphics to TCON. If M is
41 selected the module will be called sun4i-backend.
44 tristate "Allwinner A31 MIPI-DSI Controller Support"
50 MIPI-DSI support. If M is selected the module will be called
51 sun6i-dsi
[all …]
Dsun4i_drv.c5 * Maxime Ripard <maxime.ripard@free-electrons.com>
39 .name = "sun4i-drm",
40 .desc = "Allwinner sun4i Display Engine",
73 ap->ranges[0].base = 0; in sun4i_remove_framebuffers()
74 ap->ranges[0].size = ~0; in sun4i_remove_framebuffers()
76 drm_fb_helper_remove_conflicting_framebuffers(ap, "sun4i-drm-fb", false); in sun4i_remove_framebuffers()
92 ret = -ENOMEM; in sun4i_drv_bind()
97 drm->dev_private = drv; in sun4i_drv_bind()
98 INIT_LIST_HEAD(&drv->frontend_list); in sun4i_drv_bind()
99 INIT_LIST_HEAD(&drv->engine_list); in sun4i_drv_bind()
[all …]
Dsun4i_tcon.c5 * Maxime Ripard <maxime.ripard@free-electrons.com>
45 drm_connector_list_iter_begin(encoder->dev, &iter); in sun4i_tcon_get_connector()
47 if (connector->encoder == encoder) { in sun4i_tcon_get_connector()
63 return -EINVAL; in sun4i_tcon_get_pixel_depth()
65 info = &connector->display_info; in sun4i_tcon_get_pixel_depth()
66 if (info->num_bus_formats != 1) in sun4i_tcon_get_pixel_depth()
67 return -EINVAL; in sun4i_tcon_get_pixel_depth()
69 switch (info->bus_formats[0]) { in sun4i_tcon_get_pixel_depth()
78 return -EINVAL; in sun4i_tcon_get_pixel_depth()
81 static void sun4i_tcon_channel_set_status(struct sun4i_tcon *tcon, int channel, in sun4i_tcon_channel_set_status() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "DRM Support for Allwinner A10 Display Engine"
15 sun4i-drm.
20 tristate "Allwinner A10 HDMI Controller Support"
27 bool "Allwinner A10 HDMI CEC Support"
36 tristate "Support for Allwinner A10 Display Engine Backend"
41 do some alpha blending and feed graphics to TCON. If M is
42 selected the module will be called sun4i-backend.
45 tristate "Allwinner A31 MIPI-DSI Controller Support"
52 MIPI-DSI support. If M is selected the module will be called
[all …]
Dsun4i_drv.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Maxime Ripard <maxime.ripard@free-electrons.com>
36 args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), 2); in drm_sun4i_gem_dumb_create()
48 .name = "sun4i-drm",
49 .desc = "Allwinner sun4i Display Engine",
70 ret = -ENOMEM; in sun4i_drv_bind()
75 drm->dev_private = drv; in sun4i_drv_bind()
76 INIT_LIST_HEAD(&drv->frontend_list); in sun4i_drv_bind()
77 INIT_LIST_HEAD(&drv->engine_list); in sun4i_drv_bind()
78 INIT_LIST_HEAD(&drv->tcon_list); in sun4i_drv_bind()
[all …]
Dsun4i_tcon.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Maxime Ripard <maxime.ripard@free-electrons.com>
47 drm_connector_list_iter_begin(encoder->dev, &iter); in sun4i_tcon_get_connector()
49 if (connector->encoder == encoder) { in sun4i_tcon_get_connector()
65 return -EINVAL; in sun4i_tcon_get_pixel_depth()
67 info = &connector->display_info; in sun4i_tcon_get_pixel_depth()
68 if (info->num_bus_formats != 1) in sun4i_tcon_get_pixel_depth()
69 return -EINVAL; in sun4i_tcon_get_pixel_depth()
71 switch (info->bus_formats[0]) { in sun4i_tcon_get_pixel_depth()
80 return -EINVAL; in sun4i_tcon_get_pixel_depth()
[all …]
/kernel/linux/linux-4.19/drivers/clk/sunxi/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 obj-y += clk-sunxi.o clk-factors.o
7 obj-y += clk-a10-codec.o
8 obj-y += clk-a10-hosc.o
9 obj-y += clk-a10-mod1.o
10 obj-y += clk-a10-pll2.o
11 obj-y += clk-a10-ve.o
12 obj-y += clk-a20-gmac.o
13 obj-y += clk-mod0.o
14 obj-y += clk-simple-gates.o
[all …]
Dclk-sun4i-display.c4 * Maxime Ripard <maxime.ripard@free-electrons.com>
17 #include <linux/clk-provider.h>
20 #include <linux/reset-controller.h>
61 spin_lock_irqsave(data->lock, flags); in sun4i_a10_display_assert()
63 reg = readl(data->reg); in sun4i_a10_display_assert()
64 writel(reg & ~BIT(data->offset + id), data->reg); in sun4i_a10_display_assert()
66 spin_unlock_irqrestore(data->lock, flags); in sun4i_a10_display_assert()
78 spin_lock_irqsave(data->lock, flags); in sun4i_a10_display_deassert()
80 reg = readl(data->reg); in sun4i_a10_display_deassert()
81 writel(reg | BIT(data->offset + id), data->reg); in sun4i_a10_display_deassert()
[all …]
/kernel/linux/linux-5.10/drivers/clk/sunxi/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 obj-$(CONFIG_CLK_SUNXI) += clk-factors.o
8 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-sunxi.o
9 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-codec.o
10 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-hosc.o
11 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-mod1.o
12 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-pll2.o
13 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a10-ve.o
14 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-a20-gmac.o
15 obj-$(CONFIG_CLK_SUNXI_CLOCKS) += clk-mod0.o
[all …]
Dclk-sun4i-display.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Maxime Ripard <maxime.ripard@free-electrons.com>
8 #include <linux/clk-provider.h>
12 #include <linux/reset-controller.h>
53 spin_lock_irqsave(data->lock, flags); in sun4i_a10_display_assert()
55 reg = readl(data->reg); in sun4i_a10_display_assert()
56 writel(reg & ~BIT(data->offset + id), data->reg); in sun4i_a10_display_assert()
58 spin_unlock_irqrestore(data->lock, flags); in sun4i_a10_display_assert()
70 spin_lock_irqsave(data->lock, flags); in sun4i_a10_display_deassert()
72 reg = readl(data->reg); in sun4i_a10_display_deassert()
[all …]

12