From patchwork Mon Jan 16 14:10:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 643200 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 473AAC54EBE for ; Mon, 16 Jan 2023 14:26:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232752AbjAPO0y (ORCPT ); Mon, 16 Jan 2023 09:26:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232678AbjAPO0a (ORCPT ); Mon, 16 Jan 2023 09:26:30 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11F7B3FF32 for ; Mon, 16 Jan 2023 06:10:30 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id bk15so10879028ejb.9 for ; Mon, 16 Jan 2023 06:10:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=95zlwr3oGbEH4PtnU1plJbud3bl8LR5sDmOAyZuPGAY=; b=lWkSxU8i7btY02uxvssR9Id6g+LefUZXI7exjtOGQJzPKF9xYVmP+xn+I5cSI3RN3c Q/9iW9szRIc+I4f80WmGjO6HKhGCRbfvhvpfO2V0xcnzMWEyGCLVW9/utcb2Ed8ZNi7J 5kRKBYYbAyER6Q64L0Uo8hqJ5dLN8ImaL203BGmOy7brk1jqACxsRtdQQa3pHsGNlw+3 pYaGYAHU+LqDREXxBoZvzgdZBC02zm+rkOGLuY4dIgoP62mPRMgnXdt/iJArkJ7gHD4v N6aYHmNoI8tBuT25ckH1F5siOxmw07CFU+pvE4j9fRgnJHtDhHwQ6OJgRIBY1ZWxsiuZ vmVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=95zlwr3oGbEH4PtnU1plJbud3bl8LR5sDmOAyZuPGAY=; b=TRU66w4sbwsQMpNrfM0VjM2S7MkZmqK1bi014GlMWl2gXfYPtKYxkF6SJ2IsfqT23L +koqnUIt1MLoCi3IzkoiXv8wNee2BANiopzfodNUyv60B6T+4IGnWMEwsczdZPSOiAPL xqzAABDhYOfsFK2LY1JaHtRNw2C6LpKmnxaWZ4DId4qxAzZUCKn+8w+e73OkRgJgi+AF kfGUCJXDz1c+cbPlq2bPNjLc2Nget3Ivi253Ldyb2DsCTk/WfJzHo2CCkX8PrI8yMLHm XRtT6mPrvdqu1tm4GV8wl7s4H+3Ir0solPl6HHzn+srYusbZKJJYngfI2FvP4ctRi/9c 39AQ== X-Gm-Message-State: AFqh2kqTDaVbp8MP9XiWFFiywdwZ0BCh1bWUdlEE58xSrS/PHNdnG6BL 1qQqBu5wH0a/s0aetDQOWGcxLQ== X-Google-Smtp-Source: AMrXdXs84SameYiqULBGYEB5mu8dxG4BBb8wK8cvfQD6pbxMuOECa85lsE69i5TGbXo3Z94apKUUXg== X-Received: by 2002:a17:906:8e0a:b0:7c1:1444:da41 with SMTP id rx10-20020a1709068e0a00b007c11444da41mr14602479ejc.40.1673878210955; Mon, 16 Jan 2023 06:10:10 -0800 (PST) Received: from hackbox.lan ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id kx1-20020a170907774100b0084d368b1628sm10704150ejc.40.2023.01.16.06.10.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 06:10:10 -0800 (PST) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: Linux Kernel Mailing List , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Johan Hovold Subject: [PATCH v3 2/2] arm64: dts: qcom: sm8550-mtp: Add UFS host controller and PHY node Date: Mon, 16 Jan 2023 16:10:00 +0200 Message-Id: <20230116141000.1831351-2-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230116141000.1831351-1-abel.vesa@linaro.org> References: <20230116141000.1831351-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Enable UFS host controller and PHY node on SM8550 MTP board. Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts index 8586e16d6079..81fcbdc6bdc4 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts @@ -399,6 +399,25 @@ &uart7 { status = "okay"; }; +&ufs_mem_hc { + reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>; + vcc-supply = <&vreg_l17b_2p5>; + vcc-max-microamp = <1300000>; + vccq-supply = <&vreg_l1g_1p2>; + vccq-max-microamp = <1200000>; + vccq2-supply = <&vreg_l3g_1p2>; + vccq2-max-microamp = <100>; + + status = "okay"; +}; + +&ufs_mem_phy { + vdda-phy-supply = <&vreg_l1d_0p88>; + vdda-pll-supply = <&vreg_l3e_1p2>; + + status = "okay"; +}; + &xo_board { clock-frequency = <76800000>; };