| # Copyright (c) 2024 Renesas Electronics Corporation |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| description: Renesas RA ADC node |
| |
| compatible: "renesas,ra-adc" |
| |
| include: [adc-controller.yaml, pinctrl-device.yaml] |
| |
| properties: |
| reg: |
| required: true |
| |
| vref-mv: |
| type: int |
| required: true |
| description: ADC reference voltage (Unit:mV) |
| |
| "#io-channel-cells": |
| const: 1 |
| |
| channel-available-mask: |
| type: int |
| required: true |
| description: Mask for ADC channels existed in each board |
| |
| average-count: |
| type: int |
| default: 1 |
| enum: [1, 2, 4, 8, 16] |
| description: The conversion count of the average mode |
| The ADC module will take multiple samples of an analog signal |
| and averages them to reduce noise and enhance accuracy |
| |
| io-channel-cells: |
| - input |