Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp981334rdb; Sat, 7 Oct 2023 07:01:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEwK2j1NbgNoNXtGdZ6KfsF6sQ48YK1pUdq7Vg1Z4YzdwT4LXthmOax238aBKvL53zusIh1 X-Received: by 2002:a05:6358:261a:b0:14f:d52:39cb with SMTP id l26-20020a056358261a00b0014f0d5239cbmr12901069rwc.26.1696687315838; Sat, 07 Oct 2023 07:01:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696687315; cv=none; d=google.com; s=arc-20160816; b=klVAea2Vt067ntQo8tISou8L08pnnTQOdoSfQRnrpUc5V1usD+7arCIAO63RNXL1On MYkCHpFQmBMbAs+7adrar3P9cjAc/pjejI0FPoUk2NcHRNt34O1Wvmls7bBHUHWzinhW 88B8GRfryh/2/FlHeaFlP+9U5FbdIBwZBKNzrxqz/AiIrOth5fW2MJFJUD6557rSeCoL mQ/jMWcc06yFmV/39DNdt1e7pry9Yd54AP40SdwMLGFIjrg9adVT8g/C8TSw3Eb9Ed2f 4XkA6tu6dX8CgGKPfsRtQ8/lNQWh14Fvt5BQP9lfxT+QWRgv8axxogy+Khb+FycJKE5e 4zug== 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=zT+UyLNrtTIL3bbAzaCCFygmUaFXv4MJR29ziVQ6mVY=; fh=y/R4WenbKoIwoBBWBGHDnQEeUVlSQwvdxuZNzTpkGiA=; b=IrLGSw+V6epBtoPm7wtAPcc0Xq7/zT3rabiMagQmzQ0XW/J0kTjxws8hhwjAIF+Xpq vV9nfWvhDSSDfNdp2zuREYUvRp2Zc+ImA2GROhMdoQtOvIPltbui9kVqBVEAX7MPNV5n enIiXd5Kxwmsjhlju29+LFw7KJeU/GDoVZxHm0KXvHJlG5W/mzbJyRuUoc5kY53UTMtI /xovJR1UVwdsahEObCuXseW44KqnRucpQSkE7hNvYAKJBB9JfXN3EF1G6KaneniB36oh Layq488hgNmm7+RRTn2RSwqZFOS9PmOydUkQ+qRjM0MczMC/7GxU+9jk8aFF98j+KY6o owSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Q5KjAzAQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id bx18-20020a056a02051200b00565e424cbc7si6637956pgb.109.2023.10.07.07.01.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 07:01:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Q5KjAzAQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 4AD3F8099250; Sat, 7 Oct 2023 07:01:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344040AbjJGOBb (ORCPT + 99 others); Sat, 7 Oct 2023 10:01:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344006AbjJGOBJ (ORCPT ); Sat, 7 Oct 2023 10:01:09 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2038CBD; Sat, 7 Oct 2023 07:01:08 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-406618d0991so27705535e9.2; Sat, 07 Oct 2023 07:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696687266; x=1697292066; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zT+UyLNrtTIL3bbAzaCCFygmUaFXv4MJR29ziVQ6mVY=; b=Q5KjAzAQ2fO5ShChwVJ00wTPbYwiXKvWUfenBqzXC9qhViZ5XLkuW//ESCj2zromGP oHWRL26LGrEOr5TkOjhfFwDR4v2umfN65jgHmSPrHbDq1QliIVUYIfk1szJXXine0KEU RVVdHjnbItduk03sGEz8RV8TpDU5y9E5s9prvXbe1xs6+saA/KMbfTcSWpRDMTJT04K4 N0ND90inyxAqdJIAqVpli5BNSe26p8gouawhwRufBpn+Krqny0R82/6gZrxK7fmeXwFI Vt6zLkTifBiMzTcEhvxNUbzy46DJ8QX91PpwTmH+XGTW6RIylwe6OSm3TE3n39AR7U/s BFaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696687266; x=1697292066; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zT+UyLNrtTIL3bbAzaCCFygmUaFXv4MJR29ziVQ6mVY=; b=xDrqQ5S8aqmQ+AS7+YpwkMt7Ps49BgMqnTaQBWXxzm1TisNAnWRES1gPoz1cO2B/aQ lK3GxUt6oFadh8SkjQAZnYWGT3RgasGtvsDCWr5vBxLhI63lNt/lFBvMfSJb9aNpDICh F1BmZ8hCb7lFv6A+6pK+xS/Rei6dof4THCApaWCfO5B3dHOAluO9vz9WCuDdf2N9X8l/ PdJn1CLoyZO0sAr8s4oqgnGkyJuqhBG7ecTjEHFB8t3echVOYOc8AoY9BYJ9gueZOelH tkWkqObosYJwcKOh4CHUJJmDNHIXmsr2gUmlVBkgVzRMrDHHxJ694+LrgDZaP+sl1G6/ C6+A== X-Gm-Message-State: AOJu0YyuiiNlTao/OBfV3hcqB1vg99842w4o/yW7wmr6HCYTVgW+yONW /xyS4GoeQSB4+s7tAaFrSiY= X-Received: by 2002:a05:600c:22c6:b0:404:7659:ba39 with SMTP id 6-20020a05600c22c600b004047659ba39mr10352242wmg.16.1696687266411; Sat, 07 Oct 2023 07:01:06 -0700 (PDT) Received: from david-ryuzu.fritz.box ([77.22.112.104]) by smtp.googlemail.com with ESMTPSA id q8-20020a05600000c800b0032415213a6fsm4332043wrx.87.2023.10.07.07.01.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 07:01:04 -0700 (PDT) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Joe Mason Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, hexdump0815@googlemail.com, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek Subject: [PATCH 6/7] arm64: dts: qcom: sm7125-xiaomi-common: Add UFS nodes Date: Sat, 7 Oct 2023 15:58:30 +0200 Message-ID: <20231007140053.1731245-7-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231007140053.1731245-1-davidwronek@gmail.com> References: <20231007140053.1731245-1-davidwronek@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sat, 07 Oct 2023 07:01:53 -0700 (PDT) X-Spam-Level: ** Enable the UFS found on the SM7125 Xiaomi smartphones. Signed-off-by: David Wronek --- .../boot/dts/qcom/sm7125-xiaomi-common.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi index e55cd83c19b8..22ad8a25217e 100644 --- a/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-common.dtsi @@ -398,6 +398,22 @@ sd-cd-pins { }; }; +&ufs_mem_hc { + vcc-supply = <&vreg_l19a_3p0>; + vcc-max-microamp = <600000>; + vccq2-supply = <&vreg_l12a_1p8>; + vccq2-max-microamp = <600000>; + status = "okay"; +}; + +&ufs_mem_phy { + vdda-phy-supply = <&vreg_l4a_0p88>; + vdda-pll-supply = <&vreg_l3c_1p23>; + vdda-phy-max-microamp = <62900>; + vdda-pll-max-microamp = <18300>; + status = "okay"; +}; + &usb_1 { qcom,select-utmi-as-pipe-clk; status = "okay"; -- 2.42.0