Home
last modified time | relevance | path

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

/Linux-v6.1/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 …]
/Linux-v6.1/drivers/iio/adc/
Dberlin2-adc.c2 * Marvell Berlin2 ADC driver
6 * Antoine Tenart <antoine.tenart@free-electrons.com>
31 #define BERLIN2_SM_CTRL_ADC_SEL(x) ((x) << 5) /* 0-15 */
51 #define BERLIN2_SM_CTRL_TSEN_MODE_0_125 (0x0 << 22) /* 0-125 C */
52 #define BERLIN2_SM_CTRL_TSEN_MODE_10_50 (0x1 << 22) /* 10-50 C */
57 #define BERLIN2_SM_ADC_STATUS_DATA_RDY(x) BIT(x) /* 0-15 */
59 #define BERLIN2_SM_ADC_STATUS_INT_EN(x) (BIT(x) << 16) /* 0-15 */
114 mutex_lock(&priv->lock); in berlin2_adc_read()
117 regmap_write(priv->regmap, BERLIN2_SM_ADC_STATUS, in berlin2_adc_read()
120 /* Configure the ADC */ in berlin2_adc_read()
[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_AD7280) += ad7280a.o
14 obj-$(CONFIG_AD7291) += ad7291.o
[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 …]
/Linux-v6.1/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 …]