| # Copyright (c) 2019 Derek Hageman <hageman@inthat.cloud> |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| title: Atmel SAM0 Family ADC |
| |
| description: | |
| This binding gives a base representation of the Atmel SAM0 ADC |
| |
| compatible: "atmel,sam0-adc" |
| |
| include: adc-controller.yaml |
| |
| properties: |
| reg: |
| required: true |
| |
| interrupts: |
| required: true |
| |
| gclk: |
| type: int |
| required: true |
| description: generic clock generator source |
| |
| prescaler: |
| type: int |
| required: true |
| description: clock prescaler divisor applied to the generic clock |
| |
| "#io-channel-cells": |
| const: 1 |
| |
| io-channel-cells: |
| - input |