Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6187842ybi; Wed, 29 May 2019 04:17:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCHnwy0nLHCtb+LFGSiRFsicZifD/lxgJ0JPCi4mubMPrAi/juXeG3H3azzaC52jTs29za X-Received: by 2002:a63:6b08:: with SMTP id g8mr4748931pgc.106.1559128677428; Wed, 29 May 2019 04:17:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559128677; cv=none; d=google.com; s=arc-20160816; b=AMr4+rHobCx27yXLg6jvGiFoF7JsrTv6vPk11mUbj/so4Plspe5fr1RgXhPNf7l/4X 5U3uobqW8PJfZaTII1TWY6zdhxim/hvgZ8NUomEk1IVses3iWOq+lmDv/I7+0M3rgytC z0y9lU0R2jTMBAp6gdoceDG3UCaefuw5YuddG2Daqsl9V8WI8Y7jJn/SXCkWPx5hLWY0 23r6FDFpVm4FsWKDHdhLXg98zxuQAS2N6nmmq9/C/G7CWzQ/rDHP7fzR6c4YOhP6RQhZ 5HnlMNWKN7c2VmElgV+CQIN2MHHPkzDhtOvfOZFsNmGR4a+i7qZ4eh+bbClk4bOICrtq uYuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ymvUg06cR3uVZAead0DxphjXjeUzgb2DfPShyNmSrOo=; b=jJWclPdrOV2bbj8GCLwOrA4NM5b4IdDXbDXu4koaFdsr04auAakw5u9+ZiRjnEW2/W KKmWjikHT7TlbJk73dnV/H5mEz4gv0RGLCojO8fPUM8kZ98klSY4j9diXEUVfxiq5FTZ fQtby5pn6VOfJMlfUUW5KaMs8FIN5TUGDpUByJE/sH2iSqokenSTKh5WUbXBzJJXsB8U 7QXvVKMi0NcD7dAtpwFRObIRnQet/xB0+lUVxiv3FmnFmFHtod3nzqSy78i2fFGdWl2P /kKKGY2BPgxqimz78mW4YHz+9BiSSjA3MyTGYXYLgElH7DsEeFxjXb1d28Ax/3McBwZa PvfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=xbHC+5IW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y17si26442207pfe.220.2019.05.29.04.17.40; Wed, 29 May 2019 04:17:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=xbHC+5IW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726800AbfE2LQH (ORCPT + 99 others); Wed, 29 May 2019 07:16:07 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:40862 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725894AbfE2LQH (ORCPT ); Wed, 29 May 2019 07:16:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ymvUg06cR3uVZAead0DxphjXjeUzgb2DfPShyNmSrOo=; b=xbHC+5IWGUh9LKH0aRq2nPxa4 LwaWJNwmKQv6ACpskI7sYOoUkKbMyixIy+n4hidK/Xkgm8J5i2QkajPPUG+Q151eYhiqqtkLe4XX1 UMbr7tF+RfSPxyhkga2xetXnRgB7ZxwrP2d4eyWc9Qhg5e9cuuNju+Xtz2LKqOM+KdOm0=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=finisterre.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hVwYl-0004pw-Ml; Wed, 29 May 2019 11:15:55 +0000 Received: by finisterre.sirena.org.uk (Postfix, from userid 1000) id AD492440046; Wed, 29 May 2019 12:15:54 +0100 (BST) Date: Wed, 29 May 2019 12:15:54 +0100 From: Mark Brown To: Andy Duan Cc: "david@lechnology.com" , "rafael@kernel.org" , Robby Cai , "gregkh@linuxfoundation.org" , linux-kernel Subject: Re: [EXT] Re: Issue: regmap: use debugfs even when no device Message-ID: <20190529111554.GO2456@sirena.org.uk> References: <20190528132632.GJ2456@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kUBUi7JBpjcBtem/" Content-Disposition: inline In-Reply-To: X-Cookie: The other line moves faster. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --kUBUi7JBpjcBtem/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 29, 2019 at 01:33:46AM +0000, Andy Duan wrote: > Correct, regmap without device also has issue when power if off, because = regmap > doesn't implement runtime pm for the device, but maybe device driver impl= ement > the runtime pm for the device.=20 > So regmap how to manage the clock and power when access registers by debu= gfs ? Like I say the basic recommendation is to use a cache. --kUBUi7JBpjcBtem/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlzuaekACgkQJNaLcl1U h9D7agf/dSRk9A2I23hG8npW4JstXPO1trIkiV7i6P6GTvY9ujiGfWA1Q5JcHH4F K5pVSvuD5gGnSpY3OaPsJv15NW9E6K3XPZmkc/TP4nbbiHM3DZLeXByF/5h9mYtM LEl6SzxaIrwt5IQ3HdyppH3Ipp0wf7C7RxomSwlTU5PMxu1nGSIRcjtCWJBGGM6J YAWCP6flJL7Ddcibvx4dhxv5VPFLMg9YEfZNWZYnAk1/YECxgW5SbSsMFqtJNTw6 DokoaLn8K0xCuYfsZnSI3qnIlYXhIcI5Inloylgl+6fzpKf3BRBd+Zcy/DD1ALex KHMcrFAr5lEAQXSV9mpdpYo4RvEzkw== =+KcL -----END PGP SIGNATURE----- --kUBUi7JBpjcBtem/--