linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/48] dt-bindings: input: gpio-keys: rework matching children
@ 2022-06-09 11:37 Krzysztof Kozlowski
  2022-06-09 11:38 ` [PATCH v2 01/48] dt-bindings: input: gpio-keys: enforce node names to match all properties Krzysztof Kozlowski
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-09 11:37 UTC (permalink / raw)
  To: Arnd Bergmann, Olof Johansson, arm, soc
  Cc: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski,
	Jonathan Neuschäfer, Linus Walleij, Benoît Cousson,
	Tony Lindgren, Andrew Lunn, Gregory Clement,
	Sebastian Hesselbarth, Russell King, Joel Stanley, Andrew Jeffery,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Peter Rosin,
	Florian Fainelli, Hauke Mehrtens, Rafał Miłecki,
	Broadcom internal kernel review list, Ray Jui, Scott Branden,
	Alim Akhtar, Matthias Brugger, Andy Gross, Bjorn Andersson,
	Heiko Stuebner, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland,
	Thierry Reding, Jonathan Hunter, Michal Simek, Neil Armstrong,
	Kevin Hilman, Jerome Brunet, Martin Blumenstingl, Khuong Dinh,
	Shawn Guo, Li Yang, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Wei Xu, Nishanth Menon,
	Vignesh Raghavendra, Tero Kristo, linux-input, devicetree,
	linux-kernel, openbmc, linux-gpio, linux-omap, linux-arm-kernel,
	linux-aspeed, linux-samsung-soc, linux-mediatek, linux-arm-msm,
	linux-rockchip, linux-sunxi, linux-tegra, linux-amlogic,
	Krzysztof Kozlowski

Hi,

Merging
=======
1. dt-bindings: rebased on top of Rob's:
   https://lore.kernel.org/all/20220608211207.2058487-1-robh@kernel.org/

2. DTS patches are independent. They can be picked up directly by sub-arch
   maintainers, by Arnd or Olof, or eventually by me (if you wish).

Changes since v1
================
Patch 1: Extend gpio-keys nodes pattern to cover buttons, events and switches (Jeff).
Patch 2: Include input.yaml (Dmitry, Rob).
Patch 3: New patch.
New DTS patches.

Best regards,
Krzysztof

Krzysztof Kozlowski (48):
  dt-bindings: input: gpio-keys: enforce node names to match all
    properties
  dt-bindings: input: gpio-keys: reference input.yaml and document
    properties
  dt-bindings: input: gpio-keys: accept also interrupt-extended
  dt-bindings: pinctrl: nuvoton,wpcm450-pinctrl: align key node name
  arm64: dts: allwinner: align gpio-key node names with dtschema
  ARM: dts: allwinner: align gpio-key node names with dtschema
  arm64: dts: amlogic: correct gpio-keys properties
  arm64: dts: amlogic: align gpio-key node names with dtschema
  arm64: dts: apm: correct gpio-keys properties
  arm64: dts: broadcom: align gpio-key node names with dtschema
  ARM: dts: broadcom: align gpio-key node names with dtschema
  ARM: dts: broadcom: correct gpio-keys properties
  arm64: dts: freescale: align gpio-key node names with dtschema
  arm64: dts: freescale: align led node names with dtschema
  arm64: dts: hisilicon: align gpio-key node names with dtschema
  arm64: dts: hisilicon: correct gpio-keys properties
  arm64: dts: marvell: align gpio-key node names with dtschema
  arm64: dts: marvell: armada-3720: align lednode names with dtschema
  ARM: dts: marvell: align gpio-key node names with dtschema
  ARM: dts: marvell: correct gpio-keys properties
  arm64: dts: mediatek: align gpio-key node names with dtschema
  arm64: dts: mediatek: mt7622-bananapi-bpi-r64: align led node names
    with dtschema
  arm64: dts: mediatek: mt7622-rfb1: correct gpio-keys properties
  ARM: dts: mediatek: align gpio-key node names with dtschema
  arm64: dts: tegra: align gpio-key node names with dtschema
  ARM: dts: tegra: align gpio-key node names with dtschema
  arm64: dts: qcom: align gpio-key node names with dtschema
  arm64: dts: qcom: correct gpio-keys properties
  arm64: dts: qcom: sdm630-sony-xperia-nile: drop unneeded status from
    gpio-keys
  arm64: dts: qcom: align led node names with dtschema
  ARM: dts: qcom: align gpio-key node names with dtschema
  arm64: dts: rockchip: align gpio-key node names with dtschema
  ARM: dts: rockchip: align gpio-key node names with dtschema
  ARM: dts: rockchip: rk3288-tinker: correct gpio-keys properties
  arm64: dts: ti: align gpio-key node names with dtschema
  arm64: dts: xilinx: align gpio-key node names with dtschema
  ARM: dts: xilinx: align gpio-key node names with dtschema
  ARM: dts: omap: align gpio-key node names with dtschema
  ARM: dts: omap: correct gpio-keys properties
  ARM: dts: animeo: align gpio-key node names with dtschema
  ARM: dts: animeo: correct gpio-keys properties
  ARM: dts: aspeed: align gpio-key node names with dtschema
  ARM: dts: aspeed: correct gpio-keys properties
  ARM: dts: at91: align gpio-key node names with dtschema
  ARM: dts: at91: correct gpio-keys properties
  ARM: dts: at91: drop unneeded status from gpio-keys
  ARM: dts: exynos: align gpio-key node names with dtschema
  ARM: dts: s5pv210: align gpio-key node names with dtschema

 .../devicetree/bindings/input/gpio-keys.yaml  | 159 +++++++++---------
 .../pinctrl/nuvoton,wpcm450-pinctrl.yaml      |   2 +-
 arch/arm/boot/dts/am335x-evm.dts              |   8 +-
 arch/arm/boot/dts/am335x-guardian.dts         |   2 -
 .../boot/dts/am335x-moxa-uc-2100-common.dtsi  |   4 +-
 .../boot/dts/am335x-moxa-uc-8100-common.dtsi  |   4 +-
 arch/arm/boot/dts/am335x-pcm-953.dtsi         |   4 +-
 arch/arm/boot/dts/am335x-pepper.dts           |   8 +-
 arch/arm/boot/dts/am335x-shc.dts              |   6 +-
 arch/arm/boot/dts/am3517-evm-ui.dtsi          |  20 +--
 arch/arm/boot/dts/am3517-evm.dts              |  18 +-
 arch/arm/boot/dts/am437x-idk-evm.dts          |   6 +-
 arch/arm/boot/dts/animeo_ip.dts               |  10 +-
 arch/arm/boot/dts/armada-370-c200-v2.dts      |   8 +-
 arch/arm/boot/dts/armada-370-rd.dts           |   2 -
 .../boot/dts/armada-370-seagate-nas-xbay.dtsi |   8 +-
 .../armada-370-seagate-personal-cloud.dtsi    |   8 +-
 .../boot/dts/armada-381-netgear-gs110emx.dts  |   2 +-
 .../arm/boot/dts/armada-385-clearfog-gtr.dtsi |   4 +-
 arch/arm/boot/dts/armada-385-linksys.dtsi     |   4 +-
 .../arm/boot/dts/armada-388-clearfog-base.dts |   2 +-
 arch/arm/boot/dts/armada-388-clearfog.dts     |   2 +-
 arch/arm/boot/dts/armada-xp-axpwifiap.dts     |   6 +-
 arch/arm/boot/dts/armada-xp-linksys-mamba.dts |   8 +-
 .../boot/dts/armada-xp-openblocks-ax3-4.dts   |   6 +-
 .../arm/boot/dts/aspeed-bmc-ampere-mtjade.dts |  30 ++--
 .../boot/dts/aspeed-bmc-bytedance-g220a.dts   |  48 +++---
 arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts  |  10 +-
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts  |  14 +-
 .../boot/dts/aspeed-bmc-inspur-fp5280g2.dts   |  22 +--
 arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts   |  23 +--
 arch/arm/boot/dts/aspeed-bmc-opp-mowgli.dts   |  20 +--
 arch/arm/boot/dts/aspeed-bmc-opp-nicole.dts   |   2 +-
 arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts |   2 +-
 arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts  |   2 +-
 arch/arm/boot/dts/aspeed-bmc-opp-swift.dts    |  30 ++--
 arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts   |  14 +-
 arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts   |   4 +-
 .../boot/dts/aspeed-bmc-opp-witherspoon.dts   |  16 +-
 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts    |   4 +-
 arch/arm/boot/dts/at91-foxg20.dts             |   4 +-
 arch/arm/boot/dts/at91-gatwick.dts            |   2 +-
 arch/arm/boot/dts/at91-kizbox.dts             |   8 +-
 arch/arm/boot/dts/at91-kizbox2-common.dtsi    |  10 +-
 arch/arm/boot/dts/at91-kizbox3-hs.dts         |  12 +-
 arch/arm/boot/dts/at91-kizboxmini-common.dtsi |   6 +-
 arch/arm/boot/dts/at91-nattis-2-natte-2.dts   |   2 +-
 arch/arm/boot/dts/at91-qil_a9260.dts          |   4 +-
 arch/arm/boot/dts/at91-sam9x60ek.dts          |   5 +-
 arch/arm/boot/dts/at91-sama5d27_som1_ek.dts   |   4 +-
 arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts |   5 +-
 arch/arm/boot/dts/at91-sama5d2_icp.dts        |   5 +-
 arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts     |   4 +-
 arch/arm/boot/dts/at91-sama5d2_xplained.dts   |   4 +-
 arch/arm/boot/dts/at91-sama5d3_xplained.dts   |   4 +-
 arch/arm/boot/dts/at91-sama5d4_xplained.dts   |   4 +-
 arch/arm/boot/dts/at91-sama5d4ek.dts          |   4 +-
 arch/arm/boot/dts/at91-sama7g5ek.dts          |   4 +-
 arch/arm/boot/dts/at91-wb45n.dts              |   7 +-
 arch/arm/boot/dts/at91-wb50n.dts              |  10 +-
 arch/arm/boot/dts/at91sam9260ek.dts           |   6 +-
 arch/arm/boot/dts/at91sam9261ek.dts           |  10 +-
 arch/arm/boot/dts/at91sam9263ek.dts           |   6 +-
 arch/arm/boot/dts/at91sam9g20ek_common.dtsi   |   6 +-
 .../dts/at91sam9g25-gardena-smart-gateway.dts |   2 +-
 arch/arm/boot/dts/at91sam9m10g45ek.dts        |  16 +-
 arch/arm/boot/dts/at91sam9n12ek.dts           |   4 +-
 arch/arm/boot/dts/at91sam9rlek.dts            |   6 +-
 arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts   |   6 +-
 arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts   |   8 +-
 .../bcm4708-buffalo-wzr-1166dhp-common.dtsi   |  10 +-
 .../boot/dts/bcm4708-buffalo-wzr-1750dhp.dts  |  10 +-
 .../boot/dts/bcm4708-linksys-ea6300-v1.dts    |   4 +-
 .../boot/dts/bcm4708-linksys-ea6500-v2.dts    |   4 +-
 arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts  |   2 +-
 arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts  |   2 +-
 arch/arm/boot/dts/bcm4708-netgear-r6250.dts   |   6 +-
 .../arm/boot/dts/bcm4708-netgear-r6300-v2.dts |   6 +-
 arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts |   6 +-
 arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts   |   4 +-
 .../boot/dts/bcm47081-buffalo-wzr-600dhp2.dts |   8 +-
 .../boot/dts/bcm47081-buffalo-wzr-900dhp.dts  |   2 +-
 arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts |   2 +-
 arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts |   2 +-
 .../boot/dts/bcm47081-tplink-archer-c5-v2.dts |   4 +-
 arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts   |   6 +-
 .../boot/dts/bcm4709-buffalo-wxr-1900dhp.dts  |  14 +-
 arch/arm/boot/dts/bcm4709-linksys-ea9200.dts  |   6 +-
 arch/arm/boot/dts/bcm4709-netgear-r7000.dts   |   8 +-
 arch/arm/boot/dts/bcm4709-netgear-r8000.dts   |  10 +-
 .../boot/dts/bcm4709-tplink-archer-c9-v1.dts  |   6 +-
 arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts  |   8 +-
 arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts |   6 +-
 .../boot/dts/bcm47094-linksys-panamera.dts    |   6 +-
 arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts |   2 +-
 arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts |   2 +-
 arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts |   2 +-
 arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts |   4 +-
 arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts |   2 +-
 .../boot/dts/bcm47094-luxul-xwr-3150-v1.dts   |   2 +-
 arch/arm/boot/dts/bcm47094-netgear-r8500.dts  |   8 +-
 arch/arm/boot/dts/bcm47094-phicomm-k3.dts     |   2 +-
 arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts |   2 +-
 arch/arm/boot/dts/bcm47189-luxul-xap-810.dts  |   2 +-
 arch/arm/boot/dts/bcm47189-tenda-ac9.dts      |   6 +-
 arch/arm/boot/dts/bcm53016-meraki-mr32.dts    |   4 +-
 arch/arm/boot/dts/bcm911360_entphn.dts        |   4 +-
 arch/arm/boot/dts/bcm947189acdbmr.dts         |   4 +-
 arch/arm/boot/dts/bcm953012er.dts             |   4 +-
 arch/arm/boot/dts/bcm958625-meraki-alamo.dtsi |   2 +-
 .../boot/dts/bcm958625-meraki-kingpin.dtsi    |   2 +-
 arch/arm/boot/dts/exynos4210-i9100.dts        |   8 +-
 arch/arm/boot/dts/exynos4210-origen.dts       |  10 +-
 arch/arm/boot/dts/exynos4412-itop-elite.dts   |  10 +-
 arch/arm/boot/dts/exynos5250-arndale.dts      |  12 +-
 arch/arm/boot/dts/exynos5250-snow-common.dtsi |   2 +-
 arch/arm/boot/dts/exynos5250-spring.dts       |   2 +-
 arch/arm/boot/dts/exynos5420-arndale-octa.dts |   2 +-
 arch/arm/boot/dts/exynos5420-peach-pit.dts    |   2 +-
 arch/arm/boot/dts/exynos5800-peach-pi.dts     |   2 +-
 arch/arm/boot/dts/mt7623a-rfb-emmc.dts        |   4 +-
 arch/arm/boot/dts/mt7623a-rfb-nand.dts        |   4 +-
 arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts |   4 +-
 arch/arm/boot/dts/mt7623n-rfb-emmc.dts        |   4 +-
 arch/arm/boot/dts/mt7629-rfb.dts              |   4 +-
 .../boot/dts/qcom-apq8064-asus-nexus7-flo.dts |   4 +-
 .../qcom-apq8064-sony-xperia-lagan-yuga.dts   |   8 +-
 arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi |   2 +-
 arch/arm/boot/dts/qcom-ipq8064-rb3011.dts     |   4 +-
 arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi      |   6 +-
 .../qcom-msm8974-lge-nexus5-hammerhead.dts    |   4 +-
 .../dts/qcom-msm8974-sony-xperia-rhine.dtsi   |   8 +-
 .../dts/qcom-msm8974pro-fairphone-fp2.dts     |   6 +-
 .../boot/dts/qcom-msm8974pro-samsung-klte.dts |   6 +-
 ...-msm8974pro-sony-xperia-shinano-castor.dts |   8 +-
 arch/arm/boot/dts/rk3066a-bqcurie2.dts        |   4 +-
 arch/arm/boot/dts/rk3066a-rayeager.dts        |   2 +-
 arch/arm/boot/dts/rk3188-bqedison2qc.dts      |   4 +-
 arch/arm/boot/dts/rk3188-px3-evb.dts          |   2 +-
 arch/arm/boot/dts/rk3188-radxarock.dts        |   2 +-
 arch/arm/boot/dts/rk3229-evb.dts              |   2 +-
 arch/arm/boot/dts/rk3288-evb.dtsi             |   2 +-
 arch/arm/boot/dts/rk3288-firefly-reload.dts   |   2 +-
 arch/arm/boot/dts/rk3288-firefly.dtsi         |   2 +-
 arch/arm/boot/dts/rk3288-phycore-rdk.dts      |   4 +-
 arch/arm/boot/dts/rk3288-popmetal.dts         |   2 +-
 arch/arm/boot/dts/rk3288-r89.dts              |   2 +-
 arch/arm/boot/dts/rk3288-rock2-square.dts     |   2 +-
 arch/arm/boot/dts/rk3288-tinker.dtsi          |   4 +-
 .../boot/dts/rk3288-veyron-chromebook.dtsi    |   2 +-
 arch/arm/boot/dts/rk3288-veyron-minnie.dts    |   4 +-
 arch/arm/boot/dts/rk3288-veyron-pinky.dts     |   2 +-
 arch/arm/boot/dts/rk3288-veyron.dtsi          |   2 +-
 arch/arm/boot/dts/s5pv210-fascinate4g.dts     |   6 +-
 arch/arm/boot/dts/s5pv210-galaxys.dts         |   8 +-
 arch/arm/boot/dts/sun4i-a10-inet9f-rev03.dts  |  40 ++---
 arch/arm/boot/dts/sun4i-a10-pcduino.dts       |   6 +-
 arch/arm/boot/dts/sun7i-a20-pcduino3.dts      |   6 +-
 .../dts/sun8i-h2-plus-bananapi-m2-zero.dts    |   4 +-
 arch/arm/boot/dts/sun8i-h3-beelink-x2.dts     |   4 +-
 .../boot/dts/sun8i-h3-mapleboard-mp130.dts    |   6 +-
 arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts    |   4 +-
 arch/arm/boot/dts/sun8i-h3-nanopi.dtsi        |   4 +-
 arch/arm/boot/dts/sun8i-h3-orangepi-2.dts     |   6 +-
 arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts  |   4 +-
 arch/arm/boot/dts/sun8i-h3-orangepi-one.dts   |   4 +-
 arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts    |   4 +-
 arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi |   4 +-
 .../boot/dts/sunxi-libretech-all-h3-cc.dtsi   |   4 +-
 arch/arm/boot/dts/tegra114-asus-tf701t.dts    |   8 +-
 arch/arm/boot/dts/tegra114-dalmore.dts        |   8 +-
 arch/arm/boot/dts/tegra114-roth.dts           |   6 +-
 arch/arm/boot/dts/tegra114-tn7.dts            |   6 +-
 arch/arm/boot/dts/tegra124-apalis-eval.dts    |   2 +-
 .../boot/dts/tegra124-apalis-v1.2-eval.dts    |   2 +-
 arch/arm/boot/dts/tegra124-jetson-tk1.dts     |   2 +-
 arch/arm/boot/dts/tegra124-nyan.dtsi          |   4 +-
 arch/arm/boot/dts/tegra124-venice2.dts        |   2 +-
 .../boot/dts/tegra20-acer-a500-picasso.dts    |   8 +-
 arch/arm/boot/dts/tegra20-asus-tf101.dts      |   8 +-
 arch/arm/boot/dts/tegra20-colibri-eval-v3.dts |   2 +-
 arch/arm/boot/dts/tegra20-colibri-iris.dts    |   2 +-
 arch/arm/boot/dts/tegra20-harmony.dts         |   2 +-
 arch/arm/boot/dts/tegra20-paz00.dts           |   2 +-
 arch/arm/boot/dts/tegra20-seaboard.dts        |   4 +-
 arch/arm/boot/dts/tegra20-trimslice.dts       |   2 +-
 arch/arm/boot/dts/tegra20-ventana.dts         |   2 +-
 arch/arm/boot/dts/tegra30-apalis-eval.dts     |   2 +-
 .../arm/boot/dts/tegra30-apalis-v1.1-eval.dts |   2 +-
 .../tegra30-asus-nexus7-grouper-common.dtsi   |   8 +-
 .../dts/tegra30-asus-transformer-common.dtsi  |  10 +-
 arch/arm/boot/dts/tegra30-cardhu.dtsi         |   6 +-
 arch/arm/boot/dts/tegra30-colibri-eval-v3.dts |   2 +-
 arch/arm/boot/dts/tegra30-ouya.dts            |   2 +-
 .../arm/boot/dts/tegra30-pegatron-chagall.dts |  10 +-
 arch/arm/boot/dts/zynq-zc702.dts              |   4 +-
 arch/arm/boot/dts/zynq-zturn-common.dtsi      |   2 +-
 .../dts/allwinner/sun50i-a64-pinebook.dts     |   4 +-
 .../dts/allwinner/sun50i-h5-nanopi-r1s-h5.dts |   4 +-
 .../dts/allwinner/sun50i-h5-orangepi-pc2.dts  |   4 +-
 .../allwinner/sun50i-h5-orangepi-prime.dts    |   4 +-
 .../boot/dts/amlogic/meson-g12b-gsking-x.dts  |   2 -
 .../dts/amlogic/meson-g12b-gtking-pro.dts     |   2 -
 .../boot/dts/amlogic/meson-gxbb-kii-pro.dts   |   2 -
 .../dts/amlogic/meson-gxbb-nexbox-a95x.dts    |   4 +-
 .../dts/amlogic/meson-gxbb-wetek-play2.dts    |   4 +-
 .../meson-gxl-s905d-mecool-kii-pro.dts        |   4 +-
 .../boot/dts/amlogic/meson-gxl-s905d-p230.dts |   4 +-
 .../amlogic/meson-gxl-s905d-vero4k-plus.dts   |   4 +-
 .../dts/amlogic/meson-gxm-mecool-kiii-pro.dts |   4 +-
 .../dts/amlogic/meson-gxm-minix-neo-u9h.dts   |   4 +-
 .../arm64/boot/dts/amlogic/meson-gxm-q200.dts |   4 +-
 .../dts/amlogic/meson-gxm-wetek-core2.dts     |   2 -
 .../boot/dts/amlogic/meson-sm1-sei610.dts     |  10 +-
 arch/arm64/boot/dts/apm/apm-merlin.dts        |   2 +-
 arch/arm64/boot/dts/apm/apm-mustang.dts       |   2 +-
 .../bcm4906-tplink-archer-c2300-v1.dts        |   8 +-
 .../bcm4908/bcm4908-asus-gt-ac5300.dts        |   8 +-
 .../boot/dts/freescale/fsl-ls1088a-ten64.dts  |  10 +-
 .../boot/dts/freescale/imx8mm-mx8menlo.dts    |   4 +-
 .../dts/freescale/imx8mm-var-som-symphony.dts |   6 +-
 .../dts/freescale/imx8mm-venice-gw700x.dtsi   |   8 +-
 .../dts/freescale/imx8mm-venice-gw7901.dts    |   8 +-
 .../dts/freescale/imx8mm-venice-gw7902.dts    |   8 +-
 .../dts/freescale/imx8mm-venice-gw7903.dts    |   6 +-
 .../boot/dts/freescale/imx8mm-verdin.dtsi     |   2 +-
 .../dts/freescale/imx8mn-var-som-symphony.dts |   6 +-
 .../dts/freescale/imx8mn-venice-gw7902.dts    |   8 +-
 .../boot/dts/freescale/imx8mp-verdin.dtsi     |   2 +-
 .../dts/freescale/imx8mq-librem5-devkit.dts   |   6 +-
 .../boot/dts/freescale/imx8mq-librem5.dtsi    |   4 +-
 .../boot/dts/freescale/imx8mq-nitrogen.dts    |   2 +-
 .../freescale/imx8qxp-colibri-eval-v3.dtsi    |   2 +-
 arch/arm64/boot/dts/freescale/mba8mx.dtsi     |   6 +-
 .../boot/dts/hisilicon/hi3660-hikey960.dts    |   2 +-
 arch/arm64/boot/dts/hisilicon/hip05-d02.dts   |   6 +-
 .../dts/marvell/armada-3720-turris-mox.dts    |   4 +-
 .../marvell/armada-8040-clearfog-gt-8k.dts    |   4 +-
 .../dts/mediatek/mt7622-bananapi-bpi-r64.dts  |  11 +-
 arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts  |   5 +-
 .../dts/mediatek/mt8173-elm-hana-rev7.dts     |   6 +-
 arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi  |  10 +-
 .../dts/mediatek/mt8183-kukui-jacuzzi.dtsi    |   4 +-
 .../dts/mediatek/mt8183-kukui-kakadu.dtsi     |   2 +-
 .../arm64/boot/dts/mediatek/mt8183-kukui.dtsi |   2 +-
 .../boot/dts/mediatek/pumpkin-common.dtsi     |   4 +-
 .../arm64/boot/dts/nvidia/tegra132-norrin.dts |   4 +-
 .../boot/dts/nvidia/tegra186-p2771-0000.dts   |   6 +-
 .../nvidia/tegra186-p3509-0000+p3636-0001.dts |   6 +-
 .../boot/dts/nvidia/tegra194-p2972-0000.dts   |   4 +-
 .../boot/dts/nvidia/tegra194-p3509-0000.dtsi  |   4 +-
 .../arm64/boot/dts/nvidia/tegra210-p2597.dtsi |   6 +-
 .../arm64/boot/dts/nvidia/tegra210-p2894.dtsi |   2 +-
 .../boot/dts/nvidia/tegra210-p3450-0000.dts   |   4 +-
 arch/arm64/boot/dts/nvidia/tegra210-smaug.dts |  10 +-
 .../nvidia/tegra234-p3737-0000+p3701-0000.dts |   6 +-
 arch/arm64/boot/dts/qcom/apq8016-sbc.dts      |   4 +-
 arch/arm64/boot/dts/qcom/apq8096-db820c.dts   |   6 +-
 .../boot/dts/qcom/msm8916-alcatel-idol347.dts |   2 +-
 .../arm64/boot/dts/qcom/msm8916-asus-z00l.dts |   4 +-
 .../arm64/boot/dts/qcom/msm8916-huawei-g7.dts |   2 +-
 .../boot/dts/qcom/msm8916-longcheer-l8150.dts |   2 +-
 .../boot/dts/qcom/msm8916-longcheer-l8910.dts |   2 +-
 .../qcom/msm8916-samsung-a2015-common.dtsi    |   6 +-
 .../boot/dts/qcom/msm8916-samsung-j5.dts      |   4 +-
 .../dts/qcom/msm8916-samsung-serranove.dts    |   6 +-
 .../dts/qcom/msm8916-wingtech-wt88047.dts     |   2 +-
 .../boot/dts/qcom/msm8992-xiaomi-libra.dts    |   6 +-
 .../dts/qcom/msm8994-msft-lumia-octagon.dtsi  |  10 +-
 .../qcom/msm8994-sony-xperia-kitakami.dtsi    |  12 +-
 .../boot/dts/qcom/msm8996-xiaomi-common.dtsi  |   6 +-
 .../boot/dts/qcom/msm8998-fxtec-pro1.dts      |  26 ++-
 .../boot/dts/qcom/msm8998-oneplus-common.dtsi |   6 +-
 .../dts/qcom/msm8998-sony-xperia-yoshino.dtsi |   8 +-
 arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi  |   2 +-
 arch/arm64/boot/dts/qcom/sc7280-idp.dtsi      |   2 +-
 .../dts/qcom/sdm630-sony-xperia-nile.dtsi     |  11 +-
 .../boot/dts/qcom/sdm632-fairphone-fp3.dts    |   2 +-
 .../boot/dts/qcom/sdm660-xiaomi-lavender.dts  |   2 +-
 arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi    |   2 +-
 arch/arm64/boot/dts/qcom/sdm845-db845c.dts    |  10 +-
 .../boot/dts/qcom/sdm845-oneplus-common.dtsi  |   4 +-
 .../boot/dts/qcom/sdm845-shift-axolotl.dts    |   2 +-
 .../dts/qcom/sdm845-sony-xperia-tama.dtsi     |   2 +-
 .../boot/dts/qcom/sdm845-xiaomi-beryllium.dts |   2 +-
 .../boot/dts/qcom/sdm850-lenovo-yoga-c630.dts |   4 +-
 .../qcom/sm6125-sony-xperia-seine-pdx201.dts  |   4 +-
 .../boot/dts/qcom/sm7225-fairphone-fp4.dts    |   2 +-
 arch/arm64/boot/dts/qcom/sm8150-hdk.dts       |   4 +-
 .../dts/qcom/sm8150-microsoft-surface-duo.dts |   4 +-
 arch/arm64/boot/dts/qcom/sm8250-hdk.dts       |   4 +-
 .../boot/dts/qcom/sm8250-sony-xperia-edo.dtsi |   2 +-
 .../dts/qcom/sm8350-sony-xperia-sagami.dtsi   |   2 +-
 arch/arm64/boot/dts/rockchip/rk3308-evb.dts   |   2 +-
 .../boot/dts/rockchip/rk3326-odroid-go2.dts   |  32 ++--
 .../boot/dts/rockchip/rk3328-nanopi-r2s.dts   |   2 +-
 arch/arm64/boot/dts/rockchip/rk3368-evb.dtsi  |   2 +-
 .../boot/dts/rockchip/rk3368-geekbox.dts      |   2 +-
 .../dts/rockchip/rk3368-orion-r68-meta.dts    |   2 +-
 .../boot/dts/rockchip/rk3368-px5-evb.dts      |   2 +-
 arch/arm64/boot/dts/rockchip/rk3368-r88.dts   |   2 +-
 .../boot/dts/rockchip/rk3399-firefly.dts      |   2 +-
 .../dts/rockchip/rk3399-gru-chromebook.dtsi   |   2 +-
 .../boot/dts/rockchip/rk3399-gru-kevin.dts    |   2 +-
 .../boot/dts/rockchip/rk3399-gru-scarlet.dtsi |   2 +-
 .../boot/dts/rockchip/rk3399-khadas-edge.dtsi |   2 +-
 .../boot/dts/rockchip/rk3399-nanopi-r4s.dts   |   4 +-
 .../boot/dts/rockchip/rk3399-nanopi4.dtsi     |   2 +-
 .../boot/dts/rockchip/rk3399-orangepi.dts     |   2 +-
 .../boot/dts/rockchip/rk3399-pinebook-pro.dts |   4 +-
 .../boot/dts/rockchip/rk3399-roc-pc.dtsi      |   2 +-
 .../boot/dts/rockchip/rk3399-rockpro64.dtsi   |   2 +-
 .../boot/dts/rockchip/rk3399-sapphire.dtsi    |   2 +-
 .../boot/dts/rockchip/rk3566-pinenote.dtsi    |   2 +-
 .../arm64/boot/dts/ti/k3-am654-base-board.dts |   4 +-
 .../dts/ti/k3-j721e-common-proc-board.dts     |   4 +-
 .../boot/dts/xilinx/zynqmp-sm-k26-revA.dts    |   2 +-
 .../boot/dts/xilinx/zynqmp-zcu100-revC.dts    |   2 +-
 .../boot/dts/xilinx/zynqmp-zcu102-revA.dts    |   2 +-
 .../boot/dts/xilinx/zynqmp-zcu106-revA.dts    |   2 +-
 .../boot/dts/xilinx/zynqmp-zcu111-revA.dts    |   2 +-
 321 files changed, 896 insertions(+), 997 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH v2 01/48] dt-bindings: input: gpio-keys: enforce node names to match all properties
  2022-06-09 11:37 [PATCH v2 00/48] dt-bindings: input: gpio-keys: rework matching children Krzysztof Kozlowski
@ 2022-06-09 11:38 ` Krzysztof Kozlowski
  2022-06-09 15:17   ` Rob Herring
  2022-06-09 11:39 ` [PATCH v2 02/48] dt-bindings: input: gpio-keys: reference input.yaml and document properties Krzysztof Kozlowski
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-09 11:38 UTC (permalink / raw)
  To: Arnd Bergmann, Olof Johansson, arm, soc, Dmitry Torokhov,
	Rob Herring, Krzysztof Kozlowski, linux-input, devicetree,
	linux-kernel
  Cc: Krzysztof Kozlowski

