Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp798972rwd; Thu, 1 Jun 2023 06:46:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5EglCvr6R4UmGoJkr0ssSD01CsasG6jREkTluwrh/QlOFRB2w4dYTA17jt+WGT/J8EKM0N X-Received: by 2002:a05:6a21:3983:b0:10b:8a3b:1680 with SMTP id ad3-20020a056a21398300b0010b8a3b1680mr9297615pzc.29.1685627212282; Thu, 01 Jun 2023 06:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685627212; cv=none; d=google.com; s=arc-20160816; b=vF0xTKP/uNUJiCvIRKN3UFuU8gyKF9SCdWCdF2wURX0XviF3vcDUeF745KigU4ZdJp vFoOXnE2mdetHGHF0GBq4ZQAJuLB06vVxN3n6rl5bCz8yGEbcfbZ0+cLqXi2UWy6wMzc jheWVTsUnmrwRrD5ktrb2XGcZA7dZNIjihBlvF4BgNwA6iWVy/SK2YQ03nhDdz6hApEL 7TwgEGM4RSXoXUt7tdlXietlcUEgXNRskMgtbCjwxn9fcJi/miFL0H6xc9/UT9UIbi7t TkbXwLwBLvTvWc7CLtc+JzkRqMNYTLh9rKPejFiRaqW/rKmFndoKeDQrSDOaHZjXm2Ig f5FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=jNLDHhaZuY6BnkmxGkDjaMPBq5Gi/3MfRJdAPIziHPQ=; b=SfNxpVya264YKh/ZwnzjlwIzYtnb5J/8qldfmQyma4pgpLhhdv8MCvlBfCuB3oGYHB nJYJlQlOBjxMEEKASRxxWlD3DED0mp4T+eCWOwzy3H1NItpGvKywc5m3PWYtjRkJZsEc RPZOqh+lZUQj+ciZCHFRR1dLbVrHu/Ls4Is9ny1oEcbH0C+Cs6GtfOxG/xBGIWoJdtrs JAd0GLn6pz2lwGuJ9KlYOAwuIQ1epls2nNj/jlrfFXc2vcbbWbapUeVe1TD2YLb53PHP +2N4wJ71QMoMQ1cf1QsNwVvLLg/i2OfBXyglDH0wi3o7eOjSd9PJnxOm052eHLjcnc2D Wi+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=gDNlNZgB; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s12-20020a63770c000000b00534951b1b84si2963236pgc.582.2023.06.01.06.46.40; Thu, 01 Jun 2023 06:46:52 -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=@maquefel.me header.s=mail header.b=gDNlNZgB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232705AbjFANPo (ORCPT + 99 others); Thu, 1 Jun 2023 09:15:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230222AbjFANPn (ORCPT ); Thu, 1 Jun 2023 09:15:43 -0400 Received: from forward500a.mail.yandex.net (forward500a.mail.yandex.net [178.154.239.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79A7997; Thu, 1 Jun 2023 06:15:38 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-68.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-68.vla.yp-c.yandex.net [IPv6:2a02:6b8:c0f:4c8e:0:640:3460:0]) by forward500a.mail.yandex.net (Yandex) with ESMTP id 2174F5EB4F; Thu, 1 Jun 2023 16:15:34 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-68.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id XFOhPv2DRiE0-etdAdjS2; Thu, 01 Jun 2023 16:15:33 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1685625333; bh=jNLDHhaZuY6BnkmxGkDjaMPBq5Gi/3MfRJdAPIziHPQ=; h=Cc:Message-ID:Subject:Date:References:To:From:In-Reply-To; b=gDNlNZgBe3ohSxL4z3KqGvmqRwcD1uK+4tJROo7VXhs8NNNE5+JT5RxtkOk5B5eeu FI397brfQ0bjhy8b6vmNP2S+epn5pLOtFiVmgBgI47wYlYFtFl6vyoxcHoGan/ViqB /GR+q49G6Te+ob/6g6+PLIAFJ3lwQV/2+6dQrRSs= Authentication-Results: mail-nwsmtp-smtp-production-main-68.vla.yp-c.yandex.net; dkim=pass header.i=@maquefel.me Date: Thu, 1 Jun 2023 16:15:32 +0300 From: Nikita Shubin To: Mark Brown 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: <20230601161532.1902d16b@redslave.neermore.group> In-Reply-To: References: <20230424123522.18302-1-nikita.shubin@maquefel.me> <20230601053546.9574-18-nikita.shubin@maquefel.me> <20230601154154.57ae1b93@redslave.neermore.group> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 On Thu, 1 Jun 2023 13:55:03 +0100 Mark Brown wrote: > 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 > > > > 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_data/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? This sounds like a way to go. Thank you, Mark!