| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/ |
| H A D | allwinner,sun4i-a10-tcon-ch0-clk.yaml | 1 # 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/ |
| H A D | allwinner,sun4i-a10-tcon.yaml | 1 # 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 …]
|
| H A D | allwinner,sun4i-a10-display-engine.yaml | 1 # 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 …]
|
| H A D | allwinner,sun4i-a10-tv-encoder.yaml | 1 # 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 …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | sun5i-gr8.dtsi | 4 * Mylène Josserand <mylene.josserand@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/clock/sun4i-a10-pll2.h> 46 #include <dt-bindings/dma/sun4i-a10.h> 47 #include <dt-bindings/pinctrl/sun4i-a10.h> 50 interrupt-parent = <&intc>; 51 #address-cells = <1>; 52 #size-cells = <1>; 55 #address-cells = <1>; 56 #size-cells = <0>; [all …]
|
| H A D | sun5i-a13.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 49 #include <dt-bindings/pinctrl/sun4i-a10.h> 50 #include <dt-bindings/thermal/thermal.h> 53 interrupt-parent = <&intc>; 56 #address-cells = <1>; 57 #size-cells = <1>; 61 compatible = "allwinner,simple-framebuffer", 62 "simple-framebuffer"; 63 allwinner,pipeline = "de_be0-lcd0"; [all …]
|
| H A D | sun4i-a10.dtsi | 5 * This file is dual-licensed: you can use it either under the terms 46 #include <dt-bindings/thermal/thermal.h> 48 #include <dt-bindings/clock/sun4i-a10-pll2.h> 49 #include <dt-bindings/dma/sun4i-a10.h> 50 #include <dt-bindings/pinctrl/sun4i-a10.h> 53 interrupt-parent = <&intc>; 60 #address-cells = <1>; 61 #size-cells = <1>; 65 compatible = "allwinner,simple-framebuffer", 66 "simple-framebuffer"; [all …]
|
| H A D | sun7i-a20.dtsi | 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/interrupt-controller/arm-gic.h> 48 #include <dt-bindings/thermal/thermal.h> 50 #include <dt-bindings/clock/sun4i-a10-pll2.h> 51 #include <dt-bindings/dma/sun4i-a10.h> 52 #include <dt-bindings/pinctrl/sun4i-a10.h> 55 interrupt-parent = <&gic>; 62 #address-cells = <1>; 63 #size-cells = <1>; [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | sun4i-a10.dtsi | 5 * 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 …]
|
| H A D | sun5i.dtsi | 2 * 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 …]
|
| H A D | sun7i-a20.dtsi | 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/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 …]
|
| H A D | sun8i-r40.dtsi | 2 * 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 …]
|
| H A D | sun6i-a31.dtsi | 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/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 …]
|
| H A D | sun5i-a10s.dtsi | 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/dma/sun4i-a10.h> 55 #address-cells = <1>; 56 #size-cells = <1>; 59 framebuffer-lcd0-hdmi { 60 compatible = "allwinner,simple-framebuffer", 61 "simple-framebuffer"; 62 allwinner,pipeline = "de_be0-lcd0-hdmi"; 70 display-engine { [all …]
|
| H A D | sun9i-a80.dtsi | 2 * Copyright 2014 Chen-Yu Tsai 4 * Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/interrupt-controller/arm-gic.h> 47 #include <dt-bindings/clock/sun9i-a80-ccu.h> 48 #include <dt-bindings/clock/sun9i-a80-de.h> 49 #include <dt-bindings/clock/sun9i-a80-usb.h> 50 #include <dt-bindings/reset/sun9i-a80-ccu.h> 51 #include <dt-bindings/reset/sun9i-a80-de.h> 52 #include <dt-bindings/reset/sun9i-a80-usb.h> [all …]
|
| H A D | sun8i-v3s.dtsi | 4 * 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> 46 #include <dt-bindings/clock/sun8i-de2.h> 49 #address-cells = <1>; 50 #size-cells = <1>; 51 interrupt-parent = <&gic>; 54 #address-cells = <1>; 55 #size-cells = <1>; [all …]
|
| H A D | sun8i-a23-a33.dtsi | 2 * Copyright 2014 Chen-Yu Tsai 4 * Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 45 #include <dt-bindings/interrupt-controller/arm-gic.h> 47 #include <dt-bindings/clock/sun8i-a23-a33-ccu.h> 48 #include <dt-bindings/reset/sun8i-a23-a33-ccu.h> 51 interrupt-parent = <&gic>; 52 #address-cells = <1>; 53 #size-cells = <1>; 56 #address-cells = <1>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/ |
| H A D | Kconfig | 1 # 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" 53 MIPI-DSI support. If M is selected the module will be called [all …]
|
| H A D | sun4i_drv.c | 1 // 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() 74 drm->dev_private = drv; in sun4i_drv_bind() 75 INIT_LIST_HEAD(&drv->frontend_list); in sun4i_drv_bind() 76 INIT_LIST_HEAD(&drv->engine_list); in sun4i_drv_bind() 77 INIT_LIST_HEAD(&drv->tcon_list); in sun4i_drv_bind() [all …]
|
| H A D | sun4i_tcon.c | 1 // 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 …]
|
| H A D | sun4i_backend.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Maxime Ripard <maxime.ripard@free-electrons.com> 14 #include <linux/dma-mapping.h> 34 /* backend <-> TCON muxing selection done in backend */ 54 regmap_write(engine->regs, SUN4I_BACKEND_OCCTL_REG, in sun4i_backend_apply_color_correction() 58 regmap_write(engine->regs, SUN4I_BACKEND_OCRCOEF_REG(i), in sun4i_backend_apply_color_correction() 67 regmap_update_bits(engine->regs, SUN4I_BACKEND_OCCTL_REG, in sun4i_backend_disable_color_correction() 75 regmap_write(engine->regs, SUN4I_BACKEND_REGBUFFCTL_REG, in sun4i_backend_commit() 93 regmap_update_bits(backend->engine.regs, SUN4I_BACKEND_MODCTL_REG, in sun4i_backend_layer_enable() 133 return -EINVAL; in sun4i_backend_drm_format_to_layer() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/sunxi/ |
| H A D | Makefile | 1 # 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 …]
|
| H A D | clk-sun4i-display.c | 1 // 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 …]
|
| H A D | clk-sun4i-tcon-ch1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Maxime Ripard <maxime.ripard@free-electrons.com> 8 #include <linux/clk-provider.h> 40 spin_lock_irqsave(&tclk->lock, flags); in tcon_ch1_disable() 41 reg = readl(tclk->reg); in tcon_ch1_disable() 43 writel(reg, tclk->reg); in tcon_ch1_disable() 44 spin_unlock_irqrestore(&tclk->lock, flags); in tcon_ch1_disable() 53 spin_lock_irqsave(&tclk->lock, flags); in tcon_ch1_enable() 54 reg = readl(tclk->reg); in tcon_ch1_enable() 56 writel(reg, tclk->reg); in tcon_ch1_enable() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/allwinner/ |
| H A D | sun50i-h6.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/clock/sun50i-h6-ccu.h> 6 #include <dt-bindings/clock/sun50i-h6-r-ccu.h> 7 #include <dt-bindings/clock/sun8i-de2.h> 8 #include <dt-bindings/clock/sun8i-tcon-top.h> 9 #include <dt-bindings/reset/sun50i-h6-ccu.h> 10 #include <dt-bindings/reset/sun50i-h6-r-ccu.h> 11 #include <dt-bindings/reset/sun8i-de2.h> 12 #include <dt-bindings/thermal/thermal.h> [all …]
|