Received: by 10.223.164.221 with SMTP id h29csp1920030wrb; Thu, 2 Nov 2017 03:05:48 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TjKVjbBDtleL3VeCLHo14/ZRO6czvIDQppMnGPRoD60TCPP+5tVw26JcydWNGDqdzdkt27 X-Received: by 10.84.234.198 with SMTP id i6mr2712522plt.410.1509617148001; Thu, 02 Nov 2017 03:05:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509617147; cv=none; d=google.com; s=arc-20160816; b=X4n2wnJoVcmxKaRarewd/XSpKeluM5Co4i/R3XIKDBWSU+l6gJOF3Aw4VU1fkrl7LG K02vHsLUQXdFHmu2jxICxHoFoC6b4M4icRPe6ircfBuaeNpCQ4bccZMN9esc4jCJhMoY 8/Vay2uvNaz+e1vGh3A3OLKHKJBpMf4hKI1ehJvOQKl2+3Z6XG6azkA6Ek8tuJ87x0MA iuQ4uZ9PDVR4k6bKM7kPCmT5EyvIbCHShAcl94R4ZDI3ak78VPjp28eYlDAS/OlL1qAa xK6k7iJr9Abco31kGgDE5UtqdIuCjFN6jbzvLzIznfTYmu7+DTIy+gw/uT/9ch15DrsT w7dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:to:subject:cc :arc-authentication-results; bh=YjIR4xwlDbPG04tx4UR0LygT/8CjaGqYwESCI+M2PSY=; b=Wf80hkOyXPLoeyVvb44Kmb6K1Cef0Sjd3KR6M0ytHSB83yPuJv698Vq1C0hyYnot3w D3N01Ttmsf+dwFl8X8CK9l0BX4sH3/NkueVsz5w2E/GFvprc6M90dI5o0MWrbET64SxT dDrJVo7+nAQxW8KEYjlcPutVarX1O+9o9tvdl24bLrCeh6atpksUwjVLlds6JUcJdtgu nMOp1yJYV+SjKXevuMs1hQWqpyu9P2rNogBGHXmnjbR/acyf34/1ZShgamZSXAA1lmKA mtGEd5WRXqehAiDA4Epz3sRBk+v4/Y3rTEtrr5QP4kFwCfjavQXgP75rqZiqAboePqK9 crAQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n10si1766660plk.413.2017.11.02.03.05.33; Thu, 02 Nov 2017 03:05:47 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755356AbdKBKEx (ORCPT + 99 others); Thu, 2 Nov 2017 06:04:53 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:57124 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753015AbdKBKEv (ORCPT ); Thu, 2 Nov 2017 06:04:51 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6343E1435; Thu, 2 Nov 2017 03:04:51 -0700 (PDT) Received: from [10.1.210.28] (e107155-lin.cambridge.arm.com [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C371E3F483; Thu, 2 Nov 2017 03:04:47 -0700 (PDT) Cc: Sudeep Holla , ALKML , LKML , DTML , Roy Franz , Harb Abdulhamid , Nishanth Menon , Arnd Bergmann , Loc Ho , Alexey Klimov , Ryan Harkin , Jassi Brar , Michael Turquette , linux-clk@vger.kernel.org Subject: Re: [PATCH v3 18/22] clk: add support for clocks provided by SCMI To: Stephen Boyd References: <1506604306-20739-1-git-send-email-sudeep.holla@arm.com> <1506604306-20739-19-git-send-email-sudeep.holla@arm.com> <20171102072350.GO30645@codeaurora.org> From: Sudeep Holla Organization: ARM Message-ID: Date: Thu, 2 Nov 2017 10:04:45 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171102072350.GO30645@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/11/17 07:23, Stephen Boyd wrote: > On 09/28, Sudeep Holla wrote: >> On some ARM based systems, a separate Cortex-M based System Control >> Processor(SCP) provides the overall power, clock, reset and system >> control. System Control and Management Interface(SCMI) Message Protocol >> is defined for the communication between the Application Cores(AP) >> and the SCP. >> >> This patch adds support for the clocks provided by SCP using SCMI >> protocol. >> >> Cc: Michael Turquette >> Cc: Stephen Boyd >> Cc: linux-clk@vger.kernel.org >> Signed-off-by: Sudeep Holla >> --- > > Acked-by: Stephen Boyd > Thanks >> MAINTAINERS | 2 +- >> drivers/clk/Kconfig | 10 +++ >> drivers/clk/Makefile | 1 + >> drivers/clk/clk-scmi.c | 210 +++++++++++++++++++++++++++++++++++++++++++++++++ >> 4 files changed, 222 insertions(+), 1 deletion(-) >> create mode 100644 drivers/clk/clk-scmi.c >> >> diff --git a/MAINTAINERS b/MAINTAINERS >> index 23ec3471f542..32c184391aee 100644 >> --- a/MAINTAINERS >> +++ b/MAINTAINERS >> @@ -12941,7 +12941,7 @@ M: Sudeep Holla >> L: linux-arm-kernel@lists.infradead.org >> S: Maintained >> F: Documentation/devicetree/bindings/arm/arm,sc[mp]i.txt >> -F: drivers/clk/clk-scpi.c >> +F: drivers/clk/clk-sc[mp]i.c > > Is there a lot of copy/paste going on from clk-scpi.c? Maybe it > could be consolidated? > Not much apart from the usual driver skeleton. Also SCPI specification will not be enhanced any further while SCMI will be. So they will deviated in the feature set going further. Even I was thinking of merging then together initially but based on some WIP changes to the specification, I thought it may not be good idea. But if we think it can be merged in future , I will do that for sure(for easy maintenance) -- Regards, Sudeep From 1582938185881745201@xxx Thu Nov 02 07:24:52 +0000 2017 X-GM-THRID: 1579789444592737934 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread