Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6088070imu; Wed, 30 Jan 2019 08:35:54 -0800 (PST) X-Google-Smtp-Source: ALg8bN7gUW0UYwGKUDUmBqsxnCalX+MoqqGjQQX+0DCrRfqWBYYriS/SeWwe8EzW2Zliv6t130Hg X-Received: by 2002:a17:902:fa2:: with SMTP id 31mr31251234plz.75.1548866154492; Wed, 30 Jan 2019 08:35:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548866154; cv=none; d=google.com; s=arc-20160816; b=q6h0EUqfynfXshm288sXFfyRvA57eZq/PKpnwyf3mM9QeAq/pSq8UiwktajxUf5YF7 y4ZjG6AmtTR+rXKzPuEEiHxWezmAI+cOptKGiBIvwJ3i0y+leMBgBiUO6boxLobO3tuu 6a3awCF7IYbPdH0ieIKifO0WbeSJrTqAOTTSuj2r66RBWCgXMdlXw/9k1fmSkhvxDESL Q0/qitdQm9MGydSKoWsYdfOZbpdHHJPaauRm8CgIWFEXh7+vCN9eCjVJnJdTztdP06zS R1aCv67p45CrvkO1xNK16WZUVZmryghe4uplB+DBKWQ4rkhWphVoss2Ba9mQZ2ysVaaJ y3Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from :dmarc-filter:dkim-signature:dkim-signature; bh=mFh5hmM48YIZ6LK0qgZM4HOCb3Yx7BDjUZ3EgXxO4Vg=; b=E8jcbRMSb6cSvRf7amBPqwAs3LzfA2jHp87HxErkbGISuS9nqnAWy1Gl1GRDNKNKDf SaY2nB0/z/Iwl9LvWsj8jzZzSNv0ebkRRoeWJY8OnlTzmICNmFFRGaQFd9mLZxhIEBq4 Rstz2yTw39A+sGUKioKFLnTEAUlD+q0HGc7ThZNZtp/K2ErlDgxOB2JpN7pUEQ6ay3/A D1ZYP5XbGmvnnTfYyK6OytO4b4eJVnzRVJRS6evUcSudXAmSrbs45nNjleikUlgdfmf6 GWRj6nHTDUySx6ZWf9T7wvWpzrGvEoCQDn9Jz0oC6fFmSHJi8v5vQ6UqSP0461xyKpqb c7PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@codeaurora.org header.s=default header.b=O8pU4N58; dkim=fail header.i=@codeaurora.org header.s=default header.b=NKKKtfhI; 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 c7si1814603plz.118.2019.01.30.08.35.37; Wed, 30 Jan 2019 08:35:54 -0800 (PST) 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=fail header.i=@codeaurora.org header.s=default header.b=O8pU4N58; dkim=fail header.i=@codeaurora.org header.s=default header.b=NKKKtfhI; 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 S1731991AbfA3Qf0 (ORCPT + 99 others); Wed, 30 Jan 2019 11:35:26 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:57508 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727225AbfA3Qf0 (ORCPT ); Wed, 30 Jan 2019 11:35:26 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 4B718609D1; Wed, 30 Jan 2019 16:35:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1548866123; bh=Sn/o9Zo2pS31LUlDBCLQBnSSLsTRSCQKUntDW02tJ9k=; h=From:To:Cc:Subject:Date:From; b=O8pU4N58gZmWS+AaDdAR0Ij/zxkFFnrYc6HnGztv5otgb1+EtTCiINkoOLm7k3ao1 lzx239/25J+uZprN1jbMs9VeyrdpPhFz/es3AH14zJNrCcZx5ozbk4dx5Yz0bT/EJP OZoaaW6nb4N8r+tRIG01DThgj1O96KBVAnt0T6cM= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from jhugo-perf-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jhugo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7EC0060CEB; Wed, 30 Jan 2019 16:35:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1548866122; bh=Sn/o9Zo2pS31LUlDBCLQBnSSLsTRSCQKUntDW02tJ9k=; h=From:To:Cc:Subject:Date:From; b=NKKKtfhId+LoKumJ/cQTaLRavtXmEnTyG2EYzp76OgPf0loMD9DsDqUSqxSr0fxfF 3RQ4L3E72ePoBd1yk4eYaoFJvZso8VJFjRZTa54jNUQHxO7gOClsYojhLv+zSZ8+xE c/LGwwwtfF3HqrSm7qlNdDWpRW0LDQUrGqgKWlcs= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7EC0060CEB Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jhugo@codeaurora.org From: Jeffrey Hugo Cc: bjorn.andersson@linaro.org, marc.w.gonzalez@free.fr, andy.gross@linaro.org, david.brown@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jeffrey Hugo Subject: [PATCH v1 0/4] MSM8998 Multimedia Clock Controller Date: Wed, 30 Jan 2019 09:35:02 -0700 Message-Id: <1548866102-30224-1-git-send-email-jhugo@codeaurora.org> X-Mailer: git-send-email 1.9.1 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The multimedia clock controller (mmcc) is the main clock controller for the multimedia subsystem and is required to enable things like display and camera. The mmcc consumes a few external clocks inorder to configure the root clock generators that it controls. We can use DT to grab XO (from rpmcc) and gpll0 (from gcc), but we'll have to rely on the global namespace to consume the plls from elsewhere in the mmss. Jeffrey Hugo (4): clk: qcom: smd: Add XO clock for MSM8998 dt-bindings: clock: Add support for the MSM8998 mmcc clk: qcom: Add MSM8998 Multimedia Clock Controller (MMCC) driver arm64: dts: qcom: msm8998: Add mmcc node .../devicetree/bindings/clock/qcom,mmcc.txt | 7 + arch/arm64/boot/dts/qcom/msm8998.dtsi | 15 + drivers/clk/qcom/Kconfig | 9 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/clk-smd-rpm.c | 4 + drivers/clk/qcom/mmcc-msm8998.c | 2937 ++++++++++++++++++++ include/dt-bindings/clock/qcom,mmcc-msm8998.h | 210 ++ 7 files changed, 3183 insertions(+) create mode 100644 drivers/clk/qcom/mmcc-msm8998.c create mode 100644 include/dt-bindings/clock/qcom,mmcc-msm8998.h -- Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.