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 4DE14C43334 for ; Tue, 12 Jul 2022 22:31:01 +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=0P7bkQcjl8EHgHUgL85E0r/CHrdEAREB1WUvxJ+G2a0=; b=GAEgfYyqfPeLhgviAN2SfeMmDT a10NGGdE5FArX8gWBuNcW7pNM0Q0TadBRSZuMydq1k1i4oUXVDetpz0JXRx4f+lthnOU5/zDK010q aRpdZ9plDGBm0DyLjpTRTb1HnfFrBG8edETKC7/JxCao/GVEOv7AfbH6WC/MVUVU/zTwgPLm4xYLD hUA4XmFOQj/V41vsKjWLYldihoDZVWCkAdmwJ/LUfphyS5n5StaVT6slOAQxzMCjzIDxBRaLqRLHw +mY/5jOoaiwE3IgKCzD+WJUApSgHPDMjny7rAJMNNLZZFe2YnL5Kz/SWAMgyyxpb6NzhD9n2eDJlz cY85K7bQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBONy-00FNMI-9k; Tue, 12 Jul 2022 22:29:42 +0000 Received: from mail-il1-f180.google.com ([209.85.166.180]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBONv-00FNL1-CR for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2022 22:29:40 +0000 Received: by mail-il1-f180.google.com with SMTP id m14so5710248iln.10 for ; Tue, 12 Jul 2022 15:29:38 -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=U+O3UQuvrvrntFqlfRAKrW204ra9jF/x0VyVbWf6pwM=; b=nvCIpZlhPAKD4jtKGc04euMUKkn/V4o+96mlLj0asSj058geopJthBy1QyfPsF5Ru2 /N3VaxlbSoL4XF3mayLhxcmUnW8j0+EQo7jfsZ4869DcLYlsKotztyXT9kCn+ZJs8tKM A6X2GUELmuso5ZxZeb8RDfn+Xei/YUK+eQm9EWVUYBxbcg+eNpkbwy/1IaijKsI27NOZ ATXXDRaIqyuiIu5JdtBolj4p6hnvknaTEHjVrguLPThJTjdj/9mnpjOVSoOdKmxTr22L YyVlihHnmdVVYVUWWO7WEF1UAe32R9Rjs2I6nx2Jxr1XVKyHTrg3d52MY/5sqj16vvZx 4uJw== X-Gm-Message-State: AJIora/yOE4b/sFs4nc6ytTPyoccsEpLHzu71ehNhHZfa1RlnT1hKG7f 1rtiaKclRcZ0GH3PxsCEZ/XeZ2Q/Zg== X-Google-Smtp-Source: AGRyM1vzqJULwIdhRWBsK+4KRBHFMl1w3TlwQ3/TXmQ1gQ8Clp03fp2vjiMRSHmdvjYLtdm5y+Gj/w== X-Received: by 2002:a05:6e02:1291:b0:2dc:2936:8da0 with SMTP id y17-20020a056e02129100b002dc29368da0mr223462ilq.283.1657664978022; Tue, 12 Jul 2022 15:29:38 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id m15-20020a924b0f000000b002dc7bfe144dsm2767995ilg.84.2022.07.12.15.29.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jul 2022 15:29:37 -0700 (PDT) Received: (nullmailer pid 2476653 invoked by uid 1000); Tue, 12 Jul 2022 22:29:35 -0000 From: Rob Herring To: Sergiu Moga In-Reply-To: <20220712162554.148741-1-sergiu.moga@microchip.com> References: <20220712162554.148741-1-sergiu.moga@microchip.com> Subject: Re: [PATCH v3] spi: dt-bindings: atmel,at91rm9200-spi: convert to json-schema Date: Tue, 12 Jul 2022 16:29:35 -0600 Message-Id: <1657664975.846030.2476652.nullmailer@robh.at.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220712_152939_437417_44EB5531 X-CRM114-Status: GOOD ( 15.41 ) 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, alexandre.belloni@bootlin.com, Kavyasree.Kotagiri@microchip.com, tudor.ambarus@microchip.com, linux-kernel@vger.kernel.org, broonie@kernel.org, linux-spi@vger.kernel.org, Krzysztof Kozlowski , 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 Tue, 12 Jul 2022 19:25:55 +0300, Sergiu Moga wrote: > Convert SPI DT binding for Atmel/Microchip SoCs to json-schema. > > Signed-off-by: Sergiu Moga > Reviewed-by: Krzysztof Kozlowski > --- > > v1 -> v2: > - change subject headline prefix from "dt-bindings: spi" to "spi: atmel" > - change maintainer > - kept the compatbile as items (instead of switching to enums) and at91rm9200 > as fallback for sam9x60, since the evolution of IP's is incremental. > - removed unnecessay "cs-gpios" property and descriptions > - added min/max for fifo-size property. > > > v2 -> v3: > - change subject headline prefix from "spi: atmel" to > "spi: dt-bindings: atmel,at91rm9200-spi: convert to json-schema" > - use enum instead of a range for "atmel,fifo-size" > > > .../bindings/spi/atmel,at91rm9200-spi.yaml | 76 +++++++++++++++++++ > .../devicetree/bindings/spi/spi_atmel.txt | 36 --------- > 2 files changed, 76 insertions(+), 36 deletions(-) > create mode 100644 Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml > delete mode 100644 Documentation/devicetree/bindings/spi/spi_atmel.txt > 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/spi/atmel,at91rm9200-spi.yaml: properties:enum: [16, 32] is not of type 'object', 'boolean' from schema $id: http://json-schema.org/draft-07/schema# ./Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml: $id: relative path/filename doesn't match actual path or filename expected: http://devicetree.org/schemas/spi/atmel,at91rm9200-spi.yaml# /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml: ignoring, error in schema: properties: enum Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.example.dtb:0:0: /example-0/spi@fffcc000: failed to match any schema with compatible: ['atmel,at91rm9200-spi'] Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.example.dtb:0:0: /example-0/spi@fffcc000/mmc@0: failed to match any schema with compatible: ['mmc-spi-slot'] 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