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";