The gpio-keys DT schema matches all properties with a wide pattern and
applies specific schema to children.  This has drawback - all regular
properties are also matched and are silently ignored, even if they are
not described in schema.  Basically this allows any non-object property
to be present.

Enforce specific naming pattern for children (keys) to narrow the
pattern thus do not match other properties.  This will require all
children to be named with 'key-' prefix or '-key' suffix.

Removal of "if:" within patternProperties causes drop of one indentation
level, but there are no other changes in the affected block.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/input/gpio-keys.yaml  | 157 +++++++++---------
 1 file changed, 77 insertions(+), 80 deletions(-)

diff --git a/Documentation/devicetree/bindings/input/gpio-keys.yaml b/Documentation/devicetree/bindings/input/gpio-keys.yaml
index 645dfa1e0d07..27bb5c6ab8d9 100644
--- a/Documentation/devicetree/bindings/input/gpio-keys.yaml
+++ b/Documentation/devicetree/bindings/input/gpio-keys.yaml
@@ -16,86 +16,83 @@ properties:
       - gpio-keys-polled
 
 patternProperties:
-  ".*":
-    if:
-      type: object
-    then:
-      $ref: input.yaml#
-
-      properties:
-        gpios:
-          maxItems: 1
-
-        interrupts:
-          maxItems: 1
-
-        label:
-          description: Descriptive name of the key.
-
-        linux,code:
-          description: Key / Axis code to emit.
-
-        linux,input-type:
-          default: 1  # EV_KEY
-
-        linux,input-value:
-          description: |
-            If linux,input-type is EV_ABS or EV_REL then this
-            value is sent for events this button generates when pressed.
-            EV_ABS/EV_REL axis will generate an event with a value of 0
-            when all buttons with linux,input-type == type and
-            linux,code == axis are released. This value is interpreted
-            as a signed 32 bit value, e.g. to make a button generate a
-            value of -1 use:
-
-            linux,input-value = <0xffffffff>; /* -1 */
-
-          $ref: /schemas/types.yaml#/definitions/uint32
-
-        debounce-interval:
-          description:
-            Debouncing interval time in milliseconds. If not specified defaults to 5.
-          $ref: /schemas/types.yaml#/definitions/uint32
-
-          default: 5
-
-        wakeup-source:
-          description: Button can wake-up the system.
-
-        wakeup-event-action:
-          description: |
-            Specifies whether the key should wake the system when asserted, when
-            deasserted, or both. This property is only valid for keys that wake up the
-            system (e.g., when the "wakeup-source" property is also provided).
-
-            Supported values are defined in linux-event-codes.h:
-
-              EV_ACT_ANY        - both asserted and deasserted
-              EV_ACT_ASSERTED   - asserted
-              EV_ACT_DEASSERTED - deasserted
-          $ref: /schemas/types.yaml#/definitions/uint32
-          enum: [0, 1, 2]
-
-        linux,can-disable:
-          description:
-            Indicates that button is connected to dedicated (not shared) interrupt
-            which can be disabled to suppress events from the button.
-          type: boolean
-
-      required:
-        - linux,code
-
-      anyOf:
-        - required:
-            - interrupts
-        - required:
-            - gpios
-
-      dependencies:
-        wakeup-event-action: [ wakeup-source ]
-        linux,input-value: [ gpios ]
-
-      unevaluatedProperties: false
+  "^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switch))$":
+    $ref: input.yaml#
+
+    properties:
+      gpios:
+        maxItems: 1
+
+      interrupts:
+        maxItems: 1
+
+      label:
+        description: Descriptive name of the key.
+
+      linux,code:
+        description: Key / Axis code to emit.
+
+      linux,input-type:
+        default: 1  # EV_KEY
+
+      linux,input-value:
+        description: |
+          If linux,input-type is EV_ABS or EV_REL then this
+          value is sent for events this button generates when pressed.
+          EV_ABS/EV_REL axis will generate an event with a value of 0
+          when all buttons with linux,input-type == type and
+          linux,code == axis are released. This value is interpreted
+          as a signed 32 bit value, e.g. to make a button generate a
+          value of -1 use:
+
+          linux,input-value = <0xffffffff>; /* -1 */
+
+        $ref: /schemas/types.yaml#/definitions/uint32
+
+      debounce-interval:
+        description:
+          Debouncing interval time in milliseconds. If not specified defaults to 5.
+        $ref: /schemas/types.yaml#/definitions/uint32
+
+        default: 5
+
+      wakeup-source:
+        description: Button can wake-up the system.
+
+      wakeup-event-action:
+        description: |
+          Specifies whether the key should wake the system when asserted, when
+          deasserted, or both. This property is only valid for keys that wake up the
+          system (e.g., when the "wakeup-source" property is also provided).
+
+          Supported values are defined in linux-event-codes.h:
+
+            EV_ACT_ANY        - both asserted and deasserted
+            EV_ACT_ASSERTED   - asserted
+            EV_ACT_DEASSERTED - deasserted
+        $ref: /schemas/types.yaml#/definitions/uint32
+        enum: [0, 1, 2]
+
+      linux,can-disable:
+        description:
+          Indicates that button is connected to dedicated (not shared) interrupt
+          which can be disabled to suppress events from the button.
+        type: boolean
+
+    required:
+      - linux,code
+
+    anyOf:
+      - required:
+          - interrupts
+      - required:
+          - gpios
+
+    dependencies:
+      wakeup-event-action: [ wakeup-source ]
+      linux,input-value: [ gpios ]
+
+    unevaluatedProperties: false
 
 if:
   properties:
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH v2 02/48] dt-bindings: input: gpio-keys: reference input.yaml and document properties
  2022-06-09 11:37 [PATCH v2 00/48] dt-bindings: input: gpio-keys: rework matching children Krzysztof Kozlowski
  2022-06-09 11:38 ` [PATCH v2 01/48] dt-bindings: input: gpio-keys: enforce node names to match all properties Krzysztof Kozlowski
@ 2022-06-09 11:39 ` Krzysztof Kozlowski
  2022-06-09 15:18   ` Rob Herring
  2022-06-09 11:39 ` [PATCH v2 03/48] dt-bindings: input: gpio-keys: accept also interrupt-extended Krzysztof Kozlowski
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-09 11:39 UTC (permalink / raw)
  To: Arnd Bergmann, Olof Johansson, arm, soc, Dmitry Torokhov,
	Rob Herring, Krzysztof Kozlowski, linux-input, devicetree,
	linux-kernel
  Cc: Krzysztof Kozlowski

