Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp814060rwd; Thu, 18 May 2023 04:28:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7wx/48wEMppFlDeHiQtOLK4j+KnAOCTCAK9Ot762kiij+5WUgPhqq9THFCZgo/Q1vFhlfL X-Received: by 2002:a05:6a00:1a11:b0:648:24c1:fe5a with SMTP id g17-20020a056a001a1100b0064824c1fe5amr4688361pfv.16.1684409316290; Thu, 18 May 2023 04:28:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684409316; cv=none; d=google.com; s=arc-20160816; b=wUOE1Uga8mOQzPSrjcSvCUj1HTMK92et2YvJrM8VFUbYDKPxcQd4d/lo3CAME7GIQv gMQ9VxaIYJpZbDW6G2XfZIRzH+vXhIUgBc8vOKA/4qBJ8J57f1ZgoGoMgacEszdQsN2u 0oSndNwigPtPgmFYNdVj8B0XGBTDX3O8IMFTnA/VHIo0KnqLx9Uou1MUVjC9f5EULaUr LUON0nCHCgwLzY7hV8eCIK2XdRf7w6v1fz5cIIDWjKlEppGTEiOjLLYuWAUYaTE78atp zJ0XtvlxUtyVHiVGC1AOKIOuf7NtgFHDkTx2I2iQBtDVkaIOcUlRTQr5FHOSpWdtMRUH 8RUw== 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=a577LY7A2uHvmqRNQWIgZaEpX7tSIO73eW80DF91flM=; b=n1/08Fuu17TLeLemH3Ogsfezs3U4DMtF8/eVkmfxbe5ay3hATz00NyEnZkkRzJvsh3 O6LRwTp21uvzYKmJLkWPXb2gkR3JlU1mkgjForGbde8EFF7hl2//7XEWRAh2/yhMQerJ ZwV223whVrj6Iy5nmG42n7BuaONbRdB22zjE6iw+33h64rfsd/HOq+CZiqJfCBBgj07D V9jLHmp+3qH0HSAZ6bPFgQVRAtHbgjhU/tfWsWkiHWD9xCKAn1gDdq2ljW0QIBMpKNLD 463H8hfUFNMSdpVhLf9zfmNP8wKcUdzVF5P6uA+o6AJ4XRnnzWUK0SlhFk61hX8j876x wz4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=s5ijOOMb; 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 i130-20020a639d88000000b005346ce7709bsi1185866pgd.294.2023.05.18.04.28.24; Thu, 18 May 2023 04:28:36 -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=s5ijOOMb; 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 S230305AbjERK6R (ORCPT + 99 others); Thu, 18 May 2023 06:58:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230215AbjERK6P (ORCPT ); Thu, 18 May 2023 06:58:15 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D5F31BFC; Thu, 18 May 2023 03:58:07 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-75774360e46so95994085a.2; Thu, 18 May 2023 03:58:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684407486; x=1686999486; 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=a577LY7A2uHvmqRNQWIgZaEpX7tSIO73eW80DF91flM=; b=s5ijOOMbULc3W4XmEOzGUjw/J9dXzFP3HahO+s6kJUwixCffiUjibQN8/haQT6z6Uy ENVniZgvUL/CmWcXFVGIMainGW6YTw0T6bkD3CR9Laam9WFMbLSTr/5a3UEt3OIsT3aA 3d8kKRzOc1Kz6snmw125sy8UNDw2d0QKMfcsKu1L4rFXQr6KchyvkHjbOEragdTqdu6u Wk1ccC7O1OUnHiCLucBdqo/4Fc2ekuJtVLyZE7xQ/uUqcsnYsnVYHYXG1LdmtjYgk4t/ rkh0/7GdIerX0kdb4o80S0AoFHQpXJK7T0oh9ylQSe7m2zPtAyGS1wmPBFVlwnNyl4Ql KU6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684407486; x=1686999486; 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=a577LY7A2uHvmqRNQWIgZaEpX7tSIO73eW80DF91flM=; b=bSnrkol/vhA3YyWUs+6wgRXhFe4w9srKwqtR4tu4LUusElqsgdDCGecO4Uo0qLj1MV AQ5jvM8lDG5YNv0h+Coe7I7C3qbUw3p0alLGFUG9TwrLuxi/o9o0Opyc9ZkJXMkYUeg8 suDBk6l4tbqOWo9lxCP8/uvI2E1x9BwRv4s72eqsgIXavDUbj9SfqpFdVtrQ7yYrzcu/ ZeNppVXE/tOb0S6NxvLBhBlW3GlFEuS4ckzKy5vFPzbKP9Oua4ghFSLI9Wo34C8oRUd/ MK5EqUWPetoA3beyE/C2xhpLh/JGEzstrbCbKcRQt2Ue1jUSe5Z31kbJt1N/QSm2S03x 2mQg== X-Gm-Message-State: AC+VfDysLUiyvwLZYykxu4lCsFoPAe1IPtQ+KqiqC8B0+7dWo+zi7XN9 LAEtfO+WpW8Ou5KDeWKPDtn021NQw7IFd5+vku0= X-Received: by 2002:a05:6214:518b:b0:621:64c7:235f with SMTP id kl11-20020a056214518b00b0062164c7235fmr4272502qvb.27.1684407486519; Thu, 18 May 2023 03:58:06 -0700 (PDT) MIME-Version: 1.0 References: <20230517223007.178432-1-boerge.struempfel@gmail.com> In-Reply-To: From: Andy Shevchenko Date: Thu, 18 May 2023 13:57:30 +0300 Message-ID: Subject: Re: [PATCH v4 1/3] spi: add SPI_MOSI_IDLE_LOW mode bit To: =?UTF-8?B?QsO2cmdlIFN0csO8bXBmZWw=?= Cc: Fabio Estevam , bstruempfel@ultratronik.de, 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 Thu, May 18, 2023 at 3:27=E2=80=AFAM B=C3=B6rge Str=C3=BCmpfel wrote: > Am Do., 18. Mai 2023 um 01:53 Uhr schrieb Fabio Estevam : ... > Okay. I have begun to implement this. During this, I noticed, that if > I called the new option > "--mosi-idle-low", the alignment of the help-lines (and in the c code > itself) would break. > Should I therefore shorten the option name by using an abbreviation > like "--mil", which is > probably not very helpful as a "full option name", or should I touch > all the other lines and > insert necessary spaces, such that they are aligned once more? (And if > so, should I do > this in a seperate patch, preparing the addition of the new options?) It's a user space tool where not so strict rules of commit splitting apply (as far as I know), I would go with indention fixes in the same patch that adds the option. ... > > > 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. > > Okay. Should this be a separate patch, or should I add the support for > all 3 mode bits in > one commit? Split them logically. Are they from the same group of bits? No? then split. --=20 With Best Regards, Andy Shevchenko