Rob Herring (Arm)
45b2fb0938
dt-bindings: clock: milbeaut: Drop providers and consumers from example
...
Convention for examples is to only show what's covered by the binding,
so drop the consumer "socionext,milbeaut-usio-uart" and input clock
provider "fixed-clock" from the example. "socionext,milbeaut-usio-uart"
is also not documented by a schema which caused a warning.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20240520222646.1741958-1-robh@kernel.org
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Signed-off-by: Stephen Boyd <sboyd@kernel.org >
2024-06-03 16:32:04 -07:00
Krzysztof Kozlowski
84e85359f4
dt-bindings: drop redundant part of title (end, part three)
...
The Devicetree bindings document does not have to say in the title that
it is a "binding", but instead just describe the hardware.
Drop trailing "bindings" in various forms (also with trailing full
stop):
find Documentation/devicetree/bindings/ -type f -name '*.yaml' \
-not -name 'trivial-devices.yaml' \
-exec sed -i -e 's/^title: \(.*\) [bB]indings\?\.\?$/title: \1/' {} \;
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com > # ROHM
Acked-by: Ulf Hansson <ulf.hansson@linaro.org > # MMC
Acked-by: Stephen Boyd <sboyd@kernel.org > # clk
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com > # input
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl > # media
Acked-by: Sebastian Reichel <sre@kernel.org > # power
Acked-by: Viresh Kumar <viresh.kumar@linaro.org > # cpufreq
Link: https://lore.kernel.org/r/20221216163815.522628-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org >
2022-12-16 11:41:49 -06:00
Rob Herring
28ffe8bf90
dt-bindings: Clean-up undocumented compatible strings
...
Adding checks for undocumented compatible strings reveals a bunch of
warnings in the DT binding examples. Fix the cases which are typos, just
a mismatch between the schema and the example, or aren't documented at all.
In a couple of cases, fixing the compatible revealed some schema errors
which are fixed.
There's a bunch of others remaining after this which have bindings, but
those aren't converted to schema yet.
Cc: Thierry Reding <thierry.reding@gmail.com >
Cc: Sam Ravnborg <sam@ravnborg.org >
Cc: Pavel Machek <pavel@ucw.cz >
Cc: linux-clk@vger.kernel.org
Cc: dmaengine@vger.kernel.org
Cc: linux-i3c@lists.infradead.org
Cc: linux-iio@vger.kernel.org
Cc: linux-leds@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: linux-serial@vger.kernel.org
Cc: linux-spi@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Stephen Boyd <sboyd@kernel.org >
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Acked-by: Kishon Vijay Abraham I <kishon@ti.com >
Acked-by: Sebastian Reichel <sre@kernel.org >
Acked-by: Maxime Ripard <maxime@cerno.tech >
Acked-by: Vinod Koul <vkoul@kernel.org >
Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Acked-by: Alain Volmat <alain.volmat@foss.st.com >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Link: https://lore.kernel.org/r/20210316194918.3528417-1-robh@kernel.org
2021-03-23 15:27:51 -06:00
Rob Herring
7f464532b0
dt-bindings: Add missing 'additionalProperties: false'
...
Setting 'additionalProperties: false' is frequently omitted, but is
important in order to check that there aren't extra undocumented
properties in a binding.
Ideally, we'd just add this automatically and make this the default, but
there's some cases where it doesn't work. For example, if a common
schema is referenced, then properties in the common schema aren't part
of what's considered for 'additionalProperties'. Also, sometimes there
are bus specific properties such as 'spi-max-frequency' that go into
bus child nodes, but aren't defined in the child node's schema.
So let's stick with the json-schema defined default and add
'additionalProperties: false' where needed. This will be a continual
review comment and game of wack-a-mole.
Signed-off-by: Rob Herring <robh@kernel.org >
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Acked-by: Alexandru Ardelean <alexandru.ardelean@analog.com >
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@st.com >
Acked-by: Stephen Boyd <sboyd@kernel.org > # clock
Acked-by: Lee Jones <lee.jones@linaro.org >
2020-03-31 09:03:17 -06:00
Rob Herring
04dbd86539
dt-bindings: Fix paths in schema $id fields
...
The $id path checks were inadequately checking the path part of the $id
value. With the check fixed, there's a number of errors that need to be
fixed. Most of the errors are including 'bindings/' in the path which
should not be as that is considered the root.
Cc: Andy Gross <agross@kernel.org >
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org >
Cc: Michael Turquette <mturquette@baylibre.com >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Sascha Hauer <s.hauer@pengutronix.de >
Cc: Pengutronix Kernel Team <kernel@pengutronix.de >
Cc: Fabio Estevam <festevam@gmail.com >
Cc: NXP Linux Team <linux-imx@nxp.com >
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com >
Cc: Alexandre Torgue <alexandre.torgue@st.com >
Cc: "Nuno Sá" <nuno.sa@analog.com >
Cc: Jean Delvare <jdelvare@suse.com >
Cc: Stefan Popa <stefan.popa@analog.com >
Cc: Jonathan Cameron <jic23@kernel.org >
Cc: Hartmut Knaack <knaack.h@gmx.de >
Cc: Lars-Peter Clausen <lars@metafoo.de >
Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net >
Cc: Marcus Folkesson <marcus.folkesson@gmail.com >
Cc: Kent Gustavsson <kent@minoris.se >
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com >
Cc: linux-clk@vger.kernel.org
Cc: linux-iio@vger.kernel.org
Cc: linux-input@vger.kernel.org
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Reviewed-by: Stephen Boyd <sboyd@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
2020-02-05 09:14:57 +00:00
Sugaya Taichi
e3ee1f21b3
dt-bindings: clock: milbeaut: add Milbeaut clock description
...
Add DT bindings document for Milbeaut clock.
Signed-off-by: Sugaya Taichi <sugaya.taichi@socionext.com >
Signed-off-by: Stephen Boyd <sboyd@kernel.org >
2019-04-25 16:40:34 -07:00