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=-10.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 autolearn=unavailable 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 5FD3DC433EA for ; Mon, 27 Jul 2020 20:40:26 +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 303992074F for ; Mon, 27 Jul 2020 20:40:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZqK9fb54" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 303992074F 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=VhCBgUcoZ31O3nTXVJafIGhJjSR93n6tKyvlc2HDV50=; b=ZqK9fb547WEocH1El7A2fw8TT P3yimAMR+w2L2wg7mML0JZ7UUJC1TEfRTwlDWROu2kMf3ueN3fy0BvcGpPq+gA5nJHLpSXWr21Sf1 4pp67nbnEztm9y2+sZDWty+p3d3Xwpo0Ot51ziOstQv0kRtrULpuAJ0gmBJg7pcjG2lbrY4CVKoFz SekvcPuueowkqyo41v+qAxqYsrwPSDL12ivjYjn1YtZr54a74YocPPfypreMSMHzm5pRF3DrCJPhd ErVkRL73n75JN7XoPYn/oPMpiIUhkIvR/6hyeyFdo82a4TZ2UFH/U4xDA9Jjr/vfKFyF1ODyu0qsZ URDbs6faA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k09tc-0004Xp-6O; Mon, 27 Jul 2020 20:38:52 +0000 Received: from mail-il1-f196.google.com ([209.85.166.196]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k09ta-0004Wr-86 for linux-arm-kernel@lists.infradead.org; Mon, 27 Jul 2020 20:38:51 +0000 Received: by mail-il1-f196.google.com with SMTP id j9so10896614ilc.11 for ; Mon, 27 Jul 2020 13:38:49 -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=cKdW+grdmMQSHxJMAoZvPNlBL11Q09cWhyyo13ys2bI=; b=l/xlNWInfcSZrKFspDJBcjOEss1IOMMTsDhU6HVFJYpJ/6u0OOxpviBKn9qWyoTy+c Z/qTf91DbbPdz/z3BCKfpozdROyCIIcKYiPuelwTDWA8auIV/uyEd7KW+YzezODiVbUf x4Zgrb1nc2DzfTAItT9rLOUKXp3yNgwpMXj0euNK8i6S0j+pcVfByZKvETvvuK5aA+B9 AFGLWsJgy0mGQBJvkS2H1GdNSvdWZRi5G9kEzzrRt0A+z3kIgtjngwNS6yPsaCSLGUaC DZETwg0whiTAslsQBPUBx8yYi+9rvfEViZbBp7fwfuv3Xjfasht9ZnpvGpopdEf7+/6h MVlw== X-Gm-Message-State: AOAM533VIpyv5RdwIQ/rfGNtGRv2i7gZTSs13mfdp/NHbL50WcUnVASY MXIPcMGD/hzsG2OdThi0Zr2/FJR+4Q== X-Google-Smtp-Source: ABdhPJy9O/ZdIIW2uzTQWTdhUSFiitu2eaLf82UdvHppY862YgDtihIZUI+Ug5Bc98jvfGhPnhKwGg== X-Received: by 2002:a92:9fcb:: with SMTP id z72mr25457987ilk.195.1595882329431; Mon, 27 Jul 2020 13:38:49 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id b20sm9124735ila.5.2020.07.27.13.38.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2020 13:38:48 -0700 (PDT) Received: (nullmailer pid 834377 invoked by uid 1000); Mon, 27 Jul 2020 20:38:47 -0000 Date: Mon, 27 Jul 2020 14:38:47 -0600 From: Rob Herring To: Lars Povlsen Subject: Re: [PATCH v4 4/6] dt-bindings: snps, dw-apb-ssi: Add sparx5 support, plus rx-sample-delay-ns property Message-ID: <20200727203847.GA782308@bogus> References: <20200724111404.13293-1-lars.povlsen@microchip.com> <20200724111404.13293-5-lars.povlsen@microchip.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200724111404.13293-5-lars.povlsen@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200727_163850_306968_72ECD867 X-CRM114-Status: GOOD ( 21.78 ) 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, linux-kernel@vger.kernel.org, Serge Semin , linux-spi@vger.kernel.org, Serge Semin , Mark Brown , Microchip Linux Driver Support , Peter Rosin , linux-arm-kernel@lists.infradead.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 Fri, Jul 24, 2020 at 01:14:02PM +0200, Lars Povlsen wrote: > This has the following changes for the snps,dw-apb-ss DT bindings: > > - Add "microchip,sparx5-spi" as the compatible for the Sparx5 SoC > controller > > - Add the property "rx-sample-delay-ns" > > Signed-off-by: Lars Povlsen > --- > .../bindings/spi/snps,dw-apb-ssi.yaml | 21 +++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml > index c62cbe79f00dd..c0adaad1aa695 100644 > --- a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml > +++ b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml > @@ -36,6 +36,8 @@ properties: > - mscc,ocelot-spi > - mscc,jaguar2-spi > - const: snps,dw-apb-ssi > + - description: Microchip Sparx5 SoC SPI Controller > + const: microchip,sparx5-spi > - description: Amazon Alpine SPI Controller > const: amazon,alpine-dw-apb-ssi > - description: Renesas RZ/N1 SPI Controller > @@ -93,6 +95,12 @@ properties: > - const: tx > - const: rx > > + rx-sample-delay-ns: > + description: Default value of the rx-sample-delay-ns property. > + This value will be used if the property is not explicitly defined > + for a SPI slave device. Default value is 0. See below. > + $ref: /schemas/types.yaml#/definitions/uint32 Don't need a type for properties with unit suffixes. Also, add: 'default: 0' > + > patternProperties: > "^.*@[0-9a-f]+$": > type: object > @@ -107,6 +115,13 @@ patternProperties: > spi-tx-bus-width: > const: 1 > > + rx-sample-delay-ns: > + description: SPI Rx sample delay offset, unit is nanoseconds. > + The delay from the default sample time before the actual > + sample of the rxd input signal occurs. The "rx_sample_delay" > + is an optional feature of the designware controller, and the > + upper limit is also subject to controller configuration. > + > unevaluatedProperties: false > > required: > @@ -129,5 +144,11 @@ examples: > num-cs = <2>; > cs-gpios = <&gpio0 13 0>, > <&gpio0 14 0>; > + rx-sample-delay-ns = <3>; > + spi-flash@1 { > + compatible = "spi-nand"; > + reg = <1>; > + rx-sample-delay-ns = <7>; > + }; > }; > ... > -- > 2.27.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel