Linux-GPIO Archive on lore.kernel.org
 help / color / Atom feed
From: Rob Herring <robh@kernel.org>
To: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
	Bartosz Golaszewski <bgolaszewski@baylibre.com>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Brian Masney <masneyb@onstation.org>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	"David S. Miller" <davem@davemloft.net>,
	Guillaume La Roque <glaroque@baylibre.com>,
	Hartmut Knaack <knaack.h@gmx.de>,
	Jonathan Cameron <jic23@kernel.org>,
	Kevin Hilman <khilman@baylibre.com>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Lee Jones <lee.jones@linaro.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Mark Brown <broonie@kernel.org>,
	Masahiro Yamada <yamada.masahiro@socionext.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Michael Hennerich <michael.hennerich@analog.com>,
	Neil Armstrong <narmstrong@baylibre.com>,
	Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
	Stephen Boyd <sboyd@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Zhang Rui <rui.zhang@intel.com>,
	dri-devel@lists.freedesktop.org,
	linux-amlogic@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
	linux-gpio@vger.kernel.org, linux-iio@vger.kernel.org,
	linux-media@vger.kernel.org, linux-pm@vger.kernel.org,
	netdev@vger.kernel.org
Subject: [PATCH 0/4] dt-bindings: additionalProperties clean-up
Date: Wed, 25 Mar 2020 16:05:37 -0600
Message-ID: <20200325220542.19189-1-robh@kernel.org> (raw)

Setting 'additionalProperties: false' is frequently omitted, but is
important in order to check that there aren't extra undocumented
properties in a binding.

This series is a bunch of fixes in patches 1-3 found by setting
'additionalProperties: false' and then patch 4 sets additionalProperties
on a bunch of schema.

Rob


Rob Herring (4):
  dt-bindings: iio/accel: Drop duplicate adi,adxl345/6 from
    trivial-devices.yaml
  dt-bindings: sram: qcom: Clean-up 'ranges' and child node names
  dt-bindings: Clean-up schema errors due to missing
    'addtionalProperties: false'
  dt-bindings: Add missing 'additionalProperties: false'

 .../arm/altera/socfpga-clk-manager.yaml       |  2 ++
 .../amlogic/amlogic,meson-gx-ao-secure.yaml   |  2 ++
 .../bindings/arm/msm/qcom,llcc.yaml           |  2 ++
 .../devicetree/bindings/arm/renesas,prr.yaml  |  2 ++
 .../bindings/arm/samsung/exynos-chipid.yaml   |  2 ++
 .../devicetree/bindings/arm/samsung/pmu.yaml  |  2 ++
 .../arm/samsung/samsung-secure-firmware.yaml  |  2 ++
 .../bindings/arm/stm32/st,stm32-syscon.yaml   |  2 ++
 .../devicetree/bindings/clock/fsl,plldig.yaml |  5 ++++
 .../bindings/clock/imx8mn-clock.yaml          |  2 ++
 .../bindings/clock/imx8mp-clock.yaml          |  2 ++
 .../bindings/clock/milbeaut-clock.yaml        |  2 ++
 .../bindings/clock/qcom,gcc-apq8064.yaml      |  2 ++
 .../bindings/clock/qcom,gcc-ipq8074.yaml      |  2 ++
 .../bindings/clock/qcom,gcc-msm8996.yaml      |  2 ++
 .../bindings/clock/qcom,gcc-msm8998.yaml      |  2 ++
 .../bindings/clock/qcom,gcc-qcs404.yaml       |  2 ++
 .../bindings/clock/qcom,gcc-sc7180.yaml       |  2 ++
 .../bindings/clock/qcom,gcc-sm8150.yaml       |  2 ++
 .../devicetree/bindings/clock/qcom,gcc.yaml   |  2 ++
 .../devicetree/bindings/clock/qcom,mmcc.yaml  |  2 ++
 .../bindings/clock/qcom,msm8998-gpucc.yaml    |  2 ++
 .../bindings/clock/qcom,rpmhcc.yaml           |  2 ++
 .../bindings/clock/qcom,sc7180-dispcc.yaml    |  2 ++
 .../bindings/clock/qcom,sc7180-gpucc.yaml     |  2 ++
 .../bindings/clock/qcom,sc7180-videocc.yaml   |  2 ++
 .../bindings/clock/qcom,sdm845-dispcc.yaml    |  2 ++
 .../bindings/clock/qcom,sdm845-gpucc.yaml     |  2 ++
 .../bindings/clock/qcom,sdm845-videocc.yaml   |  2 ++
 .../bindings/display/amlogic,meson-vpu.yaml   |  2 ++
 .../bindings/dma/sifive,fu540-c000-pdma.yaml  |  2 ++
 .../devicetree/bindings/dsp/fsl,dsp.yaml      |  2 ++
 .../devicetree/bindings/eeprom/at24.yaml      |  2 ++
 ...ntel,ixp4xx-network-processing-engine.yaml |  3 +++
 .../bindings/gpio/brcm,xgs-iproc-gpio.yaml    |  2 ++
 .../gpio/socionext,uniphier-gpio.yaml         |  4 +++
 .../bindings/gpio/xylon,logicvc-gpio.yaml     |  2 ++
 .../bindings/gpu/arm,mali-bifrost.yaml        |  8 +++---
 .../bindings/gpu/arm,mali-midgard.yaml        |  5 ++++
 .../bindings/gpu/arm,mali-utgard.yaml         |  2 ++
 .../bindings/gpu/samsung-rotator.yaml         |  2 ++
 .../bindings/hwmon/adi,adm1177.yaml           |  2 ++
 .../bindings/hwmon/adi,ltc2947.yaml           |  2 ++
 .../bindings/hwmon/pmbus/ti,ucd90320.yaml     |  2 ++
 .../devicetree/bindings/hwmon/ti,tmp513.yaml  |  2 ++
 .../bindings/iio/accel/adi,adxl345.yaml       | 10 +++++---
 .../bindings/iio/accel/bosch,bma400.yaml      |  2 ++
 .../bindings/iio/adc/adi,ad7192.yaml          |  1 -
 .../bindings/iio/adc/adi,ad7780.yaml          |  2 ++
 .../bindings/iio/adc/avia-hx711.yaml          |  2 ++
 .../bindings/iio/adc/lltc,ltc2496.yaml        |  2 ++
 .../bindings/iio/adc/microchip,mcp3911.yaml   |  2 ++
 .../bindings/iio/adc/st,stm32-dfsdm-adc.yaml  |  2 ++
 .../iio/chemical/plantower,pms7003.yaml       |  2 ++
 .../iio/chemical/sensirion,sps30.yaml         |  2 ++
 .../bindings/iio/dac/lltc,ltc1660.yaml        |  2 ++
 .../bindings/iio/light/adux1020.yaml          |  2 ++
 .../devicetree/bindings/iio/light/bh1750.yaml |  2 ++
 .../bindings/iio/light/isl29018.yaml          |  2 ++
 .../bindings/iio/light/noa1305.yaml           |  2 ++
 .../bindings/iio/light/stk33xx.yaml           |  2 ++
 .../bindings/iio/light/tsl2583.yaml           |  2 ++
 .../bindings/iio/light/tsl2772.yaml           |  2 ++
 .../bindings/iio/light/veml6030.yaml          |  2 ++
 .../bindings/iio/pressure/asc,dlhl60d.yaml    |  2 ++
 .../bindings/iio/pressure/bmp085.yaml         |  5 ++++
 .../iio/proximity/devantech-srf04.yaml        |  2 ++
 .../bindings/iio/proximity/parallax-ping.yaml |  2 ++
 .../bindings/iio/temperature/adi,ltc2983.yaml |  2 ++
 .../bindings/input/gpio-vibrator.yaml         |  2 ++
 .../bindings/input/max77650-onkey.yaml        |  3 +++
 .../intel,ixp4xx-interrupt.yaml               |  2 ++
 .../bindings/iommu/samsung,sysmmu.yaml        |  2 ++
 .../bindings/leds/leds-max77650.yaml          |  3 +++
 .../bindings/leds/rohm,bd71828-leds.yaml      |  3 +++
 .../mailbox/amlogic,meson-gxbb-mhu.yaml       |  2 ++
 .../bindings/media/amlogic,gx-vdec.yaml       |  2 ++
 .../media/amlogic,meson-gx-ao-cec.yaml        | 11 +++++---
 .../bindings/media/renesas,ceu.yaml           |  2 ++
 .../devicetree/bindings/mfd/max77650.yaml     |  2 ++
 .../bindings/mfd/rohm,bd71828-pmic.yaml       |  5 ++++
 .../misc/intel,ixp4xx-ahb-queue-manager.yaml  |  2 ++
 .../bindings/net/ti,cpsw-switch.yaml          | 25 +++++++++++++------
 .../phy/allwinner,sun50i-h6-usb3-phy.yaml     |  2 ++
 .../phy/amlogic,meson-g12a-usb3-pcie-phy.yaml |  2 ++
 .../bindings/phy/intel,lgm-emmc-phy.yaml      |  2 ++
 .../bindings/phy/marvell,mmp3-hsic-phy.yaml   |  2 ++
 .../bindings/phy/ti,phy-j721e-wiz.yaml        |  2 ++
 .../pinctrl/aspeed,ast2400-pinctrl.yaml       |  2 ++
 .../pinctrl/aspeed,ast2500-pinctrl.yaml       |  2 ++
 .../pinctrl/aspeed,ast2600-pinctrl.yaml       |  2 ++
 .../bindings/pinctrl/st,stm32-pinctrl.yaml    |  2 ++
 .../bindings/power/amlogic,meson-ee-pwrc.yaml |  2 ++
 .../bindings/power/reset/syscon-poweroff.yaml |  2 ++
 .../bindings/power/reset/syscon-reboot.yaml   |  2 ++
 .../power/supply/max77650-charger.yaml        |  3 +++
 .../devicetree/bindings/ptp/ptp-idtcm.yaml    |  2 ++
 .../regulator/max77650-regulator.yaml         |  5 +++-
 .../bindings/reset/amlogic,meson-reset.yaml   |  2 ++
 .../reset/brcm,bcm7216-pcie-sata-rescal.yaml  |  2 ++
 .../bindings/rng/amlogic,meson-rng.yaml       |  2 ++
 .../devicetree/bindings/rng/brcm,bcm2835.yaml |  2 ++
 .../bindings/rtc/renesas,sh-rtc.yaml          |  2 ++
 .../devicetree/bindings/rtc/st,stm32-rtc.yaml |  2 ++
 .../bindings/serial/amlogic,meson-uart.yaml   |  2 ++
 .../bindings/soc/amlogic/amlogic,canvas.yaml  |  2 ++
 .../bindings/sound/adi,adau7118.yaml          |  2 ++
 .../bindings/sound/qcom,wcd934x.yaml          |  2 ++
 .../bindings/sound/renesas,fsi.yaml           |  2 ++
 .../bindings/sound/samsung,odroid.yaml        |  2 ++
 .../bindings/sound/samsung-i2s.yaml           |  2 ++
 .../devicetree/bindings/sram/qcom,ocmem.yaml  | 14 ++++++-----
 .../bindings/thermal/amlogic,thermal.yaml     |  4 +++
 .../bindings/timer/arm,arch_timer.yaml        |  2 ++
 .../bindings/timer/arm,arch_timer_mmio.yaml   |  4 +++
 .../bindings/timer/arm,global_timer.yaml      |  2 ++
 .../bindings/timer/intel,ixp4xx-timer.yaml    |  2 ++
 .../timer/samsung,exynos4210-mct.yaml         |  2 ++
 .../devicetree/bindings/trivial-devices.yaml  |  6 ++---
 119 files changed, 296 insertions(+), 29 deletions(-)

