Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3762451rdg; Wed, 18 Oct 2023 05:36:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE67MxOW1LhhzxwL4VqHsP5EgjLyGZFXc1mApgch/A1kkJZbglszfT8wOrYUI5/zptbXdkz X-Received: by 2002:a05:6870:1f13:b0:1e9:de37:a761 with SMTP id pd19-20020a0568701f1300b001e9de37a761mr5022440oab.22.1697632562949; Wed, 18 Oct 2023 05:36:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697632562; cv=none; d=google.com; s=arc-20160816; b=veKuAqrQ/bhhQtgvyUGtAZvKRJ1EQeYjqFmRCmBX1PkaqmbizcwL8jkRb6DKnu7AK1 O8X/vf3FG4kqIkVN8ywrNOshGGpeOlHDEe9nvEX3njqZYbDEWdlf/eFLLUlzs+2wr7Zw C5GC3JBz/hxkGUd8v/YbkUkirbpKUSwX1F7UKkniOgllc1pbCqhfqX+WFT2SnvH7ZrMk XD0J5DxAYwPz6DQktFT1bQhqyXuSouPtEBmxnOs9rAQK8XQE0MKlH5Mm3q0CKvPZNPgZ sFbUZrh2RTOCJ2Ofy5tUkJQ9Qki4A1sHN+uuL43KvvZSuM8ar6+y7f/7EGypOvkAN+cd 9Wtw== 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=PVWi0i+9hqR5vk5trEdUVtefvaEfdCz0ncKdFXy/ZnU=; fh=1t2MVv3+BINYQs6DttGd9enRITjmoxz5PTStse3iDxA=; b=olVDjtI6Q29e7jpVgBlBiU+iDNjkBFx4henwnvAEvXDSPTeJV9qGLflzv33ovDcpGw OujsBMevZPbQWPRD4L5iE5isayGxQwvup+Er14YSmYjDyUqnWz9c6yChnTnP/2/4pWcY 9ChHdhIT0Wk0wl0/uGsC4txUMgiogHyKyYv+yIMqyJBjvYJoG80biIBHteXpg+P6XcNO 2YOMofcJPovlDCSpPsknLltbQAusMaO2uu23YQxDWHhsp6g+MRPDPqtrD9HyECZK/mZ9 UwXDO8/5B7Azgcx65rY+Y1KegPeskhd4sh6Hn7S50VFbUd6YNss2k1/JtqMY99PshH1w fJBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YcSC7Jo6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id a21-20020a63e855000000b005897bfc2ed1si2087409pgk.215.2023.10.18.05.36.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 05:36:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YcSC7Jo6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id CEB848160392; Wed, 18 Oct 2023 05:36:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344512AbjJRMfv (ORCPT + 99 others); Wed, 18 Oct 2023 08:35:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234927AbjJRMfu (ORCPT ); Wed, 18 Oct 2023 08:35:50 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23FDC10F for ; Wed, 18 Oct 2023 05:35:49 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4C09C433C8; Wed, 18 Oct 2023 12:35:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697632548; bh=IzeKyhweq1AWLlQfKTFic0Ns1rUrAh3cIE6nERCkITs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YcSC7Jo657eM8tIi2pAedw6dTC23LfnzfpUvTnfeYeQryq56M5FX0LWqykW3Zde5z kPhKUcFnZFggluYnd5Tf7P2YG8mQQ/Ite0cCrmrMoVBexhmbne4X77jfbLSXIeXOEd 1pXGEFi6RIx665WWvDBavqie2GpwxSnYLet1H/dgt+VzIn4cvfzggZJzx0QmQi8f5P oTLz6+l6fT9mpgEH0b8ubg0NM7CO2+QIN7qVAEhw3xgEZN/Wt8dfXo46KDSmoNL25N WesDoXZstkDvoTc1jWXMCwS9NRKwFJAlLC0OFNnsu7yFE+gv2CB7/Vgexi5Xpqckm0 yZRIlD62AsWNw== Date: Wed, 18 Oct 2023 13:35:43 +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: <3aa9e3a7-9417-44b4-87d8-fcf1a8b46daf@sirena.org.uk> References: <20231018100055.140847-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="p00VV8kk1vH04gU8" Content-Disposition: inline In-Reply-To: <20231018100055.140847-1-krzysztof.kozlowski@linaro.org> 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 18 Oct 2023 05:36:01 -0700 (PDT) --p00VV8kk1vH04gU8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 18, 2023 at 12:00:55PM +0200, Krzysztof Kozlowski wrote: > On some boards with multiple WSA8840/WSA8845 speakers, the reset > (shutdown) GPIO is shared between two speakers. Request it as > GPIOD_FLAGS_BIT_NONEXCLUSIVE to allow such configurations. > wsa884x->sd_n = devm_gpiod_get_optional(dev, "powerdown", > - GPIOD_OUT_HIGH); > + GPIOD_FLAGS_BIT_NONEXCLUSIVE | GPIOD_OUT_HIGH); How do the speakers coordinate? --p00VV8kk1vH04gU8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmUv0R4ACgkQJNaLcl1U h9DM3wf+Ox6S1h4qHtk5rsc4MfEIG9YfVXZ2Dbwm1s+8OKlAzkmarLvnx7aIoe6A K7KDIqZa56KFb5V98aCgLdOrKReHACqAd3aQxqyP3I+lNkaKS+hSywdGJfCS/+ze IUGmrH7xrcdfLpNb1K5vbq1Y4xsvoczcLcd76kV2FO/vx6NYlivAmMA6+m7LXdoo XXNG4DCilqMpUtNPjNaw3CFI7/X2O7s5Mb/blmWAB6neNbAJEc+vefr3gnmR7JQU j/TjQY/kXSUJHeRt3l6Kdrkot+xgKL6XsgUKFzhyv1FsJcIEOJ47nZcjyHlkFMK+ padfziLK0UyF/yTXkDl8uHDep4q/aw== =nLXY -----END PGP SIGNATURE----- --p00VV8kk1vH04gU8--