2019-09-12 05:47:28 +08:00
|
|
|
# Copyright (c) 2019, Intel Corporation
|
2023-03-05 15:40:25 +08:00
|
|
|
# Copyright (c) 2021, Microchip Technology Inc.
|
2019-09-12 05:47:28 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-11-19 15:39:11 +08:00
|
|
|
description: Microchip XEC ADC
|
2019-09-12 05:47:28 +08:00
|
|
|
|
|
|
|
compatible: "microchip,xec-adc"
|
|
|
|
|
2022-09-21 23:22:26 +08:00
|
|
|
include: [adc-controller.yaml, pinctrl-device.yaml]
|
2019-09-12 05:47:28 +08:00
|
|
|
|
|
|
|
properties:
|
2023-01-04 03:21:25 +08:00
|
|
|
reg:
|
|
|
|
required: true
|
2019-09-12 05:47:28 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
interrupts:
|
|
|
|
required: true
|
2019-09-12 05:47:28 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
"#io-channel-cells":
|
|
|
|
const: 1
|
2019-09-12 05:47:28 +08:00
|
|
|
|
2023-03-05 15:40:25 +08:00
|
|
|
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
|
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
clktime:
|
|
|
|
type: int
|
|
|
|
required: true
|
|
|
|
description: ADC clock high & low time count value <1:255>
|
2021-12-15 03:24:06 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
pinctrl-0:
|
|
|
|
required: true
|
2022-09-21 23:22:26 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
pinctrl-names:
|
|
|
|
required: true
|
2022-09-21 23:22:26 +08:00
|
|
|
|
2019-09-27 02:34:13 +08:00
|
|
|
io-channel-cells:
|
2023-01-04 03:21:25 +08:00
|
|
|
- input
|