Rob Herring
f88321a3bf
dt-bindings: Move fixed string 'patternProperties' to 'properties'
...
There's no need for fixed strings to be under 'patternProperties', so move
them under 'properties' instead.
Cc: Jean Delvare <jdelvare@suse.com >
Cc: Guenter Roeck <linux@roeck-us.net >
Cc: Kishon Vijay Abraham I <kishon@ti.com >
Cc: Vinod Koul <vkoul@kernel.org >
Cc: Saravanan Sekar <sravanhome@gmail.com >
Cc: Mark Brown <broonie@kernel.org >
Cc: Jagan Teki <jagan@amarulasolutions.com >
Cc: Troy Kisky <troy.kisky@boundarydevices.com >
Cc: linux-hwmon@vger.kernel.org
Cc: linux-phy@lists.infradead.org
Cc: linux-spi@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Guenter Roeck <linux@roeck-us.net >
Link: https://lore.kernel.org/r/20210713193514.690894-1-robh@kernel.org
2021-07-15 08:45:33 -06:00
Rob Herring
5be478f9c2
dt-bindings: Another round of adding missing 'additionalProperties'
...
Another round of wack-a-mole. The json-schema default is additional
unknown properties are allowed, but for DT all properties should be
defined.
Cc: Linus Walleij <linus.walleij@linaro.org >
Cc: Stephen Boyd <sboyd@kernel.org >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Baolin Wang <baolin.wang7@gmail.com >
Cc: Mauro Carvalho Chehab <mchehab@kernel.org >
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Bjorn Helgaas <bhelgaas@google.com >
Cc: Liam Girdwood <lgirdwood@gmail.com >
Cc: Daniel Lezcano <daniel.lezcano@linaro.org >
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Acked-By: Vinod Koul <vkoul@kernel.org >
Acked-by: Lee Jones <lee.jones@linaro.org >
Acked-by: Ulf Hansson <ulf.hansson@linaro.org >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com > # for iio
Acked-by: Thierry Reding <treding@nvidia.com >
Acked-by: Mark Brown <broonie@kernel.org >
Reviewd-by: Corey Minyard <cminyard@mvista.com >
Acked-by: Pavel Machek <pavel@ucw.cz >
Acked-by: Sebastian Reichel <sre@kernel.org >
Link: https://lore.kernel.org/r/20201002234143.3570746-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2020-10-06 10:55:25 -05:00
Rob Herring
3d21a46093
dt-bindings: Remove cases of 'allOf' containing a '$ref'
...
json-schema versions draft7 and earlier have a weird behavior in that
any keywords combined with a '$ref' are ignored (silently). The correct
form was to put a '$ref' under an 'allOf'. This behavior is now changed
in the 2019-09 json-schema spec and '$ref' can be mixed with other
keywords. The json-schema library doesn't yet support this, but the
tooling now does a fixup for this and either way works.
This has been a constant source of review comments, so let's change this
treewide so everyone copies the simpler syntax.
Scripted with ruamel.yaml with some manual fixups. Some minor whitespace
changes from the script.
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Maxime Ripard <mripard@kernel.org >
Acked-by: Lee Jones <lee.jones@linaro.org >
Acked-By: Vinod Koul <vkoul@kernel.org >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Acked-by: Wolfram Sang <wsa@the-dreams.de > # for I2C
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com > #for-iio
Reviewed-by: Stephen Boyd <sboyd@kernel.org > # clock
Signed-off-by: Rob Herring <robh@kernel.org >
2020-05-03 11:10:41 -05:00
Rob Herring
ce81bd6977
dt-bindings: hwmon: Fix incorrect $id paths
...
Fix the path warnings in the adi,axi-fan-control and adt7475 bindings:
Documentation/devicetree/bindings/hwmon/adt7475.yaml: $id:
relative path/filename doesn't match actual path or filename
expected: http://devicetree.org/schemas/hwmon/adt7475.yaml#
Documentation/devicetree/bindings/hwmon/adi,axi-fan-control.yaml: $id:
relative path/filename doesn't match actual path or filename
expected: http://devicetree.org/schemas/hwmon/adi,axi-fan-control.yaml#
Cc: Jean Delvare <jdelvare@suse.com >
Cc: linux-hwmon@vger.kernel.org
Acked-by: Guenter Roeck <linux@roeck-us.net >
Acked-by: Nuno Sá <nuno.sa@analog.com >
Signed-off-by: Rob Herring <robh@kernel.org >
2020-04-14 15:41:14 -05:00
Chris Packham
ed39ff506a
dt-bindings: hwmon: Document adt7475 pwm-active-state property
...
Add binding information for the adi,pwm-active-state property.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2020-03-08 20:35:47 -07:00
Logan Shaw
f8372ec4ec
dt-bindings: hwmon: Document adt7475 bypass-attenuator property
...
Add documentation for the bypass-attenuator-in[0-4] property.
Signed-off-by: Logan Shaw <logan.shaw@alliedtelesis.co.nz >
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2020-03-08 20:35:47 -07:00
Logan Shaw
b56400b931
dt-bindings: hwmon: Document adt7475 binding
...
Add binding for adi,adt7475 and variants.
Remove from trivial-devices.
Signed-off-by: Logan Shaw <logan.shaw@alliedtelesis.co.nz >
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2020-03-08 20:35:47 -07:00