The original text bindings documented "autorepeat" and "label"
properties (in the device node, beside the nodes with keys).  DTS use
also poll-interval.  Reference the input.yaml to get these top-level
properties.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/input/gpio-keys.yaml  | 32 +++++++++++--------
 1 file changed, 19 insertions(+), 13 deletions(-)

diff --git a/Documentation/devicetree/bindings/input/gpio-keys.yaml b/Documentation/devicetree/bindings/input/gpio-keys.yaml
index 27bb5c6ab8d9..e722e681d237 100644
--- a/Documentation/devicetree/bindings/input/gpio-keys.yaml
+++ b/Documentation/devicetree/bindings/input/gpio-keys.yaml
@@ -15,6 +15,13 @@ properties:
       - gpio-keys
       - gpio-keys-polled
 
+  autorepeat: true
+
+  label:
+    description: Name of entire device
+
+  poll-interval: true
+
 patternProperties:
   "^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switch))$":
     $ref: input.yaml#
@@ -94,19 +101,18 @@ patternProperties:
 
     unevaluatedProperties: false
 
-if:
-  properties:
-    compatible:
-      const: gpio-keys-polled
-then:
-  properties:
-    poll-interval:
-      description:
-        Poll interval time in milliseconds
-      $ref: /schemas/types.yaml#/definitions/uint32
-
-  required:
-    - poll-interval
+allOf:
+  - $ref: input.yaml#
+  - if:
+      properties:
+        compatible:
+          const: gpio-keys-polled
+    then:
+      required:
+        - poll-interval
+    else:
+      properties:
+        poll-interval: false
 
 additionalProperties: false
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH v2 03/48] dt-bindings: input: gpio-keys: accept also interrupt-extended
  2022-06-09 11:37 [PATCH v2 00/48] dt-bindings: input: gpio-keys: rework matching children Krzysztof Kozlowski
  2022-06-09 11:38 ` [PATCH v2 01/48] dt-bindings: input: gpio-keys: enforce node names to match all properties Krzysztof Kozlowski
  2022-06-09 11:39 ` [PATCH v2 02/48] dt-bindings: input: gpio-keys: reference input.yaml and document properties Krzysztof Kozlowski
