summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2017-08-24 09:21:12 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-10-30 08:42:54 +0100
commit7d29f509d2cfd807b2fccc643ac1f7066b9b1949 (patch)
treec1a0a291eddd7a46824b2e67ecee13918ebb79ea /drivers/i2c/busses
parentb9ab0517efc0111b516878ab872e2b3dd7bb40a9 (diff)
dt-bindings: i2c: i2c-gpio: Add support for named gpios
The current i2c-gpio DT bindings use a single unnamed "gpios" property to refer to the SDA and SCL signal lines by index. This is error-prone for the casual DT writer and reviewer, as one has to look up the order in the DT bindings. Fix this by amending the DT bindings to use two separate named gpios properties, and deprecate the old unnamed variant. Take this opportunity to clearly deprecate the "i2c-gpio,sda-open-drain" and "i2c-gpio,scl-open-drain" flags as well. The commit describes in detail what these flags actually mean, and why they should not be used in new device trees. Cc: devicetree@vger.kernel.org Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> [Augmented to what I and Rob would like] Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/i2c/busses')
0 files changed, 0 insertions, 0 deletions