From patchwork Sun May 31 17:46:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 199707 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BAEC6C433DF for ; Sun, 31 May 2020 17:47:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 96759207D5 for ; Sun, 31 May 2020 17:47:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eP15yulH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727084AbgEaRrD (ORCPT ); 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-Google-Smtp-Source: ABdhPJyTv1d7YcEb2pEVi4URbVPgL7HdLi/EU2CphoV+LO8URSwLmHF+DGnvsNadjC5gRxVvj2pwYQ== 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 To: unlisted-recipients:; (no To-header on input) Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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