From patchwork Mon Dec 10 19:32:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evan Green X-Patchwork-Id: 10722335 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 05E6D91E for ; Mon, 10 Dec 2018 19:32:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB2642AABE for ; Mon, 10 Dec 2018 19:32:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF2D12AB00; Mon, 10 Dec 2018 19:32:33 +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 AA90E2AABE for ; Mon, 10 Dec 2018 19:32:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728885AbeLJTc0 (ORCPT ); Mon, 10 Dec 2018 14:32:26 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:37461 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728304AbeLJTcZ (ORCPT ); Mon, 10 Dec 2018 14:32:25 -0500 Received: by mail-pf1-f195.google.com with SMTP id y126so5879121pfb.4 for ; Mon, 10 Dec 2018 11:32:24 -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=3TB4CubCCv2J0vg1InnwwYpoBAEDbGjF7uzSgq9J7LE=; b=F664yrZrWvcyYkGJfh/POuueG6pQb0D3POrznckgzZEtNN9ZzxIMMIJdaSAs7Pl6Qn v7H3TcluCyPiCnN69OEmW5DZ1DD8dqqUFfz4fWuS0KcXiNCOlvz9/Rtw3Pd/w+8Ri3Kr iXKQW9B1UdpJRCdpRvkYzJbW1CDNku/flKXjk= 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=3TB4CubCCv2J0vg1InnwwYpoBAEDbGjF7uzSgq9J7LE=; b=NTlIbaPyZiqVPuVl68LBQliPBEjXK5jI7rv+m4QB0Z5nY9r1XrT0mZW9BzMhFm76RK 9DHkjyQGY+HRBn0pxEz9R0yqhnSUVyucsFLveR1fcyAsrvGdXpYKSmK2hInsx3L9eWOC UO3oH+c5XCuSWICzDo8l6eL4SbBkT6dJS1VRlAFr/LOoAqdR8M86B5PaYFuUC5QLSY+/ UkmtYY/oIm6mp3PYewfmaw7n4RP3P8PvUccUasK3MIMDdAiqr4obh0KNuVKFnODaiFnt PtLUF8wLfPlW1Rbym4KyN1jTA2p0zeEt7ILDbSz00qAbpT/t86roYuZdfjbBsn7+6iFs wqBw== X-Gm-Message-State: AA+aEWZDIB0idWdSzRrkG1gjafFgPg5g4LLey5IggLHDWZFCOkFJwdBY bHrdVr9OCU0FKxyeK8uzxpSwXQ== X-Google-Smtp-Source: AFSGD/WPyrjNEiZtwHiW3kclha943AaFZ30hf3jO3Rlu+3QtRTFOoVJNaG7foA5vdFQMeRo1CXaCzg== X-Received: by 2002:a62:b9a:: with SMTP id 26mr13633816pfl.196.1544470344628; Mon, 10 Dec 2018 11:32:24 -0800 (PST) Received: from evgreen2.mtv.corp.google.com ([2620:15c:202:201:ffda:7716:9afc:1301]) by smtp.gmail.com with ESMTPSA id v5sm23737875pgn.5.2018.12.10.11.32.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 10 Dec 2018 11:32:23 -0800 (PST) From: Evan Green To: Kishon Vijay Abraham I , Andy Gross Cc: Douglas Anderson , Stephen Boyd , Evan Green , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , David Brown , Mark Rutland , linux-soc@vger.kernel.org Subject: [PATCH v2 2/4] arm64: dts: qcom: msm8996: Fix QMP PHY #clock-cells Date: Mon, 10 Dec 2018 11:32:05 -0800 Message-Id: <20181210193207.242080-3-evgreen@chromium.org> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20181210193207.242080-1-evgreen@chromium.org> References: <20181210193207.242080-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 --- Changes in v2: None 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 b29fe80d72883..44a494c70fa11 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -760,7 +760,6 @@ phy@34000 { compatible = "qcom,msm8996-qmp-pcie-phy"; reg = <0x34000 0x488>; - #clock-cells = <1>; #address-cells = <1>; #size-cells = <1>; ranges; @@ -783,6 +782,7 @@ reg = <0x035000 0x130>, <0x035200 0x200>, <0x035400 0x1dc>; + #clock-cells = <0>; #phy-cells = <0>; clock-output-names = "pcie_0_pipe_clk_src"; @@ -796,6 +796,7 @@ reg = <0x036000 0x130>, <0x036200 0x200>, <0x036400 0x1dc>; + #clock-cells = <0>; #phy-cells = <0>; clock-output-names = "pcie_1_pipe_clk_src"; @@ -809,6 +810,7 @@ reg = <0x037000 0x130>, <0x037200 0x200>, <0x037400 0x1dc>; + #clock-cells = <0>; #phy-cells = <0>; clock-output-names = "pcie_2_pipe_clk_src"; @@ -822,7 +824,6 @@ phy@7410000 { compatible = "qcom,msm8996-qmp-usb3-phy"; reg = <0x7410000 0x1c4>; - #clock-cells = <1>; #address-cells = <1>; #size-cells = <1>; ranges; @@ -844,6 +845,7 @@ reg = <0x7410200 0x200>, <0x7410400 0x130>, <0x7410600 0x1a8>; + #clock-cells = <0>; #phy-cells = <0>; clock-output-names = "usb3_phy_pipe_clk_src"; From patchwork Mon Dec 10 19:32:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evan Green X-Patchwork-Id: 10722333 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 0295B91E for ; Mon, 10 Dec 2018 19:32:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E50EB2AAF3 for ; Mon, 10 Dec 2018 19:32:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D2DCF2AB1D; Mon, 10 Dec 2018 19:32:32 +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 515AD2AAF3 for ; Mon, 10 Dec 2018 19:32:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728241AbeLJTcb (ORCPT ); Mon, 10 Dec 2018 14:32:31 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:42267 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729067AbeLJTcb (ORCPT ); Mon, 10 Dec 2018 14:32:31 -0500 Received: by mail-pl1-f193.google.com with SMTP id y1so5701742plp.9 for ; Mon, 10 Dec 2018 11:32:30 -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=r2LQEP+rTJhB7Ln3gMRprsA8GSi1B+37E2E3khXcTwU=; b=aLvFswoWqvMQSNm9A0vSdtRGl1mzgZxboWz9U6zzDnvvelf9neI2qnR4STzizx3/M+ DlgwcnLDlTxpVLs8MpzufKB2Aa0c830VMW+6xfWDhFYkI+ucMVOIlJKSMcrWTbxYjVYx YA0zGIVShUgzDz6dZhcH977MtshBpzEt4oRa8= 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=r2LQEP+rTJhB7Ln3gMRprsA8GSi1B+37E2E3khXcTwU=; b=C2jQ/zjmagD93HAwAVLw83r6OuB+wsrgYwJqIfBAdqBXhSKClzrTPph4pBUXCIUfi/ ejRgtCmvFg6Puf7MZhIJpA7NdPWc+xbZtXJJ6ob0JNNmRAhV27TASWKphyDChN7utbl2 onUj4/5Qu4Pk3vL/ZJQ+5UUHprxAqZ57p/fwhIo9SGuAUw3RFy6DCrGLGdtFOZiMWnrR ngYCABALjvZ8PHpUuwEpRIzR1k2gi4Qa7PBVu4+9iEzqYEC/i9B5e6FxaJXB4v+B//Kn 9Ju0dMkd/9pM/tDKC6prMQBbMFyB/QZsXL8pO/A7YUfoz6lMIGKA+WqfBDpEY4ugccva Plzw== X-Gm-Message-State: AA+aEWZKP1MaNI8VnqMlykHNwG38yuX4PXeL/D0TtW9oyC+9cHnQ6LIO jgQ2ukA1dVPOvyYk0ZxJgdcb2Q== X-Google-Smtp-Source: AFSGD/WxRvI4FGQNvUQ20ihEQaHSEH1NaB5DhPwJN3/nSDJGV49RAIi6TqaQ7lZe6leVdx3ZKsY4lg== X-Received: by 2002:a17:902:7005:: with SMTP id y5mr13311689plk.7.1544470350417; Mon, 10 Dec 2018 11:32:30 -0800 (PST) Received: from evgreen2.mtv.corp.google.com ([2620:15c:202:201:ffda:7716:9afc:1301]) by smtp.gmail.com with ESMTPSA id v5sm23737875pgn.5.2018.12.10.11.32.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 10 Dec 2018 11:32:29 -0800 (PST) From: Evan Green To: Kishon Vijay Abraham I , Andy Gross Cc: Douglas Anderson , Stephen Boyd , Evan Green , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , David Brown , Mark Rutland , linux-soc@vger.kernel.org Subject: [PATCH v2 3/4] arm64: dts: qcom: sdm845: Fix QMP PHY #clock-cells Date: Mon, 10 Dec 2018 11:32:06 -0800 Message-Id: <20181210193207.242080-4-evgreen@chromium.org> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20181210193207.242080-1-evgreen@chromium.org> References: <20181210193207.242080-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 --- Changes in v2: None 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 47bb7edc03afe..fedd6578776a2 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1170,7 +1170,6 @@ <0x88e8000 0x10>; reg-names = "reg-base", "dp_com"; status = "disabled"; - #clock-cells = <1>; #address-cells = <1>; #size-cells = <1>; ranges; @@ -1192,6 +1191,7 @@ <0x88e9600 0x128>, <0x88e9800 0x200>, <0x88e9a00 0x100>; + #clock-cells = <0>; #phy-cells = <0>; clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; clock-names = "pipe0"; @@ -1203,7 +1203,6 @@ compatible = "qcom,sdm845-qmp-usb3-uni-phy"; reg = <0x88eb000 0x18c>; status = "disabled"; - #clock-cells = <1>; #address-cells = <1>; #size-cells = <1>; ranges; @@ -1223,6 +1222,7 @@ <0x88eb400 0x1fc>, <0x88eb800 0x218>, <0x88e9600 0x70>; + #clock-cells = <0>; #phy-cells = <0>; clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>; clock-names = "pipe0";