From patchwork Wed Jul 31 20:29:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jorge Ramirez-Ortiz X-Patchwork-Id: 170232 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp4462629ile; Wed, 31 Jul 2019 13:29:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqyB4u1IefCxgRnec5r3qzM+fTCwZs1Mc4vXKFyTzQKlNnXDJtytSqT7d7yhGql19LF455V/ X-Received: by 2002:a63:6bc5:: with SMTP id g188mr85419343pgc.225.1564604995629; Wed, 31 Jul 2019 13:29:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564604995; cv=none; d=google.com; s=arc-20160816; b=fKjIO9UJACVT4PKndRdPiTG2O7bHtWlviSjA7alghUNZGRwJPKnHPbcch8HZisSjvS In1nyG9GSgzhkMLLA3EY6Kwc3UIvktbIlkZIoNS8DGcdV8D8D0CG39WOS/Q5WahCiCRt qI/ZNw02ZEciCpcYGeeBmIq/cEqdwgdy4F9aT7OZY4brCpiulKVA76TxPlhRmJKIfTCu Qf46iLFtPTmETRnLeAzY2GBGGkDUG7lK0MhHXIYmy84wbtXa7slmmH6b2HwA2J50iiKU JRUHEJXUl5O7wmATpm21swgWbvl5r1DCVMciSVk08wNFyUgyBKslTaiiTxwK58PXJGkI r33g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1eN7cVd81RI8zQ0Y9k2UD2x6CFiI8Tg5XhL9VySum/g=; b=m4rh5188wYtYo9sRhU9Rq2YXb1TxwsEkXS5Ma3OhbwkTDlOcsc6AUZJpwvUsfFuaF6 Qsma9BovQ9V5NoMKRw6vGEC/BT3TlxBTHfe4EPilfH7IQWdlaqxn2Y9Qq8bXsJLVUMxd RIGjEuF8hUqv+ToSUnXJghVth0W/ibGsw30c/XuTqdBjraA4j5L2RLBPd6U/uk9YYOax 82p3rqHh8C634fvgJLbl6Uv52jsmxQkO86ed4CuzjvSlxB7qVXCHV/OG5TEjlGG6Lvzj nRzpj5m03JoIyVIA0n/Dz8kVxgftp7F4UF+PfLvK38xmrLm1SqkeMLlEpn7FMOIZuXTz E8HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="YV/R5BSM"; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 10si1312034pgp.78.2019.07.31.13.29.55; Wed, 31 Jul 2019 13:29:55 -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=@linaro.org header.s=google header.b="YV/R5BSM"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730775AbfGaU3x (ORCPT + 16 others); Wed, 31 Jul 2019 16:29:53 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:54425 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730640AbfGaU3x (ORCPT ); Wed, 31 Jul 2019 16:29:53 -0400 Received: by mail-wm1-f67.google.com with SMTP id p74so62141216wme.4 for ; Wed, 31 Jul 2019 13:29:51 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=1eN7cVd81RI8zQ0Y9k2UD2x6CFiI8Tg5XhL9VySum/g=; b=YV/R5BSMFAh570iRGRBD+cQsWsJMFzQ9gG4bGL/RfB32IWA8XWQeNI5O0Thy2ZYp3D 0R9pHt+GGiTfp0GJbd7ldKYk/cGLe4sDDFbAxLUywQ8JpeGf04r2+4aXtZvWA41ZNgOz Ga687vg1J/lEgYqb2BK7TqMePNgA5tMCBoqMtIiqAwNmUj2veS08uPt9qYWEw79ufpms AMsxqa5tQzIjPGAQZVtrImgh9ifM/d/sWBl+iDfNP3djoNjHT+3jg9gOeiztVzXdAMMR oLeGbEuGiUBJv17NIERP3qXzZA1aIXI6F5E9+wMnlf8vPQuU5shUVedUGy5fClF3LwLm V/+w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=1eN7cVd81RI8zQ0Y9k2UD2x6CFiI8Tg5XhL9VySum/g=; b=srZzhnxnjXHEEcied3nH2lYmMgOuS5rtMYewRpyka1F46u4u6Ok5knr6NHa7SML/U8 XWP2TXP4QY6m4HhiffT6dK+a5YBWGdVVqKIQ1wmO39Xlw4uXd58eTiEpgDFnqlMqrPOj M8f5MNcoBVmtuWXsVMrqF9U945tiRskGtRgOMpiCvQskQiR9iwZaLmFm6IIyV+O6TBAD 34f3MyGrKA4bhzfUzPBFpoaS0AGGH6GxigI7uJrcEdcL+ZbEx5VE3ZSOI9AON+Uhpdxp 7+LMBA3nU1lqo0TsJJ2iyG3Xnz0a2g84qGDd6QKGeHkS5zk3OoJDO2LIHM1ip/LEMumg C94A== X-Gm-Message-State: APjAAAW+3yblYhbyuBdwhyUu2amMXy2yYaiOTqGjQic7zR5h3nIL3Qjy fYVAish3kZvvQO8gXeSe43rnPw== X-Received: by 2002:a7b:c748:: with SMTP id w8mr37876401wmk.36.1564604991184; Wed, 31 Jul 2019 13:29:51 -0700 (PDT) Received: from localhost.localdomain (19.red-176-86-136.dynamicip.rima-tde.net. [176.86.136.19]) by smtp.gmail.com with ESMTPSA id i18sm91905591wrp.91.2019.07.31.13.29.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Jul 2019 13:29:50 -0700 (PDT) From: Jorge Ramirez-Ortiz To: jorge.ramirez-ortiz@linaro.org, bjorn.andersson@linaro.org, sboyd@kernel.org, david.brown@linaro.org, jassisinghbrar@gmail.com, mark.rutland@arm.com, mturquette@baylibre.com, robh+dt@kernel.org, will.deacon@arm.com, arnd@arndb.de, horms+renesas@verge.net.au, heiko@sntech.de, sibis@codeaurora.org, enric.balletbo@collabora.com, jagan@amarulasolutions.com, olof@lixom.net Cc: vkoul@kernel.org, niklas.cassel@linaro.org, georgi.djakov@linaro.org, amit.kucheria@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org, khasim.mohammed@linaro.org Subject: [PATCH v4 09/13] arm64: dts: qcom: msm8916: Add the clocks for the APCS mux/divider Date: Wed, 31 Jul 2019 22:29:25 +0200 Message-Id: <20190731202929.16443-10-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190731202929.16443-1-jorge.ramirez-ortiz@linaro.org> References: <20190731202929.16443-1-jorge.ramirez-ortiz@linaro.org> 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 Specify the clocks that feed the APCS mux/divider instead of using default hardcoded values in the source code. The driver still supports the previous bindings; however with this update it we allow the msm8916 to access the parent clock names required by the driver operation using the device tree node. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.22.0 diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 5ea9fb8f2f87..96dc7a12aa94 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -429,7 +429,8 @@ compatible = "qcom,msm8916-apcs-kpss-global", "syscon"; reg = <0xb011000 0x1000>; #mbox-cells = <1>; - clocks = <&a53pll>; + clocks = <&gcc GPLL0_VOTE>, <&a53pll>; + clock-names = "aux", "pll"; #clock-cells = <0>; };