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=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 D654EC433E0 for ; Thu, 28 May 2020 23:57:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B2F17206DF for ; Thu, 28 May 2020 23:57:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590710272; bh=BXf/SW4dWDbBPrewfjseTUvAldHNwVnCxUzW/jYRIso=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=HC6XDghHa3lCUGPPWS3v8JMmuYUewyXiHGlk9Lmz5jhijv3vkCkeeYemDpcLj+lCD P8PaYto8nI3IImQ3Z7vkxLSc6NLbKAdnvXT7DOUnatI9ZxJCIo3WSRNnuNbTwuGszP IgzhiuLnzO4tCu5kA8Ce1VrzD1lvnzqKegQrjnK8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437889AbgE1X5t (ORCPT ); Thu, 28 May 2020 19:57:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437807AbgE1X5j (ORCPT ); Thu, 28 May 2020 19:57:39 -0400 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67D04C08C5C6; Thu, 28 May 2020 16:28:13 -0700 (PDT) Received: by mail-io1-xd42.google.com with SMTP id p20so359268iop.11; Thu, 28 May 2020 16:28:13 -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=TyiQfJD3hL2bx61mfoIKfduMebYmrhxlynjYDT9d88c=; b=fRSTGJBTMBF5GN7OzR7s8m65l6lActjAnbcMSKFaXnAo0WZUdBH99yw6nCi60ahaOj KEnNay58BxuIqc5PVm4dsmu47meqO+X+lOvTFl3+3BM4x9oGFLEeapzNSjBTmTd87I9u 9jd88QNuNHMeajPIofkd0vutDcWjEIdqnthSZ4XegK6xUXLz+Qxb3z1big4T0nAE99SG 12jWitgrlhwLcErp4YPj4ibuRV+o+sL9jp+Yw3Dq06X1Bpc4L53FoJnk086FvLHhIMzi EIATGHwVwgIoRuZi+kVdOrjr9XTcfezxxDvxhzzoCZjNK+wp0swvrO4zGaRovp3rG3fA g1Dg== X-Gm-Message-State: AOAM533GHq/bJoetDC8ZxCq6JoS09QQB75RywIlxMZCRhgJBN7dkXmzW L0zEhtDQBasWww6MqGZ0dg== X-Google-Smtp-Source: ABdhPJzwZW2EhMkkbIXtdNTMdB0TlTz41GM4zNjP0y8P8k5r4zwMXjiSzqqL6GY48s44vD79gjqgtg== X-Received: by 2002:a5e:970a:: with SMTP id w10mr4276081ioj.114.1590708492723; Thu, 28 May 2020 16:28:12 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id b26sm1585795ilg.84.2020.05.28.16.28.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 May 2020 16:28:11 -0700 (PDT) Received: (nullmailer pid 875402 invoked by uid 1000); Thu, 28 May 2020 23:28:10 -0000 Date: Thu, 28 May 2020 17:28:10 -0600 From: Rob Herring To: Serge Semin Cc: Alexey Malahov , Ralf Baechle , Georgy Vlasov , linux-kernel@vger.kernel.org, Mark Brown , Paul Burton , Arnd Bergmann , linux-spi@vger.kernel.org, Wan Ahmad Zainie , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, Thomas Bogendoerfer , Serge Semin , Rob Herring , Gareth Williams , Andy Shevchenko , Ramil Zaripov Subject: Re: [PATCH v4 16/16] dt-bindings: spi: Convert DW SPI binding to DT schema Message-ID: <20200528232810.GA875356@bogus> References: <20200522000806.7381-1-Sergey.Semin@baikalelectronics.ru> <20200522000806.7381-17-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200522000806.7381-17-Sergey.Semin@baikalelectronics.ru> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 22 May 2020 03:08:05 +0300, Serge Semin wrote: > Modern device tree bindings are supposed to be created as YAML-files > in accordance with dt-schema. This commit replaces two DW SPI legacy > bare text bindings with YAML file. As before the bindings file states > that the corresponding dts node is supposed to be compatible either > with generic DW APB SSI controller or with Microsemi/Amazon/Renesas/Intel > vendors-specific controllers, to have registers, interrupts and clocks > properties. Though in case of Microsemi version of the controller > there must be two registers resources specified. Properties like > clock-names, reg-io-width, cs-gpio, num-cs, DMA and slave device > sub-nodes are optional. > > Signed-off-by: Serge Semin > Cc: Georgy Vlasov > Cc: Ramil Zaripov > Cc: Alexey Malahov > Cc: Thomas Bogendoerfer > Cc: Paul Burton > Cc: Ralf Baechle > Cc: Arnd Bergmann > Cc: Andy Shevchenko > Cc: linux-mips@vger.kernel.org > --- > .../bindings/spi/snps,dw-apb-ssi.txt | 44 ------ > .../bindings/spi/snps,dw-apb-ssi.yaml | 127 ++++++++++++++++++ > .../devicetree/bindings/spi/spi-dw.txt | 24 ---- > 3 files changed, 127 insertions(+), 68 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.txt > create mode 100644 Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml > delete mode 100644 Documentation/devicetree/bindings/spi/spi-dw.txt > Reviewed-by: Rob Herring