Skip to content

Commit

Permalink
dts: Add description of reg
Browse files Browse the repository at this point in the history
For i2c-devices, reg is the address. This took me way to long to
discover and I wanted to leave a breadcrumb for the next Zephyr newbie.

Signed-off-by: Jeremy Bettis <jbettis@chromium.org>
  • Loading branch information
jeremybettis authored and galak committed Apr 13, 2021
1 parent 35f52fd commit 757cd12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dts/bindings/i2c/i2c-device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ on-bus: i2c
properties:
reg:
required: true
description: device address on i2c bus
label:
required: true

0 comments on commit 757cd12

Please sign in to comment.