Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp753117rwd; Thu, 1 Jun 2023 06:14:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ47oV0mqTcL6iZ6JDvbBYg846jT5I126+vOMpthMspzqdTFvpVbeLZo6QSIZ3dFDtnLE8Qi X-Received: by 2002:a05:6a20:6a0b:b0:107:10b6:4c84 with SMTP id p11-20020a056a206a0b00b0010710b64c84mr11622272pzk.21.1685625241050; Thu, 01 Jun 2023 06:14:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685625241; cv=none; d=google.com; s=arc-20160816; b=0lSW139iFLw+zq6YCeMAsp+F0HinSu55cdx/98HhIOQnozh/QBRhlIZVURNFCqP8ne rYKZgdQdMivytjEsAYfoCON/nG0/1hzqf50S3TL0cx32LVCQqK5GvswV60/aUF7yj116 jfqK3UtWjPu8d1Va8Oswuc0jeQgOL6rKW1BRK8ynseaf/El5rsTqR1PvHNdgAaU06w8u L1HNqy4UDJA+T+Wpq7LTLqLsZC2NZuJrxEFxfqftOapbMXRkS2jx0UF3QRzS2aqFLdq9 tuKw8uRvo2p1OcGF/9/WjXNlMBzV0RYc0sY/c5CfCEePM3CkRFnEZW5tj3qVSgssYvZ9 raBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=t8rp2wM+VAN8x2k2vKgwp9Rxnb0fKyeyV1kZubvWohQ=; b=KmQ6FAXFwGZakONmW2ttkzUD3A8BZH51RxwZj+Q6NPYtqrxpjVCKpMQMlZiUJ9TfzG ZowfcPDQgywdt5N85IpQ43UKs24/nOOWXCftn30m/bHj18SPAciElpCzLTObrrr2oe9b LfhaoucXpDYWHsm7ZhPYuDZCDJMyWH074qoy8LuwJTm0szlRDhLw4UZ2/9oDt1zaaeu0 knOQKzBNrfkYLJ8f9xKtcpVtR0EcF/Dcc5IegaF7SbZ3fXseEGzPzOo1ENy/BX53dbHy ZjNZuPQhRaDWXsqqEyRedkszMHq8aPZK5UOpMun6n9h94B6PBWQDYKPZaIfmtMgnPIiX WZ1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AJ6uDVxI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o25-20020a637319000000b0053fb8af6188si2763464pgc.881.2023.06.01.06.13.47; Thu, 01 Jun 2023 06:14:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AJ6uDVxI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233253AbjFAMzN (ORCPT + 99 others); Thu, 1 Jun 2023 08:55:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232252AbjFAMzL (ORCPT ); Thu, 1 Jun 2023 08:55:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EA8A128; Thu, 1 Jun 2023 05:55:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E878C60DBE; Thu, 1 Jun 2023 12:55:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 086C2C433D2; Thu, 1 Jun 2023 12:55:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685624109; bh=ZqxTQp6PSUQnFN/2lX8WhB9VL0uNNxw4eFDlQcou2hM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AJ6uDVxIcnDi9PdUqw02PEj1p95RcNg3MKp1wDy2TmBbS8pVmptiCPIseJN4xU9QU kCgcelTnYnYjNuM9MVgFFW/yyFFlTJnCMPoHbJDdn9kHKQLlmF1rRPYLM1lQzzD5EG KyDzNREX23EwoNey1cXeLk+/T8tv9lioMokqQx5kX3+zkQW8G8Y8fRcgTnBCD18yy8 /EKy68ttRK3uJdPkQ/ThWUGhZHitOz32UyIBcu03OMN+zwruzur0h5baKkACR6bah4 oEcgapiMgotduxHfGYnTsBxn2ErLhl12AP08PsIBfn0o6ZdsMq4Xr8iOJHCJAe3sd0 Nl6oJX4aveXvg== Date: Thu, 1 Jun 2023 13:55:03 +0100 From: Mark Brown To: Nikita Shubin Cc: Alexander Sverdlin , Arnd Bergmann , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Michael Peters , Kris Bahnsen , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 17/43] dt-bindings: spi: Add Cirrus EP93xx Message-ID: References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230601053546.9574-18-nikita.shubin@maquefel.me> <20230601154154.57ae1b93@redslave.neermore.group> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="V3JKa2O2njgMRI99" Content-Disposition: inline In-Reply-To: <20230601154154.57ae1b93@redslave.neermore.group> X-Cookie: Positively no smoking. X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --V3JKa2O2njgMRI99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 01, 2023 at 03:41:54PM +0300, Nikita Shubin wrote: > Mark Brown wrote: > > On Thu, Jun 01, 2023 at 08:34:08AM +0300, Nikita Shubin wrote: > > > + cirrus,ep9301-use-dma: > > > + description: Flag indicating that the SPI should use dma > > > + type: boolean =20 > > My previous feedback on this property still applies. > > > + cirrus,ep9301-use-dma: > The reason is that ep93xx DMA state is not quite device-tree ready at > this moment, and clients use it with the help of: > https://elixir.bootlin.com/linux/v6.4-rc4/source/include/linux/platform_d= ata/dma-ep93xx.h > I was hoping to slip by without changing much in ep93xx DMA driver, so You're definign new ABI here, that's not a good thing to do for a temporary workaround. > I can move "use-dma" to module parameters, if this is acceptable. That's less bad. I guess you could also define the bindings for the DMA controller so that the properties are there then instead of properly using the DMA API in the clients just check to see if the DMA properties are present and then proceed accordingly? --V3JKa2O2njgMRI99 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmR4lSYACgkQJNaLcl1U h9DnQAf/dOQ5yJ4O/a6/eDXnlTKTJomQveH4SJUqEYc9Jr5rTiC4ZpD8YGXTKLfJ rh8ZtJo8V7AL5gxaaHy3elU7nGppA0IgAAvPhhw2hKYdCMMP3Yo2Lan3R7c/VK6R 4z8kiUZM2elNvLEa5bG4cw/OGFBl4jFG/pZs7SsgBuvJ+4kU/eAqztvoAWo88FSU UUA4V2Zbj5ojJ9ihe8eB5WeGXCnFbSSUIEzfoicwJ30dj/fO4RKsXscp0G9gMJyn k/yLGSkYe171xoNnkwvOyTjsLGBgCfheKXX36+SCi5qR70cNONx5xsnstT5UJNrh jka8g3Gz6KZCu2BNk1BckqDOMeWwEA== =b0C9 -----END PGP SIGNATURE----- --V3JKa2O2njgMRI99--