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 470FEC43334 for ; Tue, 12 Jul 2022 16:33:30 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6C7AjLrgDsNx5Uw5qjLDB2aGjIe12hNPcmwdQm+vmJw=; b=sC/LbfOCsdCezU 9COSJAF1BC6s56cl5uLkgtOv2XCnIcTacePlkCujBiBj2xX25iwLvf8uNCOfr/gLRM8gXWYdUkteX P7xc9JfZ/rFBANRN5u0EaIARmqHvQT5TROIqI1mVLBhZabJ6AP+MDhPRxlSo9Nqk9y7pbXc7DTOl2 90klC0e7DZgZscqiMrGPfe/O1ZlNIoHroVwPIL5kcSh1oLInt560/HfDkTuoN2JFS9nAjejR8k0dt DIVzRhsTDBLKYs6lKacb49nErZYwW0SEHdKKJ2juPabq1OoT/eKauoS0/hrYpGR8wzvPMNzbY8i/3 oFUe62P7yGx6HF7B4KGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBIoJ-00CqGp-9A; Tue, 12 Jul 2022 16:32:31 +0000 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oBIoE-00CqDh-TB for linux-arm-kernel@lists.infradead.org; Tue, 12 Jul 2022 16:32:28 +0000 Received: by mail-lf1-x134.google.com with SMTP id bu42so14917978lfb.0 for ; Tue, 12 Jul 2022 09:32:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=bGU0yXesemRThSvHGP4URgc+lQcVUG1tVloK/aCPF+s=; b=LdcYHBSVEo9pFeFsLsb9svxhl3ksXrKn+bSRtdCJl93S3DP0k0R8a0GFyUqvmz5AGT uqG+zDUzzlNas8knMHcjbFRnOaV6boVSZlpgcaJln37yQDV6KM8iDejLaQ4OaiTRCy+g mz3Ck76y1aNFzPlFFAqNQNP+RdudRMK5noFDSC93yPsckPhCD/+PEJvwahdxSOn9N6pn CtKYt3u6x7gbkw6+mwHGkUrqPOQNRD/N+FwL62oMLQ3sAuh1JkGudJWWY11wzyvntHSP F18sz9j3dRL0rY90cfHXt5n0wqQE2qxKi8MbEdsY2lyglIObO1B65sn0f1OlOxVqDa5K UC3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=bGU0yXesemRThSvHGP4URgc+lQcVUG1tVloK/aCPF+s=; b=SoEAzYv6vZwMmNgxomjN2wQuFbYqFUJzu1X2zltluKJ5JbK0Fb48HCWky2IX7KMXkC v2oSJ6KiWiAcGR1QRY5Q006Rm7N9GjZeOSc4ewBICNJH4HuMWJiYP2RnIEPo4Y/G0FN0 YLrchs61atRAWWe2sJf4k2d+JTt+kuh+SI1JX4fLMukgBehuYQ8LWbR1EU5WCqWS1Q14 lKJycQ5L9kvNTXOFP0i9DFqrGQhWlZz1ThLBs6Z0QC0FQNgqmhPl57teLbUKr6NQSdsK ufkWl18h3Lx2FWXEWS/HyLhPXFR9Ylmt/24iGc0qJbAOkSWPz8bjkO/Ke6xgV/cNcx2s JydQ== X-Gm-Message-State: AJIora9N20rE4SFbPXyZRL0wf5FjnnD3Fj37yTJRC7mtdZA4ncbSy4rv ZUZWqn/lrbVwBppG/Vgrpyq+Jw== X-Google-Smtp-Source: AGRyM1tRmrglXSwIf2mjhymrTfdr0BxGH2TkYY7cXGNmj1tK75CzEIgDKoisOCiHoVLqaoQr58IZdg== X-Received: by 2002:a05:6512:2254:b0:489:d168:20cf with SMTP id i20-20020a056512225400b00489d16820cfmr9867374lfu.97.1657643543577; Tue, 12 Jul 2022 09:32:23 -0700 (PDT) Received: from [10.0.0.8] (fwa5da9-171.bb.online.no. [88.93.169.171]) by smtp.gmail.com with ESMTPSA id p21-20020a056512235500b0047255d210easm2273054lfu.25.2022.07.12.09.32.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Jul 2022 09:32:22 -0700 (PDT) Message-ID: Date: Tue, 12 Jul 2022 18:32:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v3] spi: dt-bindings: atmel,at91rm9200-spi: convert to json-schema Content-Language: en-US To: Sergiu Moga , broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, claudiu.beznea@microchip.com Cc: linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kavyasree.Kotagiri@microchip.com, UNGLinuxDriver@microchip.com, tudor.ambarus@microchip.com References: <20220712162554.148741-1-sergiu.moga@microchip.com> From: Krzysztof Kozlowski In-Reply-To: <20220712162554.148741-1-sergiu.moga@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220712_093226_977007_3C4DD825 X-CRM114-Status: GOOD ( 18.51 ) 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: , 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 12/07/2022 18:25, 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 > > diff --git a/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml b/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml > new file mode 100644 > index 000000000000..084897cc8f66 > --- /dev/null > +++ b/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml > @@ -0,0 +1,76 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +# Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/spi/atmel,spi.yaml# You need to test the bindings. > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Atmel SPI device > + > +maintainers: > + - Tudor Ambarus > + > +allOf: > + - $ref: spi-controller.yaml# > + > +properties: > + compatible: > + oneOf: > + - items: I missed that part - this is one item, so no "items". Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel