From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f53.google.com (mail-oa1-f53.google.com [209.85.160.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A66931EF080 for ; Fri, 31 Jan 2025 20:51:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738356717; cv=none; b=mHZ5biwoWjRSC8FjOVkGBrGpOCdGnnMRnIZQ+8GuDoCEFaeBillcPJtIS5lcZJDr2/RyuApw0dHmGum7grUUfiAEpYA+2sEgL2ElkOwr2TiDCMuGk2WcLG96xKj+hpDpxq7GV1DpSzefIcRrgTzDJ5uK0pg4Bi9WsxbcASd4r4s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738356717; c=relaxed/simple; bh=U62TgxY+A9dzDmv7rb3+XOMVxcMlVdxMGP6cQwDn7ow=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=lHe+ifkO6OcIRvwjR34AQ7fLk+jeC7u1AoM6PfNi1RMo9mpOm6zKhvnIl+pQZWbyUAKxsAJmbBdyTj8dWGtV6PuZMhS9y3wQuvdKWcnubQ+4ydazS6kkSm77PNObj8uUjA8FNxPZ2oyHLqDj8vKYV6DBvuYQmIhZvmJ12Qt6YE0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=TGTDqg80; arc=none smtp.client-ip=209.85.160.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="TGTDqg80" Received: by mail-oa1-f53.google.com with SMTP id 586e51a60fabf-29e842cb9b4so730668fac.2 for ; Fri, 31 Jan 2025 12:51:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1738356715; x=1738961515; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=YSDpmKyHnv3yIYrHLwgKwckV132tbtKpwM8F+9YvHNM=; b=TGTDqg8087ioyl9s6ESDaLblLqWuFhzIa+IGVGRg5TYZoh9ycwk64DiiAS7allW+2f XAJLMsDCaCkwunv7v4lY2u/NJwWNwjXCeiraOzq4WoWNzARdXZWgDSGpM7GYYBP0P5de HdcdfcG8Ws1d2S/uecNAjZ+ZvA4iDyNTD6Nfb7F2DPgmK7ZwehCVP2BoqrymsSzHn4fU e04DyEvVP3T91mpljezOaVblexNLr0LTJLdJ48BlO4G+6gB8tgnXk8BnhSEj1t5618n6 wCBkjxBG30+ua16uirzOmp5Q/SCaNx4WGWEbkRQEdwXf0Mp+jJq1CVYCKPCY8FfVK1bj 7LRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738356715; x=1738961515; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YSDpmKyHnv3yIYrHLwgKwckV132tbtKpwM8F+9YvHNM=; b=jio9jrzo/LUEtd9BpiQO7Jm36LUKDhiMOJJTpX3r82jWhy0lPGcoWYDvvFHebEOWPB D9MlF1KpsAwxK0VjvFDMBz4F+atAn7XCT6lUTWE6WHqoLVOdY8vTvrUligG1IfqZDVpM xql/OTtXgWUjHCTdBhDw/eALFwmL4J895Wy4d0wPNkMzfcny8Q+i8TY9fUjwUtiY0GRd inJM2pApXQZf/WBWJjU6IQkcU+7gGF+/45ZJoHovR1B6niI0XjVPfbezcSXNaq8rspj6 lSQWFWdZ4z8XRXYj2+q3x6zHTmNkKw8wsMD0+g9vbFMq7zgerArwGj2YpatnaHoXJ7Lj eARw== X-Forwarded-Encrypted: i=1; AJvYcCXqjZ/jMqgstDTUntU8tJ2sCaUZwsVcdFLjwjtoTtLet/ZLMo/ewJYONNCshrdnFiLagmPwD1fm8yZFbQ==@vger.kernel.org X-Gm-Message-State: AOJu0Yz1PNNZeYycLsj5kWdv8NmP27WElMez2n8nFxqytIW7ANlvXpwF 9AT2ZD/+tiOcm8/V5AqubjVW8TeZsO1SuOQnrx4QvJA9t8ZFr4T22vbnRbthshQ= X-Gm-Gg: ASbGnctKGGtveGpTaxqJ1FteO7w51fd30lKcyfNexGsksWXcTa8S8qzHermD7LEel69 fryETQap3BxF7VfxuX91Mi3Yigydu4W2McZWm3toIYrr3lk4eQO2b171pG0aB5S68UYh201v2JM rtGGIajqc4NPlCLj5k5s4jhLCMUt8T5O9V41+khPey/s/eRzVrMISA0m9hsEQWyWFx/qqCDOme9 +wINzgHi4IizlER7WHQxajoJQqh/wIde7owjB5Cp+n5yVgDZ2PFXRfzWnLIYM8j26rcvA7SuDJm 9yk7pbnaTto6vFGfqq7aWfT4Mf3YjEybg7aBVQuvn2z+O689uS/H X-Google-Smtp-Source: AGHT+IHPMh8KitUWz2IouQzz/azYXMRtpN/Za+AnvsTlT7ulHOR4Zb5ZOPuM1rHtwe4+cYrz1u66kg== X-Received: by 2002:a05:6871:4915:b0:29e:684d:2739 with SMTP id 586e51a60fabf-2b32f2e092cmr7943100fac.32.1738356714641; Fri, 31 Jan 2025 12:51:54 -0800 (PST) Received: from [192.168.0.142] (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-2b356111477sm1426322fac.9.2025.01.31.12.51.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 31 Jan 2025 12:51:53 -0800 (PST) Message-ID: <2715ead8-cf6d-4b44-b6e3-343cb6489eca@baylibre.com> Date: Fri, 31 Jan 2025 14:51:52 -0600 Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 00/13] gpiolib: add gpiods_set_array_value_cansleep To: Andrew Lunn Cc: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Geert Uytterhoeven , Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Ulf Hansson , Peter Rosin , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Vinod Koul , Kishon Vijay Abraham I , =?UTF-8?Q?Nuno_S=C3=A1?= , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-mmc@vger.kernel.org, netdev@vger.kernel.org, linux-phy@lists.infradead.org, linux-sound@vger.kernel.org References: <20250131-gpio-set-array-helper-v1-0-991c8ccb4d6e@baylibre.com> <4ad45123-134a-4544-ad0a-24371105d96f@lunn.ch> From: David Lechner Content-Language: en-US In-Reply-To: <4ad45123-134a-4544-ad0a-24371105d96f@lunn.ch> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/31/25 2:38 PM, Andrew Lunn wrote: >> So I'm proposing that we add a gpiods_set_array_value_cansleep() >> function that is a wrapper around gpiod_set_array_value_cansleep() >> that has struct gpio_descs as the first parameter to make it a bit >> easier to read the code and avoid the hard-coding temptation. > > This looks reasonable. > > How do you plan to get it merged, since you cross a lot of subsystems > here. > > Andrew Since these are mostly small changes and most of the touched drivers aren't seeing much action, I think it would be OK for as much as possible to go through the GPIO tree. We might need an immutable branch from that though since I know that iio: adc: ad7606 is currently being actively worked on. If there are any patches leftover that don't get acked to go through the GPIO tree, I can resubmit them after the next kernel release cycle since none of this is urgent anyway.