Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755550AbbLABbs (ORCPT ); Mon, 30 Nov 2015 20:31:48 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:37253 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751237AbbLABbp (ORCPT ); Mon, 30 Nov 2015 20:31:45 -0500 From: Stephen Boyd To: Mike Turquette , Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Rajendra Nayak , linux-arm-msm@vger.kernel.org Subject: [PATCH v2 0/5] Add support for MSM8996 clock controllers Date: Mon, 30 Nov 2015 17:31:37 -0800 Message-Id: <1448933502-11944-1-git-send-email-sboyd@codeaurora.org> X-Mailer: git-send-email 2.6.3.369.g91ad409 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2481 Lines: 49 These patches add support for the global and multimedia clock controllers found on MSM8996 devices. The first patch allows us to implement a "power of two" divider of different widths with a table based divider. The second patch adds support for Alpha PLLs and the 3rd and 5th patches add support for the two clock controllers. The fourth patch is a new type of clock ops for the graphics clock that does some custom ping-pong between different PLLs when switching graphics frequencies. Changes from v1: * Added some missing clocks in gcc and mmcc drivers * Updated PLL settings in mmcc Stephen Boyd (5): clk: divider: Cap table divider values to 'width' member clk: qcom: Add Alpha PLL support clk: qcom: Add MSM8996 Global Clock Control (GCC) driver clk: qcom: Add gfx3d ping-pong PLL frequency switching clk: qcom: Add MSM8996 Multimedia Clock Controller (MMCC) driver .../devicetree/bindings/clock/qcom,gcc.txt | 1 + .../devicetree/bindings/clock/qcom,mmcc.txt | 1 + drivers/clk/clk-divider.c | 9 +- drivers/clk/qcom/Kconfig | 17 + drivers/clk/qcom/Makefile | 3 + drivers/clk/qcom/clk-alpha-pll.c | 355 ++ drivers/clk/qcom/clk-alpha-pll.h | 57 + drivers/clk/qcom/clk-rcg.h | 1 + drivers/clk/qcom/clk-rcg2.c | 87 + drivers/clk/qcom/gcc-msm8996.c | 3422 ++++++++++++++++++++ drivers/clk/qcom/mmcc-msm8996.c | 3217 ++++++++++++++++++ include/dt-bindings/clock/qcom,gcc-msm8996.h | 339 ++ include/dt-bindings/clock/qcom,mmcc-msm8996.h | 285 ++ 13 files changed, 7790 insertions(+), 4 deletions(-) create mode 100644 drivers/clk/qcom/clk-alpha-pll.c create mode 100644 drivers/clk/qcom/clk-alpha-pll.h create mode 100644 drivers/clk/qcom/gcc-msm8996.c create mode 100644 drivers/clk/qcom/mmcc-msm8996.c create mode 100644 include/dt-bindings/clock/qcom,gcc-msm8996.h create mode 100644 include/dt-bindings/clock/qcom,mmcc-msm8996.h -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/