Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2438581rdh; Wed, 27 Sep 2023 02:39:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFR3ST+MNUOHZ2lE5yF6uftj4YUTlW50moyF2BvWg5GZr8jqXCXBuOzY5W8eRFhjq4WG/eo X-Received: by 2002:a05:6358:4429:b0:143:383e:5b22 with SMTP id z41-20020a056358442900b00143383e5b22mr2087178rwc.28.1695807561560; Wed, 27 Sep 2023 02:39:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695807561; cv=none; d=google.com; s=arc-20160816; b=nVOIZLHLPteRdl6P/Rn96KiVk6O8NZh2i6K7V0hMsN33sWQv9GYsEri2IRw888uzkn 2/fHFo2mjLYSlQ9G1VkRAkKQoBYSvhbxUr+maMJ/suZxLBP+R4LXraWe/C9GoXhm+oV+ f5QOnSHMzDpZvip1Vk3TZ2Lq+lJKtA2n5k57WlR6zj8mNW0lk5LbsigjrCPP3pYh0uCB 1koCAvzZyFnebuDAR0ZrapUyWffBpWBIN6fnQdaL/2IMXDv+CFltbXd8uv+IwQJEac+i jcfoQwNk068NJ3S+ABnwA2WOz8rzaMOQBtFSaLluU+/mY87acB/ZekQuow8iqd8MCq8H 59Uw== 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=PVZOKsK2m3x3gG0VJu8axhSQ5SWhnpVypSFjSME2RAY=; fh=Dan0ZH0hblhWcDJgdfMzgOfNF4+rzM+FAtTIVpkLH3g=; b=XS1Zxpan4GHDnD7h/63OkkPfwmgO2sV9YVx3Y4HzK4gOwzQLniJ3n3rulsTFyHutUu kYTcr1IGAf4uB4f4Bh5igkdJFgwx2heO/VpmdtgEB/EzhYS0iayNlICPjaOQc2ENxI82 CQLp/qt4CekjoFAEEyfGoEwoOdXNxSeK7HU/uIII2y2jTaB+cg7KIejCjYztr3J58dr6 pmiX+zQHEPxvHQ3oein+tNi8QFaGDQGTalsNJwmnBBig3DTMj/8uoSKsU6Mkr3h3Ta5N qvErp2zDSHQ58f6w4lyAcXeUxwvUbxJ8WElfQkbhZaNQ+G6yzcEPpZm26/L5/JYLuzCP S+jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I46iMBzn; 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 h70-20020a638349000000b00573f885c4edsi14842953pge.368.2023.09.27.02.39.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 02:39:21 -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=I46iMBzn; 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 352D3827AFA2; Wed, 27 Sep 2023 02:29:49 -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 S230204AbjI0J3n (ORCPT + 99 others); Wed, 27 Sep 2023 05:29:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229650AbjI0J3n (ORCPT ); Wed, 27 Sep 2023 05:29:43 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CFC0CC for ; Wed, 27 Sep 2023 02:29:42 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49BF5C433C7; Wed, 27 Sep 2023 09:29:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695806981; bh=PoynAhC42Ct+N5LxHx/oBa8Zl3onSqNPhKu1yqqfuCE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=I46iMBznA20yjD8uhY5Qh9Ki6oMk1pBVm3P7nWXi/Mt6g5XG/sSBgeI+alGlhDjyv Rp+wcfJ+1yNmiLkI99DrGrHYZ57KbA+kccDiooBhQPHxymj/oL5MCv0lxJAVPnAn0c y9Ds7V8pNS/a4vQqy/nJD5Jo19U6zjcNoNokZKHlMZLpNbPHtCZeCDEbJDpQ5STvGa tV0DK2K8ZhNPWhyjn2iIrCcc5mUAHbMHsupiyOzBrUjFuJEznhfEXWM8puzd8oxvMX Kk2fxTFBxUct64Pg2DCGj4ceXwRsSe0W1gsCVHN/P3jRUPsls15U3mfVG7+Dn1TxKa A+sG9yBWlHU5Q== Date: Wed, 27 Sep 2023 11:29:39 +0200 From: Mark Brown To: Chancel Liu Cc: "lgirdwood@gmail.com" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "conor+dt@kernel.org" , "shengjiu.wang@gmail.com" , "Xiubo.Lee@gmail.com" , "festevam@gmail.com" , "nicoleotsuka@gmail.com" , "perex@perex.cz" , "tiwai@suse.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: Re: [PATCH v2 1/2] ASoC: dt-bindings: fsl_rpmsg: List DAPM endpoints ignoring system suspend Message-ID: References: <20230925110946.3156100-1-chancel.liu@nxp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="M0KDERL2YfXElnfx" Content-Disposition: inline In-Reply-To: X-Cookie: Save energy: Drive a smaller shell. X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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, 27 Sep 2023 02:29:49 -0700 (PDT) --M0KDERL2YfXElnfx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 27, 2023 at 03:07:49AM +0000, Chancel Liu wrote: > > This is a fairly standard DSP playback case as far as I can see so it > > should work with DAPM without needing this obviously use case specific > > stuff peering into the Linux implementation. Generally this is done by > > tagging endpoint widgets and DAIs as ignore_suspend, DAPM will then > > figure out the rest of the widgets in the path. > Yes, indeed I meant to let driver get DAPM endpoints from the "fsl,lpa-widgets" > property and then set these endpoints as ignore_suspend if the sound card is > running in this use case. Do you think the description for the use case can be > simplified since it's a common use case? This is a card problem - the driver for rpmsg shouldn't need to worry about it. Any bindings extensions should be at the card level rather than in a specific driver, we could probably use something in the generic properties that they're all using. --M0KDERL2YfXElnfx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmUT9gIACgkQJNaLcl1U h9Co/gf/YdAlws18Znc1Leg2ZPsdDGFeaWbgTuNgdJBfXu7DkM5EBpJwJitNdYBH ee4d/A5s4cPYEwNBF6APc8Kuoo6ZLSzUUVTIoEVo3hx90x3VMkYHMG4ZrmbGHM1j Q2Nb8wflfskYqPjLus1P4DcBWKulBIM1xfQGN3G4XZefa653qnNWGAoJLrIJr0BT z5wh8S+9QtDJosvub7my40MWeV9d4i3yNywRESPCV7oFQd6c0WwDPrW6XxUClSEt sKPmpp8TyP7AfzZoFiHYh3/97Qhm04LSjlNAybae7/XqRS6zFJGYi1rCSaT5Oaol AklEsC5VrCYgCthrJITSvQd79yOuyg== =w/+0 -----END PGP SIGNATURE----- --M0KDERL2YfXElnfx--