Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3863656rdg; Wed, 18 Oct 2023 08:08:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEN8+H7ydpmfNXMVbbGnFgMMk48wchUcCRpChk2ZfrYBHxNfvCVd5Q8Vid/h3nFqGhLfTYP X-Received: by 2002:a17:902:c943:b0:1c0:d17a:bfef with SMTP id i3-20020a170902c94300b001c0d17abfefmr6130465pla.30.1697641708898; Wed, 18 Oct 2023 08:08:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697641708; cv=none; d=google.com; s=arc-20160816; b=c4zO2zWHDdpmyevGWXIy/L9U3PX9ZJskiPM2AkOqd1y1U61+ZOm1Q0sHVZOvOqdJAW xObIxzH5nOqRZxX9y/00ba4PZ+MuTVSLJ50XUyMcPYDod6SsPXDti3KYMxXJEy89izxi fbVOVW0BR5Tv5EdNdV4nTjpykum2tBLIBqBLTL1mn6oQvpOUG6NmJl+D0p5V01E1katJ W7Xj8NGQWKFj3Y5AWFDTZCHvu1Ws2JpYaIR8XIxKVDHuU9CpKPYOHlBqJXsGlpKBG4k7 1zf4o6uJp0ZyUOIf5sTvAYU09S4TTO3vo+x6KFDadumb8OWi+yJi9hzcOgjMnrYyzS/L pb+w== 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=sjfRKBJ7efAckodaDy9BZ8eB8gDg6uuTjzyg5vR0XfE=; fh=1t2MVv3+BINYQs6DttGd9enRITjmoxz5PTStse3iDxA=; b=Qi1cZSt0e78Btl5iDfNRDTxKrjLfkW2xzJU0bwtnv+vQf3ZcoHwcl9oro5tQ312+Jr d4fmhtPCilyOtbg/c/sjdA6FUuJmF6fkRagUsSMLW8Yrgs6i9JCFHhijgUxhm5+pk7fl GlrjrtNjrt7t+FeUVYSTufwtIkxyVEG+0j/3tHeZCc9iPAp+XBXM8RjgSSRVESoY58rl dWnWBZ3TpJ9ZxjwNcwNgwr1730cfOvXKNt/K0wTLFcGoX6Ow0cMJnvzygJvwoKZvBj3m ltNoVogz+glXTlEqscqM9UWAUuPwS+NSzeWFKR2LSu5YM0Kelv3ex/P9TGij72sOia1u GWiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S25cZry5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id m17-20020a170902db1100b001ca119ef46csi45884plx.478.2023.10.18.08.08.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 08:08:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S25cZry5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 91FC08022B62; Wed, 18 Oct 2023 08:08:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345139AbjJRPIF (ORCPT + 99 others); Wed, 18 Oct 2023 11:08:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345132AbjJRPID (ORCPT ); Wed, 18 Oct 2023 11:08:03 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D268109 for ; Wed, 18 Oct 2023 08:08:02 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74810C433C9; Wed, 18 Oct 2023 15:08:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697641682; bh=mBkZiAJw0cAZ+8K45DFZn1KTs545PbO0X/BQKA3Y8Dw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S25cZry5EckSmUckAngr1pga2GQsoTavq3XDjyGIfITI3GKBU5hevjH1UeUxdLi+b 7rRfl5IWifnWIWbjdDa7VWmTzC0LH+XUv5ccmYAdANSds74BzlmsPFhoFoAQeZgUaQ H0OxSQKRl6Y1Hl+NHJD55QiSu4qf046Gwr3YvewnK38u33gWHDHcOtO2HC8nr2ZWsZ 2dDwLswfJMna47Sv2cg7IZOd4BgTGIUSV9x6NAP4MwtQtfAVL61tE9ED/HsWT1r/wp 4BBAoisf1U7RXpfoyiWEFAEEc0Kwomq5u6L6Lf1Vxp+OiPKhM7UR5NUN00zQdJWylR 3QRUeMEw9Y1bw== Date: Wed, 18 Oct 2023 16:07:57 +0100 From: Mark Brown To: Krzysztof Kozlowski Cc: Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: codecs: wsa884x: allow sharing reset GPIO Message-ID: References: <20231018100055.140847-1-krzysztof.kozlowski@linaro.org> <3aa9e3a7-9417-44b4-87d8-fcf1a8b46daf@sirena.org.uk> <84f9f1c4-0627-4986-8160-b4ab99469b81@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0DVAadVcjJVHZ/F3" Content-Disposition: inline In-Reply-To: X-Cookie: Santa Claus is watching! X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 18 Oct 2023 08:08:26 -0700 (PDT) --0DVAadVcjJVHZ/F3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 18, 2023 at 02:57:59PM +0200, Krzysztof Kozlowski wrote: > On 18/10/2023 14:56, Mark Brown wrote: > > I'd expect that the GPIO users should coordiante directly rather than > > rely on the GPIO API to do the coordination for them - there aren't > > enough semantics in the GPIO itself to do much more except possibly > > provide discovery services (which would be nice). Look at how the > > regulator API manages multiple regulators sharing an enable GPIO for > > example, it adds an additional layer of reference counting when it > > identifies a shared GPIO. > OK, it is still regulator core, though. Not individual drivers problem. > Several other existing drivers have the same issue, so this should be > solved in a generic or shared way. Indeed. --0DVAadVcjJVHZ/F3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmUv9MwACgkQJNaLcl1U h9Bv+Qf/Rvb5zyWFaHHrWVDS/7ye9dIL/po1Jvc9RP6d4AYn6QD0oyu/NbUNIHFm LeB/Xwa73t6cIk7NqGMfpiGr494gsJIZkIYFXA2sRbIViBed9lfXkPIp/lbosz5P sPjpR/gzT3+PqyyaRdEzXfmc2Ninu10PEvR1US8HUfNntlkGOjgnJLp8mXM0whUm U+Fbl5W2+2TrIstqes8bJRzBSzpZgM5EqkhXUapqmr0EBVHOn7OjfB1e2/DqA+PF k3ZedVR9V7xi7S3nhLurr5zS4E8OYUebnt61PfdxqsZjqlQNjEQrQfMtwALjarOg yOL/dyC9UX7+UUWQlxh5j1GOYjBCdA== =sw3k -----END PGP SIGNATURE----- --0DVAadVcjJVHZ/F3--