Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp152614rdb; Mon, 18 Sep 2023 10:43:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHfzwMLyq7b1Fyi/SKZ44MQFf8L7Yc24OPjv0Vuqg84hB5Froy0TBRmzSx24VJ9sJTMoRg4 X-Received: by 2002:a17:90a:4f01:b0:26d:1eff:619f with SMTP id p1-20020a17090a4f0100b0026d1eff619fmr8880595pjh.2.1695059030843; Mon, 18 Sep 2023 10:43:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695059030; cv=none; d=google.com; s=arc-20160816; b=n1/ODDUQDAVm3kIaNgxqvQhkuwHnpxkV/qCrYpazggWaEo0WvIAUOu8RxK7b2sXAgQ Wmp7ww2uH1FNpTWwJQ88jeZwjY6s9UqAzBNQY3EGgB4zvpzNfUwy0RUudwNHeXNU3DzI 8DKbrChFBOvMhrjOakfMSQzYmp6iV1ojvVVkYgdh7j9wvFZ4IXh8xpRRD+3o4SGASPO6 8wCMnfQKksmNgY8v2nQz0JoMWJHNgRUAHCwqcGFoLAVPTC2z+fSsFBSf8H0iLq/57arr aTCbtlguubqSfSNWzz/HpRg7JBmLoWkU1NsV6c/OolbzAzkKgZnx+bh6ygq4+/xGxACz gVEQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=E2qd1SNUMsD4wqalm4zEb5t71hkcY6dfQfMQmXerc+g=; fh=7X1hr7Jg6Vvx6xe01u9xSWlXAS74ASn6ZZJ0t33I9Jw=; b=yVASHY/NJHcB/nK5VDz8DD2RUGtMzp7l4Wf6JyGUjWfdDW8D8KHVIgqLjfVj9+dybH 2HEp8URTYA47G+VV+5E2lpVt87U1slg4bdZ3Cw3/70ddrHjdONv/wiLYXqzv2wKHJ7wa CpMD4KGZg4FmqS2BS+vuVcBeEUTsr5jrJFdJB4O16LBDBCGcoms8fYyIEOsQnS9/s6w+ FrxSqBtcKyuQFMAxyAGAb4U8iQgwWuV7eIuSm7BVs94Sjqb+T1AVU+QTlWhWYt5jlKG8 /6J1iASmjYyArK9B26/hhFESjbCy9et0ny7/ANbKUB5ToVIbZewMSbpTfSqscm3hyt/N i8xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nZeWQEtV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id gf17-20020a17090ac7d100b0026b7c4eee42si6151220pjb.66.2023.09.18.10.43.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 10:43:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nZeWQEtV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 3D2B8808725F; Mon, 18 Sep 2023 10:02:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231293AbjIRRCj (ORCPT + 99 others); Mon, 18 Sep 2023 13:02:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229981AbjIRRCh (ORCPT ); Mon, 18 Sep 2023 13:02:37 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F17B97 for ; Mon, 18 Sep 2023 10:02:32 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69AA5C32789; Mon, 18 Sep 2023 14:36:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695047804; bh=IfcPayrszXf2AFTeibhLXb3wqIzPd0LKfNZxtwS2mfk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nZeWQEtVhgSV6zJLG6o5IXSaR68hUpTRf84ck71DeXjPwJBEuf465kAsXO0OIraKx D+Tt3aS4URLcc4nNkBLWeX1CAiMu0KQXOJbwdfZKUQk/waKBE0pxRNBc0pqyC3pbgU 293RWwkRWfptDXMenR/SBAIzOtwJoIdfy9LL5TS4TJ2KvjuZ+HRuCXebsVkM1Rp1h9 1LVIwQ3833st29eO+gDgGSDuuq0hqadBFGMmNLphanSXOZkVa9nTy/+c9eXuXOJN4N 1SWxqmx3Deu5Qp/9fdt8xq3hJZqIjTVSzEB1H9/cWTBXzjRFfexR/nanZPPPKBQtII l4OVpDdS4hxmg== Date: Mon, 18 Sep 2023 15:36:39 +0100 From: Lee Jones To: Rob Herring Cc: linux-kernel@vger.kernel.org, Linus Walleij , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Conor Dooley Subject: Re: [PATCH] dt-bindings: mfd: armltd: Move Arm board syscon's to separate schema Message-ID: <20230918143639.GP13143@google.com> References: <20230915201520.4179115-1-robh@kernel.org> <169481377499.149218.2656119781038291714.robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <169481377499.149218.2656119781038291714.robh@kernel.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 18 Sep 2023 10:02:47 -0700 (PDT) On Fri, 15 Sep 2023, Rob Herring wrote: > > On Fri, 15 Sep 2023 15:15:05 -0500, Rob Herring wrote: > > The Arm Ltd board bindings are a bit unusual in that they define child > > nodes for various syscon's. The schemas are also incomplete as they lack > > constraints on having additional properties and some properties are > > missing. As the bindings for the different platforms only vary by > > compatibles, combine them into a single schema doc. > > > > Add the "arm,im-pd1-syscon" compatible which was not documented. Add > > "ranges", "#address-cells", and "#size-cells properties which were > > missing. > > > > Signed-off-by: Rob Herring > > --- > > .../bindings/arm/arm,integrator.yaml | 39 ----------- > > .../devicetree/bindings/arm/arm,realview.yaml | 37 ---------- > > .../bindings/arm/arm,versatile.yaml | 40 +++-------- > > .../mfd/arm,dev-platforms-syscon.yaml | 67 +++++++++++++++++++ > > 4 files changed, 75 insertions(+), 108 deletions(-) > > create mode 100644 Documentation/devicetree/bindings/mfd/arm,dev-platforms-syscon.yaml > > > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > on your patch (DT_CHECKER_FLAGS is new in v5.13): Errr ... I'm a little torn. Do I trust the maintainer or his bot? :) > yamllint warnings/errors: > > dtschema/dtc warnings/errors: > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/leds/register-bit-led.example.dtb: syscon@10000000: compatible: 'oneOf' conditional failed, one must be fixed: > ['arm,realview-pb1176-syscon', 'syscon'] is too short > 'arm,realview-pb1176-syscon' is not one of ['arm,integrator-ap-syscon', 'arm,integrator-cp-syscon', 'arm,integrator-sp-syscon', 'arm,im-pd1-syscon'] > 'arm,realview-pb1176-syscon' is not one of ['arm,realview-eb11mp-revb-syscon', 'arm,realview-eb11mp-revc-syscon'] > 'arm,realview-eb-syscon' was expected > from schema $id: http://devicetree.org/schemas/mfd/arm,dev-platforms-syscon.yaml# > > doc reference errors (make refcheckdocs): > > See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230915201520.4179115-1-robh@kernel.org > > The base for the series is generally the latest rc1. A different dependency > should be noted in *this* patch. > > If you already ran 'make dt_binding_check' and didn't see the above > error(s), then make sure 'yamllint' is installed and dt-schema is up to > date: > > pip3 install dtschema --upgrade > > Please check and re-submit after running the above command yourself. Note > that DT_SCHEMA_FILES can be set to your schema file to speed up checking > your schema. However, it must be unset to test all examples with your schema. > -- Lee Jones [李琼斯]