Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp318662imm; Tue, 7 Aug 2018 19:53:17 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxWMos+LlKhJ4nyNPnG4ggjh7308BK5N7Qxt3712WJQbQ2iIZoIyjqnAQDeHnwbXaDLIQOw X-Received: by 2002:a62:4ece:: with SMTP id c197-v6mr928383pfb.240.1533696797708; Tue, 07 Aug 2018 19:53:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533696797; cv=none; d=google.com; s=arc-20160816; b=O1ZXUlAhwQX3azfm14aTbEziL+FZkrbXkHrWKMyltrBIKbIRo2hVV078wCUfRGKkg8 RWvzSAm2Sl0WmxpFvXQHUZkX5nCa0S+HGSEb56gxxdB+tTIzc9RpLgmo/lBSMfrjBfLZ xdljtOIQodGM/d7zPbhdNFAItwNOUwPUhywofyb7SRRRgJzVtYYGyieU+oNqK+y7wzbj q5u7oQaaqRJp/FnH5zPYWEYzpvm1Xyi1a106dP/Jkf1x5Kul2V7aSGwbA4MH9XhpSAiM qUekY+lKYFLkKMxEx/r6UTUtPwho+t17BC59EVqbO8t0qe+YcqGFRioXB43dAhl7WCvx OB2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=fRMhPb71NELMBwEomBHr4OuSCvh/BbEZWDHbb5SpBZo=; b=RtslzXFoYs3BB46i/sTy57vqlKZ2Ni9zodjqFCZF+Ez7+RPrlwjOjgTMh8cEmmfYKu irQ2DoZASp8ktGJwbxOcyaweFP7YfqqPKwUSjYQEOhaDw7YoOS4DN0qiDhdN132Qg8Ad Rv3i4G67DBRjqyp/evfdK8b26aEyA5qA+UKdt770YB92tJtxRG7E315MtHwOcWuJo9Ms ZXew7BpFvbdDB4oPJmgTilWOKOLK0VjaWGQemjZU1+boNVRkcj6SV+X1rNs1kj6H3M1k r7nvCRi/eS0kt8T860PCImyWiO2Imw6A6KsRFpW3KZ5IQfnirJQJ0Sd5hOD6Dy5rOh2u lNVw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 66-v6si2683132plb.428.2018.08.07.19.53.02; Tue, 07 Aug 2018 19:53:17 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726733AbeHHFJj (ORCPT + 99 others); Wed, 8 Aug 2018 01:09:39 -0400 Received: from mga03.intel.com ([134.134.136.65]:15831 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726317AbeHHFJj (ORCPT ); Wed, 8 Aug 2018 01:09:39 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Aug 2018 19:52:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,456,1526367600"; d="scan'208";a="79454475" Received: from zhuyixin-mobl1.gar.corp.intel.com (HELO [10.226.38.39]) ([10.226.38.39]) by fmsmga001.fm.intel.com with ESMTP; 07 Aug 2018 19:51:52 -0700 Subject: Re: [PATCH v2 02/18] clk: intel: Add clock driver for Intel MIPS SoCs To: Rob Herring , Songjun Wu Cc: hua.ma@linux.intel.com, chuanhua.lei@linux.intel.com, qi-ming.wu@intel.com, Linux-MIPS , linux-clk , "open list:SERIAL DRIVERS" , devicetree@vger.kernel.org, Michael Turquette , Stephen Boyd , "linux-kernel@vger.kernel.org" , Mark Rutland References: <20180803030237.3366-1-songjun.wu@linux.intel.com> <20180803030237.3366-3-songjun.wu@linux.intel.com> From: yixin zhu Message-ID: <57bea045-628b-2dad-2492-dadd9947cbe9@linux.intel.com> Date: Wed, 8 Aug 2018 10:51:50 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/6/2018 11:19 PM, Rob Herring wrote: > On Thu, Aug 2, 2018 at 9:03 PM Songjun Wu wrote: >> From: Yixin Zhu >> >> This driver provides PLL clock registration as well as various clock >> branches, e.g. MUX clock, gate clock, divider clock and so on. >> >> PLLs that provide clock to DDR, CPU and peripherals are shown below: >> >> +---------+ >> |--->| LCPLL3 0|--PCIe clk--> >> XO | +---------+ >> +-----------| >> | +---------+ >> | | 3|--PAE clk--> >> |--->| PLL0B 2|--GSWIP clk--> >> | | 1|--DDR clk-->DDR PHY clk--> >> | | 0|--CPU1 clk--+ +-----+ >> | +---------+ |--->0 | >> | | MUX |--CPU clk--> >> | +---------+ |--->1 | >> | | 0|--CPU0 clk--+ +-----+ >> |--->| PLLOA 1|--SSX4 clk--> >> | 2|--NGI clk--> >> | 3|--CBM clk--> >> +---------+ >> >> Signed-off-by: Yixin Zhu >> Signed-off-by: Songjun Wu >> --- >> >> Changes in v2: >> - Rewrite clock driver, add platform clock description details in >> clock driver. >> >> drivers/clk/Kconfig | 1 + >> drivers/clk/Makefile | 3 + >> drivers/clk/intel/Kconfig | 20 ++ >> drivers/clk/intel/Makefile | 7 + >> drivers/clk/intel/clk-cgu-pll.c | 166 ++++++++++ >> drivers/clk/intel/clk-cgu-pll.h | 34 ++ >> drivers/clk/intel/clk-cgu.c | 470 +++++++++++++++++++++++++++ >> drivers/clk/intel/clk-cgu.h | 259 +++++++++++++++ >> drivers/clk/intel/clk-grx500.c | 168 ++++++++++ >> include/dt-bindings/clock/intel,grx500-clk.h | 69 ++++ > This belongs with the clk binding patch. > > Rob Thanks for review. Will move it to clock binding patch. >