From patchwork Sun Jul 4 02:40:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 470082 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=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 022CDC07E98 for ; Sun, 4 Jul 2021 02:40:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CE8C461930 for ; Sun, 4 Jul 2021 02:40:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229639AbhGDCnV (ORCPT ); Sat, 3 Jul 2021 22:43:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229732AbhGDCnV (ORCPT ); Sat, 3 Jul 2021 22:43:21 -0400 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C51C5C061762 for ; Sat, 3 Jul 2021 19:40:45 -0700 (PDT) Received: by mail-pg1-x52b.google.com with SMTP id t9so14579122pgn.4 for ; Sat, 03 Jul 2021 19:40:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=uU2NpTsvF59o2UDF/rj+QinI8SocqNRod9hipss6dI8=; b=pbp6maqFDT5zuP/ZrL5tV9rHjvjUduTwnLhwaeC8P1nZQU+quf2RBzPUpl4YI1jjvx 54dnlZzo+VTylHTUWvm329o0x/FXj+42aEOBN8Hfqpn5YO1E+7DMxvwCI61SqcMzjStT w0amGTB4ovAxCGANkd5GAFhsW+j0IQKn/XOhj/tKySjxH9TNfNWM0QNBGxHtEYuaOInB u3pAcdQ2CM8XLgwIrPnGtiYxLnrxV7jazFsAzPzF82UeduVO7nxcOp+QRYD1AWpDjGMx 5yfFo+H++WIZGxV0FHEKuDuFXMGTV7tMr/g0xSm3M/6VKLaRM4H/VT2GcZHFW9FyYvCK AtUg== 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; bh=uU2NpTsvF59o2UDF/rj+QinI8SocqNRod9hipss6dI8=; b=C7t9CfFaaDmMNknFCshox0UarT//72nViGvfWF7vaBeRD2Wq0OdNBIQ8l+X0ExnKyd zJkQrhQ0Os+PXEMEPjKHC9hnLUeU0h9oUAfE30YwkfKF8U/6cXoJ3Z31xDqbtjOVJ39o tXqmqmHzEXncKK8w80VfTRIlaDE7eSEvs4PmLuEe8gXWYY6/TzHFdh38zi4F3MYUP83s UV5RLJXNDE05i/c6dH1a0pJ1ZpJulJaRickCYdgmP6SJaTx8cBydo7X9k+hp68eI98UX g7kbcmWq+GYlEwMAvY0t/je8Rhx038CGwCc+AzpD0IZ5aiM3BAmrHbrq1cZJ7Vkx83t6 U5oA== X-Gm-Message-State: AOAM532RaXALEJPVjpbELgQVQAnINTM0OFiUHCzFgvNeg6rUsiZeUHaC bY1I+CwhBOKANX1AV6z/RfKnhA== X-Google-Smtp-Source: ABdhPJwemRyLkkvqTWv+WSoRHmb6LSFLzTrS3NzI2cS3xpY4VQrMzxWJYFxyhduWhnwLwYm75XvF0w== X-Received: by 2002:a05:6a00:1c45:b029:31c:5106:e354 with SMTP id s5-20020a056a001c45b029031c5106e354mr1865849pfw.15.1625366444025; Sat, 03 Jul 2021 19:40:44 -0700 (PDT) Received: from localhost.localdomain (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id g17sm9394624pgh.61.2021.07.03.19.40.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Jul 2021 19:40:43 -0700 (PDT) From: Shawn Guo To: Stephen Boyd Cc: Bjorn Andersson , Rob Herring , Sivaprakash Murugesan , Benjamin Li , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, Shawn Guo Subject: [PATCH v2 0/4] Add MSM8939 APCS/A53PLL clock support Date: Sun, 4 Jul 2021 10:40:28 +0800 Message-Id: <20210704024032.11559-1-shawn.guo@linaro.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This series adds MSM8939 APCS/A53PLL clock support. Most outstanding thing about MSM8939 is that it integrates 3 APCS instances, for Cluster0 (little cores), Cluster1 (big cores) and CCI (Cache Coherent Interconnect) respectively. Changes for v2: - Reword the commit log of first patch as suggested by Stephen. - Drop 'clock-output-names' bindings and use @unit-address to get unique a53pll/mux clock names. - Use 'operating-points-v2' bindings to pass frequency table via OPP, so that we can use one single compatible for all 3 MSM8939 a53pll. Shawn Guo (4): clk: qcom: apcs-msm8916: Flag a53mux instead of a53pll as critical clk: qcom: a53pll/mux: Use unique clock name dt-bindings: clock: Update qcom,a53pll bindings for MSM8939 support clk: qcom: a53-pll: Add MSM8939 a53pll support .../bindings/clock/qcom,a53pll.yaml | 3 + drivers/clk/qcom/a53-pll.c | 68 ++++++++++++++++++- drivers/clk/qcom/apcs-msm8916.c | 10 ++- 3 files changed, 76 insertions(+), 5 deletions(-)