Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1039424ybm; Tue, 21 May 2019 07:46:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTiNOTT5x2/iYBQ+ePFucigLuzqVDIibpcteqIkYR2C7kF52O4hLHoSK5oKw8kis7fb+mD X-Received: by 2002:a17:902:363:: with SMTP id 90mr83809976pld.131.1558449973813; Tue, 21 May 2019 07:46:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558449973; cv=none; d=google.com; s=arc-20160816; b=RrlbcM6MpiyQUAh4SnURZXcbybFjvGaV5idVxXUiRPWvikeoZnbVCOmVuv/i4ELq8K KWdaRMTwgXm1XUKRWayIRKNsAb6Ww4iH3CCOPgDpUj4vi/4NfCkYcloEY5JCixg1fOQj a7Ek0xEycyT5qjZm1B723ZQviCP1dC12HwUuErfy9xPR7JMpVGX9QqALyHGvfLbj0/EA yWVrkVX2AytlZ0QoTRZpqxhKbLd2JEPhK8CW34pAubDBOYDuLihgXBNypyZb+MiFgE3a QMJGmAQQ7cYKKzEY+p8jiJrQz802DZYhq4jrLTFp8MQDy6okSdENQqvpTbikY/Z3dSpu E6Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature; bh=afYh73WRG8FnEOdkcbRDGgdSI8qWXnd1KlN0FD4ObP4=; b=xExAkDIb/0Gyu9O4z8+8UmBoOPzCKwuEOc4repdrlJjd+M3RQFkeMEKmh7WQcQNcGy G11F7PqqnqUfbYOAaru8Pr6j0Omo5X0bz0/Pv7ZgDcZTnc38CmqM3GutRGKSaax16lzW DBShQW36EsaRvO/dfIHvR+gbt2v6wZoWtxHyXkk1YfL5eH/ILGmsOzZR0YTxe3HI8PT/ 4eOCtuh9NOmxSbeeK9a/9QYW9fYuXtzety7HEYua2l3un9YHF45PYzqH6Bhoj19MfxdA GOXdNnjP0El3BcMulgh02QMC4LXdrp87erwhQEXdJMf12Uiw5k0KVpQSXB/KAJcLFRVD emtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=DdIcQxJz; dkim=pass header.i=@codeaurora.org header.s=default header.b=nMAEaiSS; 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 12si1465959pgo.535.2019.05.21.07.45.56; Tue, 21 May 2019 07:46:13 -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=@codeaurora.org header.s=default header.b=DdIcQxJz; dkim=pass header.i=@codeaurora.org header.s=default header.b=nMAEaiSS; 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 S1728627AbfEUOo3 (ORCPT + 99 others); Tue, 21 May 2019 10:44:29 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42988 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727534AbfEUOo3 (ORCPT ); Tue, 21 May 2019 10:44:29 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0CCE260E41; Tue, 21 May 2019 14:44:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1558449868; bh=9RJTartqJw5pP0Ur3CP53YgFDs7kDaCUu1bvIYsQLIs=; h=From:To:Cc:Subject:Date:From; b=DdIcQxJzBoz/6d2weEfmyZfZC3JFLx5MBBSU5GnNCZnRCqOKGts6UYoTyB1seX8s3 C9k6ZfntTzNiDeN3N5XUQxh5qECJh08lO7mYTouYXHrIKv8sDbNWL8VBMSFRql7JOQ 0+rmf3zpT5b8eAmJnAXWCGB/wtdef/qU+//7ZqvU= 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,SPF_NONE 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 3F43C60746; Tue, 21 May 2019 14:44:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1558449865; bh=9RJTartqJw5pP0Ur3CP53YgFDs7kDaCUu1bvIYsQLIs=; h=From:To:Cc:Subject:Date:From; b=nMAEaiSSgI+4E4ak1QXYoDpkuUy/zxz2tQNmwTPsPhQA1L4s1OYkUogTdq/psvDbd /R/3iEZVaLYoFTu51rrY1S38Sh15IcyytTODnC+zIKR2bKMw9AFPvzjeqpaC7ORY2q EKJl8XRZdzrYVZrEnhXNBJBCniGKhCHVSpP9BnAc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 3F43C60746 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 To: david.brown@linaro.org Cc: agross@kernel.org, bjorn.andersson@linaro.org, marc.w.gonzalez@free.fr, 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 v4 0/6] MSM8998 Multimedia Clock Controller Date: Tue, 21 May 2019 08:44:03 -0600 Message-Id: <1558449843-19971-1-git-send-email-jhugo@codeaurora.org> X-Mailer: git-send-email 1.9.1 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. v4: -fix makefile to use correct config item -pick up tags -fix ordering of clocks and clock-names in dt -drop MODULE_ALIAS -wait for xo in mmcc since that was found to be useful in some debug configs v3: -Rebase onto linux-next to get the final version of the clk parent rewrite series -Moved the bindings header to the bindings patch per Rob -Made xo manditory for GCC to work around the lack of clk orphan probe defer to avoid the uart console glitch v2: -Rebased on the "Rewrite clk parent handling" series and updated to the clk init mechanisms introduced there. -Marked XO clk as CLK_IGNORE_UNUSED to avoid the concern about the XO going away "incorrectly" during late init -Corrected the name of the XO clock to "xo" -Dropped the fake XO clock in GCC to prevent a namespace conflict -Fully enumerated the external clocks (DSI PLLs, etc) in the DT binding -Cleaned up the weird newlines in the added DT node -Added DT header file to msm8998 DT for future clients Jeffrey Hugo (6): dt-bindings: clock: Document external clocks for MSM8998 gcc arm64: dts: msm8998: Add xo clock to gcc node 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,gcc.txt | 10 + .../devicetree/bindings/clock/qcom,mmcc.txt | 21 + arch/arm64/boot/dts/qcom/msm8998.dtsi | 16 + drivers/clk/qcom/Kconfig | 9 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/clk-smd-rpm.c | 24 +- drivers/clk/qcom/gcc-msm8998.c | 29 +- drivers/clk/qcom/mmcc-msm8998.c | 2915 +++++++++++++++++ include/dt-bindings/clock/qcom,mmcc-msm8998.h | 210 ++ 9 files changed, 3214 insertions(+), 21 deletions(-) create mode 100644 drivers/clk/qcom/mmcc-msm8998.c create mode 100644 include/dt-bindings/clock/qcom,mmcc-msm8998.h -- 2.17.1