Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1254513iog; Tue, 14 Jun 2022 02:24:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxM2ZbrIVWheVwd9boTKRLNQtNxIX3tMu/niNtr6neRYn7MlEIB7IrcThDRTraNxjdSoWy5 X-Received: by 2002:a63:5610:0:b0:3f2:7e19:1697 with SMTP id k16-20020a635610000000b003f27e191697mr3615092pgb.74.1655198646677; Tue, 14 Jun 2022 02:24:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655198646; cv=none; d=google.com; s=arc-20160816; b=M2z+wMILYXSV3uSZmVNT53JQg4pDbThIEvdq8hfu9guTxUwIXgcsAeWXwS2kRtq5HW tD4BmILW+zMpb/5Lm44XjBMonwRCrKH+cbr9Nvd6xFrRpJBOi/v6uvU5NxOVwSm9UvJw /q/fmFsxrp0XQEQDfcBySXRaDJRqPgylasTB3evfkIAlwGJQnip6IfoevjNYggvVbAGn 4Vg/YIIA4J4fkt9QCfntnQaRryW1W4AoPhReORLhrs2UoRoBhSYhiAb+njnmWe5KZZny 2emuM5sFwm11EATrtxmIGHVwE9FzK694dYmQNaHU2YtQidlcv9ndG1zG6R0ocqdB7aD+ qWhw== 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=qY4QYFNySUnbFd+YjwBFvK08ESBS0Xn6VzgWab0zmPQ=; b=p6tEnaq/KPoD/kPhE9XeQKEkK59pUIyx0ui0pE7xdOSn3YCq9VBA55gb036zaEvO/4 b7ymIkman3TyMsMC7d2i/Tf6NryNDKaz4dco4oyHNAcEnWsFd45Vou9slNZRvg1fNQTU x29JfgPjus8SxgKYPDK445oT20ees4s43tynITyZk7uxwujRkZobs7wfIMKvFVGP2fvy ZmLpItUGGwBZJhBzxGy0xijmmMGARU2UgpjPww0Ay8iHp2JvBxE5l0FBgEF45tp+JGQy Ks4aGovpf009tMYVYx4/9IfmlfYy1tTjyA/ozyk1UzKPBXvXl1IjvORvh4dkz/ah/hjR 4Zbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=c0Y8DLqi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i33-20020a635861000000b003fc9d61c76esi12354893pgm.187.2022.06.14.02.23.54; Tue, 14 Jun 2022 02:24:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=c0Y8DLqi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354544AbiFNJSg (ORCPT + 99 others); Tue, 14 Jun 2022 05:18:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231443AbiFNJSb (ORCPT ); Tue, 14 Jun 2022 05:18:31 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27C2040919; Tue, 14 Jun 2022 02:18:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CDE11B817BF; Tue, 14 Jun 2022 09:18:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1EC9C3411B; Tue, 14 Jun 2022 09:18:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655198307; bh=qY4QYFNySUnbFd+YjwBFvK08ESBS0Xn6VzgWab0zmPQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c0Y8DLqiCpxygssmgukH6NsS6c5FANeyOctlu7871eAXxmG2RF0SQ7FUvon0Zvdpj hccgCoLBLztOp5CCVvg+Sg24g3fQhdO76kzMbdsYwvf7RKtdIigEBuJzAl8LHcINR6 hhr8mAs/a0WdlZ0OMduJdrc8sTlnisaMJUDotbr1aI3lX4HK4DfftodMiMxtU3Kj3g toLw2BkYx13L9W3dvaCEoZUb4pRqNw8vHJGRfv70m90HjNl5z8C8YfH5MrtRK/kN+0 Tvo8GoYkrBl462NLl2DqA7eQ/owxjt+ZP+dfXTu989Sr5iMkEK3UGIT/vrU7HF75ga BwBQjUVDE7ZXA== Date: Tue, 14 Jun 2022 10:18:22 +0100 From: Mark Brown To: Martin Kepplinger Cc: matti.vaittinen@fi.rohmeurope.com, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, arm-soc , Pengutronix Kernel Team Subject: Re: regulator: BD71837 PMIC resume during noirq phase? Message-ID: References: <573166b75e524517782471c2b7f96e03fd93d175.camel@puri.sm> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+fR1QCK73X/HcG0b" Content-Disposition: inline In-Reply-To: <573166b75e524517782471c2b7f96e03fd93d175.camel@puri.sm> X-Cookie: DYSLEXICS OF THE WORLD, UNTIE! X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 --+fR1QCK73X/HcG0b Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 14, 2022 at 11:06:06AM +0200, Martin Kepplinger wrote: > and regulator_enable() in imx-pgc is called from genpd_resume_noirq(). >=20 > At this point, does any workaround or fix come to your mind I could > test? I guess i2c needs to be resumed too... >=20 > Why does power domain only implement resume_noirq? How could I untangle > this? Indeed - if a power domain is controlling regulators then I'd not expect things to go well if it tries to resume without interrupts, there will be some things that can be done purely with GPIOs but that's depending on the hardware having wired things up that way and the operations needed by the power domain mapping well onto what can be done with GPIOs. --+fR1QCK73X/HcG0b Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmKoUl4ACgkQJNaLcl1U h9A1yAf/Vx51C3O2i71jqkYFMKLPNfdrjqstyeRZT4HprhHHZUNGMWRhgBlrJsPt hR/FEJVsh0kG3KpCqp1ktcWf5h5NjHEuISgCFVUZCrOHwlD2y4RNBza1msTwVrCb gmXgtyhCqgYEkDQplyrjTO2HbdmY2d7Yp7R4aU9KteWnH+S3/bpWqZNdMvAeFskM DQ/6ZRlGk8xTpIQtW7s2RvAekPfYhSUihffMKIz7QwtbaYeyQnGzYb7yzgXHbELo +HqfCb+AmiXs0BnfKOefC6Q1a2BOcjmrKX8a/O84B7hJdRYqEnCFqf87YAoMa5+c 2m8TChKdHhRObPq49xmkzZNunZQsyw== =WUL+ -----END PGP SIGNATURE----- --+fR1QCK73X/HcG0b--