Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1657848rdb; Wed, 31 Jan 2024 05:33:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IGdogq0/mIvGfFUS6L+tZO7qBftuD7w30jKtAjeEPT8+utekSFOmuCSAMYgtAy/MqDYF5/x X-Received: by 2002:a17:906:eb59:b0:a35:2841:2aaf with SMTP id mc25-20020a170906eb5900b00a3528412aafmr1360049ejb.38.1706707989875; Wed, 31 Jan 2024 05:33:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706707989; cv=pass; d=google.com; s=arc-20160816; b=wyBmqzS8cR/UtYYvwVtZGmv5ChaXpA7GMzHtJAJAm/NhkuFsGnVBJLBNJgnfLioLLw 6taAnbN0ADeLoIItBnG2Evvu7bvuZdBshreFmvrGumUpidVlcBSQAbforQSR40T1/Tru dsECAy06MM0lWo89vQ1khNeLXgslW3OUyhMZ6RvXRd9JM4UfzX6VjYpeZnmqywnL3i3t pxzTItwhXWG2cagvoVN4Cphgdg1jlHmlF/e6BcsRVo04aa7K2qKqc4Bx+FKhWnjjzMqg s44ALpZ81mEyQNYK0gofrfEgIBvB4OAB45Ocq1IR+1l7eF+CMprb7nPb2QRpFIjdT+Ev Sv7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=GD3HiXuK4cEfHe+tHuxBmXdCEARhIh+HrI+THCyTci0=; fh=iM80pw74yl1gmCVgBjsLV7m051RT2cNb+qsq0204MHg=; b=UrF5nx4mbYjr/jduCGjBX3nkrfCYQsklRrgUCaVLl7XeTVgrtVWfDFUhoVn4AKHjMM zoe4Xj4DPPuf6i3J+eMQhuBnMNCbjD+U8q9JNlubn1eTyRXq+oAIYzBNAqlWHg6OGBil Dj4iz1852+RbNSL9nj7UAASUqKbHlFsyD51rzB1y5fOofFq2Ie/OIixqndTS0aW9lskQ RQFHznXK7v8GNhR0SXkzR8Ht3SmyjgI8lLQNfs2GtQFq19qpGRyMLFtCJTQHhbup7dXk AQbPPgTrhNGNZgGSHHKYGxfhuaMML3vSOJGg1UrbjBnq9c6pBPZIfSlbjwerQR2vbcVf LB2Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ug81Kn3m; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-46502-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46502-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCXoWrmz3OCVBVmAmBIw0VUBbNsKHzEZ7XSzL5v4efua0fyVg7rue2JHI8DuuIffMvWTR5AUeVOyTrLD5zr0yAoIPnk+/m8VGTt5UG6hBQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id oy4-20020a170907104400b00a3498eb611dsi5316577ejb.748.2024.01.31.05.33.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 05:33:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46502-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=@linaro.org header.s=google header.b=ug81Kn3m; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-46502-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46502-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 756181F2B914 for ; Wed, 31 Jan 2024 13:33:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5ED377D3FF; Wed, 31 Jan 2024 13:32:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ug81Kn3m" Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (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 5BD397BB10 for ; Wed, 31 Jan 2024 13:32:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706707976; cv=none; b=KkdEk3rwsZ3jISIJM+9a7vlekdWXBd56Zffq5nVjE7CQhp6eFY7ZmoYSMJhFjXBlxbpnNzLQC7xD7z6xxSHVSDy0+r2z7MFjQYJu5pIti2orflVwrEeYdRAMPiMstlXQwWE7kobN/K4loUjvYnVY6aE1SlblKYOnA5vqdSj8Uns= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706707976; c=relaxed/simple; bh=zAnNr9f6EmoAz49vJ3ph9RDjsla4lEvcoYoCJsE1DYE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=P5VzRCHB5logXw5/p+/GbSqZKPEZv/X4//fLxK8KKBnlY7D9p5Tv9zF0F4VHuuVk2qqSpKS8PMrQFlm2457f/6UPl2xJqXqzsVCgkR3JrQwKsE2XbJL7+jmnIElCn8OTBXE5yoram3/tis+MAm/WMRwkbnIbc+ejaQcbbCye7/A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ug81Kn3m; arc=none smtp.client-ip=209.85.208.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2cf3ed3b917so62041041fa.1 for ; Wed, 31 Jan 2024 05:32:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706707972; x=1707312772; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=GD3HiXuK4cEfHe+tHuxBmXdCEARhIh+HrI+THCyTci0=; b=ug81Kn3mn5vyzBWmdUz+sW1/OoTzVxGU91rpwPeqU09lrBpVdBTAcnpKgE6Hb3R2Dv wz/mVu5Vhr7+fdCMwg/wknDSVNO4K+39yUFSWrSvAIvMJwWXln9IzOfyrj9dLianImxq UIAGHUuegojzPWfaX99aN816S00qsX3yspJDsr52x5w/ZM6YBv8XwDWOwMakBafkaPWc tOHVzProvPt4F2DiMLANov54UHaVLeXCT8jeWczh1TlFBy2dH0iSaE5qjXx9jxCBAM8+ COGsFvv0+lrvnEllNzA82Co4lCaiHCOzE5dNLo0ZStGXfKWmSQhcmpdsptSvt0hGgjcV v35g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706707972; x=1707312772; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GD3HiXuK4cEfHe+tHuxBmXdCEARhIh+HrI+THCyTci0=; b=UyLFPg8ZF0kZumX/ZeKZedxuTOFtcFOWkvGjQ/JR25RiD3zIaxkVAQyAyHxXX9fvcp hY1WYY1Zshi/YblUbh6G5/uBDa8cexQh1Qtvpys+KKnMbBsxuY63tS1h44ZIsjq8W1FU 4HQ/nDqmaQwxLkcWRUsamExr4HC88Z/bUVBR9MA2UfKki9pdhvtrqQm/Iaq9qAM1jsHh /C6JsvssBN9NMYolJ5scSsOVPMEy4EMBj+yYorl2iz10i0act6390NpRMRceehMqiuo4 tBvCvRp0lN37enH+iEhTM81mcH20QpugrPKsJHaUcoyq2+EKxHV79fYjcftb8KX8gA+f Sezg== X-Gm-Message-State: AOJu0YyDkr33lMcmwXr/WaF5sJYXV85WTOYY3VNHRTFeoYkefkJ8DOGd BuvUkKUA4eV5TrEsLEUqRvydRLm+ZUOXR5sncDTrNTLodPTOVa5VRsMX4mMunXE= X-Received: by 2002:a2e:9b59:0:b0:2cd:fafe:1893 with SMTP id o25-20020a2e9b59000000b002cdfafe1893mr1258216ljj.4.1706707972336; Wed, 31 Jan 2024 05:32:52 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWMBMaxzlMYTfU+rYu2ywEhR12S2ex+VYQfqAsZx/u5qtl1rd79sTPX3HitBlBpFIUxg1aGnE63ZCyUKnaO/AkqH+Jen7+vGvuBsUA2/WXYOrh/xrcqp+QTZiJmWHow7x+9pIFvWHaCI5xYQp56yZgxzPdiONcUUGQGfDTULM+Z1OHa45t/vvZ+L6IypqO7yJ7756A2BeBZpP+AjwnhrXC0fM2qC/Z6uvDkCBjnTIovprDKvOK4EOJLhuetZskrnLU/t7eUpVGo+9LgWAkNZ3mpMYHt6XemDZ3js+sXs4QvPijANh/gSBj1T4ngH0CvCOhlwVeyGB7li0AnZuzMpiGLF0LfvtQ5sE5x3Lr5NSDHKBHivGfx84nd9z+Iczs8haMehu4B+L1dIS3bZccS/S+gE7i3xnc2iIsQxpjrL4kxc6jU3LogeUCCqQVOBDF/DNvjk8IBdw4PP/msx7p0vun9b5YeYpv+KYV0vSYmmhO4GZmOn9LCNbmpMfhofa/spRQvA7+M4FQhI543MxVcnE+YtWbAit2v2DMX51xPBn+EyZrF1x9b6e8sCQD2bcSBA16lLmR02MsjSWnMRuM6CkoKGQZWIeU/5OIF6lp+ioQzsis1q+nJInLv5P8VHTiVC5Y5sRzOjjKxwRMsl9bshOfQP0KYL3txePXoCkUboPhmDwIL7iLMDTr+kapCV2+vK03ub7rKeqU7tWSpQh7hnr6gqAXIfeyat4Qe3EZI1eGBZTkQ2oI9VskSS9OeGG86G/sbpt/zhjuRfKWGw5rnlR8GbkJDbOCJpP1JLJrI8ScKBibFfSrKLzWLcN1WzB47F1EMWA5pGxA5VcRM1Zs= Received: from [192.168.1.20] ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id q7-20020a056402248700b0055c83efc9b5sm5825225eda.62.2024.01.31.05.32.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Jan 2024 05:32:51 -0800 (PST) Message-ID: <5ef64082-0b44-4bb2-bd4c-654c96f4a9bb@linaro.org> Date: Wed, 31 Jan 2024 14:32:48 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 4/6] reset: Instantiate reset GPIO controller for shared reset-gpios Content-Language: en-US To: Linus Walleij , Bartosz Golaszewski Cc: Geert Uytterhoeven , Srinivas Kandagatla , Banajit Goswami , Bjorn Andersson , Konrad Dybcio , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , "Rafael J. Wysocki" , Viresh Kumar , Frank Rowand , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Chris Packham , Sean Anderson References: <20240129115216.96479-1-krzysztof.kozlowski@linaro.org> <20240129115216.96479-5-krzysztof.kozlowski@linaro.org> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vc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R4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 31/01/2024 14:17, Linus Walleij wrote: > On Wed, Jan 31, 2024 at 10:37 AM Bartosz Golaszewski wrote: > >> [Me] >>> reset -> virtual "gpio" -> many physical gpios[0..n] >> >> This is a different problem: it supports many users enabling the same >> GPIO (in Krzysztof's patch it's one but could be more if needed) but - >> unlike the broken NONEXCLUSIVE GPIOs in GPIOLIB - it counts the number >> of users and doesn't disable the GPIO for as long as there's at least >> one. > > I don't know if the NONEXCLUSIVE stuff is broken, if you mean reference > counting isn't working on them, then that is by design because they were > invented for regulators and such use cases that do their own reference > counting. It's also used for hacks where people need to look up a desc in > a second spot, (perhaps we can fix those better). > > As I say in commit b0ce7b29bfcd090ddba476f45a75ec0a797b048a > "This solution with a special flag is not entirely elegant and should ideally > be replaced by something more careful as this makes it possible for > several consumers to enable/disable the same GPIO line to the left > and right without any consistency." > > I think for regulators (which is the vast majority using it) it isn't broken > because the regulator reference counting is working. > > So if we solve that problem for reset, we probably should put it in > drivers/gpio/* somewhere so we can reuse the same solution for > regulators and get rid of NONEXCLUSIVE altogether I think? > > The NONEXCLUSIVE stuff was prompted by converting regulators to > gpio descriptors, so it was for the greater good one can say. Or the > lesser evil :( my judgement can be questioned here. I discussed the non-exclusive GPIOs with Bartosz quite a lot, who was Cced since beginning of this patchset, because that was my first approach, which was rejected: https://lore.kernel.org/all/b7aeda24-d638-45b7-8e30-80d287f498f8@sirena.org.uk/ The non-exclusive GPIO was made explicitly for regulators, so it is working fine there, but it is broken everywhere else, where the drivers do not handle it in sane way as regulator core does. To make it working, either GPIO should be enable-count-aware, to which Bartosz was opposing with talks with me, or the subsystem should mimic regulators approach. In some way, my patchset is the second way here - reset framework subsystem being aware of shared GPIO and handles the enable-count, even though it is not using non-exclusive flag. Best regards, Krzysztof