@ 2022-06-09 11:39 ` Krzysztof Kozlowski
  2022-06-09 15:21   ` Rob Herring
  2022-06-10  6:37 ` (subset) [PATCH v2 00/48] dt-bindings: input: gpio-keys: rework matching children Neil Armstrong
  2022-07-03  3:56 ` Bjorn Andersson
  4 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-09 11:39 UTC (permalink / raw)
  To: Arnd Bergmann, Olof Johansson, arm, soc, Dmitry Torokhov,
	Rob Herring, Krzysztof Kozlowski, linux-input, devicetree,
	linux-kernel
  Cc: Krzysztof Kozlowski

Each key device node might have interrupts-extended instead of
interrupts property:

  fsl-ls1028a-kontron-sl28-var1.dtb: buttons0: power-button: 'anyOf' conditional failed, one must be fixed:
    'interrupts' is a required property
    'gpios' is a required property

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/input/gpio-keys.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/gpio-keys.yaml b/Documentation/devicetree/bindings/input/gpio-keys.yaml
index e722e681d237..17ac9dff7972 100644
--- a/Documentation/devicetree/bindings/input/gpio-keys.yaml
+++ b/Documentation/devicetree/bindings/input/gpio-keys.yaml
@@ -92,6 +92,8 @@ patternProperties:
     anyOf:
       - required:
           - interrupts
