Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1050297lqt; Fri, 7 Jun 2024 06:51:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV5G4CpzxlbK4niBjxCzBLx1QVWSw4X8SFS6Nc8pB+n/H5feDItm7mWC3q3tQcgwv7aN9O9gq/RrFgnKQVpAtxx4olYBzsOZsK9dzmppg== X-Google-Smtp-Source: AGHT+IHO+MDTF29/oI4ejmkqrP9CxqpdcIdw++EOVY/wlaaxzdU2Q7hPBMymlaNcWhkWjT/d8YHz X-Received: by 2002:a50:9ee1:0:b0:57c:4868:4cea with SMTP id 4fb4d7f45d1cf-57c5084fbeemr1496828a12.7.1717768315828; Fri, 07 Jun 2024 06:51:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717768315; cv=pass; d=google.com; s=arc-20160816; b=xCxF2v28EZds0UcS/hJbm6gUjlMGeRZk6lq+9+O0Mkq/IC4UXVudSsz5dcA8GR8tu1 sbEI0OlCd07U3/JssNZkJjxZHmocShpv8vALj70YTREKwHvH/wQ1WcfcZfK/jCZpR6B0 srlnTLpxVAdqDY1vOdAu+19X+KQ0ECAj93EnXbis0Obv6H3kHmbieZJpRO4t9Mba6kOh EaIAQXrngA4H72L5Fr9U4eCk0V26ofAGYhBxJHoggpwxN86KBHS4GMSMwVC0F1oIRji7 MrRBWJj4BPuNEeVkY39rbNSWVzYRS3Zox9gf9Lfyw4XYUt7nQdoZaiQHtyZZnVXxxBHG 87lg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=QxUoOpbHx7b5oXfX8wRme02HxmJpfo/Pvx/KJVK03FI=; fh=TrWUh2630smkdL9hRLvPBudn2dJZhPcXJ62uyalf9qg=; b=wCeVGrulwy1pmGZHakcbCqRiZzKAwnsLnzXxDhF+wqGn66FRHpEgRfBvA3IpZNRm/6 l21Z9lbN/htLafhgJMHbu7IsXDkp7W4dO1XGGY4oV0RT8+5bhvCF/5wN+ngWcXsUo7Yy 0+e0+Cz+J2q/KLfQW/R86fuuodY+Go4+NLdOGbRbjSl6Q0vHMFBlmaY15CTt7rc44WdG Kyq6LA3Txluh1NdTKPD0yiIvaiH4vRMTL4Zw4TX2nVL3YWqkv/Wk4HNJo+hZhvM6ken1 obiVyCLlXuKk8sbxv7Q1oyMbBoGc7V9vfM9An+/yzkfQL9WRt9+s2HP4YFEQqW5y8FV/ PJ4w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nTAAz2ba; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-206199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206199-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c57219e8asi655753a12.569.2024.06.07.06.51.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 06:51:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nTAAz2ba; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-206199-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206199-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 735301F24EA6 for ; Fri, 7 Jun 2024 13:51:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E67A1957E6; Fri, 7 Jun 2024 13:51:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nTAAz2ba" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 810D5194A53; Fri, 7 Jun 2024 13:51:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717768306; cv=none; b=niqYNvwZBXqqYtRP/zBhtTNONNQAKjiARjBoinkfp8OX2FdPbxZWbERiUL2ZjQOCFuhK2kq6leusUs/A785akj9tDOxUiRlp9UjSoSe8NP/MeWbZRv652KvAlxWuzOZJyk+rt+KQ0LMUCl18zDKZsEWLP3vCP7rEQg2viHbPexY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717768306; c=relaxed/simple; bh=pe3Qusx9B2GcfWcWsmCMScgmL8tPmZ/E8aQtJn5OhZU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QCq8ABQBIPFJnYri+Hp4lhNHyuzMPeXByx5F2k0wLBUxBES/yxMBN6qzLHD4OudKQAJeLcPJGy1jWrqWOYdy/uN+NUKVHo/Om5qIF5ge+vK9GxncQ57o1HPNeXYTybEGn60mIMg/kkFfNpr2DOAVq6GKumXvSUS/dO9HE3kGkWk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nTAAz2ba; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B0B3C2BBFC; Fri, 7 Jun 2024 13:51:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717768306; bh=pe3Qusx9B2GcfWcWsmCMScgmL8tPmZ/E8aQtJn5OhZU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nTAAz2baCWDlKJz9mv/8cPBIDGPdeK0jVnvxbs7mcCJ03gEvo6Ny/ndspI6A611GF tnNnjjl/HpqRTCPbd9Okk0VZPyzzMa0y5EyIqvY38hEloxMaMRSgKWDKK83Hu4x7d3 mJq4VX/pegr8flDXnsVZRTOxM2XVrEgUgqkvmYsn/hNKOFISjNcWVAKRCCSx9A2wA5 0a2CBNv/7gAqbP94RQ/m+Uq5gJaQsyS2IzSBQQTVqR1wgd18QrRxpcGSVXQXh5Xpur +588IwvoTlI9vfgk3qn9xOyRG1vwnUQIJimdEtAtCGRH3ZIWhnDt3tTO5TewuEpift KgQhQYLt9ODOg== Date: Fri, 7 Jun 2024 14:51:42 +0100 From: Mark Brown To: Marcelo Schmitt Cc: David Lechner , Marcelo Schmitt , lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, nuno.sa@analog.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/6] spi: Add SPI mode bit for MOSI idle state configuration Message-ID: References: <0a716b10-0ae0-425f-919a-ea5d8b7975b6@sirena.org.uk> <5dcd9701-2725-4aff-9e73-d8f2e038be75@baylibre.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DiJ4Cbmw/Jy9g/RR" Content-Disposition: inline In-Reply-To: X-Cookie: Your love life will be... interesting. --DiJ4Cbmw/Jy9g/RR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jun 06, 2024 at 07:08:30PM -0300, Marcelo Schmitt wrote: > So, if I understand correctly, it would be desirable to also have flags and > descriptions for the MOSI idle configuration capabilities in include/linux/spi/spi.h. > Does the following definitions look good? > #define SPI_CONTROLLER_MOSI_IDLE_LOW BIT(8) > #define SPI_CONTROLLER_MOSI_IDLE_HIGH BIT(9) Yes. > Maybe also document the MOSI idle configuration feature in spi-summary.rst? Yes. --DiJ4Cbmw/Jy9g/RR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmZjEG0ACgkQJNaLcl1U h9A+DQf9H+ow1yixeeJVv2HWjYdjTXXvogM7+ytxuolBO+8b+GMRpwIBasFkjdrv vhU9CYK83gDKBAzK4Xg4/YmXS9O2QSRwguQ0USsGPYOBDbF2Rsv838BWVDM0p2YZ kcc3YWXumlQ0OZVI7vlYE8sZ3ITAG/R+wMyiYhKtqKRZI8o7B2KsHeffje70KtvL wVMT5b6VH74pekp2TTDoU2KQQBSYJ8noV2HWqYvBMdPO+vv+Jo7uPH1tvz3QBfFi ALaDw8qdpyL3RNtqz5qN6EhESF8XR/a6yyoULa1z7tUOBIf2TG12L3iivo0+Zk01 qgpLoJiamDooRZ5LsbemooN3Sr/PNw== =00CC -----END PGP SIGNATURE----- --DiJ4Cbmw/Jy9g/RR--