Home
last modified time | relevance | path

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

12

/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 …]
DMakefile1 # 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 …]
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 …]
Dsun6i-a31.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>
50 #include <dt-bindings/clock/sun6i-a31-ccu.h>
51 #include <dt-bindings/reset/sun6i-a31-ccu.h>
54 interrupt-parent = <&gic>;
61 #address-cells = <1>;
62 #size-cells = <1>;
66 compatible = "allwinner,simple-framebuffer",
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/
Dallwinner,sun4i-a10-spi.yaml1 # 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 …]
/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 …]
DMakefile1 # 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 …]
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 …]
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 …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/dma/
Dsun4i-dma.txt1 Allwinner A10 DMA Controller
7 - compatible: Must be "allwinner,sun4i-a10-dma"
8 - reg: Should contain the registers base address and length
9 - interrupts: Should contain a reference to the interrupt used by this device
10 - clocks: Should contain a reference to the parent AHB clock
11 - #dma-cells : Should be 2, first cell denoting normal or dedicated dma,
15 dma: dma-controller@1c02000 {
16 compatible = "allwinner,sun4i-a10-dma";
20 #dma-cells = <2>;
25 DMA clients connected to the Allwinner A10 DMA controller must use the
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/spi/
Dspi-sun4i.txt1 Allwinner A10 SPI controller
4 - compatible: Should be "allwinner,sun4-a10-spi".
5 - reg: Should contain register location and length.
6 - interrupts: Should contain interrupt.
7 - clocks: phandle to the clocks feeding the SPI controller. Two are
9 - "ahb": the gated AHB parent clock
10 - "mod": the parent module clock
11 - clock-names: Must contain the clock names described just above
15 spi1: spi@1c06000 {
16 compatible = "allwinner,sun4i-a10-spi";
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/
Dsunxi.yaml1 # 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 …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/allwinner/
Dsun50i-h5-orangepi-zero-plus.dts1 // 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 …]
Dsun50i-h5-orangepi-pc2.dts1 // 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 …]
/kernel/linux/linux-4.19/arch/arm64/boot/dts/allwinner/
Dsun50i-h5-orangepi-zero-plus.dts3 * Copyright (C) 2018 Hauke Mehrtens <hauke@hauke-m.de>
5 * SPDX-License-Identifier: (GPL-2.0+ OR X11)
8 /dts-v1/;
9 #include "sun50i-h5.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/pinctrl/sun4i-a10.h>
17 compatible = "xunlong,orangepi-zero-plus", "allwinner,sun50i-h5";
20 compatible = "regulator-fixed";
21 regulator-name = "vcc3v3";
[all …]
Dsun50i-h5-orangepi-pc2.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun50i-h5.dtsi"
46 #include <dt-bindings/gpio/gpio.h>
47 #include <dt-bindings/input/input.h>
48 #include <dt-bindings/pinctrl/sun4i-a10.h>
52 compatible = "xunlong,orangepi-pc2", "allwinner,sun50i-h5";
55 compatible = "regulator-fixed";
56 regulator-name = "vcc3v3";
57 regulator-min-microvolt = <3300000>;
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-sun4i.c1 // 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 …]
/kernel/linux/linux-4.19/drivers/spi/
Dspi-sun4i.c2 * Copyright (C) 2012 - 2014 Allwinner Tech
6 * Maxime Ripard <maxime.ripard@free-electrons.com>
23 #include <linux/spi/spi.h>
96 return readl(sspi->base_addr + reg); in sun4i_spi_read()
101 writel(value, sspi->base_addr + reg); in sun4i_spi_write()
142 while (len--) { in sun4i_spi_drain_fifo()
143 byte = readb(sspi->base_addr + SUN4I_RXDATA_REG); in sun4i_spi_drain_fifo()
144 if (sspi->rx_buf) in sun4i_spi_drain_fifo()
145 *sspi->rx_buf++ = byte; in sun4i_spi_drain_fifo()
155 cnt = SUN4I_FIFO_DEPTH - sun4i_spi_get_tx_fifo_count(sspi); in sun4i_spi_fill_fifo()
[all …]
DKconfig2 # SPI driver configuration
4 menuconfig SPI config
5 bool "SPI support"
9 protocol. Chips that support SPI can have data transfer rates
11 controller and a chipselect. Most SPI slaves don't support
12 dynamic device discovery; some are even write-only or read-only.
14 SPI is widely used by microcontrollers to talk with sensors,
16 chips, analog to digital (and d-to-a) converters, and more.
17 MMC and SD cards can be accessed using SPI protocol; and for
18 DataFlash cards used in MMC sockets, SPI must always be used.
[all …]
/kernel/linux/linux-4.19/drivers/net/phy/
DKconfig17 loadable module or built-in.
78 tristate "MMIO device-controlled MDIO bus multiplexers"
83 are controlled via a simple memory-mapped device, like an FPGA.
94 tristate "GPIO lib-based bitbanged MDIO buses"
97 ---help---
98 Supports GPIO lib-based MDIO busses.
101 will be called mdio-gpio.
145 tristate "Allwinner sun4i MDIO interface support"
149 interface units of the Allwinner SoC that have an EMAC (A10,
164 tristate "APM X-Gene SoC MDIO bus controller"
[all …]
/kernel/linux/linux-4.19/drivers/iio/adc/
DKconfig38 depends on SPI
49 tristate "Analog Devices AD7476 and similar 1-channel ADCs driver"
50 depends on SPI
56 AD7495, AD7910, AD7920, AD7920 SPI analog to digital converters (ADC).
67 Say yes here to build support for Analog Devices AD7766, AD7766-1,
68 AD7766-2, AD7767, AD7767-1, AD7767-2 SPI analog to digital converters.
75 depends on SPI
79 AD7790 and AD7791 SPI analog to digital converters (ADC).
86 depends on SPI
90 AD7794 and AD7795 SPI analog to digital converters (ADC).
[all …]

12