From patchwork Mon Nov 25 13:59:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 11260439 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8286B14DB for ; Mon, 25 Nov 2019 13:59:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 63CAD20863 for ; Mon, 25 Nov 2019 13:59:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="E3TYauW4" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727770AbfKYN71 (ORCPT ); Mon, 25 Nov 2019 08:59:27 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:37744 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727722AbfKYN7P (ORCPT ); Mon, 25 Nov 2019 08:59:15 -0500 Received: by mail-lj1-f196.google.com with SMTP id d5so15982255ljl.4 for ; Mon, 25 Nov 2019 05:59:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1FQEFOP8k3SAXbImBIiqpJfmOdRRtRiacZt1f1LEqok=; b=E3TYauW4TPVtlpWpGNXnLdNMHfBBvPHEF/LwwlTf7OZlTcJs7jAMSgBLABLVt5PnL+ HyQmbi9//rm6IdZN2fqORsmYqZqvnoh9wCoOBTEb4NKsB49CBGWc/PEXIQvarDJu1Hz/ 8cryvUe5/vf5R/kkJr1K6RrFV1VTIswF/l9LMCjIt87CWzPTyJ8Cvad3ehuamgYjSnsR IuRVmZ5Lu8RVNOJdeIjvALjUXXJdigAtIvBuGjCpcMrN6Fyvg0udAkykiAFb3+70GTTU IzahDBAnmlRYjE0pdqAJbwPWRE5hGQFCbiegt47/5qZYm0vlAqzQaAU/Sj1qTeL2V4v5 frxA== 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=1FQEFOP8k3SAXbImBIiqpJfmOdRRtRiacZt1f1LEqok=; b=hKgf2u896WN9OdmwH+fOrylPfsu8rYoXsfdTOass860Bc0hvVXeMSiA97Ey9yRWTuB 3LtLRNShODTGU6x5axz28GLss7nwz2tGTz6dBoAfcPid0rSc7BLENgm2UhtJE42PnkEI 9EmSixS+fMS48CkRraY1v7C2EWxajK3mXfDXvQa5ABWV9RhkKJR5oMKpSv7UUfC0ge0R Dt1prcwm1p5kG7Jb6xC8lC62wxNNxfl6r6koQuuX/tIQJ+9X7WXnbgkf7T3ksdzItx7v CxQsjsNDP1eZPv4Ta85U7MZec9tG1t+eiDtaW3MhClQ426r0NU/rVjS7kpOFmTsrY4Lw gt5w== X-Gm-Message-State: APjAAAU8j7va8OlvuY2ArDDP2kOWysxR+CfKfhxAAbubQRDpNMbsvBVL N5iRAc8abYXYvX/4FTI88dyZ/hClUbyBaQ== X-Google-Smtp-Source: APXvYqy+vTpb4+HCLB7KdfFc3jtA6JL7ae0EIjboDWKhsxQ4bU4M2hS4PqfhXanx6PJ5pjpmGLU9yg== X-Received: by 2002:a05:651c:1053:: with SMTP id x19mr22406217ljm.39.1574690352732; Mon, 25 Nov 2019 05:59:12 -0800 (PST) Received: from centauri.lan (ua-84-217-220-205.bbcust.telenor.se. [84.217.220.205]) by smtp.gmail.com with ESMTPSA id w71sm4189705lff.0.2019.11.25.05.59.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2019 05:59:11 -0800 (PST) From: Niklas Cassel To: linux-arm-msm@vger.kernel.org Cc: amit.kucheria@linaro.org, sboyd@kernel.org, bjorn.andersson@linaro.org, Niklas Cassel , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH v3 0/7] Clock changes to support cpufreq on QCS404 Date: Mon, 25 Nov 2019 14:59:02 +0100 Message-Id: <20191125135910.679310-1-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.23.0 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 The following clock changes are required to enable cpufreq support on the QCS404. Changes since v2: -Addressed Stephen Boyd's comment regarding apcs-msm8916 should use new way of specifying clock parents. -DT binding now has "pll" as first clock, in order to not break DT backwards compatibility (in case no clock-names are given). -Moved EPROBE_DEFER error handling to its own patch. Jorge Ramirez-Ortiz (6): dt-bindings: mailbox: qcom: Add clock-name optional property clk: qcom: gcc: limit GPLL0_AO_OUT operating frequency clk: qcom: hfpll: register as clock provider clk: qcom: hfpll: CLK_IGNORE_UNUSED clk: qcom: hfpll: use clk_parent_data to specify the parent clk: qcom: apcs-msm8916: silently error out on EPROBE_DEFER Niklas Cassel (1): clk: qcom: apcs-msm8916: use clk_parent_data to specify the parent .../mailbox/qcom,apcs-kpss-global.txt | 24 ++++++++++++++--- drivers/clk/qcom/apcs-msm8916.c | 26 ++++++++++++++----- drivers/clk/qcom/clk-alpha-pll.c | 8 ++++++ drivers/clk/qcom/clk-alpha-pll.h | 1 + drivers/clk/qcom/gcc-qcs404.c | 2 +- drivers/clk/qcom/hfpll.c | 21 +++++++++++++-- 6 files changed, 70 insertions(+), 12 deletions(-)