+      - required:
+          - interrupts-extended
       - required:
           - gpios
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 01/48] dt-bindings: input: gpio-keys: enforce node names to match all properties
  2022-06-09 11:38 ` [PATCH v2 01/48] dt-bindings: input: gpio-keys: enforce node names to match all properties Krzysztof Kozlowski
@ 2022-06-09 15:17   ` Rob Herring
  0 siblings, 0 replies; 9+ messages in thread
From: Rob Herring @ 2022-06-09 15:17 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: arm, linux-kernel, linux-input, Rob Herring, Krzysztof Kozlowski,
	devicetree, soc, Arnd Bergmann, Dmitry Torokhov, Olof Johansson

On Thu, 09 Jun 2022 13:38:43 +0200, Krzysztof Kozlowski wrote:
> The gpio-keys DT schema matches all properties with a wide pattern and
> applies specific schema to children.  This has drawback - all regular
> properties are also matched and are silently ignored, even if they are
> not described in schema.  Basically this allows any non-object property
> to be present.
> 
> Enforce specific naming pattern for children (keys) to narrow the
> pattern thus do not match other properties.  This will require all
> children to be named with 'key-' prefix or '-key' suffix.
> 
> Removal of "if:" within patternProperties causes drop of one indentation
> level, but there are no other changes in the affected block.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../devicetree/bindings/input/gpio-keys.yaml  | 157 +++++++++---------
>  1 file changed, 77 insertions(+), 80 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 02/48] dt-bindings: input: gpio-keys: reference input.yaml and document properties
  2022-06-09 11:39 ` [PATCH v2 02/48] dt-bindings: input: gpio-keys: reference input.yaml and document properties Krzysztof Kozlowski
@ 2022-06-09 15:18   ` Rob Herring
  0 siblings, 0 replies; 9+ messages in thread
