From patchwork Mon Jul 22 07:43:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 169347 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp7186114ilk; Mon, 22 Jul 2019 00:45:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqy4mn0gWYx5FCB+tVXdzizo++dgV8QRxC1B9JqF5iZuaDxljRsaIuf63KIgraW3wc6zzF9P X-Received: by 2002:a63:f118:: with SMTP id f24mr71933453pgi.322.1563781517197; Mon, 22 Jul 2019 00:45:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563781517; cv=none; d=google.com; s=arc-20160816; b=m1HIl4ON9kN0iUmi+wL/ENzd7MvL4mx+2FMeptpNDeddG8v4Cm1aKsx67qhZqCQ8zd ZCMnrNpQnL6bzbqQPGYFHWbuNvcvA3L7+7awqepdbDTIjBTfvCK0p7vSaWoG3VRVbpYy dduO3gGzG5+dLtGmDlT3p445XLxjmQ47p4sZkd16u0nQeoY4IQ0eLlPTENHnsrXUGfZQ 70+kJI6ngO4PxkRAADUql0IfBhEQIIlOX3yMa2QWCHOfXIJXPEwFZfUsZ4SLy5gj2QUX yj7KS8MDATjL/A2hKDokKGPs7mxVXlqyxXyTQIpAaepfXo96A6zJRwD10QFNCuJUOPJb wRbg== 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=whmLLOQkkJbWESJrNSt3JG7Wgf9D5W57IIQrxA8YUdQ=; b=g+iwpI5Q8MdT428oeJELrUJ4ps/sCb/52HJzlyD3caEru9Z6WzmCmRqM9dbiddoaQO iKIWMOg6algha/QayIW5Wji3U975HkDwl9HAy4p5RkqPeh9IpReYFoVrkkkXDMtrXIMp dpj2P2UAhnKq6vYUJecPUHmFeIJSiHPZI+OROjRKVreUep8OGXwJcNtyetWpjhQvBdGY Oi0RUPDrIWNER6jenXqEq+5y6UF6OofvLcThTUs1UiuiDX86v5ULusHy010/UaFau7Eg 9iO/goLtm5Sfhby2NcT3V6PcBemJ9qyF+0H5U3FuQytXBVXojzh4CwVnl3mAevV7+sgV P/FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jzW54M8j; 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 p27si7882296pli.411.2019.07.22.00.45.16; Mon, 22 Jul 2019 00:45:17 -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=jzW54M8j; 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 S1728151AbfGVHpQ (ORCPT + 15 others); Mon, 22 Jul 2019 03:45:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:59764 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725773AbfGVHpQ (ORCPT ); Mon, 22 Jul 2019 03:45:16 -0400 Received: from localhost.localdomain (unknown [223.226.98.106]) (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 3B1EF206DD; Mon, 22 Jul 2019 07:45:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563781514; bh=blJZQnL3zjC/Ylyb1/4CK7suE2Mz1qqUTcC8Wp+F2bE=; h=From:To:Cc:Subject:Date:From; b=jzW54M8jMZijPJ6Kxa47FE3bmTaj2/GsS0bX70oQ508RXtB+EmLzgxWhnY1YrDJdq 1mnh3E40LScJJw7gBDUb8f3nMSF7mYhAdNd7dDQIbWyDI38StxszeCV89eE5gRKND0 MLXfO6NNoSWk6S7DN+XXdWKQJTeHYK27kap+BBk8= 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 , linux-kernel@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v4 0/5] clk: qcom: Add support for SM8150 GCC Date: Mon, 22 Jul 2019 13:13:43 +0530 Message-Id: <20190722074348.29582-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 Changes in v4: - Bring back DIV_ROUND_UP_ULL patch as fix in merged upstream - Split binding to separate patch and add the gcc parent clock to it (Didn't add Rob's ack as new clocks are added to patch, so need review) - Fix the parent pointers for clock driver and add comments for critical clocks and halt delay - Fix the trion pll enable and typo in patch - tested on v5.3-rc1 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 (3): clk: qcom: clk-alpha-pll: Add support for Trion PLLs dt-bindings: clock: Document gcc bindings for SM8150 clk: qcom: gcc: Add global clock controller driver for SM8150 Vinod Koul (2): clk: qcom: clk-alpha-pll: Remove unnecessary cast clk: qcom: clk-alpha-pll: Remove post_div_table checks .../devicetree/bindings/clock/qcom,gcc.txt | 21 + drivers/clk/qcom/Kconfig | 7 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/clk-alpha-pll.c | 236 +- drivers/clk/qcom/clk-alpha-pll.h | 7 + drivers/clk/qcom/gcc-sm8150.c | 3588 +++++++++++++++++ include/dt-bindings/clock/qcom,gcc-sm8150.h | 243 ++ 7 files changed, 4086 insertions(+), 17 deletions(-) create mode 100644 drivers/clk/qcom/gcc-sm8150.c create mode 100644 include/dt-bindings/clock/qcom,gcc-sm8150.h base-commit: 5f9e832c137075045d15cd6899ab0505cfb2ca4b -- 2.20.1