From patchwork Tue Jun 25 06:31:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 167679 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp5155034ilk; Mon, 24 Jun 2019 23:35:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqwndr2d7r5M5S1CviakNbQFXVk+5K3i5ZMDT9oC0dtZFdafYa6OBFsIPiSczU3lpKMCkghU X-Received: by 2002:a17:902:7d86:: with SMTP id a6mr128397675plm.199.1561444506350; Mon, 24 Jun 2019 23:35:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561444506; cv=none; d=google.com; s=arc-20160816; b=U0IUMJ6KjzKOwnZNXIjbgqPuiD8sZX4wWifst8FnTzgQUK7z6LBH8IrVQ6gLqLuU3v uQ/zrHf/HD+jxh56Ottzc+Ng092HJByeVmm63mHYT9g15IcxJxhbuH3Mj/GNwR800XQr KOjzuonMshKc+lE+++nDLZHjYe0QX9EYQtYukv4EtSo40c9JeYkxXF0h0Tgx+kXV0AVj LwMNQpxCNKb3XW/DHVcBCk9aqEiD6ECPBTbaLKos+w0vs9fDhvH14EHTGFCQsUvwhK5D owTSiTceEiQRCYR7esS0/vXICKCaKcz+aPHrrBe31vEhv1UDktcZu7a3wh/pMd9ym5N8 bvZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=cCeTuYCg5P6uwevKkN1iuJN0FK/pIABorQPleU2Zazs=; b=zGP/eWHUecxuxEL0PiIjiK32r8emahrsuNwbi4ac5+fxk6WBQzh/mSxrf1Je7XD9DN Spl34BicwqG9j6Na4bSTKnASz3IKgc/r+HWmmeojD84ez530jBKai3zhuO33kSl25Kxu w3AiX/ViXxqxF7Wsdx8j/05qghZwdLpqAduzOpQ7goLVYLmV+dIU7SWBndbQYZVEp2lO B+x2B02Rvk2O6NGX3bvLFL6E0eUOnCcnkR+qDs58O2jc03ZyLQZU7qmMmxECIEv3ybEj eWE1pCy6geVzCu99bi2PBbUz2dVy3loFgyNDeJVteJ6os83b33Vhspj63SSYGoZJ3X2R B66A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=O2lyVNe1; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 s24si7874065pfh.227.2019.06.24.23.35.05; Mon, 24 Jun 2019 23:35:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=O2lyVNe1; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1726668AbfFYGfE (ORCPT + 15 others); Tue, 25 Jun 2019 02:35:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:41646 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726321AbfFYGfE (ORCPT ); Tue, 25 Jun 2019 02:35:04 -0400 Received: from localhost.localdomain (unknown [106.201.40.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BFD7920665; Tue, 25 Jun 2019 06:35:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561444503; bh=jaRZg8Lyv1gryWJtD9qHYk44ORaU/gzzn4DMHweDm0U=; h=From:To:Cc:Subject:Date:From; b=O2lyVNe1AxKaV0q2VFm6kJzUZM2vsIck+Ms1y7Tkgie55GHxldpkZGqclV7P8J46C zqdm/46jGXixI85WMbevwNjh5vkP9NS5uUPNMsE1asCoSTyxEW/3VahpRA00dTz50N GI0AzflGbCUPIaBGX5Oz2SG501KPeKpb0yiU49R0= From: Vinod Koul To: Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Deepak Katragadda , Andy Gross , David Brown , Michael Turquette , linux-clk@vger.kernel.org, Taniya Das Subject: [PATCH v3 0/3] clk: qcom: Add support for SM8150 GCC Date: Tue, 25 Jun 2019 12:01:37 +0530 Message-Id: <20190625063140.17106-1-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This series adds suport for SM8150 GCC which requires Trion PLLs and adds that as well. Also fixed some minor nits seen in clk-alpha-pll code and module alias for qcs404 gcc driver. Changes in v3: - Drop the cast for DIV_ROUND_UP_ULL as that need s afix in macro, so patch it up once core change in merged - Drop module alias patch and drop it from sm8150 driver - Add review tag by Bjorn Deepak Katragadda (2): clk: qcom: clk-alpha-pll: Add support for Trion PLLs clk: qcom: gcc: Add global clock controller driver for SM8150 Vinod Koul (1): clk: qcom: clk-alpha-pll: Remove post_div_table checks .../devicetree/bindings/clock/qcom,gcc.txt | 1 + drivers/clk/qcom/Kconfig | 7 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/clk-alpha-pll.c | 243 +- drivers/clk/qcom/clk-alpha-pll.h | 7 + drivers/clk/qcom/gcc-sm8150.c | 3719 +++++++++++++++++ include/dt-bindings/clock/qcom,gcc-sm8150.h | 243 ++ 7 files changed, 4206 insertions(+), 15 deletions(-) create mode 100644 drivers/clk/qcom/gcc-sm8150.c create mode 100644 include/dt-bindings/clock/qcom,gcc-sm8150.h -- 2.20.1