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 X-Spam-Level: X-Spam-Status: No, score=-13.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25698C43461 for ; Tue, 15 Sep 2020 19:44:48 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D1DDE206DB for ; Tue, 15 Sep 2020 19:44:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YladktIS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D1DDE206DB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AIohrOd/sktnT7fqFFFpbKHljwW4VzkovRHbp+o0EuY=; b=YladktISEk6apGkPnCF+CMKQw ITxDfPwPXYrdqL+nM1hN9+RrT2jwLdA96uPffZDPuhg7HiXUO9kqZldQTO4n26O6u7PhSnmjIB7++ weYuKp+7ohW0JTv7ak9o7xSr/IYu1THU4zBtpWcteHvIgGG7/CZBkOHEAVKItPYF76v2NNqcw35d0 PRFZyAL+iLkkG4xZ+gu1aisddg1K9u+PpsTL6IA4SfOW+sGoT5187bZxqZXXMCabjFp8KXes0sBd/ M/+/7CcQLaS0iRc6gjTetYY7TTDx8ZZ900NNJRRB4iyvhGHnVemKwOCq6LjBWt2RnOMMSFEqdabre 8+5hscQlg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIGrS-0002zX-6r; Tue, 15 Sep 2020 19:43:30 +0000 Received: from mail-io1-f65.google.com ([209.85.166.65]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIGrO-0002yS-Re for linux-arm-kernel@lists.infradead.org; Tue, 15 Sep 2020 19:43:27 +0000 Received: by mail-io1-f65.google.com with SMTP id h4so5476445ioe.5 for ; Tue, 15 Sep 2020 12:43:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=eRZQhzTMmUeiuKlmoGBp2VVdP4CJK3/kYrIG+y2NeFo=; b=lCLKNH6HUkWxKDwa7ySaAOUIEsXYArLCZqaxCcZHgJ2X/8K6afQUBF8ZRjL3iiYcds +p3nXuBa5D1MfjMBrwcXKAbI4CytokCNtMDTbPAKK4LIDpe2z21Zzf9I5gKxtQeunhT2 56uHTRSLiJT9c4DGOCaRiComZo8ZJP6ZAUVOz919mNtENzey2UdFQ4LqpatFIyshW7sF a6kJ1eVh404FJhzWYaYgZ2zH962ymtSXjg5FVg4Nhnbkr6TKR32X92JgAPnAwn4H80BP HfFbgt8zvQkaDXLc8aXnQ3in9tkz0TsrC859VtK/w+ib8ois4X4dgTfJRB1uzwdze/YL FLDQ== X-Gm-Message-State: AOAM5318jv8wDY/P8KpSdwkvSkdZBKbtYujev+ttoMqXMzalGSAa4y2T Mh2RZJQGk89aFk0xuDsSpBlIXCPST9Axddk= X-Google-Smtp-Source: ABdhPJxnXWTYKNffPmeuhGOFEm7G5Yf/fEtWzDxYMOeM7FZMNDfZGxx3N8Ni10M0QTyXrE9I8ZxqQA== X-Received: by 2002:a6b:700f:: with SMTP id l15mr16331604ioc.168.1600199006137; Tue, 15 Sep 2020 12:43:26 -0700 (PDT) Received: from xps15 ([64.188.179.253]) by smtp.gmail.com with ESMTPSA id n68sm9704118ila.43.2020.09.15.12.43.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 12:43:25 -0700 (PDT) Received: (nullmailer pid 2381919 invoked by uid 1000); Tue, 15 Sep 2020 19:43:24 -0000 Date: Tue, 15 Sep 2020 13:43:24 -0600 From: Rob Herring To: Krzysztof Kozlowski Subject: Re: [PATCH v3 3/4] dt-bindings: i2c: imx: Add properties and use unevaluatedProperties Message-ID: <20200915194324.GA2379924@bogus> References: <20200910182244.5815-1-krzk@kernel.org> <20200910182244.5815-3-krzk@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200910182244.5815-3-krzk@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200915_154326_983319_F73D3436 X-CRM114-Status: GOOD ( 18.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Wolfram Sang , Shawn Guo , Sascha Hauer , linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Sep 10, 2020 at 08:22:43PM +0200, Krzysztof Kozlowski wrote: > Additional properties actually might appear (e.g. power-domains) so > describe all typical properties, reference generic i2c schema and use > unevaluatedProperties to fix dtbs_check warnings like: > > arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: i2c@30a20000: > '#address-cells', '#size-cells', 'pmic@25' do not match any of the regexes: 'pinctrl-[0-9]+' > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v2: > 1. None > > Changes since v1: > 1. Add more properties and include /schemas/i2c/i2c-controller.yaml# > --- > Documentation/devicetree/bindings/i2c/i2c-imx.yaml | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.yaml b/Documentation/devicetree/bindings/i2c/i2c-imx.yaml > index 810536953177..19c9daba6e9f 100644 > --- a/Documentation/devicetree/bindings/i2c/i2c-imx.yaml > +++ b/Documentation/devicetree/bindings/i2c/i2c-imx.yaml > @@ -9,6 +9,9 @@ title: Freescale Inter IC (I2C) and High Speed Inter IC (HS-I2C) for i.MX > maintainers: > - Wolfram Sang > > +allOf: > + - $ref: /schemas/i2c/i2c-controller.yaml# > + > properties: > compatible: > oneOf: > @@ -38,6 +41,9 @@ properties: > - fsl,imx8mp-i2c > - const: fsl,imx21-i2c > > + '#address-cells': true > + '#size-cells': true Drop these. > + > reg: > maxItems: 1 > > @@ -75,7 +81,7 @@ required: > - interrupts > - clocks > > -additionalProperties: false > +unevaluatedProperties: false > > examples: > - | > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel