Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3575408pxm; Tue, 1 Mar 2022 00:45:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJy78sPh7GOE4VXZ7bAe8tkQB74dAr7Se2AjtFHEW8JMunGaaqgOGyxtkJt8H0XuXhCYjTDR X-Received: by 2002:a63:f315:0:b0:376:2310:ffed with SMTP id l21-20020a63f315000000b003762310ffedmr18372841pgh.23.1646124342874; Tue, 01 Mar 2022 00:45:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646124342; cv=none; d=google.com; s=arc-20160816; b=otlMmIyc8qeNlQnWutAtr1rQ5ew8eJ0qfAHRxgu6hyiWHh/PvRt5Dw9IR5CytWI5Z4 yuLWqvQ/nmoqUerNGk9cbGHhWfj1fzJdaIiX2+VQF0VkO9o+619FGOvpqiYw+3un6a3S C464FUgVzlTKAOc1kzYlO98oxy6I7nZL2Ik9PFLLh7oI1redPsxKIz2Hm678VsjDY3Nn 301RKT+g3F/hhllB3/SIdIjrLxIHvUTlPjCZUW8HWSLA05/NGzUG+pYCSX5/VmT6TWjs DAupQ23VWlIk/h7mmmxcGMWjaml8iUV931CFxZipi093CWCYt5EqEG9tRIGyfyPdxEnC wzPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=N0+4L5VPRyoCej5fuZn72KVkyLfbi+U91G01cqQtbdU=; b=zt0mn3LRns9qj7S3WOS4e4m2OVDhGPqZfD3lxuY11jixDz2Mv6L2KaLWjVSdeEqcp8 uvHOXZFsJRUm+Pi12Lf1rfC5/qp+npZSpppW5n3Z8EBsk4tkuh+sqXkcLa65mt0KnodA sfrGakYk8q6LLa1xMRDkzNg8jB7jtNFTu2qZ97LuRZeohKm9fsToKcycKmv79p7jJ5Ov B7WXX4myauYhRtxHtv+FwlyNL40UTTqMFOZ7HlpIrg8Y0CgHj9krAVhy9toUsoXKb3hu GpAEdwLNmrgTdZ5BguT7jTkhvN5AY7RvZa8xPVFhAcJlfzOgQaFrYMBpym4TyHP74kw4 mU2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=miR5YmRN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h2-20020a170902b94200b0015161c0ea2esi5811325pls.164.2022.03.01.00.45.28; Tue, 01 Mar 2022 00:45:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=miR5YmRN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233361AbiCAITh (ORCPT + 99 others); Tue, 1 Mar 2022 03:19:37 -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> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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