| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | amlogic,meson-saradc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/amlogic,meson-saradc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic Meson SAR (Successive Approximation Register) A/D converter 10 - Martin Blumenstingl <martin.blumenstingl@googlemail.com> 13 Binding covers a range of ADCs found on Amlogic Meson SoCs. 18 - const: amlogic,meson-saradc 19 - items: 20 - enum: [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/adc/ |
| D | amlogic,meson-saradc.txt | 1 * Amlogic Meson SAR (Successive Approximation Register) A/D converter 4 - compatible: depending on the SoC this should be one of: 5 - "amlogic,meson8-saradc" for Meson8 6 - "amlogic,meson8b-saradc" for Meson8b 7 - "amlogic,meson8m2-saradc" for Meson8m2 8 - "amlogic,meson-gxbb-saradc" for GXBB 9 - "amlogic,meson-gxl-saradc" for GXL 10 - "amlogic,meson-gxm-saradc" for GXM 11 - "amlogic,meson-axg-saradc" for AXG 12 along with the generic "amlogic,meson-saradc" [all …]
|
| /kernel/linux/linux-4.19/arch/arm64/boot/dts/amlogic/ |
| D | meson-gxm.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-gxl.dtsi" 10 compatible = "amlogic,meson-gxm"; 13 cpu-map { 47 compatible = "arm,cortex-a53", "arm,armv8"; 49 enable-method = "psci"; 50 next-level-cache = <&l2>; 56 compatible = "arm,cortex-a53", "arm,armv8"; 58 enable-method = "psci"; 59 next-level-cache = <&l2>; [all …]
|
| D | meson-gxbb-p200.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxbb-p20x.dtsi" 11 #include <dt-bindings/input/input.h> 14 compatible = "amlogic,p200", "amlogic,meson-gxbb"; 15 model = "Amlogic Meson GXBB P200 Development Board"; 17 avdd18_usb_adc: regulator-avdd18_usb_adc { 18 compatible = "regulator-fixed"; 19 regulator-name = "AVDD18_USB_ADC"; 20 regulator-min-microvolt = <1800000>; [all …]
|
| D | meson-gxbb.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "meson-gx.dtsi" 7 #include <dt-bindings/gpio/meson-gxbb-gpio.h> 8 #include <dt-bindings/reset/amlogic,meson-gxbb-reset.h> 9 #include <dt-bindings/clock/gxbb-clkc.h> 10 #include <dt-bindings/clock/gxbb-aoclkc.h> 11 #include <dt-bindings/reset/gxbb-aoclkc.h> 14 compatible = "amlogic,meson-gxbb"; 18 compatible = "amlogic,meson-gxbb-usb2-phy"; 19 #phy-cells = <0>; [all …]
|
| D | meson-gxl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-gx.dtsi" 8 #include <dt-bindings/clock/gxbb-clkc.h> 9 #include <dt-bindings/clock/gxbb-aoclkc.h> 10 #include <dt-bindings/gpio/meson-gxl-gpio.h> 11 #include <dt-bindings/reset/amlogic,meson-gxbb-reset.h> 14 compatible = "amlogic,meson-gxl"; 19 compatible = "amlogic,meson-gxl-dwc3"; 20 #address-cells = <2>; 21 #size-cells = <2>; [all …]
|
| D | meson-gxm-q200.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 11 #include "meson-gxm.dtsi" 12 #include "meson-gx-p23x-q20x.dtsi" 15 compatible = "amlogic,q200", "amlogic,s912", "amlogic,meson-gxm"; 16 model = "Amlogic Meson GXM (S912) Q200 Development Board"; 18 adc-keys { 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; [all …]
|
| D | meson-gxl-s905d-p230.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 11 #include "meson-gxl-s905d.dtsi" 12 #include "meson-gx-p23x-q20x.dtsi" 15 compatible = "amlogic,p230", "amlogic,s905d", "amlogic,meson-gxl"; 16 model = "Amlogic Meson GXL (S905D) P230 Development Board"; 18 adc-keys { 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; [all …]
|
| D | meson-gx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 17 interrupt-parent = <&gic>; 18 #address-cells = <2>; 19 #size-cells = <2>; 21 reserved-memory { 22 #address-cells = <2>; 23 #size-cells = <2>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/ |
| D | meson-gxm.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-gxl.dtsi" 10 compatible = "amlogic,meson-gxm"; 13 cpu-map { 47 compatible = "arm,cortex-a53"; 49 enable-method = "psci"; 50 next-level-cache = <&l2>; 52 #cooling-cells = <2>; 57 compatible = "arm,cortex-a53"; 59 enable-method = "psci"; [all …]
|
| D | meson-gxbb-p200.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxbb-p20x.dtsi" 11 #include <dt-bindings/input/input.h> 14 compatible = "amlogic,p200", "amlogic,meson-gxbb"; 15 model = "Amlogic Meson GXBB P200 Development Board"; 17 avdd18_usb_adc: regulator-avdd18_usb_adc { 18 compatible = "regulator-fixed"; 19 regulator-name = "AVDD18_USB_ADC"; 20 regulator-min-microvolt = <1800000>; [all …]
|
| D | meson-gxbb.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "meson-gx.dtsi" 7 #include "meson-gx-mali450.dtsi" 8 #include <dt-bindings/gpio/meson-gxbb-gpio.h> 9 #include <dt-bindings/reset/amlogic,meson-gxbb-reset.h> 10 #include <dt-bindings/clock/gxbb-clkc.h> 11 #include <dt-bindings/clock/gxbb-aoclkc.h> 12 #include <dt-bindings/reset/gxbb-aoclkc.h> 15 compatible = "amlogic,meson-gxbb"; 19 compatible = "amlogic,meson-gxbb-usb2-phy"; [all …]
|
| D | meson-gxm-q200.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 11 #include "meson-gxm.dtsi" 12 #include "meson-gx-p23x-q20x.dtsi" 15 compatible = "amlogic,q200", "amlogic,s912", "amlogic,meson-gxm"; 16 model = "Amlogic Meson GXM (S912) Q200 Development Board"; 18 adc-keys { 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; [all …]
|
| D | meson-gxl-s905d-p230.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 11 #include "meson-gxl-s905d.dtsi" 12 #include "meson-gx-p23x-q20x.dtsi" 15 compatible = "amlogic,p230", "amlogic,s905d", "amlogic,meson-gxl"; 16 model = "Amlogic Meson GXL (S905D) P230 Development Board"; 18 adc-keys { 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; [all …]
|
| D | meson-gxl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-gx.dtsi" 8 #include <dt-bindings/clock/gxbb-clkc.h> 9 #include <dt-bindings/clock/gxbb-aoclkc.h> 10 #include <dt-bindings/gpio/meson-gxl-gpio.h> 11 #include <dt-bindings/reset/amlogic,meson-gxbb-reset.h> 14 compatible = "amlogic,meson-gxl"; 18 compatible = "amlogic,meson-gxl-usb-ctrl"; 21 #address-cells = <2>; 22 #size-cells = <2>; [all …]
|
| D | meson-gxm-wetek-core2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxm.dtsi" 9 #include "meson-gx-p23x-q20x.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 14 compatible = "wetek,core2", "amlogic,s912", "amlogic,meson-gxm"; 23 compatible = "gpio-leds"; 29 default-state = "on"; 33 adc-keys { [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | meson8m2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 14 compatible = "amlogic,meson8m2-clkc", "amlogic,meson8-clkc"; 19 /delete-node/ video-lut@20; 21 canvas: video-lut@48 { 22 compatible = "amlogic,meson8m2-canvas", "amlogic,canvas"; 28 compatible = "amlogic,meson8m2-dwmac", "snps,dwmac"; 35 clock-names = "stmmaceth", "clkin0", "clkin1", "timing-adjustment"; 37 reset-names = "stmmaceth"; 41 compatible = "amlogic,meson8m2-aobus-pinctrl", 42 "amlogic,meson8-aobus-pinctrl"; [all …]
|
| D | meson.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #address-cells = <1>; 11 #size-cells = <1>; 12 interrupt-parent = <&gic>; 15 compatible = "simple-bus"; 16 #address-cells = <1>; 17 #size-cells = <1>; 21 compatible = "simple-bus"; [all …]
|
| D | meson8.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 #include <dt-bindings/clock/meson8-ddr-clkc.h> 7 #include <dt-bindings/clock/meson8b-clkc.h> 8 #include <dt-bindings/gpio/meson8-gpio.h> 9 #include <dt-bindings/power/meson8-power.h> 10 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h> 11 #include <dt-bindings/reset/amlogic,meson8b-reset.h> 12 #include "meson.dtsi" 19 #address-cells = <1>; 20 #size-cells = <0>; [all …]
|
| D | meson8b.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 #include <dt-bindings/clock/meson8-ddr-clkc.h> 8 #include <dt-bindings/clock/meson8b-clkc.h> 9 #include <dt-bindings/gpio/meson8b-gpio.h> 10 #include <dt-bindings/power/meson8-power.h> 11 #include <dt-bindings/reset/amlogic,meson8b-reset.h> 12 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h> 13 #include "meson.dtsi" 17 #address-cells = <1>; 18 #size-cells = <0>; [all …]
|
| /kernel/linux/linux-4.19/drivers/iio/adc/ |
| D | meson_saradc.c | 2 * Amlogic Meson Successive Approximation Register (SAR) A/D Converter 16 #include <linux/clk-provider.h> 100 (8 + (((_chan) - 2) * 3)) 158 * and u-boot source served as reference). These only seem to be relevant on 270 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, ®val); in meson_sar_adc_get_fifo_count() 281 tmp = div_s64((s64)val * priv->calibscale, MILLION) + priv->calibbias; in meson_sar_adc_calib_val() 283 return clamp(tmp, 0, (1 << priv->data->param->resolution) - 1); in meson_sar_adc_calib_val() 298 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, ®val); in meson_sar_adc_wait_busy_clear() 299 } while (FIELD_GET(MESON_SAR_ADC_REG0_BUSY_MASK, regval) && timeout--); in meson_sar_adc_wait_busy_clear() 302 return -ETIMEDOUT; in meson_sar_adc_wait_busy_clear() [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | meson_saradc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Amlogic Meson Successive Approximation Register (SAR) A/D Converter 10 #include <linux/clk-provider.h> 15 #include <linux/nvmem-consumer.h> 96 (8 + (((_chan) - 2) * 3)) 153 * and u-boot source served as reference). These only seem to be relevant on 306 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, ®val); in meson_sar_adc_get_fifo_count() 317 tmp = div_s64((s64)val * priv->calibscale, MILLION) + priv->calibbias; in meson_sar_adc_calib_val() 319 return clamp(tmp, 0, (1 << priv->param->resolution) - 1); in meson_sar_adc_calib_val() 334 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, ®val); in meson_sar_adc_wait_busy_clear() [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | meson8b.dtsi | 5 * This file is dual-licensed: you can use it either under the terms 47 #include <dt-bindings/clock/meson8b-clkc.h> 48 #include <dt-bindings/gpio/meson8b-gpio.h> 49 #include <dt-bindings/reset/amlogic,meson8b-reset.h> 50 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h> 51 #include "meson.dtsi" 55 #address-cells = <1>; 56 #size-cells = <0>; 60 compatible = "arm,cortex-a5"; 61 next-level-cache = <&L2>; [all …]
|
| D | meson8.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 46 #include <dt-bindings/clock/meson8b-clkc.h> 47 #include <dt-bindings/gpio/meson8-gpio.h> 48 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h> 49 #include <dt-bindings/reset/amlogic,meson8b-reset.h> 50 #include "meson.dtsi" 57 #address-cells = <1>; 58 #size-cells = <0>; 62 compatible = "arm,cortex-a9"; 63 next-level-cache = <&L2>; [all …]
|
| D | meson.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 22 * MA 02110-1301 USA 48 #include <dt-bindings/interrupt-controller/irq.h> 49 #include <dt-bindings/interrupt-controller/arm-gic.h> 53 interrupt-parent = <&gic>; 55 L2: l2-cache-controller@c4200000 { 56 compatible = "arm,pl310-cache"; 58 cache-unified; 59 cache-level = <2>; 62 gic: interrupt-controller@c4301000 { [all …]
|