From: Rob Herring @ 2022-06-09 15:18 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: devicetree, linux-kernel, linux-input, Rob Herring, arm,
	Dmitry Torokhov, Krzysztof Kozlowski, Olof Johansson, soc,
	Arnd Bergmann

On Thu, 09 Jun 2022 13:39:04 +0200, Krzysztof Kozlowski wrote:
> The original text bindings documented "autorepeat" and "label"
> properties (in the device node, beside the nodes with keys).  DTS use
> also poll-interval.  Reference the input.yaml to get these top-level
> properties.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../devicetree/bindings/input/gpio-keys.yaml  | 32 +++++++++++--------
>  1 file changed, 19 insertions(+), 13 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 03/48] dt-bindings: input: gpio-keys: accept also interrupt-extended
  2022-06-09 11:39 ` [PATCH v2 03/48] dt-bindings: input: gpio-keys: accept also interrupt-extended Krzysztof Kozlowski
@ 2022-06-09 15:21   ` Rob Herring
  0 siblings, 0 replies; 9+ messages in thread
From: Rob Herring @ 2022-06-09 15:21 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Olof Johansson, arm, Rob Herring, Krzysztof Kozlowski,
	linux-input, soc, Arnd Bergmann, linux-kernel, devicetree,
	Dmitry Torokhov

