Received: by 2002:ac2:48a3:0:0:0:0:0 with SMTP id u3csp197623lfg; Fri, 18 Mar 2022 15:29:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZKHEqcib8ioFZ00yWuKYQkS46GXZROcbMCS/pVDTVskPpphlpv8hqw/gNuk4rGAh8IDsz X-Received: by 2002:a17:906:9751:b0:6db:cf3:e7db with SMTP id o17-20020a170906975100b006db0cf3e7dbmr11337366ejy.58.1647642598435; Fri, 18 Mar 2022 15:29:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647642598; cv=none; d=google.com; s=arc-20160816; b=P9RBmf6eB66/YHQ3MM39vrVeXN/x1sN1dslBnedwNWnjYO7QnE/kKPUpR1L58SHJW/ ybBMOK6MMA7Vy/4hqaJMjbAdBkvA8hnlNyeDRpdH56OU49eSXsAEYdVgVLmctijnEcby uU2LTLXc5iB+y+zdxkuUTLn6bB3Dv/pnTHV5K3npfmlWLkYoMgEvoa0+YLa0KmeCg345 JNdWpx9O3qFQa0xeEJpXiM3VNYZrfpXIa6JN3KqjrshMlu4CaoL0h/mttbeFCVWhtKcV m5UfIRy90ETdC13vgnyG656QioTvd4BBhbXXmlf95hcQrM1H3hVbskEEySAKris7OMwQ gXWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IsPzUzvYgLroRu4csiaCo2UKzNPvjuzZI8dPfwBHJgI=; b=cWizgUvueXmS9lWMkumG88KBMfQVGJDMFVRFD7ctcaeYOrXAXJ8vjFHCP5jaimfjr/ QXUl22Id1FfvdDX7zECssOAsw7pGZE6zUBlc2STQY+GpZ2/ysfcz2czqjjabFPqFAbAj yTAm41l8FY1OrlLnhP0ECpWz/ugq6pjD8BjmeLujkWPueK/NaVv//Oyte0WmgCpeSM7X gJIccfQRYWNEZdTCEjDqIiWhjdnGmpAV8IoF0e2o0SBRMstLMBsIGM1D4Xt34sGzsk3a 79NJuHOMOmO8M6pGbyLDhKdb0B6BTFd6l9aTYHFvIg2CiOW46FpBNnOeiiUWIy1IGLse ZIDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=Bb7G9eAi; 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=fairphone.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb6-20020a170907160600b006df8839b405si2341045ejc.640.2022.03.18.15.29.20; Fri, 18 Mar 2022 15:29:58 -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=@fairphone.com header.s=fair header.b=Bb7G9eAi; 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=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240234AbiCRSlw (ORCPT + 99 others); Fri, 18 Mar 2022 14:41:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240232AbiCRSlp (ORCPT ); Fri, 18 Mar 2022 14:41:45 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3765C1C9B4C for ; Fri, 18 Mar 2022 11:40:26 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id t24so2649730wra.2 for ; Fri, 18 Mar 2022 11:40:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IsPzUzvYgLroRu4csiaCo2UKzNPvjuzZI8dPfwBHJgI=; b=Bb7G9eAidXa4LtVJHXlV2hdxDrOmusC1eMK5cZl9Dw1C0hBIEEgp9CgMVxa2ho8EH9 Iy7Wvie5D5ex39h2yW9Q2Qm+2rfhzPmHV+hzlZ2dg3kkqTUki5LdJIvsugrmihAoep49 dnU8et/omSgk0dpcxJyQ0aUlBsqs6GVSlPxvGYiuoA//woteMVcI+GpeALlKT4mZRY9Y R+Agz8iqrxzPEbsdZ9bGSz+n6IsfkXJx0nw0D4rKVzuQLus3hk2vlALuyF+HIszpwtve k9ci5JTZsfn8NvOzj2PidOYW9KILHgvJ10PAHxLnCYmnaNxCGUoiu+RJGlKibcpe+eHN TchA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IsPzUzvYgLroRu4csiaCo2UKzNPvjuzZI8dPfwBHJgI=; b=CLsGNXuwaWIWxTh4E2mJ9yjB6LOTF+DHE/e5rpH5wjgHmyupxrrffWsyYvf2rNzp9z aPzeTucLoCHLU1M6oGFf4wTqujHaHNwhdK+rTra6JIDM+IMYf+2uwqbsvuYU+A3j1Uvm ZlVqrFF7vICktSi2hI71qG/dbsmXuVGafGjlFGnYRjwefBSNYZgch+IpEIgNCSDsbJU+ zsWpiClXs5HjEXpeIwkhfjrDYWB/IirpCpYV/WERqSyLf6WCTJsgm1VpAFIdOiBDbEKF pc4nouqj5c6+7sOo5rbER5Ykm97akJdv/jF1znDHxcAHjk85kF+zWCGr238Bn3uxqrW4 iGgA== X-Gm-Message-State: AOAM530MeN4h6QT0m5yHiMHAnPNJzhmi8jOMikDC3Js00GNR42U5cImc ahZ4hvSaezA/onatGGcjvJST/E5p7600ZA== X-Received: by 2002:a17:906:5597:b0:6ce:f3cc:14e8 with SMTP id y23-20020a170906559700b006cef3cc14e8mr10038931ejp.426.1647628231596; Fri, 18 Mar 2022 11:30:31 -0700 (PDT) Received: from otso.arnhem.chello.nl (a246182.upc-a.chello.nl. [62.163.246.182]) by smtp.gmail.com with ESMTPSA id y8-20020a50eb08000000b00418b114469csm4567551edp.52.2022.03.18.11.30.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Mar 2022 11:30:31 -0700 (PDT) From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/6] arm64: dts: qcom: sm7225-fairphone-fp4: Enable UFS Date: Fri, 18 Mar 2022 19:30:04 +0100 Message-Id: <20220318183004.858707-7-luca.weiss@fairphone.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220318183004.858707-1-luca.weiss@fairphone.com> References: <20220318183004.858707-1-luca.weiss@fairphone.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Configure and enable the nodes for UFS that are used for internal storage on FP4. Signed-off-by: Luca Weiss --- .../boot/dts/qcom/sm7225-fairphone-fp4.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts index adb6ca2be2a5..533a1c88040f 100644 --- a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts +++ b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts @@ -336,6 +336,24 @@ &uart2 { status = "okay"; }; +&ufs_mem_hc { + status = "okay"; + + reset-gpios = <&tlmm 156 GPIO_ACTIVE_LOW>; + + vcc-supply = <&vreg_l7e>; + vcc-max-microamp = <800000>; + vccq2-supply = <&vreg_l12a>; + vccq2-max-microamp = <800000>; +}; + +&ufs_mem_phy { + status = "okay"; + + vdda-phy-supply = <&vreg_l18a>; + vdda-pll-supply = <&vreg_l22a>; +}; + &usb_1 { status = "okay"; }; -- 2.35.1