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: 10428265 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2B999601D5 for ; Fri, 25 May 2018 18:45:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1592C2979F for ; Fri, 25 May 2018 18:45:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 08703297A3; Fri, 25 May 2018 18:45: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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A9E772979F for ; Fri, 25 May 2018 18:45:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: References:List-Owner; bh=kajV80MX5yGnLVLjtAUsU0/W2iIQIHwBn42MPQ+5fCM=; b=nu6 UVo87KHkUjN6TUjzcBswqxNbj/HQPsXnH5B+2N+EIxE2+HUG2kw4i0XC9f/hEl/YwsGGaCQvf4zZf 4ewcwBFynb2yJXFdMiwSzLdel+ayrGEti1J8SQsFMw5VyTt2pdqZ98REdxFNrHpZw/o3NiOEDOxPW 9m4s25SsHBaZjWfSSHRrfy6R0GMyWoA7jjgXsF2UtJZ31kG/zJoq/bVFls/EWSZ7q+XouyA1xRPMM UNA8TKC9fQrt5wD//TS7pfR+zQzxuwHTh6tSHeby/0OEbssQNav/+CMuQNKw/f7afv6P0c3DKoDoq g8g7/MKqqHUbLMJRgQCbsuAInIcflIw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fMHig-00020F-Vj; Fri, 25 May 2018 18:45:42 +0000 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fMHid-0001yw-Ux for linux-arm-kernel@lists.infradead.org; Fri, 25 May 2018 18:45:41 +0000 Received: by mail-pg0-x243.google.com with SMTP id a13-v6so2640639pgu.4 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=eV2bTCnMBQ92pmK5P066qQGEyLMG1qwVxk3poYUrkdkO8j16VFqSSoHwny6Hu0gLIF 8GyChip+HBQPC+QKaA8vAzzzERzErXmtwVwEsklsu2k1U/GwUdiwYESQm1XehYZbzHP6 7P9A9puTHsxWcVroUsczCKWmzJ+fTI5DQteUoM/0WSy38EwLUI3rPinEqB1LSYtkWbfB zeWVr5AzYKc8FR5ZPylkyjQClspkZ1+Qj0mgc3k+811njJPcUua7cgWmlY/J3KQ7FhQw dDP7vsIOMwI6ECcagYKWQO6ttNKyFyf7XlvD+dqgAB2UvQLI/8MZvPRVNk0KvYeFwrbd ey6w== X-Gm-Message-State: ALKqPwcIDBZklWLKZPJETXYh58IipbBLtChzvVl4clAvj7GwP/1u1H3v pVmjUPM73TozqRsAguWTCJjpKQ== X-Google-Smtp-Source: AB8JxZp1cmJlH1OtXuUqrb3Dk/uY+d+8RTAG0VXw3Y6h+Blqmm02EECH0GCi+z1KX80t5lcAIrNGdg== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180525_114540_000701_CC56BA7B X-CRM114-Status: GOOD ( 12.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Vivek Gautam --- Changes since v1: - Dropped UFS_GDSC from phy node arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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",