Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp2167489ybm; Sun, 31 May 2020 10:49:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtdT88Wsi47gzP7U5kshRkDUGomqaCw25JoNT7RnurFNqfVBr3j7vlCrFAnscRq8Lw3PQj X-Received: by 2002:a17:906:28da:: with SMTP id p26mr15557738ejd.551.1590947352501; Sun, 31 May 2020 10:49:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590947352; cv=none; d=google.com; s=arc-20160816; b=GuTWXd1mVIye1tFkVT3An7dCKBt4ku8rlL7NxwFBS1tD34WNIdGZB/lzocEYbh2QpI rMrtnD7mPFItU1ky/pTsLzUVzSZ1GS4OImtv/Gk1yNhfGWs3LCBRdFF/iqhdsPp/yrOy wBYxNo3izZiUG2uYmQxbTwBpk9iR3jdXNvH/ZtBEFZ8xWZpbH8fQhKegCykpeSQ8mpCI /OIv7EtmrbaGqZmmdm9YSbuUMKuHSgnirHYh42voFWDdj2oCcgfdvdcwW1HWV3jFNI4Y NvhHkT7Bb2AdB5/hbYoFdU+v8m2/GTN0Yv5x6e63UFZrlbzdN6yLkTL2QL09wy0P1wRp uuYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=0igUM99u6qi0G2V9QHiKNIc+/Cm62S0GvQJm5Z6yraI=; b=Fx/k0rUDp5ZtXVKODf9Jed7BtjbivrndKtsz09G9/PMUnBsvaCybT1W4MzHbP/VvjC qcSb625Y0SjNQ0Twbs+fe3K15PU2CWXkUOZcWCYbkdGa9iGq66PoBJt/LTQmLe53v2j9 Z3fR9p5EGgE1fMincv3RWOlN58JPbvk7BL+qfeHyBoGbinLh9hXeiDW+j+vvi3Adfz+/ Ot/vOAOSuN9nnTWqA7wLUqPBkB31UOssbExzqHjg2/XGA2Nfz1e2X941+rFu9OCeltXF Nr3rgdfBi09CQvikvT//G6Ta0S+QXW5P9zsaggD6f84SFzjScoaYLwmm0vgytzmEcfXh DT+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=eP15yulH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce7si9950914edb.483.2020.05.31.10.48.49; Sun, 31 May 2020 10:49:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=eP15yulH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728216AbgEaRrD (ORCPT + 99 others); Sun, 31 May 2020 13:47:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726193AbgEaRrC (ORCPT ); Sun, 31 May 2020 13:47:02 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43A85C061A0E; Sun, 31 May 2020 10:47:02 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id x14so9247660wrp.2; Sun, 31 May 2020 10:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0igUM99u6qi0G2V9QHiKNIc+/Cm62S0GvQJm5Z6yraI=; b=eP15yulHnOheIw44ncZUq2rVU/kWIIjQ51dynpgDc7ik+73HqCU6wNUlwCxROjyqFT eCiV7qFJSjAfnfbwBs129WmT45YHyv0LEg/bdKmiS+IuRTR24PzFIGW6ujzHtYtVSABr 3OjuzaaLvJuQ0AKHOwoAvFe45B6H2sBtY/2NpEUtmu8sC18ZVQSF09fe+kchygYwYtgd BIFMAI2LsFCNP1bFED3IBO4ruIGhcZXXFSMKNz8a8bm9YIGNeE1DycoTMIyTfSs+nyRb MIHsqEn/Pz4L0zVREX3R92OSRkogU/Af0WkTFIa0A1CSk54JnzG0ar5zxDq2lzrnY/hK +ugg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0igUM99u6qi0G2V9QHiKNIc+/Cm62S0GvQJm5Z6yraI=; b=FLpNTlgVwpFTFlnfwDpuvr3/seW/KwNwY+34P/yEFyLaCYrdd8Pveo93ZQpIBHQHof N4kD0219dZbNo4nur5mHPx5VrSryBQEjAxTyd9u+er1YcLMzfG7iR6031YoSOVOU1e9S DANYcIcbu/LD8rpYI/vOP0q4a7dI95nSgogcegzvS39GAbOC/hHaup1TFX7Wm089hZ6J 8+FVAnVcHGKU6dM46re4Jlw5lRgizJXC/aP9vDx7LZqb4Xv5hi8Xh3lq5ECtvelpYTK6 I1nTcNVgpwlihekHehd7Cqfa37z0Fsep5Qw0Ur1ca7VjF+YMUptUSkT2K1/dvi9VF6wH 7eLw== X-Gm-Message-State: AOAM530xuXoYbviKXWTE7xtDKmTkj+71qzPqYONJ0IVNVYqwTboUa+nV Brapqvkhj2lcL8XypXJ3UWs= X-Received: by 2002:adf:80f0:: with SMTP id 103mr17371010wrl.232.1590947220924; Sun, 31 May 2020 10:47:00 -0700 (PDT) Received: from localhost.localdomain (abad130.neoplus.adsl.tpnet.pl. [83.6.167.130]) by smtp.googlemail.com with ESMTPSA id x186sm9716494wmg.8.2020.05.31.10.46.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 May 2020 10:47:00 -0700 (PDT) From: Konrad Dybcio Cc: Konrad Dybcio , Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Philipp Zabel , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] Add msm8992 GCC driver Date: Sun, 31 May 2020 19:46:06 +0200 Message-Id: <20200531174612.260113-1-konradybcio@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 This SoC is very similar to msm8994, but features less clocks (as in no UFS or PCIE1-related ones, for example). This implementation also adds support for GDSCs and resets, which are lacking in the current 8994 driver and I can't test them over there, as I don't have a device featuring that SoC. Qualcomm also separates 8992 and 8994 drivers on downstream kernels, so I find this appropriate. Konrad Dybcio (4): drivers: clk: qcom: Add msm8992 GCC driver Add compatible strings and the include files for the msm8992 GCC. arm64: dts: Adjust msm8992 DTS to use the correct GCC driver driver: clk: Add msm8992 GCC Kconfig and Makefile entries .../devicetree/bindings/clock/qcom,gcc.yaml | 2 + arch/arm64/boot/dts/qcom/msm8992.dtsi | 15 +- drivers/clk/qcom/Kconfig | 8 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/gcc-msm8992.c | 2429 +++++++++++++++++ include/dt-bindings/clock/qcom,gcc-msm8992.h | 144 + include/dt-bindings/reset/qcom,gcc-msm8992.h | 8 + 7 files changed, 2600 insertions(+), 7 deletions(-) create mode 100644 drivers/clk/qcom/gcc-msm8992.c create mode 100644 include/dt-bindings/clock/qcom,gcc-msm8992.h create mode 100644 include/dt-bindings/reset/qcom,gcc-msm8992.h -- 2.26.2