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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8F24CC433EF for ; Fri, 17 Jun 2022 13:59:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:References:In-Reply-To:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=zBEIshCiNa+W1QDRLcF6MiW8CefmoM3vrijwkcZneLw=; b=Eid35Jzc2ebHWp4spZhI9ktzfW /9jDmNlu35NHiAVh6BMO0NfHg/ZKH5S8WqVZGaSVoyb2sJaw2RGkRuIqfgblVidsxngq7AufQVt5V PBCPXcdAa82bEtZIEV+ig56WxzIrjTwc1254nGRAEWiEsJO6JdW6h3pC52yLtQFvx/Z3Oab7q4H3d izRqkQVp9W5NIX6dAZP9HHlZnn+0HmrivpFvwqwFwW84aMq/fA4VnGw+WWoi93jsiPPioUmfZHTBD OYA/BMi2WOZALuV8oODBY9Txg980dFH8ZULeU/p2yvAW/Lve9euIwDXBxFMKQPoI5lT7tuWhkLjv3 lLzziKhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o2CUi-007tUW-ES; Fri, 17 Jun 2022 13:58:40 +0000 Received: from mail-io1-f52.google.com ([209.85.166.52]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o2CUf-007tU2-2L for linux-arm-kernel@lists.infradead.org; Fri, 17 Jun 2022 13:58:38 +0000 Received: by mail-io1-f52.google.com with SMTP id c189so4616614iof.3 for ; Fri, 17 Jun 2022 06:58:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject:date :message-id; bh=lbcreYN4VPYy/7BTtnrYijE6k2/8OFKvf2b09R9U1rM=; b=X6JAzBqxs4KvBsK0394XqZ6dtNZDg2gNOKbWgkQtQE7+NWCerupnlL0YKXY8Re3v23 +GLbkjmmUiOWCvJwfR6UOStma73ItxTSPtfiY8IDkJTy5oed25XqDikrAc8jrNr6X3bj h95d5+fQJnhLv8mWMCObyYEp2NcOXtDRtF83Bo69WjIOeG0cMiO45q0bSnxcFkvk3m3P r7IrofOTgCeRXkEd0bjfrY89AcXXgg9AS0r+ApiUG+tXcMOe6JxJsbYnDb1mN9+yR2mC gIiPNg5UdjuAG7f0NSYmXIFdUHqCjh2H5dYBKxS5tORRWRMcBR4xRFV9w+xw1IVrBNSo 12fw== X-Gm-Message-State: AJIora8KnbdcN30mNj58N96++rgnuvrWBnCB94DTfREwN6LVQERnACz6 dgNjxM6oR+dwovCEwCK87Yok1zVmeA== X-Google-Smtp-Source: AGRyM1sZImmgKGvXl9lNZCtvIonUpMe2eH9SdATYtuai25d6h0SGbbNKAcwmJhGbh3nw4UVIq+uLiA== X-Received: by 2002:a05:6638:160f:b0:332:6ac:ed93 with SMTP id x15-20020a056638160f00b0033206aced93mr5660462jas.222.1655474314922; Fri, 17 Jun 2022 06:58:34 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.251]) by smtp.gmail.com with ESMTPSA id i186-20020a6bb8c3000000b0065a47e16f44sm2556059iof.22.2022.06.17.06.58.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 06:58:34 -0700 (PDT) Received: (nullmailer pid 1508987 invoked by uid 1000); Fri, 17 Jun 2022 13:58:32 -0000 From: Rob Herring To: Kavyasree Kotagiri In-Reply-To: <20220617130729.12072-3-kavyasree.kotagiri@microchip.com> References: <20220617130729.12072-1-kavyasree.kotagiri@microchip.com> <20220617130729.12072-3-kavyasree.kotagiri@microchip.com> Subject: Re: [PATCH v4 2/3] dt-bindings: mfd: atmel,flexcom: Add new compatible string for lan966x Date: Fri, 17 Jun 2022 07:58:32 -0600 Message-Id: <1655474312.871814.1508986.nullmailer@robh.at.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220617_065837_147562_D9BA8542 X-CRM114-Status: GOOD ( 14.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, UNGLinuxDriver@microchip.com, Claudiu.Beznea@microchip.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 Fri, 17 Jun 2022 18:37:28 +0530, Kavyasree Kotagiri wrote: > LAN966x SoC flexcoms has two optional I/O lines. Namely, CS0 and CS1 > in flexcom SPI mode. CTS and RTS in flexcom USART mode. These pins > can be mapped to lan966x FLEXCOM_SHARED[0-20] pins and usage depends on > functions being configured. > > Signed-off-by: Kavyasree Kotagiri > --- > v3 -> v4: > - Added else condition to allOf:if:then. > > v2 -> v3: > - Add reg property of lan966x missed in v2. > > v1 -> v2: > - Use allOf:if:then for lan966x dt properties > > .../bindings/mfd/atmel,flexcom.yaml | 80 ++++++++++++++++++- > 1 file changed, 79 insertions(+), 1 deletion(-) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml: allOf:0:else:properties:reg: {'maxItems': 1, 'items': [{'description': 'Flexcom base regsiters map'}]} should not be valid under {'required': ['maxItems']} hint: "maxItems" is not needed with an "items" list from schema $id: http://devicetree.org/meta-schemas/items.yaml# /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml: allOf:0:then:properties:reg: 'oneOf' conditional failed, one must be fixed: [{'description': 'Flexcom base regsiters map'}, {'description': 'Flexcom shared registers map'}] is too long [{'description': 'Flexcom base regsiters map'}, {'description': 'Flexcom shared registers map'}] is too short False schema does not allow 2 1 was expected hint: "minItems" is only needed if less than the "items" list length from schema $id: http://devicetree.org/meta-schemas/items.yaml# /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mfd/atmel,flexcom.yaml: ignoring, error in schema: allOf: 0: else: properties: reg Documentation/devicetree/bindings/mfd/atmel,flexcom.example.dtb:0:0: /example-0/flexcom@f8034000: failed to match any schema with compatible: ['atmel,sama5d2-flexcom'] Documentation/devicetree/bindings/mfd/atmel,flexcom.example.dtb:0:0: /example-0/flexcom@f8034000/spi@400: failed to match any schema with compatible: ['atmel,at91rm9200-spi'] Documentation/devicetree/bindings/mfd/atmel,flexcom.example.dtb:0:0: /example-1/flexcom@e0064000: failed to match any schema with compatible: ['microchip,lan966x-flexcom'] Documentation/devicetree/bindings/mfd/atmel,flexcom.example.dtb:0:0: /example-1/flexcom@e0064000/spi@400: failed to match any schema with compatible: ['atmel,at91rm9200-spi'] doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/patch/ This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1. 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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel