Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1508435rwl; Wed, 12 Apr 2023 14:09:01 -0700 (PDT) X-Google-Smtp-Source: AKy350aeUk4JciFNyvhc23r3t7uI0onkR1W9odAdNzIdWP2J3QdVBkHejqPfH+dd78+AID0sLp31 X-Received: by 2002:a17:906:fae1:b0:94a:4847:1d73 with SMTP id lu33-20020a170906fae100b0094a48471d73mr200386ejb.57.1681333740861; Wed, 12 Apr 2023 14:09:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681333740; cv=none; d=google.com; s=arc-20160816; b=u3VN5N9ZRZP8hSzqU0Km0/41zEpcTkwZctIx3FCLXWEwVv92+YlIJy/hPj6CPeChEg TAqyVaeCnd1G4JRWTooWbjnM1SwtjKA0KACq37e9Ne3pz6JAltsr2WQpZsyR4i1ZE8N3 ZA8z34CwpZjm3F3bbH1PFjF7DUPAGfD34Ce11fYAY4dEivZSXj/SicOSA7bPu3eBiQbt yL9W9VYHztYM2JaIwmS5P/nWdv47hZk1yVpu0K4JQ1hho4pxiNRPwE/D9EuCmOdMkUnO zh97JPnjhBSWLDSbnc/QW0la49YcyT2ZsXHwBjf5LQ0felj8BCjwGrUWvSUa2wm/FljN k5iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=TouGPU+Efoq/WGt/vDKkhltZTB+4TxGu4UL9u2kA4UE=; b=cQ7Wgz19x0JgGYjUJMdtvZ40JXRu8rxvXTqySNjR5z1rsLZkNga2qIGW6K2ArwcaTI 5R01Jq0jn5+DKQw6b8SAwFAxFZ44qJG2sTRz5A3LQyd0IgaoEuFvNdFhNWqQVa5d2son GOBZ0R/bIRqOiibGVIhuCeVCXCSkrZK6YXkn1CZMQ41vMgGw5ZFjwTXu12pW58hkYl+w 3y1KT7bGWPgm/y2JsZScxe1tn+Dg8Dgo/7J+PgTRrdi9NYgDEhM+E8OWVABIV7DFXhAo suzNGjpLJGxLvV4dsgRYCSrNCRsLMt7Ce+P5mrB4Odnm85+tuo4mJIDUU5WhtelgMSc/ XWdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uM9DmsgC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ss10-20020a170907c00a00b008b2712f79e8si11139489ejc.940.2023.04.12.14.08.36; Wed, 12 Apr 2023 14:09:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uM9DmsgC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229711AbjDLVHc (ORCPT + 99 others); Wed, 12 Apr 2023 17:07:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjDLVHb (ORCPT ); Wed, 12 Apr 2023 17:07:31 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2F745249 for ; Wed, 12 Apr 2023 14:07:28 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id t14so16290367lft.7 for ; Wed, 12 Apr 2023 14:07:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681333647; x=1683925647; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TouGPU+Efoq/WGt/vDKkhltZTB+4TxGu4UL9u2kA4UE=; b=uM9DmsgCbpsezm1URvfxA1QlpROL2JDARNWITPqAhDWCPoJrX7aKohknLbrgtm0zUV xhY9VfEH1Mr5O9m9+Ff8qZpev+gC3BUBPrjWOBvzsTv2mXeOe88nMIC9A1Gd67HuuQXa rwKPBdychE/adJ1gHlPw/9gZkAuOAZPWH90JZ+PsfLoH9Ehzkt+zAsxlaeV4jonWVliM sSFzBoDFiUWOZeiJWtXBYy1ssRQyq5A159Zi6S5ncs1ggbjZCGHpUWkoTy4OTP1j5Wza tPUlRrXIAE5q/5nbj5gtrpG5FLm36G1y7zOTD9sz779btG6mJCt+EXz/o3fdQdO/Qu4m IPSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681333647; x=1683925647; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TouGPU+Efoq/WGt/vDKkhltZTB+4TxGu4UL9u2kA4UE=; b=P+1/9C+vP3hmdKtikP12IBSpTXq4qITlGfYiTMfv/a+cdtKtWkv9zPhaDUPCimtwAy aTZwJdaV5am8x36y4WYP33Jx8xFkblIDNsDBj2/GLMIO4ULf7LkK9zYphW5S1a/tkzue EFiEJAvtluQvFAejMXn0+gPrXaLuCN1LMru5Y7GXf/y0VMJOCSsFLFAuk8PPpnYloYKR K3jKGOYmaRXBkbcike4mUEvqiBlOUaDG1OxMQjq753dwoz6HOrjpsKgGZSe7ZnTdJNfW LM6lDoIg2pqmG+Fi7IP5lYhhTZFTLPLpjXUrusq5MFpfa2rghK5efrOMojpQBgDqg0lc 81og== X-Gm-Message-State: AAQBX9cz/t1nzzoaQ2jbvL6uHFkjmg6mSIUK/wqLJ82V4q33BgnypZf0 lkKcdAgSMDQ71GW+vwOihUPg2g== X-Received: by 2002:a05:6512:49c:b0:4e9:67ee:6383 with SMTP id v28-20020a056512049c00b004e967ee6383mr64065lfq.2.1681333647186; Wed, 12 Apr 2023 14:07:27 -0700 (PDT) Received: from [192.168.1.101] (abxj23.neoplus.adsl.tpnet.pl. [83.9.3.23]) by smtp.gmail.com with ESMTPSA id v17-20020ac25931000000b004ec8b638115sm1487244lfi.193.2023.04.12.14.07.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Apr 2023 14:07:26 -0700 (PDT) Message-ID: <07b8731d-f9b6-c759-808d-56ae5881e251@linaro.org> Date: Wed, 12 Apr 2023 23:07:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v3 5/5] arm64: dts: qcom: sa8775p-ride: enable UFS Content-Language: en-US To: Bartosz Golaszewski , Andy Gross , Bjorn Andersson , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Bartosz Golaszewski References: <20230411130446.401440-1-brgl@bgdev.pl> <20230411130446.401440-6-brgl@bgdev.pl> From: Konrad Dybcio In-Reply-To: <20230411130446.401440-6-brgl@bgdev.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11.04.2023 15:04, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Enable the UFS and its PHY on sa8775p-ride. > > Signed-off-by: Bartosz Golaszewski > --- Reviewed-by: Konrad Dybcio Konrad > arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts > index f238a02a5448..2bb001a3ea55 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts > +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts > @@ -5,6 +5,7 @@ > > /dts-v1/; > > +#include > #include > > #include "sa8775p.dtsi" > @@ -20,6 +21,7 @@ aliases { > serial2 = &uart17; > i2c18 = &i2c18; > spi16 = &spi16; > + ufshc1 = &ufs_mem_hc; > }; > > chosen { > @@ -426,6 +428,23 @@ &uart17 { > status = "okay"; > }; > > +&ufs_mem_hc { > + reset-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>; > + vcc-supply = <&vreg_l8a>; > + vcc-max-microamp = <1100000>; > + vccq-supply = <&vreg_l4c>; > + vccq-max-microamp = <1200000>; > + > + status = "okay"; > +}; > + > +&ufs_mem_phy { > + vdda-phy-supply = <&vreg_l4a>; > + vdda-pll-supply = <&vreg_l1c>; > + > + status = "okay"; > +}; > + > &xo_board_clk { > clock-frequency = <38400000>; > };