Rob Herring
20a72af11f
dt-bindings: Fix SPI and I2C bus node names in examples
...
SPI and I2C bus node names are expected to be "spi" or "i2c",
respectively, with nothing else, a unit-address, or a '-N' index. A
pattern of 'spi0' or 'i2c0' or similar has crept in. Fix all these
cases. Mostly scripted with the following commands:
git grep -l '\si2c[0-9] {' Documentation/devicetree/ | xargs sed -i -e 's/i2c[0-9] {/i2c {/'
git grep -l '\sspi[0-9] {' Documentation/devicetree/ | xargs sed -i -e 's/spi[0-9] {/spi {/'
With this, a few errors in examples were exposed and fixed.
Acked-by: Sam Ravnborg <sam@ravnborg.org >
Reviewed-by: Stephen Boyd <sboyd@kernel.org >
Reviewed-by: Simon Glass <sjg@chromium.org >
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de > # for the microchip,mcp251xfd.yaml
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com > # for power-supply
Acked-by: Wolfram Sang <wsa@kernel.org >
Acked-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20230228215433.3944508-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2023-03-08 09:04:53 -06:00
Rob Herring
066a94e28a
media: dt-bindings: media: Use graph and video-interfaces schemas
...
Now that we have graph and video-interfaces schemas, rework the media
related schemas to use them.
Cc: Jacopo Mondi <jacopo@jmondi.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Acked-by: Maxime Ripard <mripard@kernel.org >
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
2021-01-22 22:40:15 +01:00
Rob Herring
9bfaf9c729
dt-bindings: Drop unnecessary *-supply schemas properties
...
*-supply properties are always a single phandle, so binding schemas
don't need a type $ref nor 'maxItems'.
A meta-schema check for this is pending once these existing cases are
fixed.
Cc: Jonathan Cameron <jic23@kernel.org >
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Cc: Mauro Carvalho Chehab <mchehab@kernel.org >
Cc: Maxime Ripard <mripard@kernel.org >
Cc: dri-devel@lists.freedesktop.org
Cc: linux-iio@vger.kernel.org
Cc: linux-input@vger.kernel.org
Cc: linux-media@vger.kernel.org
Acked-by: Sam Ravnborg <sam@ravnborg.org >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Acked-by: Lee Jones <lee.jones@linaro.org >
Acked-by: Mark Brown <broonie@kernel.org >
Link: https://lore.kernel.org/r/20201221234659.824881-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2020-12-22 18:58:02 -07:00
Rob Herring
583791191c
media: dt-bindings: schema indentation fixes
...
Fix a few new indentation warnings found with yamllint (now integrated
into the checks).
Cc: Ricardo Ribalda <ribalda@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Jacopo Mondi <jacopo+renesas@jmondi.org >
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl > # For adv7604
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
2020-12-07 15:21:40 +01:00
Sakari Ailus
f0f5472720
media: Revert "media: dt-bindings: media: Use OF graph schema"
...
This reverts commit f61eb7bc92 .
While aligning with the OF graph schema will be done for the media DT
bindings, this patch got merged a little too hastily. Revert it for now.
Suggested-by: Rob Herring <robh@kernel.org >
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
2020-12-07 13:53:32 +01:00
Rob Herring
f61eb7bc92
media: dt-bindings: media: Use OF graph schema
...
Now that we have a graph schema, rework the media related schemas to
use it. Mostly this is adding a reference to graph.yaml and dropping
duplicate parts from schemas.
Cc: Maxime Ripard <mripard@kernel.org >
Cc: Jacopo Mondi <jacopo@jmondi.org >
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
2020-12-02 16:16:33 +01:00
Jacopo Mondi
8d9b35a2da
media: dt-bindings: media: imx214: Convert to json-schema
...
Convert the imx214 bindings document to json-schema and update
the MAINTAINERS file accordingly.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org >
2020-11-16 10:31:13 +01:00