dts: bindings: add bindings for Microchip MCP320x

Add devicetree bindings for the Microchip MCP3204/MCP3208 12 bit ADCs
with SPI interface.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2020-03-25 10:30:21 +01:00 committed by Ioannis Glaropoulos
parent 013dc70a9c
commit bc4a472a14
3 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,5 @@
description: Microchip MCP3204
compatible: "microchip,mcp3204"
include: microchip,mcp320x-base.yaml

View file

@ -0,0 +1,5 @@
description: Microchip MCP3208
compatible: "microchip,mcp3208"
include: microchip,mcp320x-base.yaml

View file

@ -0,0 +1,10 @@
# Common fields for Microchip MCP3204/MCP3208
include: [adc-controller.yaml, spi-device.yaml]
properties:
"#io-channel-cells":
const: 1
io-channel-cells:
- channel