From patchwork Tue May 4 05:28:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 430797 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp3474859jao; Mon, 3 May 2021 22:29:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx20D/wCPT+Lhu8LolmGV3PbP5VrsS6UQ2Jn2yOm8OlMElS2VgwXNciQ6mHd53BE5+ae4vr X-Received: by 2002:a17:90a:e003:: with SMTP id u3mr2832358pjy.77.1620106146331; Mon, 03 May 2021 22:29:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620106146; cv=none; d=google.com; s=arc-20160816; b=L1GbOhIsr+QngksmRpXci5yLXP67ymhH4m1l0mbS11OawIAJ2lb8anwUAFI3RaYSs1 9EnHax8YuNXmFlC8QbMgdvfzd1BZKwm1D5ceb26qe8AuQl0y0KB8zEKww9iT3iyn+p+T WdOCstv7lHFFEcXejfGZn1zzkn5uYnAEaXbNSmMSqxmsQ1gkCj0+io/JpDA1xWzmLb6+ IfAas9ArcmFwxBpb48OSE+jrfMUnCaPeNUxyofWJuR6zhn1SgCX711TQqAoxvV25B5Sq MSwcv4bh6ACN4SzEsZoXBhYyALgn08HhSwT2qWGNlo5xqbEqG4WJmGdtRk+DXHhMfPQR i/eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=X/MGql9b3iDHbEGk1fEF6JKWQobHRfGqiTtP2HlirKU=; b=Eemt12CECa6x61/6iCHwn/85zI9FsFLl/+LxGeHqIIknaEBpvOahQyxU37dgU/GARo dBAAeQB0BcUaxtejfmoEnyXEttoXoaieErr4dVUwAMXcnbwpe4gJim6St5GuuU+Vd8Ky LHzQDNGbvUGTLu5RF+ZIzTVMXMIByvlzo+odP7uao5RisipPYnKPUIH1kRoNEFNXjl7D 48UPguR8ZHXct/bEIvy+fllGGuEwYviRO0c4vbVftSK8t1bK+7Tp1giourgPSoSH2qhA m/o5+HxYmxoXttSz1ktYXNFEMYeVtMCJoTfd3ljenYgXPOPrMY5mB9nE/0V955n3m9g+ jMOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iS9nCRP7; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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. [23.128.96.18]) by mx.google.com with ESMTP id x7si2109914pgp.564.2021.05.03.22.29.06; Mon, 03 May 2021 22:29:06 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iS9nCRP7; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S229786AbhEDF3y (ORCPT + 6 others); Tue, 4 May 2021 01:29:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229746AbhEDF3y (ORCPT ); Tue, 4 May 2021 01:29:54 -0400 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A093C06174A for ; Mon, 3 May 2021 22:29:00 -0700 (PDT) Received: by mail-pg1-x52f.google.com with SMTP id s22so5722912pgk.6 for ; Mon, 03 May 2021 22:29:00 -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; bh=X/MGql9b3iDHbEGk1fEF6JKWQobHRfGqiTtP2HlirKU=; b=iS9nCRP7N9X6bE0kTfKXOusCAuIrnl8h6+WTgpHG4cgzI3sKDwyO86ZcNy0PBqRRlm WHuYmTz71Bh4ORHanWMW7xywzeUOSI5dYYR7e+eNev09g47nJN3/P6/dF1ONqNLXLmaT w1p1G4afuDqhq46T45V6isPZyTJBz/Wg6b0PHuH5KOmIPAwZ2kYRMbcFUpODesq4kyLi a/RTcLtmwjEjp92s6ij9UqXVFMHNKgkSuw88u65bssRRLx7Q87Z/tcYbyCeET25aF1T5 b0FZnS72x/TumwhihxZX8uDeaFYfI5P+UaE8WD952Pj+wIyeeeFZsJMX4RSoAhu8GLBy Qb/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; bh=X/MGql9b3iDHbEGk1fEF6JKWQobHRfGqiTtP2HlirKU=; b=ROJoS4x7+HwpEwTBAZro+cCVAn/cpNrN9L82+98qW09DHwJYELPKtPmMa83A6U2M/D r8HTttNJGhOx3IJ4MY91Ww0WaUg1p+PLYgMA76ZRmc656QGNBZJXhYoFv6aBNfcsAmBz +amQqM249zUKRt6FE4Tp5p9OT8lSDSA6BWAB5adMUneVnmyhO2IBh0yuhRLdjGKxptWK M9zDUy0ncwlbs+WL8BqsK+NayRUfLD/oapE578mgDwK9ovXzumzZ/dHpVCMrjWMZe3de cnxjp+SgJ/BvPybWytwvZIN3tkuE0roPHAv3tvUdTzUYPKoAy0mmslJEcTySqGzpDpfu Jp6w== X-Gm-Message-State: AOAM532YOrktwFvOtUxcDyV48ga+HlVDgZmjspCTrLz9tojRktL9B6lb TWB0ZGw99bdj1QbSHBdFC/E0Jg== X-Received: by 2002:a63:1a5e:: with SMTP id a30mr21988129pgm.156.1620106139731; Mon, 03 May 2021 22:28:59 -0700 (PDT) Received: from localhost.localdomain (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id 145sm5933229pfv.196.2021.05.03.22.28.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 May 2021 22:28:59 -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 2/5] dt-bindings: clock: update qcom, a53pll bindings for MSM8939 support Date: Tue, 4 May 2021 13:28:41 +0800 Message-Id: <20210504052844.21096-3-shawn.guo@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210504052844.21096-1-shawn.guo@linaro.org> References: <20210504052844.21096-1-shawn.guo@linaro.org> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Update qcom,a53pll bindings for MSM8939 support: - Add optional clock-output-names property. - Add MSM8939 specific compatibles. - Add MSM8939 examples. Signed-off-by: Shawn Guo --- .../bindings/clock/qcom,a53pll.yaml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/clock/qcom,a53pll.yaml b/Documentation/devicetree/bindings/clock/qcom,a53pll.yaml index db3d0ea6bc7a..7a410a76be2f 100644 --- a/Documentation/devicetree/bindings/clock/qcom,a53pll.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,a53pll.yaml @@ -18,6 +18,9 @@ properties: enum: - qcom,ipq6018-a53pll - qcom,msm8916-a53pll + - qcom,msm8939-a53pll-c0 + - qcom,msm8939-a53pll-c1 + - qcom,msm8939-a53pll-cci reg: maxItems: 1 @@ -33,6 +36,9 @@ properties: items: - const: xo + clock-output-names: + maxItems: 1 + required: - compatible - reg @@ -57,3 +63,31 @@ examples: clocks = <&xo>; clock-names = "xo"; }; + #Example 3 - A53 PLLs found on MSM8939 devices + - | + a53pll_c1: clock-controller@b016000 { + compatible = "qcom,msm8939-a53pll-c1"; + reg = <0xb016000 0x40>; + #clock-cells = <0>; + clocks = <&xo_board>; + clock-names = "xo"; + clock-output-names = "a53pll_c1"; + }; + + a53pll_c0: clock-controller@b116000 { + compatible = "qcom,msm8939-a53pll-c0"; + reg = <0xb116000 0x40>; + #clock-cells = <0>; + clocks = <&xo_board>; + clock-names = "xo"; + clock-output-names = "a53pll_c0"; + }; + + a53pll_cci: clock-controller@b1d0000 { + compatible = "qcom,msm8939-a53pll-cci"; + reg = <0xb1d0000 0x40>; + #clock-cells = <0>; + clocks = <&xo_board>; + clock-names = "xo"; + clock-output-names = "a53pll_cci"; + };