--
2.20.1

             reply index

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-25 22:05 Rob Herring [this message]
2020-03-25 22:05 ` [PATCH 1/4] dt-bindings: iio/accel: Drop duplicate adi,adxl345/6 from trivial-devices.yaml Rob Herring
2020-03-26  7:57   ` Ardelean, Alexandru
2020-03-27 20:21   ` [PATCH 1/4] dt-bindings: iio/accel: Drop duplicate adi, adxl345/6 " Sam Ravnborg
2020-03-31 14:48     ` Rob Herring
2020-03-25 22:05 ` [PATCH 2/4] dt-bindings: sram: qcom: Clean-up 'ranges' and child node names Rob Herring
2020-03-25 23:34   ` Brian Masney
2020-03-25 22:05 ` [PATCH 3/4] dt-bindings: Clean-up schema errors due to missing 'addtionalProperties: false' Rob Herring
2020-03-26  7:58   ` Ardelean, Alexandru
2020-03-26  8:39   ` Neil Armstrong
2020-03-26 12:45   ` Jonathan Cameron
2020-03-27  8:32   ` Lee Jones
2020-03-27  9:59   ` Linus Walleij
2020-03-30  7:10   ` Masahiro Yamada
2020-03-25 22:05 ` [PATCH 4/4] dt-bindings: Add missing 'additionalProperties: false' Rob Herring
2020-03-25 22:07   ` Mark Brown
2020-03-26  8:07   ` Ardelean, Alexandru
2020-03-26  8:37   ` Neil Armstrong
2020-03-26 12:47   ` Jonathan Cameron
2020-03-26 13:27   ` Benjamin Gaignard
2020-03-27  8:31   ` Lee Jones
2020-03-30  7:09   ` Masahiro Yamada
2020-03-30  8:37     ` Masahiro Yamada
2020-03-31 14:39       ` Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200325220542.19189-1-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=bgolaszewski@baylibre.com \
    --cc=bjorn.andersson@linaro.org \
    --cc=broonie@kernel.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=glaroque@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=khilman@baylibre.com \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=lee.jones@linaro.org \
    --cc=lgirdwood@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=masneyb@onstation.org \
    --cc=mchehab@kernel.org \
    --cc=michael.hennerich@analog.com \
    --cc=narmstrong@baylibre.com \
    --cc=netdev@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    --cc=rui.zhang@intel.com \
    --cc=sboyd@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=yamada.masahiro@socionext.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-GPIO Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-gpio/0 linux-gpio/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-gpio linux-gpio/ https://lore.kernel.org/linux-gpio \
		linux-gpio@vger.kernel.org
	public-inbox-index linux-gpio

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-gpio


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git