drivers: i2c: Add support for cc32xx I2C bus

This was validated on the cc3220sf_launchxl board
using the Zephyr thermometer sample program
adapted to call the i2c driver directly, and fetching
samples from the on-board TMP006 temperature sensor.

Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
This commit is contained in:
Gil Pitney 2017-09-13 17:13:44 -07:00 committed by Kumar Gala
commit e5cef70abd
10 changed files with 515 additions and 0 deletions

View file

@ -0,0 +1,30 @@
---
title: CC32XX I2C
id: ti,cc32xx-i2c
description: >
This binding gives a base representation of the TI CC32XX I2C controller
inherits:
!include i2c.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "ti,cc32xx-i2c"
reg:
type: int
description: mmio register space
generation: define
category: required
interrupts:
type: compound
category: required
description: required interrupts
generation: define
...