[PATCH] dt-bindings: Remove "status" from schema examples

Philipp Zabel p.zabel at pengutronix.de
Wed Jul 21 08:32:58 UTC 2021


Hi Rob,

On Tue, 2021-07-20 at 11:20 -0600, Rob Herring wrote:
> There's no reason to have "status" properties in examples. "okay" is the
> default, and "disabled" turns off some schema checks ('required'
> specifically).

Is this documented somewhere? If not, should it be? (Maybe in writing-
schema.rst -> Schema Contents -> examples?)
 
> Enabling qca,ar71xx causes a warning, so let's fix the node names:
> 
> Documentation/devicetree/bindings/net/qca,ar71xx.example.dt.yaml: phy at 3: '#phy-cells' is a required property
>         From schema: schemas/phy/phy-provider.yaml
> 
> Cc: Maxime Ripard <mripard at kernel.org>
> Cc: Chen-Yu Tsai <wens at csie.org>
> Cc: Thierry Reding <thierry.reding at gmail.com>
> Cc: Sam Ravnborg <sam at ravnborg.org>
> Cc: Rui Miguel Silva <rmfrfs at gmail.com>
> Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> Cc: Mauro Carvalho Chehab <mchehab at kernel.org>
> Cc: "David S. Miller" <davem at davemloft.net>
> Cc: Jakub Kicinski <kuba at kernel.org>
> Cc: Mark Brown <broonie at kernel.org>
> Cc: Robert Marko <robert.marko at sartura.hr>
> Cc: Philipp Zabel <p.zabel at pengutronix.de>
> Cc: Alessandro Zummo <a.zummo at towertech.it>
> Cc: Alexandre Belloni <alexandre.belloni at bootlin.com>
> Cc: Ramesh Shanmugasundaram <rashanmu at gmail.com>
> Cc: "G. Jaya Kumaran" <vineetha.g.jaya.kumaran at intel.com>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: Oleksij Rempel <o.rempel at pengutronix.de>
> Cc: ChiYuan Huang <cy_huang at richtek.com>
> Cc: Wei Xu <xuwei5 at hisilicon.com>
> Cc: Dilip Kota <eswara.kota at linux.intel.com>
> Cc: Karol Gugala <kgugala at antmicro.com>
> Cc: Mateusz Holenko <mholenko at antmicro.com>
> Cc: Olivier Moysan <olivier.moysan at st.com>
> Cc: Peter Ujfalusi <peter.ujfalusi at ti.com>
> Cc: dri-devel at lists.freedesktop.org
> Cc: linux-media at vger.kernel.org
> Cc: netdev at vger.kernel.org
> Cc: linux-rtc at vger.kernel.org
> Cc: alsa-devel at alsa-project.org
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
>  .../display/allwinner,sun8i-a83t-dw-hdmi.yaml |  2 --
>  .../display/panel/boe,tv101wum-nl6.yaml       |  1 -
>  .../bindings/media/nxp,imx7-mipi-csi2.yaml    |  2 --
>  .../bindings/media/renesas,drif.yaml          |  1 -
>  .../bindings/net/intel,dwmac-plat.yaml        |  2 --
>  .../bindings/net/intel,ixp4xx-ethernet.yaml   |  2 --
>  .../bindings/net/nfc/samsung,s3fwrn5.yaml     |  3 ---
>  .../devicetree/bindings/net/qca,ar71xx.yaml   | 25 ++++---------------
>  .../regulator/richtek,rt6245-regulator.yaml   |  1 -
>  .../regulator/vqmmc-ipq4019-regulator.yaml    |  1 -
>  .../reset/hisilicon,hi3660-reset.yaml         |  1 -
>  .../bindings/reset/intel,rcu-gw.yaml          |  1 -
[...]

Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>

regards
Philipp


More information about the dri-devel mailing list