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