blob: 479daa29d9b1d2084b25439a853682b4041dc18d [file] [log] [blame]
# Copyright (c) 2019, Intel Corporation
# Copyright (c) 2021, Microchip Technology Inc.
# SPDX-License-Identifier: Apache-2.0
description: Microchip XEC ADC
compatible: "microchip,xec-adc-v2"
include: adc-controller.yaml
properties:
reg:
required: true
interrupts:
required: true
"#io-channel-cells":
const: 1
girqs:
type: array
required: true
description: Array of pairs of GIRQ number and bit position
pcrs:
type: array
required: true
description: ADC PCR register index and bit position
"#girq-cells":
type: int
const: 2
"#pcr-cells":
type: int
const: 2
io-channel-cells:
- input
girq-cells:
- girqnum
- bitpos
pcr-cells:
- regidx
- bitpos