On Thu, 09 Jun 2022 13:39:05 +0200, Krzysztof Kozlowski wrote:
> Each key device node might have interrupts-extended instead of
> interrupts property:
> 
>   fsl-ls1028a-kontron-sl28-var1.dtb: buttons0: power-button: 'anyOf' conditional failed, one must be fixed:
>     'interrupts' is a required property
>     'gpios' is a required property
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/input/gpio-keys.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 

The tooling is supposed to take care of this, but it's complicated 
enough that we don't find it. So easier to handle in the schema.

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: (subset) [PATCH v2 00/48] dt-bindings: input: gpio-keys: rework matching children
  2022-06-09 11:37 [PATCH v2 00/48] dt-bindings: input: gpio-keys: rework matching children Krzysztof Kozlowski
                   ` (2 preceding siblings ...)
  2022-06-09 11:39 ` [PATCH v2 03/48] dt-bindings: input: gpio-keys: accept also interrupt-extended Krzysztof Kozlowski
@ 2022-06-10  6:37 ` Neil Armstrong
  2022-07-03  3:56 ` Bjorn Andersson
  4 siblings, 0 replies; 9+ messages in thread
From: Neil Armstrong @ 2022-06-10  6:37 UTC (permalink / raw)
  To: Krzysztof Kozlowski, soc, Arnd Bergmann, Olof Johansson, arm
  Cc: Neil Armstrong, NXP Linux Team, Hauke Mehrtens, Jernej Skrabec,
	linux-mediatek, Alim Akhtar, linux-tegra, Rob Herring,
	Tero Kristo, Vignesh Raghavendra, Shawn Guo, Matthias Brugger,
	linux-omap, Rafał Miłecki, Tony Lindgren, Scott Branden,
	linux-gpio, linux-amlogic, Kevin Hilman, Pengutronix Kernel Team,
	Fabio Estevam, Andrew Lunn, Nishanth Menon, devicetree,
	Chen-Yu Tsai, linux-arm-msm, Linus Walleij, Samuel Holland,
	Nicolas Ferre, Russell King, Jonathan Hunter, Gregory Clement,
	linux-arm-kernel, Heiko Stuebner, linux-kernel, Andrew Jeffery,
	linux-input, Alexandre Belloni, Benoît Cousson,
	Krzysztof Kozlowski, Peter Rosin, Khuong Dinh, Claudiu Beznea,
	Broadcom internal kernel review list, Andy Gross, Michal Simek,
	Sebastian Hesselbarth, linux-sunxi, Bjorn Andersson,
	linux-samsung-soc, Florian Fainelli, Thierry Reding, Ray Jui,
	Sascha Hauer, Jonathan Neuschäfer, Li Yang, Jerome Brunet,
	Wei Xu, Dmitry Torokhov, linux-aspeed, openbmc,
	Martin Blumenstingl, Joel Stanley, linux-rockchip

Hi,

On Thu, 9 Jun 2022 13:37:21 +0200, Krzysztof Kozlowski wrote:
> Merging
> =======
> 1. dt-bindings: rebased on top of Rob's:
>    https://lore.kernel.org/all/20220608211207.2058487-1-robh@kernel.org/
> 
> 2. DTS patches are independent. They can be picked up directly by sub-arch
>    maintainers, by Arnd or Olof, or eventually by me (if you wish).
> 
> [...]

Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v5.20/arm64-dt)

[07/48] arm64: dts: amlogic: correct gpio-keys properties
        https://git.kernel.org/amlogic/c/4956be9944d1fb23107f27bad8a2cca0fa167443
[08/48] arm64: dts: amlogic: align gpio-key node names with dtschema
        https://git.kernel.org/amlogic/c/4fd9afd894ebe5831dbd737e6ca7b6de14da7fda

These changes has been applied on the intermediate git tree [1].

The v5.20/arm64-dt branch will then be sent via a formal Pull Request to the Linux SoC maintainers
for inclusion in their intermediate git branches in order to be sent to Linus during
the next merge window, or sooner if it's a set of fixes.

In the cases of fixes, those will be merged in the current release candidate
kernel and as soon they appear on the Linux master branch they will be
backported to the previous Stable and Long-Stable kernels [2].

The intermediate git branches are merged daily in the linux-next tree [3],
people are encouraged testing these pre-release kernels and report issues on the
relevant mailing-lists.

If problems are discovered on those changes, please submit a signed-off-by revert
patch followed by a corrective changeset.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

-- 
Neil

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: (subset) [PATCH v2 00/48] dt-bindings: input: gpio-keys: rework matching children
  2022-06-09 11:37 [PATCH v2 00/48] dt-bindings: input: gpio-keys: rework matching children Krzysztof Kozlowski
                   ` (3 preceding siblings ...)
  2022-06-10  6:37 ` (subset) [PATCH v2 00/48] dt-bindings: input: gpio-keys: rework matching children Neil Armstrong
@ 2022-07-03  3:56 ` Bjorn Andersson
  4 siblings, 0 replies; 9+ messages in thread
From: Bjorn Andersson @ 2022-07-03  3:56 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Olof Johansson, soc, Arnd Bergmann, arm
  Cc: Li Yang, Matthias Brugger, Jernej Skrabec, Florian Fainelli,
	Neil Armstrong, Tony Lindgren, Sebastian Hesselbarth,
	Joel Stanley, Thierry Reding, Shawn Guo, Tero Kristo,
	Rafał Miłecki, Hauke Mehrtens, Scott Branden,
	linux-rockchip, Russell King, Benoît Cousson, Rob Herring,
	linux-sunxi, linux-kernel, linux-arm-msm, Pengutronix Kernel Team,
	Dmitry Torokhov, linux-tegra, Khuong Dinh, linux-gpio,
	Kevin Hilman, linux-amlogic, Fabio Estevam, Michal Simek,
	linux-samsung-soc, Vignesh Raghavendra, Linus Walleij,
	NXP Linux Team, Andrew Jeffery, Heiko Stuebner, Nishanth Menon,
	Jerome Brunet, Peter Rosin, linux-arm-kernel,
	Broadcom internal kernel review list, Sascha Hauer, Alim Akhtar,
	openbmc, Nicolas Ferre, Andy Gross, Wei Xu, linux-omap,
	Krzysztof Kozlowski, devicetree, linux-mediatek, Ray Jui,
	Gregory Clement, Jonathan Neuschäfer, Martin Blumenstingl,
	linux-input, linux-aspeed, Chen-Yu Tsai, Alexandre Belloni,
	Jonathan Hunter, Samuel Holland, Andrew Lunn, Claudiu Beznea

On Thu, 9 Jun 2022 13:37:21 +0200, Krzysztof Kozlowski wrote:
> Merging
> =======
> 1. dt-bindings: rebased on top of Rob's:
>    https://lore.kernel.org/all/20220608211207.2058487-1-robh@kernel.org/
> 
> 2. DTS patches are independent. They can be picked up directly by sub-arch
>    maintainers, by Arnd or Olof, or eventually by me (if you wish).
> 
> [...]

Applied, thanks!

[27/48] arm64: dts: qcom: align gpio-key node names with dtschema
        commit: b08f5cbd69dcd25f5ab2a0798fe3836a97a9d7c6
[28/48] arm64: dts: qcom: correct gpio-keys properties
        commit: 5a4b0b853a2914403746b0a1decab695202ff242
[29/48] arm64: dts: qcom: sdm630-sony-xperia-nile: drop unneeded status from gpio-keys
        commit: 9d8840f6ee426b6dfcb65bdf39e2898652e2b1e5
[30/48] arm64: dts: qcom: align led node names with dtschema
        commit: 3cfe94d660a8ebc19e78ea0a4781d7e9a1054c65

Best regards,
-- 
Bjorn Andersson <bjorn.andersson@linaro.org>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-07-03  3:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-09 11:37 [PATCH v2 00/48] dt-bindings: input: gpio-keys: rework matching children Krzysztof Kozlowski
2022-06-09 11:38 ` [PATCH v2 01/48] dt-bindings: input: gpio-keys: enforce node names to match all properties Krzysztof Kozlowski
2022-06-09 15:17   ` Rob Herring
2022-06-09 11:39 ` [PATCH v2 02/48] dt-bindings: input: gpio-keys: reference input.yaml and document properties Krzysztof Kozlowski
2022-06-09 15:18   ` Rob Herring
2022-06-09 11:39 ` [PATCH v2 03/48] dt-bindings: input: gpio-keys: accept also interrupt-extended Krzysztof Kozlowski
2022-06-09 15:21   ` Rob Herring
2022-06-10  6:37 ` (subset) [PATCH v2 00/48] dt-bindings: input: gpio-keys: rework matching children Neil Armstrong
2022-07-03  3:56 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).