| # Copyright (c) 2018, Endre Karlson |
| # Copyright (c) 2018, Song Qiang <songqiang1304521@gmail.com> |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| description: ST STM32 family ADC |
| |
| compatible: "st,stm32-adc" |
| |
| include: adc-controller.yaml |
| |
| properties: |
| reg: |
| required: true |
| |
| clocks: |
| required: true |
| |
| pinctrl-0: |
| type: phandles |
| required: false |
| description: | |
| GPIO pin configuration for ADC input. The phandles are |
| expected to reference pinctrl nodes, e.g. |
| pinctrl-0 = <&adc_in0_pa0 &adc_in1_pa1>; |
| |
| interrupts: |
| required: true |
| |
| "#io-channel-cells": |
| const: 1 |
| |
| io-channel-cells: |
| - input |