driver: adc: infineon: Adding ADC driver
- This includes the driver, test app, and sample app - Only the boards\arm\cy8cproto_062_4343w board is supported for now Signed-off-by: Bill Waters <bill.waters@infineon.com>
This commit is contained in:
parent
c410ebe5fe
commit
3e02d48e4e
12 changed files with 465 additions and 13 deletions
28
dts/bindings/adc/infineon,cat1-adc.yaml
Normal file
28
dts/bindings/adc/infineon,cat1-adc.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) or
|
||||
# an affiliate of Cypress Semiconductor Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: |
|
||||
Infineon Cat1 ADC
|
||||
Each ADC group Cat1 is assigned to a Zephyr device. Refer to the Infineon PSoC6 reference
|
||||
manual (Section Port I/O functions) for the group/chanel mapping to a specific port-pin on
|
||||
the board. For example on the cy8cproto_062_4343w P10.0 is mapped to adc0,channel0 and
|
||||
P10.1 is mapped to adc0,channel1.
|
||||
|
||||
compatible: "infineon,cat1-adc"
|
||||
|
||||
include: adc-controller.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
||||
|
||||
"#io-channel-cells":
|
||||
const: 1
|
||||
|
||||
io-channel-cells:
|
||||
- input
|
Loading…
Add table
Add a link
Reference in a new issue