From patchwork Thu Nov 29 22:13:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evan Green X-Patchwork-Id: 10705445 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7DB0E1057 for ; Thu, 29 Nov 2018 22:14:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FE4D2A1A7 for ; Thu, 29 Nov 2018 22:14:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 637B72AC85; Thu, 29 Nov 2018 22:14:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 03B4C2A1A7 for ; Thu, 29 Nov 2018 22:14:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726369AbeK3JVm (ORCPT ); Fri, 30 Nov 2018 04:21:42 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:35998 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726746AbeK3JVl (ORCPT ); Fri, 30 Nov 2018 04:21:41 -0500 Received: by mail-pl1-f194.google.com with SMTP id g9so1736244plo.3 for ; Thu, 29 Nov 2018 14:14:43 -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; bh=GhUoWU/XFNYmICnRP1niIU3h9D8sxQXM+8ndQH93DLM=; b=jsxYutOGqIVn1t6ZlnX0/EhX98SOvWOoUD+mYKWItjt0p3eZhdftzw/oUTaJHxVIkm uSVf4ncqMNBy3QPA3WVmuT55vj8qhqmZ7fd1CCDjPMk1bTbeD4i3POyzY7OXdt8J6yHz 1lg2I20qhM69shQa1HkzNZUxSS5AP1BAztl48= 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=GhUoWU/XFNYmICnRP1niIU3h9D8sxQXM+8ndQH93DLM=; b=lySAICvuk5ONB0pa8b+JDsnQd5pflpkbVP3QkCX7qNVHdGKDet4V0N2tNbWWs/eaDl JmIQFiX4Gqasxu9Wk3jVhu1BGWajSWXxIn5ZCtv0weswAjrLUs3CRb30YREZ4FFU38QR k0yOaxOARsGkrtUdvpJgHsP8VTYzCUWQZKXk+Qs7ADC8ykfPATpZUC/t1tt+eKGqjiQ1 sAtXSYC8IIz9aUpm/W5IRAnMkX+DlxxDw2XRkS5Jl09czM8ADg1lfl0cGOTMFa35zXGB HaJ2w7VZ1MgAJ7tOuqRw8NutQ1++E9iuSR6oKFzygrhj0gA498jFT6pu1LSsXr+93EVR Mo3g== X-Gm-Message-State: AA+aEWaO1PiJ9DhPkzvk71fQ26WVBCbWuVvSAl0FAN04ESf5zUbUUtZE MEcuhkPV7dLez9q91N3s1KOo/w== X-Google-Smtp-Source: AFSGD/WvdpO4CB5Cw1snzQetslyciXfl7J5bCEbqgbfI4I+zdo6E/gAEaX+nzjZOzbOePQmwL+prxw== X-Received: by 2002:a17:902:a601:: with SMTP id u1mr3185964plq.77.1543529682809; Thu, 29 Nov 2018 14:14:42 -0800 (PST) Received: from evgreen2.mtv.corp.google.com ([2620:15c:202:201:ffda:7716:9afc:1301]) by smtp.gmail.com with ESMTPSA id c67sm4697690pfg.170.2018.11.29.14.14.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 29 Nov 2018 14:14:42 -0800 (PST) From: Evan Green To: Kishon Vijay Abraham I , Rob Herring , Andy Gross Cc: Douglas Anderson , Stephen Boyd , Evan Green , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, David Brown , Mark Rutland , linux-soc@vger.kernel.org Subject: [PATCH v1 2/4] arm64: dts: qcom: msm8996: Fix QMP PHY #clock-cells Date: Thu, 29 Nov 2018 14:13:55 -0800 Message-Id: <20181129221357.67417-3-evgreen@chromium.org> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20181129221357.67417-1-evgreen@chromium.org> References: <20181129221357.67417-1-evgreen@chromium.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Move #clock-cells into the child node and set it to 0 to conform to the proper binding specification. Signed-off-by: Evan Green Reviewed-by: Stephen Boyd Tested-by: Vivek Gautam --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 13bb96444df00..4af740ca0880f 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -767,7 +767,6 @@ phy@34000 { compatible = "qcom,msm8996-qmp-pcie-phy"; reg = <0x34000 0x488>; - #clock-cells = <1>; #address-cells = <1>; #size-cells = <1>; ranges; @@ -790,6 +789,7 @@ reg = <0x035000 0x130>, <0x035200 0x200>, <0x035400 0x1dc>; + #clock-cells = <0>; #phy-cells = <0>; clock-output-names = "pcie_0_pipe_clk_src"; @@ -803,6 +803,7 @@ reg = <0x036000 0x130>, <0x036200 0x200>, <0x036400 0x1dc>; + #clock-cells = <0>; #phy-cells = <0>; clock-output-names = "pcie_1_pipe_clk_src"; @@ -816,6 +817,7 @@ reg = <0x037000 0x130>, <0x037200 0x200>, <0x037400 0x1dc>; + #clock-cells = <0>; #phy-cells = <0>; clock-output-names = "pcie_2_pipe_clk_src"; @@ -829,7 +831,6 @@ phy@7410000 { compatible = "qcom,msm8996-qmp-usb3-phy"; reg = <0x7410000 0x1c4>; - #clock-cells = <1>; #address-cells = <1>; #size-cells = <1>; ranges; @@ -851,6 +852,7 @@ reg = <0x7410200 0x200>, <0x7410400 0x130>, <0x7410600 0x1a8>; + #clock-cells = <0>; #phy-cells = <0>; clock-output-names = "usb3_phy_pipe_clk_src"; From patchwork Thu Nov 29 22:13:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evan Green X-Patchwork-Id: 10705447 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 309991057 for ; Thu, 29 Nov 2018 22:14:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2267F2A751 for ; Thu, 29 Nov 2018 22:14:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 147142A1A7; Thu, 29 Nov 2018 22:14:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B2BB92A1A7 for ; Thu, 29 Nov 2018 22:14:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726746AbeK3JVp (ORCPT ); Fri, 30 Nov 2018 04:21:45 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:35017 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726955AbeK3JVo (ORCPT ); Fri, 30 Nov 2018 04:21:44 -0500 Received: by mail-pg1-f196.google.com with SMTP id s198so1565539pgs.2 for ; Thu, 29 Nov 2018 14:14:45 -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; bh=22X9W5SJJprXsXAG56nZhOGU8DoyVlO99wlxyqdHEMA=; b=lp/KPDuKzVvgrOrtK6tJLzEaj6KtGjK8wcHcc//612Ptd717OFD1pn45qK4fiBNo71 CrBLvkqIvLnSZq32bjSGXuN971j4+f+uu1erGQl+gHHI+VcLG0qyH92WUmWz+bCso59t mLwm+zzP2IVVztnCpWIKMwykDluiIKYZnfXyI= 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=22X9W5SJJprXsXAG56nZhOGU8DoyVlO99wlxyqdHEMA=; b=poNHyOsWl62lLrKwPojaZv8oGMTrNcCVtHU63Tb3ucCnXrNzakt1vsZ8bXRT+BMKrE MqzszXYKXA7f/Pjw/kIOqrfRJBwiDWE2E0E5VEPAOikPsvPtlSVPjNQj0LYQDU6PdS+x JsJJ6BVOB4RMKIJmmXmE892D4q8esLTsJfjKp7t7b79JursOcDSPUD90wq78MTZClxLq HF5+i8O83gFCkF4oDVJ8Sk03hOZBZyUVbHpzoG8kxnIXdpmM4H5w3j0iA7aI8uY2QoMQ Qy+BMKFi6gZxCh4MvNwmKRgiD0V5uCDxrhztCg39KXQi+mP4PI/K7Ye4aMYpVJNoHyFV /ejQ== X-Gm-Message-State: AA+aEWbhLaFzuphyl47Eiq+CWn+O5hyBFX3Gah+2ifEJ8UXKov7szRnM gk4/s6rgMK8Q0I4w0WN4ucHn8A== X-Google-Smtp-Source: AFSGD/Wpb4tCpa0Aj4ZO5NdxDguuNIWWfVRREUdZXoPJ9HaMTKXFjSGyIwXO+0g7pCZlOoDQLDQzgw== X-Received: by 2002:a62:7e93:: with SMTP id z141mr3062204pfc.239.1543529685347; Thu, 29 Nov 2018 14:14:45 -0800 (PST) Received: from evgreen2.mtv.corp.google.com ([2620:15c:202:201:ffda:7716:9afc:1301]) by smtp.gmail.com with ESMTPSA id c67sm4697690pfg.170.2018.11.29.14.14.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 29 Nov 2018 14:14:44 -0800 (PST) From: Evan Green To: Kishon Vijay Abraham I , Rob Herring , Andy Gross Cc: Douglas Anderson , Stephen Boyd , Evan Green , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, David Brown , Mark Rutland , linux-soc@vger.kernel.org Subject: [PATCH v1 3/4] arm64: dts: qcom: sdm845: Fix QMP PHY #clock-cells Date: Thu, 29 Nov 2018 14:13:56 -0800 Message-Id: <20181129221357.67417-4-evgreen@chromium.org> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20181129221357.67417-1-evgreen@chromium.org> References: <20181129221357.67417-1-evgreen@chromium.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Move #clock-cells into the child node for instances of the qcom-qmp-phy nodes, and set it to zero, in accordance with the proper bindings. PHYs that don't provide clocks don't have #clock-cells, and so are left alone. Signed-off-by: Evan Green Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 61a7cee153eae..4582db5e86350 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1178,7 +1178,6 @@ <0x88e8000 0x10>; reg-names = "reg-base", "dp_com"; status = "disabled"; - #clock-cells = <1>; #address-cells = <1>; #size-cells = <1>; ranges; @@ -1200,6 +1199,7 @@ <0x88e9600 0x128>, <0x88e9800 0x200>, <0x88e9a00 0x100>; + #clock-cells = <0>; #phy-cells = <0>; clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; clock-names = "pipe0"; @@ -1211,7 +1211,6 @@ compatible = "qcom,sdm845-qmp-usb3-uni-phy"; reg = <0x88eb000 0x18c>; status = "disabled"; - #clock-cells = <1>; #address-cells = <1>; #size-cells = <1>; ranges; @@ -1231,6 +1230,7 @@ <0x88eb400 0x1fc>, <0x88eb800 0x218>, <0x88e9600 0x70>; + #clock-cells = <0>; #phy-cells = <0>; clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>; clock-names = "pipe0";