From: Lee Jones <lee.jones@linaro.org>
To: Rob Herring <robh@kernel.org>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Maxime Ripard <mripard@kernel.org>, Vinod Koul <vkoul@kernel.org>,
Guenter Roeck <linux@roeck-us.net>,
Jonathan Cameron <jic23@kernel.org>,
Lars-Peter Clausen <lars@metafoo.de>,
Daniel Thompson <daniel.thompson@linaro.org>,
Jingoo Han <jingoohan1@gmail.com>, Pavel Machek <pavel@ucw.cz>,
"David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>, Andrew Lunn <andrew@lunn.ch>,
Florian Fainelli <f.fainelli@gmail.com>,
Sebastian Reichel <sre@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Mark Brown <broonie@kernel.org>,
netdev@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: Fix JSON pointers
Date: Fri, 18 Dec 2020 13:13:42 +0000 [thread overview]
Message-ID: <20201218131342.GQ207743@dell> (raw)
In-Reply-To: <20201217223429.354283-1-robh@kernel.org>
On Thu, 17 Dec 2020, Rob Herring wrote:
> The correct syntax for JSON pointers begins with a '/' after the '#'.
> Without a '/', the string should be interpretted as a subschema
> identifier. The jsonschema module currently doesn't handle subschema
> identifiers and incorrectly allows JSON pointers to begin without a '/'.
> Let's fix this before it becomes a problem when jsonschema module is
> fixed.
>
> Converted with:
> perl -p -i -e 's/yaml#definitions/yaml#\/definitions/g' `find Documentation/devicetree/bindings/ -name "*.yaml"`
>
> Cc: Maxime Ripard <mripard@kernel.org>
> Cc: Vinod Koul <vkoul@kernel.org>
> Cc: Guenter Roeck <linux@roeck-us.net>
> Cc: Jonathan Cameron <jic23@kernel.org>
> Cc: Lars-Peter Clausen <lars@metafoo.de>
> Cc: Lee Jones <lee.jones@linaro.org>
> Cc: Daniel Thompson <daniel.thompson@linaro.org>
> Cc: Jingoo Han <jingoohan1@gmail.com>
> Cc: Pavel Machek <pavel@ucw.cz>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Jakub Kicinski <kuba@kernel.org>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Cc: Florian Fainelli <f.fainelli@gmail.com>
> Cc: Sebastian Reichel <sre@kernel.org>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: netdev@vger.kernel.org
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> .../devicetree/bindings/arm/idle-states.yaml | 2 +-
> .../bus/allwinner,sun50i-a64-de2.yaml | 2 +-
> .../bindings/bus/baikal,bt1-axi.yaml | 2 +-
> .../bindings/connector/usb-connector.yaml | 10 ++---
> .../devicetree/bindings/dma/dma-common.yaml | 4 +-
> .../devicetree/bindings/dma/dma-router.yaml | 2 +-
> .../devicetree/bindings/dma/ingenic,dma.yaml | 2 +-
> .../bindings/dma/snps,dma-spear1340.yaml | 10 ++---
> .../devicetree/bindings/eeprom/at24.yaml | 4 +-
> .../devicetree/bindings/eeprom/at25.yaml | 4 +-
> .../bindings/hwmon/moortec,mr75203.yaml | 2 +-
> .../bindings/hwmon/sensirion,shtc1.yaml | 4 +-
> .../devicetree/bindings/hwmon/ti,tmp513.yaml | 2 +-
> .../bindings/iio/light/upisemi,us5182.yaml | 2 +-
> .../iio/proximity/semtech,sx9310.yaml | 6 +--
> .../devicetree/bindings/input/gpio-keys.yaml | 12 +++---
> .../interrupt-controller/mti,gic.yaml | 4 +-
> .../interrupt-controller/ti,pruss-intc.yaml | 2 +-
> .../interrupt-controller/ti,sci-inta.yaml | 2 +-
> .../bindings/leds/backlight/common.yaml | 4 +-
Acked-by: Lee Jones <lee.jones@linaro.org>
> .../devicetree/bindings/leds/common.yaml | 16 ++++----
> .../devicetree/bindings/leds/leds-lp55xx.yaml | 10 ++---
> .../net/allwinner,sun8i-a83t-emac.yaml | 6 +--
> .../bindings/net/amlogic,meson-dwmac.yaml | 2 +-
> .../devicetree/bindings/net/dsa/dsa.yaml | 6 +--
> .../bindings/net/ethernet-controller.yaml | 24 ++++++------
> .../devicetree/bindings/net/ethernet-phy.yaml | 20 +++++-----
> .../bindings/net/fsl,qoriq-mc-dpmac.yaml | 2 +-
> .../devicetree/bindings/net/mdio.yaml | 2 +-
> .../bindings/net/mediatek,star-emac.yaml | 2 +-
> .../devicetree/bindings/net/qcom,ipa.yaml | 2 +-
> .../devicetree/bindings/net/snps,dwmac.yaml | 38 +++++++++----------
> .../bindings/net/socionext,uniphier-ave4.yaml | 2 +-
> .../bindings/net/ti,cpsw-switch.yaml | 2 +-
> .../devicetree/bindings/net/ti,dp83867.yaml | 12 +++---
> .../devicetree/bindings/net/ti,dp83869.yaml | 8 ++--
> .../bindings/net/ti,k3-am654-cpsw-nuss.yaml | 4 +-
> .../bindings/net/wireless/qcom,ath11k.yaml | 2 +-
> .../devicetree/bindings/phy/ti,omap-usb2.yaml | 4 +-
> .../power/mediatek,power-controller.yaml | 12 +++---
> .../bindings/power/supply/cw2015_battery.yaml | 2 +-
> .../devicetree/bindings/powerpc/sleep.yaml | 2 +-
> .../devicetree/bindings/serial/8250.yaml | 6 +--
> .../bindings/soc/ti/k3-ringacc.yaml | 2 +-
> .../sound/allwinner,sun4i-a10-codec.yaml | 2 +-
> .../bindings/sound/st,stm32-sai.yaml | 4 +-
> 46 files changed, 138 insertions(+), 138 deletions(-)
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
next prev parent reply other threads:[~2020-12-18 13:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-17 22:34 [PATCH] dt-bindings: Fix JSON pointers Rob Herring
2020-12-18 7:10 ` Vinod Koul
2020-12-18 13:13 ` Lee Jones [this message]
2020-12-18 14:48 ` Guenter Roeck
2020-12-18 16:45 ` Sebastian Reichel
2020-12-18 17:11 ` Florian Fainelli
2020-12-18 18:05 ` Mark Brown
2020-12-18 20:24 ` Jakub Kicinski
2020-12-19 17:49 ` Pavel Machek
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=20201218131342.GQ207743@dell \
--to=lee.jones@linaro.org \
--cc=andrew@lunn.ch \
--cc=broonie@kernel.org \
--cc=daniel.thompson@linaro.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=f.fainelli@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=jic23@kernel.org \
--cc=jingoohan1@gmail.com \
--cc=kuba@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=mripard@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=robh@kernel.org \
--cc=sre@kernel.org \
--cc=vkoul@kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).