From patchwork Fri Jan 24 22:42:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 11351195 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 1A5CF139A for ; Fri, 24 Jan 2020 22:43:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EC25C2071E for ; Fri, 24 Jan 2020 22:43:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="GAuRxrEU" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387429AbgAXWn0 (ORCPT ); Fri, 24 Jan 2020 17:43:26 -0500 Received: from mail-pj1-f66.google.com ([209.85.216.66]:35051 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387467AbgAXWnZ (ORCPT ); Fri, 24 Jan 2020 17:43:25 -0500 Received: by mail-pj1-f66.google.com with SMTP id q39so474612pjc.0 for ; Fri, 24 Jan 2020 14:43:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KgDJnseYnz4OU4RUOTS2EdiEuy4zgbQiW3cvu5KP3Bs=; b=GAuRxrEUmOh1B/lYq8pdQNa2Ca4EhT9saJERWCzXtmnE8VntcFpUki5UHOAstOSmkP i3VSpJxMwUeIIc7K/XYK2OAzVhsmxra6igc8yt7Vhaank8vcIRJ707V1CsdHroQBquV5 JeoMA39mKgXUxpl9qyig7L7KuxfJoMVrluNXs= 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=KgDJnseYnz4OU4RUOTS2EdiEuy4zgbQiW3cvu5KP3Bs=; b=BAUAawt86AmHFHI6HBoMrhAtDjWw5Du4Ox4c7gAJm+DXJ2jHL++SDjSiz1nqPXj5zs 7s2HNNRN39Fd7ErBKr9+CHj5fK22Chl/bWrFBNFwksFTtSeDwtlXYbrt11fL6Gc4lr89 3T3+90kEpvtDH1/NKnTucHLPECnv/0SeQJSgeizGz/b5C6/V5mGVCyTCU9E4bGQVwCYN 1pNf2CWQy69wGXpxVG7YjgYyp1zYmIfyGCACA8PZ1iTgZDXHJpxovJ758uXbyScD+URc aX7jUp0ZftR8vaT6K7AaTOlfgmWKcB7guyBS0DjjQzuwE4F4snGm2Fmz5MC9827KKjJO VsXg== X-Gm-Message-State: APjAAAU7tZc6HTYtBA9QSa+3YZwmKj3pjZAC1ZCpVxAULBJsomk/1JGv XiEbbz4ORiybfnPicOBk0DUsiA== X-Google-Smtp-Source: APXvYqxPaY2TkvBXDFF6hVUkaUSUdjm0Pk7pvufJGy0X/2Yc03N2ElivrqXa01QJ+81P7T4JRLsCFA== X-Received: by 2002:a17:902:aa45:: with SMTP id c5mr5882411plr.305.1579905804708; Fri, 24 Jan 2020 14:43:24 -0800 (PST) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:24fa:e766:52c9:e3b2]) by smtp.gmail.com with ESMTPSA id o2sm7690948pjo.26.2020.01.24.14.43.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2020 14:43:24 -0800 (PST) From: Douglas Anderson To: Rob Herring , Andy Gross , Bjorn Andersson , Stephen Boyd Cc: Jeffrey Hugo , Taniya Das , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, harigovi@codeaurora.org, mka@chromium.org, kalyan_t@codeaurora.org, Mark Rutland , linux-clk@vger.kernel.org, hoegsberg@chromium.org, Douglas Anderson , Michael Turquette , Stephen Boyd , linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH v2 08/10] dt-bindings: clock: Cleanup qcom,videocc bindings for sdm845/sc7180 Date: Fri, 24 Jan 2020 14:42:23 -0800 Message-Id: <20200124144154.v2.8.I27bbd90045f38cd3218c259526409d52a48efb35@changeid> X-Mailer: git-send-email 2.25.0.341.g760bfbb309-goog In-Reply-To: <20200124224225.22547-1-dianders@chromium.org> References: <20200124224225.22547-1-dianders@chromium.org> MIME-Version: 1.0 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org This makes the qcom,videocc bindings match the recent changes to the dispcc and gpucc. Unlike the recent changes to those files, this one doesn't really have any functional change. It: 1. Adds a description for the XO clock. Not terribly important but nice if it cleanly matches its cousins. 2. Updates the example to use the symbolic name for the RPMH clock and also show that the real devices are currently using 2 address cells / size cells and fixes the spacing on the closing brace. Signed-off-by: Douglas Anderson --- Changes in v2: - Patch ("dt-bindings: clock: Cleanup qcom,videocc") new for v2. .../devicetree/bindings/clock/qcom,videocc.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,videocc.yaml b/Documentation/devicetree/bindings/clock/qcom,videocc.yaml index 43cfc893a8d1..745928dc0fcb 100644 --- a/Documentation/devicetree/bindings/clock/qcom,videocc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,videocc.yaml @@ -20,7 +20,8 @@ properties: - qcom,sdm845-videocc clocks: - maxItems: 1 + items: + - description: Board XO source clock-names: items: @@ -50,13 +51,14 @@ required: examples: # Example of VIDEOCC with clock node properties for SDM845: - | + #include clock-controller@ab00000 { compatible = "qcom,sdm845-videocc"; - reg = <0xab00000 0x10000>; - clocks = <&rpmhcc 0>; + reg = <0 0x0ab00000 0 0x10000>; + clocks = <&rpmhcc RPMH_CXO_CLK>; clock-names = "xo"; #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>; - }; + }; ...