Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp775168rdb; Fri, 17 Nov 2023 12:18:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IEwLYdJrDlYEvkpWPBigcc6+ozWvc+RMzyYIKPN/Pu3vk2AIU9B1iaovwET+e/B1eO06ICw X-Received: by 2002:a17:90a:d085:b0:280:65ed:dfe with SMTP id k5-20020a17090ad08500b0028065ed0dfemr662208pju.23.1700252301872; Fri, 17 Nov 2023 12:18:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700252301; cv=none; d=google.com; s=arc-20160816; b=FiCSLkqcaijw/VY/d1/20Qx5UJoXG7j73z4eEui/0pxFtrxk3chF3rDx/cFDVRXNeh dVhouLWE3UHinJCoWcn9Y9/sb1ted38oQDbY9Up7bB4SWkCDuMaRSBBtxBOOGSjQasZq LThXwaEC1rEqtsrDSn/Ygtx6XR1dDBc57BZw0dspGIH/LpbCaT8EsSyCm7rcbHomQXG8 fxMis21sloIivY7ZnxvngR95YOt7cmsVW5FKcGi0lO4HOz6qObn4/iWfWoX4ujQyKBKX GnvLZsJwi0ZX9iw31N6rXKOwyovYMsHTkxDlDfn5T1wZPqb4y5jhjQtc8IpMWkwKOsd0 /ODg== 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=Rp1PJD3fbqcG3SyJh6PyVw4BgbN/nqe7WX5bZ+cRyaI=; fh=AGZ5Vw0qEaW3wVLsEE3wTqQq44lrXtNlRZKxnh07KGg=; b=YRma8DbnRk/H18K+IM777m3tCdqdLS577f6kSBxiyBx/KEXtvpkB7Ym3EKJCF8ku6I XKutw9eXnJXLXIWGgpsteADl50PXEIHbaFy1Blf0YD6ooqZgeE+XQWvCbu6IdDO07yWy cs/2Dco/O7Bcq89QPPOqw43vf3Y/6kITqGR1JqZtQ1kWVzf+Nz2SVNlqrQ3HbPwIh9mr Kg/Zdg5GoCZihENwsV0n2pZy/XUChsVkucWegSZu3eExRtvnBOMgBj6rsuwrleZ3ykck 73gmDNUmzzH+8ZzhmgwkoucycZIDH5sXOTp5KjyMZDtD5SqQYW//TrX1HOzTyuOcc/jd heig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Lq5YaUbx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id mq4-20020a17090b380400b0026b71fdd505si2658219pjb.177.2023.11.17.12.18.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 12:18:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Lq5YaUbx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 4688382AE646; Fri, 17 Nov 2023 12:18:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346301AbjKQUSK (ORCPT + 99 others); Fri, 17 Nov 2023 15:18:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235193AbjKQURw (ORCPT ); Fri, 17 Nov 2023 15:17:52 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A37EE10E5; Fri, 17 Nov 2023 12:17:49 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-50a938dda08so3472459e87.3; Fri, 17 Nov 2023 12:17:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700252268; x=1700857068; 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=Rp1PJD3fbqcG3SyJh6PyVw4BgbN/nqe7WX5bZ+cRyaI=; b=Lq5YaUbx1hOhI/LgQewG21k9qCyihRoUDudAj2WfRQeTP/zhvcB0lT2LUFay3xx6ZV E1c1djZCO95yHVfU918GhsUmvfOrb0E314VuxFPV94/DWV/eOIryPSDt2tT9zorgOJtL Fih6+BbTiXswNhbGImpnk/HEkCYHKlpoFZK05BmxZ2o0Mh32MpmIQ8Dq68lr0JtF56Px yHFLWCiFGjqFz+ZaWUDIgM7qnUQNVpKFRgotZfxOJx3GKpffP4aVbIHFV7+Y3c/9yrov PW3rXhTEagjmSjtTQ5O57EwtCZTwh5wC8DcWhDUt2rINnocd4Vmf6U3Z3V19/PDluDcS sLeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700252268; x=1700857068; 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=Rp1PJD3fbqcG3SyJh6PyVw4BgbN/nqe7WX5bZ+cRyaI=; b=egqQZJnwm27QBN/PpawyAjvXS1H7RSRoEoozJGWd/4o3l5yT51E2YzAH4KHaH9328L C/MdXRKboqwncHaT8D3v28SXsuMqow5sdhEFtpe4FKPxoe0J98BOM1glLp3Fj8z84Q80 X8Bv/uyeP7bFgO9OBIqqnkCOpmdyfL9JpqMt33tIwvPQanA4bYQ+hQRPVd8c9AzJoKAS 6lpvGbEHVg+eZasVawOdPcAyxvmJgR95jd9fr+nN2VHC2/fmZVOOmap38EOU/o3aDW70 YLG7vOcvscrZCV3kma7GEhWMBAXyfciAHBSHa59uCas9ICB3Ob/8zOGfyjLz4jj8acb1 zHQQ== X-Gm-Message-State: AOJu0YwUhWKsM6fQopyl+sf6hPCK2nE544r4DRgQY9uiFEYoag9vQBsb UYqR6pjnZLYjFGIHKGI/V68= X-Received: by 2002:ac2:5296:0:b0:509:4559:27a9 with SMTP id q22-20020ac25296000000b00509455927a9mr552199lfm.8.1700252267655; Fri, 17 Nov 2023 12:17:47 -0800 (PST) Received: from david-ryuzu.fritz.box ([188.195.169.6]) by smtp.googlemail.com with ESMTPSA id e7-20020a1709062c0700b0099d804da2e9sm1130630ejh.225.2023.11.17.12.17.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 12:17:47 -0800 (PST) From: David Wronek To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Herbert Xu , "David S . Miller" , Vinod Koul , Kishon Vijay Abraham I , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , Joe Mason , hexdump0815@googlemail.com Cc: cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-phy@lists.infradead.org, linux-scsi@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek Subject: [PATCH v2 7/8] arm64: dts: qcom: sm7125-xiaomi-common: Add UFS nodes Date: Fri, 17 Nov 2023 21:08:39 +0100 Message-ID: <20231117201720.298422-8-davidwronek@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231117201720.298422-1-davidwronek@gmail.com> References: <20231117201720.298422-1-davidwronek@gmail.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,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 17 Nov 2023 12:18:17 -0800 (PST) Enable the UFS found on the SM7125 Xiaomi smartphones. Reviewed-by: Konrad Dybcio 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.1