From patchwork Fri May 25 18:45:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 136982 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3943842lji; Fri, 25 May 2018 11:45:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqqiu7jWOtJdIZLk1VIVOk9RUgmY14KjGOxkohqNmggOcqqYeztrdl1iGhS6q/34EHMfIQv X-Received: by 2002:a17:902:22cc:: with SMTP id o12-v6mr3895252plg.38.1527273935561; Fri, 25 May 2018 11:45:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527273935; cv=none; d=google.com; s=arc-20160816; b=VIdhH3SK82wzOR6H8g8/KZPNr9ykwq4mQp/kMFj/0ScuWM3cFIWy59RcxM9EVehHge gvjx42V+XnGE8ByrhGlHM4S04BZlpRWpoxQGZQ7oUCoTQo+fAc0mywhxgq9x7qrzSadn 7rIMQ8IPfQSFS+vdjpZskr783b67XIgRwg1Udo30992PRfIR5O478DnGBtaLYFHiqk0P VUi//Hzru46foAQXxMauno+F1ogKxmh6JIbsvyZbbwSlLXvGcJgSyjL3GaTCfsPY/6An 7oZNOxcn+jXGsu4g05uzjG3F5N7Izin8uQS+eg9xzMmTZua7DvAVpQzJrCrvJIcTsJa1 KgYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=CXPM1eJ2OBwcCtCszNkeJDJv/l7P0T2K1pF6niVZFmw=; b=TaaAIn9UvF6txQkfPhVxDZAW2bAopAxNuhgZGoeQvNmLJzhT0j4nkkP36Ifitadbao VnxbxYW2en5mcv2HdXQAl7bl2I8se9V8hdv59GBVNc26UQuXSNHbhS+pC+iF5WPrd8PP uq1IfmD6ejS6P+WNNZlahSqqNj8gqrJ+OUPT7hjY8FFipRDDujMIo1xRVr8kKFQhyata HIZVfQ9N79VOO52Eiy6UB2NOCOvw4CLfHETZodQdIOKEOQ+KTbrgeU2bzC4tT8wBbhh+ /dX4GrCxPsC3zSxQ7k0teffvq7jt4aNr38VBvGs55jaCd6w4uGDTLG41D47BUdsTKkNx xFlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ZjWGDP9e; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m37-v6si24358070pla.148.2018.05.25.11.45.35; Fri, 25 May 2018 11:45:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ZjWGDP9e; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S968247AbeEYSpd (ORCPT + 5 others); Fri, 25 May 2018 14:45:33 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:33575 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968220AbeEYSp3 (ORCPT ); Fri, 25 May 2018 14:45:29 -0400 Received: by mail-pg0-f65.google.com with SMTP id e21-v6so2651321pgv.0 for ; Fri, 25 May 2018 11:45:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to; bh=ckzRSu4bhl/NiPJzhz1rTDZV/iOEbYcikJCHx9L8SNg=; b=ZjWGDP9e5AnpamthxQYLV8PcjuIwtAlbbqqdKjORsTz1AIr/SB6SOTc2ff+NvRPy4H HI6bgz4SyhN0liO2OIINaUcJbI1dx6qas4Shazx1hpdv5Upnj4bGH93FMCrAyWlGd4dm Nvcc/yVda0XzY79e+SvFvuoMn2Q2SMhvtzqpI= 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; bh=ckzRSu4bhl/NiPJzhz1rTDZV/iOEbYcikJCHx9L8SNg=; b=J8v2l5dKNvyNXKGj/r3lMu7oF6wt2i+MKCJplnmi+AqIBiZfGe1lvnUIHbruDXEJZ8 /eVsT/R2wRO0uEEvlvn3hYiNQYtOYbaGWT/uga0PQGympgB/AdBi8NqKW68QeUM1grBI H8ZaI6b1sGdMVUal8ICp3i0r1FWOJBvn4EEUvrYAIWg9st+zXaP+TtJRSiOogb6Sg3OD I1q9Jv1pNOyyJ6N5z86i3Aa0lu6G+RFhpLRPlj1KVv/vd98nr1JZgn9XaQOOCNC07WKe 6QFyDU/kNMLoIhTrXuIznAMgMNiL5JtiGwnQoOqN/8EJ7SS5gNlJ+N2NuLcl2k8m9O87 FlAA== X-Gm-Message-State: ALKqPwdztMFAXu3jvxbxZjEhp3nEKJur0jZaIB4HRF+mzxMawa73n/LV 6lGhqTNs1xSyZkCQHOvN4ZpM0g== X-Received: by 2002:a63:4044:: with SMTP id n65-v6mr2915646pga.116.1527273928896; Fri, 25 May 2018 11:45:28 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id u9-v6sm53063659pfj.10.2018.05.25.11.45.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 11:45:28 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Manu Gautam , Vivek Gautam Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] arm64: dts: qcom: msm8996: Move UFS_GDSC to UFS HCD Date: Fri, 25 May 2018 11:45:25 -0700 Message-Id: <20180525184525.355-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524223122.12601-1-bjorn.andersson@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The UFS_GDSC backs the resources needed by the UFS HCD, rather than the PHY. This results in the UFS HCD occationally failing to enable some of its clocks. Move the UFS_GDSC reference to the UFS HCD node instead, to correct this. Signed-off-by: Bjorn Andersson --- Changes since v1: - Dropped UFS_GDSC from phy node arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Vivek Gautam diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 380e14591686..8c7f9ca25b53 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -654,8 +654,6 @@ clocks = <&rpmcc RPM_SMD_LN_BB_CLK>, <&gcc GCC_UFS_CLKREF_CLK>; status = "disabled"; - - power-domains = <&gcc UFS_GDSC>; }; ufshc@624000 { @@ -674,6 +672,8 @@ vccq-max-microamp = <450000>; vccq2-max-microamp = <450000>; + power-domains = <&gcc UFS_GDSC>; + clock-names = "core_clk_src", "core_clk",