OSDN Git Service

ARM: dts: mmp2-olpc-xo-1-75: Fix camera I2C node validation
authorLubomir Rintel <lkundrak@v3.sk>
Sat, 18 Jul 2020 20:50:07 +0000 (22:50 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 22 Jul 2020 20:04:54 +0000 (22:04 +0200)
commit9dbf272cf4f1c7c03576c9162020ce64a3d2b797
treeb86a1cbc684c644b89e0d6524c1cd05ddbf095fa
parent6b848e263aafee9f72df80f8f127e586606c4a3e
ARM: dts: mmp2-olpc-xo-1-75: Fix camera I2C node validation

mmp2-olpc-xo-1-75.dt.yaml: camera_i2c: $nodename:0:
      'camera_i2c' does not match '^i2c(@.*)?'
  mmp2-olpc-xo-1-75.dt.yaml: camera_i2c: 'sda-gpios' is a required property
  mmp2-olpc-xo-1-75.dt.yaml: camera_i2c: 'scl-gpios' is a required property

The "gpios" property actually was documented as deprecated, but got dropped
in commit 0175ce4a58d6 ("dt-bindings: i2c: Convert i2c-gpio binding to
json-schema"). It's probably best kept forgotten though.

Link: https://lore.kernel.org/r/20200718205019.184927-2-lkundrak@v3.sk
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts