Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp9717259rwr; Thu, 11 May 2023 20:44:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7DAdOr+vUiWFRZ/ThyAUdLjxsbTanDiuy47dmbvHD5Mb0Yp0+gJbjd/RI1qfBO/9wXUVoh X-Received: by 2002:a05:6a00:2e10:b0:5a8:8535:18b with SMTP id fc16-20020a056a002e1000b005a88535018bmr27472919pfb.11.1683863087892; Thu, 11 May 2023 20:44:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683863087; cv=none; d=google.com; s=arc-20160816; b=jRBUU0qCYg0kA0vnKeolPaX01w+Quhk/TBIaYOt0LVSx0KQzGPDolfdZUR5sY+52bQ YkU/2NMeGwxXxNowEuh1tJr/vbSzq5zJe37ULHB5fMYNqBfvVHWLmZ72l9cBfiMxFG0q 4gxRZg5Zf9zftkdMhUphghAyLxjZADwf06As71e0BBdJ7a67TCEmMjU3pGL8/D1GuErt ne2QIw5lyuXjCSIgf4/Yiz9d/dC+b2uH01eeJQ+LdWhbNivNp5LZSekPHepsFwQjNwWT gK91JBSUQ6/XBUjxCM2oZUhaaB5HjcercDfPxQjVBSR5VYtOCXcluyufO8wIMxiYvFa6 8/pg== 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=KRbnMIGlayDayBdtCVf5FDU8fixqng0FXxISK3BwCLA=; b=zJAffRjuv5HgpRJsucWzeDF8ng8zpYBjSBs6gwXzPBJz3hYhM17Cm2fi3Pfxj/6+9P T3pNzNhtawFjBP7vqloAoOTbncW/qVVBnAoSDh7mFYUPqDBvWOK2zU5KEDJHwcR161WM 2wGv8DQHx/ny1ngDqawSkMdyw802vV4FR2EQRgBcmGFChO57OroEwmnTwSnzCazsCDoD Zjl7HYndOUymr4Ccp4WjQ6xD0wrPKk+bW50LkfgMabAbJzxpwWN8ENdzdzWaj4+Iqv3X M2QTx0vlIY1vsENG9cz2/KIHODDWBfa3JHWilRFbPK54H9ce5t/xdyB6ul0rUZ3N8eN7 7XXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dY+uogn1; 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 w71-20020a627b4a000000b00626007418c3si9196368pfc.289.2023.05.11.20.44.34; Thu, 11 May 2023 20:44:47 -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=dY+uogn1; 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 S239850AbjELDbF (ORCPT + 99 others); Thu, 11 May 2023 23:31:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239886AbjELDak (ORCPT ); Thu, 11 May 2023 23:30:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EA4E4C20; Thu, 11 May 2023 20:30:37 -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 6C9C464D0F; Fri, 12 May 2023 03:30:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 887BAC433D2; Fri, 12 May 2023 03:30:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683862236; bh=3wHs1m5GP/R3tyHlMdTHhowVdnHSnCWrWzt8b5NMDXU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dY+uogn1+76Wu2PraxhO6Z3mS3VHZDd9NVpSxUuCYXt3aPqmmrzPyQ/Wz7MdjtpaX Hxd3w06J/yh9cN4w46sQnv4DbiSlUHPx3YXVHjir+kaa2CDKYCFeoMBxMzEL/fueFr n4ccKHVIrudsQoAJREsTv0Z0K9aTSYh3djJjmAuOD/0DbaZfCvdKhbr56muVm0DV08 l9Rz0BO8pUqvkBStUuan7jKkWF5Axs+oaAReEnyYmQhQCMRd1m85TBvYdA7FHlTGih jqKgombIxYS1Wgpr9Qws25YjIOawl4/SHASHvnuTVF/OHmKfETjBCQxX8yuvJ23VVJ J4RKOVwxEIXQg== Date: Fri, 12 May 2023 12:30:29 +0900 From: Mark Brown To: Boerge Struempfel Cc: bstruempfel@ultratronik.de, andy.shevchenko@gmail.com, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 1/4] spi: dt-bindings: Introduce spi-mosi-idle-low flag Message-ID: References: <20230511135632.78344-1-bstruempfel@ultratronik.de> <20230511231317.158214-1-bstruempfel@ultratronik.de> <20230511231317.158214-2-bstruempfel@ultratronik.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="crcVxhkxf83g7XbZ" Content-Disposition: inline In-Reply-To: <20230511231317.158214-2-bstruempfel@ultratronik.de> X-Cookie: Avoid contact with eyes. X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 --crcVxhkxf83g7XbZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 12, 2023 at 01:13:14AM +0200, Boerge Struempfel wrote: > Some spi controller switch the mosi line to high, whenever they are > idle. This may not be desired in all use cases. For example neopixel > leds can get confused and flicker due to misinterpreting the idle state. > Therefore, we introduce a new spi-mode bit, with which the idle behaviour > can be overwritten on a per device basis. >=20 > Signed-off-by: Boerge Struempfel > --- > .../devicetree/bindings/spi/spi-peripheral-props.yaml | 6 ++++++ If this is always required for a given device (which I'd expect to be the case) why configure it through DT? I know we've got some legacy stuff like that but not all legacy DT choices were good and no need to continue the pattern. --crcVxhkxf83g7XbZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmRdssoACgkQJNaLcl1U h9C1fAf+OxB7rCOtlPof7FqZqSfBXMUMxSO9PukmbYkdxUV/iKlWoo+TI2D946t/ buUcDGkK2j+ubWF0uwQUuLyCbzsL4O2oRnKi5CJgEZeiCkRAhbddWFSYLCyEaKNq fp1MiV5/2bdtfD/WIz0CvQD4YIB7mSNj1o1U7/+K8BD9a2oACXnmlW1p2sFafi5a AOtv1AssMLY8nxnUZD68d7CKqVxRdFpR0NGhhdmOqViDY/Vwt3Hig/zgbegBTHWh CAsMZz8WWmRXq2dIJIjHOd5QKloNlSsCgtlEQFMX/35ZCXTRKLlimYwBN1wUtaN4 XWLyuvm5QH8uHDoseqY+1dteVb0Csg== =Cu0M -----END PGP SIGNATURE----- --crcVxhkxf83g7XbZ--