]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: i2c-gpio: Use 'deprecated' keyword on deprecated properties
authorRob Herring <robh@kernel.org>
Fri, 17 Jul 2020 15:55:53 +0000 (09:55 -0600)
committerRob Herring <robh@kernel.org>
Fri, 17 Jul 2020 16:00:38 +0000 (10:00 -0600)
commit7d05bda34a7248ec8bd26a12c1ca4079a8dd8429
treeae5f822d5aa09af568cfe0c77403c3f16da18122
parentdb3c0a125ac4a2fb81a8301f5b3df2bf37765179
dt-bindings: i2c-gpio: Use 'deprecated' keyword on deprecated properties

The i2c-gpio binding is the only case of 'not: true' being used for a
deprecated property. Update it to use the json-schema 2019.09
'deprecated' keyword instead. Define the type too in order to keep the
meta-schema happy.

This will disable warnings for these properties until the dtschema tools
are updated to handle 'deprecated', but they are only used in a few at91
dts files.

Cc: Wolfram Sang <wolfram@the-dreams.de>
Cc: linux-i2c@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/i2c/i2c-gpio.yaml