Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3684673ybg; Sun, 20 Oct 2019 19:29:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqwVYxtRvmeZEJm4nwkU6TAkHB2FUn2ECPp5NOo1Gt0zuGxRKdb5DMPMYC1497WJ6OfPKdz9 X-Received: by 2002:a17:906:2584:: with SMTP id m4mr20216321ejb.287.1571624991723; Sun, 20 Oct 2019 19:29:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571624991; cv=none; d=google.com; s=arc-20160816; b=PKB3j7XroCaRXq/QCRYOVksudw++ub3wIUMN2St1YzFavnk4GD1l08OHRCKX5B7nxn hPqc6lXBwmiMzO5nmelckJEZS77b88pib/H2ZNvvD89+bKpCLT1lViHQ195lRfI0VAf3 lo8aqJTGvOUQ3YwfWS/vDIY/lLzt4TL63KMx+DnWYCSORXEptyvOMGKhAt0/ccFrm+XO O3ivUIOaC6EgeSvOBCFb9rvz20Cua6OPjKggaNCLHE8E6y3T/FAA/sz0TDYO89EwCWzx qlEYkF6aAwMz0fZdFgxxRzHeSyqktrFgpd0k8vNapwZ3waLKnVlKvX0EES/qNRRZCPOH m+1Q== 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=PchkhkHkpHWC0kYmoj4khLkCE0HnDurJCIn5TTAejAE=; b=Vm6KnXOt8gvD/NKbkKOjk21Fc3pq4e6oF59Lq6lD0OTVFW3Bg51GyTV0nZuRTW/bL/ C/kWspgg1RmQTOIoGHGQ8Ogjc1LzwPOAApdTny86AtPTaRR/F00QxsKobHGvtHMvEhOV cVcdGfYP14vNqoGNPAVDC6EJayL1xEmjQqLQ9cgOeJ8RnhCeuZJY/Dsj1frrpk2dYM6H fG4dDO4gzTdZJ2VfSOQVY2a7D0rKq9/mWkfjOpy+h95hFK+M/joaifXUXhI3fmcjlDTy ZJz5fwUduNbB9oE0h4oSrI+ryagppRnm0WdNqIOJKLAMfLzkUWF1ZF7b0dNtwowN+f3v RVVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Lynjyfct; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g13si8243332edu.4.2019.10.20.19.29.28; Sun, 20 Oct 2019 19:29:51 -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=pass header.i=@linaro.org header.s=google header.b=Lynjyfct; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726770AbfJUC0z (ORCPT + 99 others); Sun, 20 Oct 2019 22:26:55 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:38494 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726726AbfJUC0y (ORCPT ); Sun, 20 Oct 2019 22:26:54 -0400 Received: by mail-pf1-f193.google.com with SMTP id h195so7409537pfe.5 for ; Sun, 20 Oct 2019 19:26:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=PchkhkHkpHWC0kYmoj4khLkCE0HnDurJCIn5TTAejAE=; b=LynjyfctcGM82RPOYFgGlFv88Sy3AMQg7CFkCAguUJ1u6cRIXDI39p36h3Zk4ROoub PAR5KXyqX9Sga7DJm2HnNe252W1N3cdzeBRs+KnehKNxkco8+RVgnks2kr8IcxUf+0yj mDU4HpTZut+dqVBwxr4IQkr+bjo5IKzZPgvydCXme2aDho0jBUpWFg2JSGQlYU4zVkGE u2QrcJVwJyEq6wzOA7P2FWU19m4/BXdZEqA4dW88CvjoYCRgY+ppP7l903mFOoOqVYdK 9TQEmaJswaqB0XK7E32BqzZr7GLr/8zzy9STDDELUvn2KqhAeALjmvY+2CwHH9GcvVKa GL9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=PchkhkHkpHWC0kYmoj4khLkCE0HnDurJCIn5TTAejAE=; b=Rgc04EQu39/942osppZUBb7NBsk9O/rj1svyAsQjCFZU+LocdExDaFMJpspsR8BImf Gtin5C7ApMLmM5FljrPIVFwNkTz2JULTinAr7FYTiGG2/9oEfpIDbg2iIi5k1+JtlcG3 czl1kJt9cXR6XybTFn+fFfx6gXd/3vW/ixUtZcxg68SF7Zh2nEZ8vRauDOnT0MjB4hck 90jzLZi6U7Go2maKQbAqzOH+PiWtrKq+ywqoB5bdu1uC2vEVvKKgoWIeF5lnWq6sGLTr ubHgW+CJEu/riaKwgz4SAIw5Eg/zJPpzelA0ThxfNFEyFwMyzWIf2hkf6nNuxrCFV8QQ DmiQ== X-Gm-Message-State: APjAAAUbKobH0f4OljpTcD5kLPklBPLWKlXSs+MxjBr73vakva0W4fK/ 8Kq0WPfdu8df4aXwc9JFgBhLLA== X-Received: by 2002:a63:2889:: with SMTP id o131mr23130858pgo.444.1571624814098; Sun, 20 Oct 2019 19:26:54 -0700 (PDT) Received: from localhost ([122.172.151.112]) by smtp.gmail.com with ESMTPSA id o42sm12916748pjo.32.2019.10.20.19.26.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Oct 2019 19:26:53 -0700 (PDT) Date: Mon, 21 Oct 2019 07:56:50 +0530 From: Viresh Kumar To: Arnd Bergmann Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , Michael Turquette , Stephen Boyd , "Rafael J. Wysocki" , linux-clk@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH 35/46] cpufreq: pxa3: move clk register access to clk driver Message-ID: <20191021022650.jgzfmzr6xyjkfalj@vireshk-i7> References: <20191018154052.1276506-1-arnd@arndb.de> <20191018154201.1276638-35-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191018154201.1276638-35-arnd@arndb.de> User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18-10-19, 17:41, Arnd Bergmann wrote: > The driver needs some low-level register access for setting > the core and bus frequencies. These registers are owned > by the clk driver, so move the low-level access into that > driver with a slightly higher-level interface and avoid > any machine header file dependencies. > > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: "Rafael J. Wysocki" > Cc: Viresh Kumar > Cc: linux-clk@vger.kernel.org > Cc: linux-pm@vger.kernel.org > Signed-off-by: Arnd Bergmann > --- > drivers/cpufreq/pxa2xx-cpufreq.c | 3 -- > drivers/cpufreq/pxa3xx-cpufreq.c | 64 +++++++++++++----------- Acked-by: Viresh Kumar -- viresh