Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3737486imm; Mon, 6 Aug 2018 09:43:20 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdzYY3tfaG4Wct+BTitDGb16t4uaw+k0+7OGuqgWMG2LSgGbkxtzHOzEcCwBBSzEX6mWfRV X-Received: by 2002:a63:790b:: with SMTP id u11-v6mr15082178pgc.111.1533573800755; Mon, 06 Aug 2018 09:43:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533573800; cv=none; d=google.com; s=arc-20160816; b=od1f9ASiX6go32KQoD8Kz53mW+7TpJyw1CfrtaYqKYf8nC+VjvW5WnahmyE9FOq0jK XfH+LM6klGU8qmg20RsOWhaETOur0uFbsUfRG+BnhIvDL1NV4poS2f2tGXY3oXkeJa49 6qA34euYb9eFLg+i4PBFp72jsIKmxSbXYEbIEpYSgVevx/NuDYoug3yLCmmBWzLvpaI+ 9Ic2ivZIUop1xR2/L2Olnf587MUpranD24P4siljdTqKSckYEDTeCeVK6yMG7TpZvDN9 qG8hTjL/WDbz2hGu4aEg4mJoNOr75ydP0Lsa7JD43nKqYv0eYhnCON++1EWjn2cJwWXM z6WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=4togrEiMqRZVlA1i4YcyBress/FFWkJikjlqsTK5bRg=; b=V/NJik2cZqcxuvObTzWF7Tv3ZTo6LDkSYnj3LEPWvmyjMDixO6z2wkanpsYD9QT+59 h35dqOMB1yaw+Lk4fuDoENHXL5zr5EjO5TujjUe+JOLm59VH68kOA9Lxpw2J63KPdFEf 6LEOuQ5QkPSjBS+woNK+EKJDKkU56LVoGpf9H7EnrFzxqVxEY68ajNRqBjB8FkG97XrX CgHDclAYUYF+ojifpw+7QRyuOOWFAYj8qQs3zaTVpMgNPTJEiihcJjCt0MANCBJAiTLt apWWvUlIGNW5myjddfx0kntRW7LN1rXAhnn46bv7nFaju4jXzQ2BHzikUwaJiMNdYT6J iyaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WSSL1c6A; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c32-v6si12052334pgc.129.2018.08.06.09.43.06; Mon, 06 Aug 2018 09:43:20 -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=@kernel.org header.s=default header.b=WSSL1c6A; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732760AbeHFR3q (ORCPT + 99 others); Mon, 6 Aug 2018 13:29:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:52274 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727665AbeHFR3q (ORCPT ); Mon, 6 Aug 2018 13:29:46 -0400 Received: from mail-qt0-f179.google.com (mail-qt0-f179.google.com [209.85.216.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2A41521A52; Mon, 6 Aug 2018 15:20:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1533568811; bh=Ak2PP2n4i5ZzDY9Kr9kA5ITfUSCB1L3UoyTvkbtIuew=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=WSSL1c6AJzowRgXejPCTCDvlrnS83tQ8LlqYhC8LnMPEoW4YHO8u9Vq54gqirPWfk +5MnuB/L8buQQTou2GOXCgcIirNhJjLWLk46AxxxPUr0Pf9q1l1oyIprr3wLIfhHPb Y18pmJqbCrDQcPmpHOEXge8bdVTe1sAb7POkiJOA= Received: by mail-qt0-f179.google.com with SMTP id h4-v6so14195498qtj.7; Mon, 06 Aug 2018 08:20:11 -0700 (PDT) X-Gm-Message-State: AOUpUlHZSCctT67ra953vue4gDddP+gBNrK3h1dPe1LRrV0pxH9kIoDW xZ3nnuT/jqgmb6SMzeOqP3Imbjt2FVwzXsEhdw== X-Received: by 2002:ac8:96b:: with SMTP id z40-v6mr14821088qth.362.1533568810413; Mon, 06 Aug 2018 08:20:10 -0700 (PDT) MIME-Version: 1.0 References: <20180803030237.3366-1-songjun.wu@linux.intel.com> <20180803030237.3366-3-songjun.wu@linux.intel.com> In-Reply-To: <20180803030237.3366-3-songjun.wu@linux.intel.com> From: Rob Herring Date: Mon, 6 Aug 2018 09:19:59 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 02/18] clk: intel: Add clock driver for Intel MIPS SoCs To: Songjun Wu Cc: hua.ma@linux.intel.com, yixin zhu , 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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