From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E87A3C43217 for ; Tue, 1 Mar 2022 08:18:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233337AbiCAITg (ORCPT ); Tue, 1 Mar 2022 03:19:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231503AbiCAITf (ORCPT ); Tue, 1 Mar 2022 03:19:35 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3D7B12609; Tue, 1 Mar 2022 00:18:54 -0800 (PST) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6776A478; Tue, 1 Mar 2022 09:18:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1646122732; bh=GUeID2Un8vVSdeuDNIEpa8RZjMMEHoy9L8wSmXbuUy8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=miR5YmRNNJOlmDq2Yqs9dB5x+/XGsPj5xCWEd5d4QNz5EOGQpnsdmFZxXhyD4MKIk rbf5ayN8604es0VCCAiQRs20sEQGYm4i485kkz8RqNa01HdgUMWxmhGcc7qoMO3hEb q2nC3FtfDQ133CVtcapt7269jyXQ9M8016CxGHSY= Date: Tue, 1 Mar 2022 10:18:42 +0200 From: Laurent Pinchart To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Thierry Reding , Sam Ravnborg , Dmitry Torokhov , Pavel Machek , Lee Jones , Guenter Roeck , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , "David S. Miller" , Jakub Kicinski , Kishon Vijay Abraham I , Vinod Koul , Sebastian Reichel , Bjorn Andersson , Mathieu Poirier , Mark Brown , Greg Kroah-Hartman , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org, linux-mtd@lists.infradead.org, netdev@vger.kernel.org, linux-phy@lists.infradead.org, linux-pm@vger.kernel.org, linux-remoteproc@vger.kernel.org, alsa-devel@alsa-project.org, linux-spi@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH] dt-bindings: Another pass removing cases of 'allOf' containing a '$ref' Message-ID: References: <20220228213802.1639658-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220228213802.1639658-1-robh@kernel.org> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Rob, Thank you for the patch. On Mon, Feb 28, 2022 at 03:38:02PM -0600, Rob Herring wrote: > Another pass at removing unnecessary use of 'allOf' with a '$ref'. > > json-schema versions draft7 and earlier have a weird behavior in that > any keywords combined with a '$ref' are ignored (silently). The correct > form was to put a '$ref' under an 'allOf'. This behavior is now changed > in the 2019-09 json-schema spec and '$ref' can be mixed with other > keywords. > > Cc: Krzysztof Kozlowski > Cc: Thierry Reding > Cc: Sam Ravnborg > Cc: Dmitry Torokhov > Cc: Pavel Machek > Cc: Lee Jones > Cc: Guenter Roeck > Cc: Miquel Raynal > Cc: Richard Weinberger > Cc: Vignesh Raghavendra > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc: Kishon Vijay Abraham I > Cc: Vinod Koul > Cc: Sebastian Reichel > Cc: Bjorn Andersson > Cc: Mathieu Poirier > Cc: Mark Brown > Cc: Greg Kroah-Hartman > Cc: Laurent Pinchart > Cc: dri-devel@lists.freedesktop.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-input@vger.kernel.org > Cc: linux-leds@vger.kernel.org > Cc: linux-mtd@lists.infradead.org > Cc: netdev@vger.kernel.org > Cc: linux-phy@lists.infradead.org > Cc: linux-pm@vger.kernel.org > Cc: linux-remoteproc@vger.kernel.org > Cc: alsa-devel@alsa-project.org > Cc: linux-spi@vger.kernel.org > Cc: linux-usb@vger.kernel.org > Signed-off-by: Rob Herring Reviewed-by: Laurent Pinchart > --- > .../bindings/connector/usb-connector.yaml | 3 +-- > .../bindings/display/brcm,bcm2711-hdmi.yaml | 3 +-- > .../bindings/display/bridge/adi,adv7511.yaml | 5 ++--- > .../bindings/display/bridge/synopsys,dw-hdmi.yaml | 5 ++--- > .../bindings/display/panel/display-timings.yaml | 3 +-- > .../devicetree/bindings/display/ste,mcde.yaml | 4 ++-- > .../devicetree/bindings/input/adc-joystick.yaml | 9 ++++----- > .../bindings/leds/cznic,turris-omnia-leds.yaml | 3 +-- > .../devicetree/bindings/leds/leds-lp50xx.yaml | 3 +-- > .../devicetree/bindings/mfd/google,cros-ec.yaml | 12 ++++-------- > .../devicetree/bindings/mtd/nand-controller.yaml | 8 +++----- > .../bindings/mtd/rockchip,nand-controller.yaml | 3 +-- > .../devicetree/bindings/net/ti,cpsw-switch.yaml | 3 +-- > .../bindings/phy/phy-stm32-usbphyc.yaml | 3 +-- > .../bindings/power/supply/sbs,sbs-manager.yaml | 4 +--- > .../bindings/remoteproc/ti,k3-r5f-rproc.yaml | 3 +-- > .../devicetree/bindings/soc/ti/ti,pruss.yaml | 15 +++------------ > .../devicetree/bindings/sound/st,stm32-sai.yaml | 3 +-- > .../devicetree/bindings/sound/tlv320adcx140.yaml | 13 ++++++------- > .../devicetree/bindings/spi/spi-controller.yaml | 4 +--- > .../devicetree/bindings/usb/st,stusb160x.yaml | 4 +--- > 21 files changed, 39 insertions(+), 74 deletions(-) -- Regards, Laurent Pinchart