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:
parent
8e30c6e790
commit
e5cef70abd
10 changed files with 515 additions and 0 deletions
30
dts/bindings/i2c/ti,cc32xx-i2c.yaml
Normal file
30
dts/bindings/i2c/ti,cc32xx-i2c.yaml
Normal 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
|
||||
|
||||
...
|
Loading…
Add table
Add a link
Reference in a new issue