Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp505527pxj; Wed, 2 Jun 2021 04:51:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNxoTS+hueJOO2K0do0lJT8JEGyBGntcLieH+crpoZvoSBzD1qiN+Foh2pG58g1bSNPeDu X-Received: by 2002:a17:906:2a08:: with SMTP id j8mr33919916eje.483.1622634709560; Wed, 02 Jun 2021 04:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622634709; cv=none; d=google.com; s=arc-20160816; b=xZLJ75wnZ4bqoCKFYioNgu9Ii891hae9uBvnyRh2gbTtckXfgSMtYwVCfsBfsAsEQk ARGI+0CddtWd424Q++5DXwqIfBIgv2hgdE/nD1Kj0XDvUWzjKmvAU7gtLiYyHyYBvRcZ RB0H21LOYFAETaMlzWfSxCuf56J91/Hr/z+3Yq/sL55t1madUNAPtqggnJRY8NYSvH5e upUFDKoAx0QgdeCNsj+dxW3aLWT3SXfVQ0hJFLV2JgTSwkJbhdDq8DiKES9BLzqqqkWc GE2y/Oaobc+uDDyDljMvOO1jrEy6eiTAWz46hORnLgDGFThzm8xlQuUK1YAiceI1ia7c x1Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=n4rPRQQrQqpIK8ox7L9z47C/42TYiMoMPH05EYEx+Do=; b=rwI57uRZCwnXZQ0PmlMm4yKO+eJnDPDqIlhtti9lr/Us3l8Mk3HncPh4R/9RD/GmLZ CjqnZkbZE9Hfnu/Pnrpl9bCeYryZr+oEX+/8elGN3anujm9skegj3uH/73di4VGQcBZ/ HnGniYyGwPl2XY2KWqFoz2aCAmElLsuj0xBNaEOao2wRL8RaH46RdatcKZ/my9KY9s5G XZbTZHuEvNYRaRb25Iqq/5iZcDmiA+ZO9XIS/U1psijoqQgZRPHQi7U4lurBZS/GaARu R4+Ya+YzHQc1tiE5LUO5mH0ti9PU6ckh7y5QVhuS9KLS7V4CDznE5bn6YHNntHgjuGHX +kDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EgCBMhMw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb8si6072957ejc.558.2021.06.02.04.51.26; Wed, 02 Jun 2021 04:51:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EgCBMhMw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232450AbhFBIUa (ORCPT + 99 others); Wed, 2 Jun 2021 04:20:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:37078 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232437AbhFBIU2 (ORCPT ); Wed, 2 Jun 2021 04:20:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 85A016100A; Wed, 2 Jun 2021 08:18:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622621925; bh=xEDqrLXeDqjFw9bTsbFpSHECzMDTrZ/GON+d4W0pqCs=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=EgCBMhMwVfJFODSt/HMPw+CKJ6rfgQZ0GsFOwOj22FpfJvLlln1yon3eP0PNfKTMF 8BzIio1MIlXPnbQfK+ibAoxklCgBLicFdFBzpPLAZzGxBsdC36l+7MKFrO1lyEd8hU EvJwwpDmrRpERqdtbsEXh9UtRbnE7u7oD2vedbbZRL4AI5WpRos94durRuD3CKrbU3 qZkwMvqHuFH0OgovpudQ9tqFN/zZ0ThXVTdfe/oKWm1vos8fYtAulRyQHB11jnp9pG Zd8LKPiifxG8l4pdyjApAoDrQy7rUijcesMPDdbIaGoAf8WMcp+ycN9XP+oOyeZAsE tiLQdTaVLHFKg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20210528113403.5374-1-peng.fan@oss.nxp.com> References: <20210528113403.5374-1-peng.fan@oss.nxp.com> Subject: Re: [PATCH 0/3] clk: support regmap From: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de, Peng Fan , Jerome Brunet To: Peng Fan (OSS) , mturquette@baylibre.com Date: Wed, 02 Jun 2021 01:18:44 -0700 Message-ID: <162262192433.4130789.1017942859005253343@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Peng Fan (OSS) (2021-05-28 04:34:00) > From: Peng Fan >=20 > To i.MX8ULP, a PCC register provides clk(mux, gate, divider) and peripher= al > reset functionality, so we need make sure the access to the PCC register > be protected to avoid concurrent access from clk and reset subsystem. >=20 > So let's use regmap here. >=20 > The i.MX specific code will be posted if this patchset is ok for you. We have a couple regmap clk drivers in the tree. Either combine the different regmap clk drivers or duplicate it into the imx directory. I'd prefer we combine them but last time I couldn't agree on the approach when Jerome wanted to do it. Maybe now is the time to combine them all into one common piece of code. >=20 > Peng Fan (3): > clk: mux: support regmap > clk: fractional-divider: support regmap > clk: gate: support regmap