Home
last modified time | relevance | path

Searched +full:berlin2 +full:- +full:adc (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/
Dmarvell,berlin2-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/marvell,berlin2-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Berlin 2 Analog to Digital Converter (ADC)
10 - Antoine Tenart <antoine.tenart@free-electrons.com>
13 The Berlin ADC has 8 channels, with one connected to a temperature sensor.
14 It is part of the system controller register set. The ADC node should be a
15 sub-node of the system controller node.
19 const: marvell,berlin2-adc
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/adc/
Dberlin2_adc.txt1 * Berlin Analog to Digital Converter (ADC)
3 The Berlin ADC has 8 channels, with one connected to a temperature sensor.
4 It is part of the system controller register set. The ADC node should be a
5 sub-node of the system controller node.
8 - compatible: must be "marvell,berlin2-adc"
9 - interrupts: the interrupts for the ADC and the temperature sensor
10 - interrupt-names: should be "adc" and "tsen"
14 adc: adc {
15 compatible = "marvell,berlin2-adc";
16 interrupt-parent = <&sic>;
[all …]
/kernel/linux/linux-4.19/drivers/iio/adc/
Dberlin2-adc.c2 * Marvell Berlin2 ADC driver
6 * Antoine Tenart <antoine.tenart@free-electrons.com>
29 #define BERLIN2_SM_CTRL_ADC_SEL(x) ((x) << 5) /* 0-15 */
49 #define BERLIN2_SM_CTRL_TSEN_MODE_0_125 (0x0 << 22) /* 0-125 C */
50 #define BERLIN2_SM_CTRL_TSEN_MODE_10_50 (0x1 << 22) /* 10-50 C */
55 #define BERLIN2_SM_ADC_STATUS_DATA_RDY(x) BIT(x) /* 0-15 */
57 #define BERLIN2_SM_ADC_STATUS_INT_EN(x) (BIT(x) << 16) /* 0-15 */
112 mutex_lock(&priv->lock); in berlin2_adc_read()
115 regmap_write(priv->regmap, BERLIN2_SM_ADC_STATUS, in berlin2_adc_read()
118 /* Configure the ADC */ in berlin2_adc_read()
[all …]
DKconfig2 # ADC drivers
14 tristate "Analog Devices AD7265/AD7266 ADC driver"
27 tristate "Analog Devices AD7291 ADC driver"
31 8 Channel ADC with temperature sensor.
37 tristate "Analog Devices AD7298 ADC driver"
43 8 Channel ADC with temperature sensor.
49 tristate "Analog Devices AD7476 and similar 1-channel ADCs driver"
56 AD7495, AD7910, AD7920, AD7920 SPI analog to digital converters (ADC).
62 tristate "Analog Devices AD7766/AD7767 ADC driver"
67 Say yes here to build support for Analog Devices AD7766, AD7766-1,
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for IIO ADC drivers
7 obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o
8 obj-$(CONFIG_AD7266) += ad7266.o
9 obj-$(CONFIG_AD7291) += ad7291.o
10 obj-$(CONFIG_AD7298) += ad7298.o
11 obj-$(CONFIG_AD7923) += ad7923.o
12 obj-$(CONFIG_AD7476) += ad7476.o
13 obj-$(CONFIG_AD7766) += ad7766.o
14 obj-$(CONFIG_AD7791) += ad7791.o
[all …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dberlin2-adc.c2 * Marvell Berlin2 ADC driver
6 * Antoine Tenart <antoine.tenart@free-electrons.com>
29 #define BERLIN2_SM_CTRL_ADC_SEL(x) ((x) << 5) /* 0-15 */
49 #define BERLIN2_SM_CTRL_TSEN_MODE_0_125 (0x0 << 22) /* 0-125 C */
50 #define BERLIN2_SM_CTRL_TSEN_MODE_10_50 (0x1 << 22) /* 10-50 C */
55 #define BERLIN2_SM_ADC_STATUS_DATA_RDY(x) BIT(x) /* 0-15 */
57 #define BERLIN2_SM_ADC_STATUS_INT_EN(x) (BIT(x) << 16) /* 0-15 */
112 mutex_lock(&priv->lock); in berlin2_adc_read()
115 regmap_write(priv->regmap, BERLIN2_SM_ADC_STATUS, in berlin2_adc_read()
118 /* Configure the ADC */ in berlin2_adc_read()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # ADC drivers
10 bool "ST-Ericsson AB8500 GPADC driver"
25 tristate "Analog Devices AD7091R5 ADC 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).
43 tristate "Analog Devices AD7190 AD7192 AD7193 AD7195 ADC driver"
48 AD7192, AD7193 or AD7195 SPI analog to digital converters (ADC).
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for IIO ADC drivers
7 obj-$(CONFIG_AB8500_GPADC) += ab8500-gpadc.o
8 obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o
9 obj-$(CONFIG_AD7091R5) += ad7091r5.o ad7091r-base.o
10 obj-$(CONFIG_AD7124) += ad7124.o
11 obj-$(CONFIG_AD7192) += ad7192.o
12 obj-$(CONFIG_AD7266) += ad7266.o
13 obj-$(CONFIG_AD7291) += ad7291.o
14 obj-$(CONFIG_AD7292) += ad7292.o
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dberlin2cd.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Device Tree Include file for Marvell Armada 1500-mini (Berlin BG2CD) SoC
11 #include <dt-bindings/clock/berlin2.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 model = "Marvell Armada 1500-mini (BG2CD) SoC";
17 #address-cells = <1>;
18 #size-cells = <1>;
26 #address-cells = <1>;
27 #size-cells = <0>;
30 compatible = "arm,cortex-a9";
[all …]
Dberlin2q.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright (C) 2014 Antoine Ténart <antoine.tenart@free-electrons.com>
6 #include <dt-bindings/clock/berlin2q.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 model = "Marvell Armada 1500 pro (BG2-Q) SoC";
12 #address-cells = <1>;
13 #size-cells = <1>;
21 #address-cells = <1>;
22 #size-cells = <0>;
23 enable-method = "marvell,berlin-smp";
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dberlin2cd.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Device Tree Include file for Marvell Armada 1500-mini (Berlin BG2CD) SoC
11 #include <dt-bindings/clock/berlin2.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 model = "Marvell Armada 1500-mini (BG2CD) SoC";
17 #address-cells = <1>;
18 #size-cells = <1>;
26 #address-cells = <1>;
27 #size-cells = <0>;
30 compatible = "arm,cortex-a9";
[all …]
Dberlin2q.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Copyright (C) 2014 Antoine Ténart <antoine.tenart@free-electrons.com>
6 #include <dt-bindings/clock/berlin2q.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 model = "Marvell Armada 1500 pro (BG2-Q) SoC";
12 #address-cells = <1>;
13 #size-cells = <1>;
21 #address-cells = <1>;
22 #size-cells = <0>;
23 enable-method = "marvell,berlin-smp";
[all …]