Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp200095rwd; Wed, 17 May 2023 17:10:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5v5hDdimpQm2HLZ4MxuQraRGtzqJEoh2wZLBcUIIB5MPAcemtyGyNfZZj86cG3JTr7Yo0u X-Received: by 2002:a05:6a00:2d09:b0:646:b165:1b29 with SMTP id fa9-20020a056a002d0900b00646b1651b29mr1843771pfb.23.1684368608802; Wed, 17 May 2023 17:10:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684368608; cv=none; d=google.com; s=arc-20160816; b=QjLZut4gsDr7JdyrIW4EGFT5n6eHIv0iFMP253cUo/8j2wb26OLvdYGNJL5+UoYTxm HY4664CXuiUv/L3qkzPda8UJe+Zs4Ek2NeaMxGRHEwJW+igZf/1iwjkRP9vK5wkIim8B AfaCet0wJWN0FIkz+dI/Mr3Wwt7KxUwGuC1DjzdPb64jkAla08a5afSxceQeXxRvakHE A7TiH4qHhb7rO4Sa+dfdyZEvbxpd9DHGbeOMtTQnbWQ368faSyL9iNSlJC7/HGf8Peyo BRWvDPJPXUN9l2/qA2WmxjK97/peClYeJul12KMF43lp7m93eZUo0oIu2BlvDRS94Tov eSGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=IFNnEl1Mb99jruBcTHfV1S3/pkrkMKc2kkp110Tpr7c=; b=V+R5myV53pN/dNq2IwBvlc6t5iOOW/Jngz4xANSzA9uzPWKCymRceQqMB9ZA8scWDF Jq5/0niXeOsW6d92fNleI3NoUgySmOdtFyOKg5n3M/ZDZ0NUUxFgHLVDwxKw1SWCQ3vj 0+UxCZLoV7vlxCB9Za18BpOb1BN9FxJ1xOlO0/DAM/rI1l6mSFE5Hbml+ZPhRFS8UqYO BEG/nRu/dUrLWLy6qwFjSvRUvYm27LHR1dxS3Dr0yxt/hgV6T1eZNed/eHSy0peStjHg KgPe9MMzuOJ7ATgmSvRIDP/pf4Y+8HrZDtxGt/ekTgS5t5Fzyug/Ie9SRYKGPRwJ0iew hDtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=T0gf1IOL; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i66-20020a625445000000b00628217e3ea6si219811pfb.316.2023.05.17.17.09.50; Wed, 17 May 2023 17:10:08 -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=@gmail.com header.s=20221208 header.b=T0gf1IOL; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229645AbjEQXxL (ORCPT + 99 others); Wed, 17 May 2023 19:53:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbjEQXxK (ORCPT ); Wed, 17 May 2023 19:53:10 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9985F3AA2; Wed, 17 May 2023 16:53:09 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-2534fe570cdso166055a91.1; Wed, 17 May 2023 16:53:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684367589; x=1686959589; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=IFNnEl1Mb99jruBcTHfV1S3/pkrkMKc2kkp110Tpr7c=; b=T0gf1IOLOXivyANAsfEmays2O/XHuvFbHcDaacJYEy1ZF3mJo20OEItx8h+59qFNQ8 M1HiJfsx6547PXzcLi0ESh7LPg+z6tlivkFNAF7ZT3XuFxceMFRmNjdhI2P6jxSUz8/c FLzl3xfML2indj9y3qMLSjgZHRHWM5RTwcWrzLlqLsTBqoR0J+VKfqlcvoRNwFxGdWC6 VVn/yHRLarTbfj1u/PvqiYwkD/li+c09Hab4caI9w+dc8Ifk97P7pf4eG2n4p3KNsDaq shhMyHgeVfVEeOf9A7EqsFDyS6a3bJyayMYOPt8GhlJnZPiLAAv04E5Hb8HPvYCDcN4u KtTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684367589; x=1686959589; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IFNnEl1Mb99jruBcTHfV1S3/pkrkMKc2kkp110Tpr7c=; b=TcCkuMc2feSoWwGMoe3tNoqpedfbn+v6+9z7RjtZxuvqe5yE86HM9/MUnqKefqKele JZCLn9p+hOKw2sjFqaJpR1Lv9ZZwdSdJlHuNwgHdJEVuYoiiWJWQGP8iIlKekrjXgoKv nq64NaWOfqiN+ScTY0nb/2JyxA+iZKgymL81arQwplJPXBOFQ/rArFYC3EzvnW7IvwPS YN/IC+VPebjoVihy+IVY1f5RS1rUMuXI3m6oGN8w7m7WjXhAEKLDLQa66dp/wVxScAYh l+M47+EAXMBtGEq/CtfwdnLvdPhadzw34E3buWIPsjA4LEB99JV98ONsAvQBfJCHdBhd OJSA== X-Gm-Message-State: AC+VfDzH5cNcHJDqEoLjfXiXK/ML3neFsz3fdnQpiT1PrzVltOP7/vYg L00MhBfNzh9WPs7WBphLyPSJIMYxV6LdJyrwm98= X-Received: by 2002:a17:90b:1802:b0:252:b342:a84a with SMTP id lw2-20020a17090b180200b00252b342a84amr5232800pjb.0.1684367588970; Wed, 17 May 2023 16:53:08 -0700 (PDT) MIME-Version: 1.0 References: <20230517223007.178432-1-boerge.struempfel@gmail.com> In-Reply-To: From: Fabio Estevam Date: Wed, 17 May 2023 20:52:56 -0300 Message-ID: Subject: Re: [PATCH v4 1/3] spi: add SPI_MOSI_IDLE_LOW mode bit To: =?UTF-8?B?QsO2cmdlIFN0csO8bXBmZWw=?= Cc: bstruempfel@ultratronik.de, andy.shevchenko@gmail.com, amit.kumar-mahapatra@amd.com, broonie@kernel.org, Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 Wed, May 17, 2023 at 8:20=E2=80=AFPM B=C3=B6rge Str=C3=BCmpfel wrote: > My bad. Thanks for letting me know. Just to clarify: I put the > changelog directly below > the first ---? And do I then put another --- between the changelog and > the following > include/uapi/linux/spi/spi.h | 3 ++- line? or is there just a > new-line seperating them. It should look like this: Commit log line 1 Commit log line 2 ... Commit log line n Signed-off-by: Your name --- Changes since v3: - Bla bla bla > And if you don't mind my trivial questions, am I supposed to write a > cover letter for > the patch-stack? I seem to find contradictory answers to this question on= line. Yes, for a patch series having a cover letter is helpful. > > Should tools/spi/spidev_test.c be changed to include this new > > mosi-idle-low option? > > Until now I actually wasn't aware of this tool. However on first > glance, it seems > reasonable to add this mode bit. I can certainly add this mode bit to > the spidev_test > if desired. Yes, that would be great. > While looking through the code, I noticed, that the latest two > additions to the spi->mode > (SPI_3WIRE_HIZ and SPI_RX_CPHA_FLIP) are also missing from this tool. Is = this > by design, or should they then be included as well? Looks like these two are missing and would be good to get them included as = well.