| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| 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 47 #include <dt-bindings/clock/sun4i-a10-pll2.h> 48 #include <dt-bindings/dma/sun4i-a10.h> 49 #include <dt-bindings/pinctrl/sun4i-a10.h> 52 interrupt-parent = <&intc>; 55 #address-cells = <1>; 56 #size-cells = <0>; 60 compatible = "arm,cortex-a8"; [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 | 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 | 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 …]
|
| 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 47 #include <dt-bindings/interrupt-controller/arm-gic.h> 48 #include <dt-bindings/thermal/thermal.h> 50 #include <dt-bindings/pinctrl/sun4i-a10.h> 53 interrupt-parent = <&gic>; 60 #address-cells = <1>; 61 #size-cells = <1>; 65 compatible = "allwinner,simple-framebuffer", 66 "simple-framebuffer"; [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 | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 dtb-$(CONFIG_ARCH_ALPINE) += \ 3 alpine-db.dtb 4 dtb-$(CONFIG_MACH_ARTPEC6) += \ 5 artpec6-devboard.dtb 6 dtb-$(CONFIG_MACH_ASM9260) += \ 7 alphascale-asm9260-devkit.dtb 9 dtb-$(CONFIG_SOC_AT91RM9200) += \ 12 dtb-$(CONFIG_SOC_AT91SAM9) += \ 14 at91-qil_a9260.dtb \ [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 | 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 | 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/spi/ |
| H A D | allwinner,sun4i-a10-spi.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/allwinner,sun4i-a10-spi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 SPI Controller Device Tree Bindings 10 - $ref: "spi-controller.yaml" 13 - Chen-Yu Tsai <wens@csie.org> 14 - Maxime Ripard <mripard@kernel.org> 17 "#address-cells": true 18 "#size-cells": true [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/ |
| H A D | sunxi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR X11) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 19 - description: Allwinner A100 Perf1 Board 21 - const: allwinner,a100-perf1 22 - const: allwinner,sun50i-a100 24 - description: Allwinner A23 Evaluation Board 26 - const: allwinner,sun8i-a23-evb [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-sunxi/ |
| H A D | spl_spi_sunxi.c | 4 * SPDX-License-Identifier: GPL-2.0+ 18 * This is a very simple U-Boot image loading implementation, trying to 20 * know the exact pins where the SPI Flash is connected and also know 23 * of the SPI framework. Moreover, we rely on the default settings of 24 * the SPI controler hardware registers and only adjust what needs to 28 * There are two variants of the SPI controller in Allwinner SoCs: 29 * A10/A13/A20 (sun4i variant) and everything else (sun6i variant). 32 * The pin mixing part is SoC specific and only A10/A13/A20/H3/A64 are 37 /* SUN4I variant of the SPI controller */ 55 /* SUN6I variant of the SPI controller */ [all …]
|
| H A D | Kconfig | 4 default "arch/arm/cpu/armv7/sunxi/u-boot-spl.lds" if !ARM64 12 ---help--- 24 ---help--- 26 as the original A10 (mach-sun4i). 30 ---help--- 37 ---help--- 40 not have official open-source DRAM initialization code, but can 46 ---help--- 48 have only 16-bit memory buswidth. 52 ---help--- [all …]
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-sun4i.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2012 - 2014 Allwinner Tech 7 * Maxime Ripard <maxime.ripard@free-electrons.com> 19 #include <linux/spi/spi.h> 92 return readl(sspi->base_addr + reg); in sun4i_spi_read() 97 writel(value, sspi->base_addr + reg); in sun4i_spi_write() 138 while (len--) { in sun4i_spi_drain_fifo() 139 byte = readb(sspi->base_addr + SUN4I_RXDATA_REG); in sun4i_spi_drain_fifo() 140 if (sspi->rx_buf) in sun4i_spi_drain_fifo() 141 *sspi->rx_buf++ = byte; in sun4i_spi_drain_fifo() [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # SPI driver configuration 5 menuconfig SPI config 6 bool "SPI support" 10 protocol. Chips that support SPI can have data transfer rates 12 controller and a chipselect. Most SPI slaves don't support 13 dynamic device discovery; some are even write-only or read-only. 15 SPI is widely used by microcontrollers to talk with sensors, 17 chips, analog to digital (and d-to-a) converters, and more. 18 MMC and SD cards can be accessed using SPI protocol; and for [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/allwinner/ |
| H A D | sun50i-h5-orangepi-zero-plus.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 // Copyright (C) 2018 Hauke Mehrtens <hauke@hauke-m.de> 5 /dts-v1/; 6 #include "sun50i-h5.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/pinctrl/sun4i-a10.h> 14 compatible = "xunlong,orangepi-zero-plus", "allwinner,sun50i-h5"; 17 compatible = "regulator-fixed"; 18 regulator-name = "vcc3v3"; [all …]
|
| H A D | sun50i-h5-orangepi-pc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 /dts-v1/; 5 #include "sun50i-h5.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/pinctrl/sun4i-a10.h> 13 compatible = "xunlong,orangepi-pc2", "allwinner,sun50i-h5"; 16 compatible = "regulator-fixed"; 17 regulator-name = "vcc3v3"; 18 regulator-min-microvolt = <3300000>; [all …]
|
| 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/dma/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 103 tristate "Analog Devices AXI-DMAC DMA support" 109 Enable support for the Analog Devices AXI-DMAC peripheral. This DMA 129 bool "ST-Ericsson COH901318 DMA support" 133 Enable support for ST-Ericsson COH 901 318 DMA. 152 tristate "SA-11x0 DMA support" 157 Support the DMA engine found on Intel StrongARM SA-1100 and 158 SA-1110 SoCs. This DMA engine can only be used with on-chip 162 tristate "Allwinner A10 DMA SoCs support" 168 Enable support for the DMA controller present in the sun4i, [all …]
|
| H A D | sun4i-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include "virt-dma.h" 74 #define SUN4I_DDMA_PARA_DST_DATA_BLK_SIZE(n) (((n) - 1) << 24) 75 #define SUN4I_DDMA_PARA_DST_WAIT_CYCLES(n) (((n) - 1) << 16) 76 #define SUN4I_DDMA_PARA_SRC_DATA_BLK_SIZE(n) (((n) - 1) << 8) 77 #define SUN4I_DDMA_PARA_SRC_WAIT_CYCLES(n) (((n) - 1) << 0) 112 #define SUN4I_NDMA_NR_MAX_VCHANS (29 * 2 - 1) 118 * working with the SPI driver and seem to make it behave correctly */ 189 return &chan->dev->device; in chan2dev() 195 return -EINVAL; in convert_burst() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/adc/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 bool "ST-Ericsson AB8500 GPADC driver" 29 Say yes here to build support for Analog Devices AD7091R-5 ADC. 32 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver" 36 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8 37 SPI analog to digital converters (ADC). 44 depends on SPI 48 AD7192, AD7193 or AD7195 SPI analog to digital converters (ADC). 79 depends on SPI 89 depends on SPI [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 29 using the SPI interface. This driver provides common support for 44 tristate "Active-semi ACT8945A" 49 Support for the ACT8945A PMIC from Active-semi. This device 50 features three step-down DC/DC converters and four low-dropout 62 Select this to get support for Allwinner SoCs (A10, A13 and A31) ADC. 66 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 69 called sun4i-gpadc. 88 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 119 over at91-usart-serial driver and usart-spi-driver. Only one function [all …]
|