From patchwork Sat Nov 20 21:42:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dang Huynh X-Patchwork-Id: 12630613 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 2E26FC43219 for ; Sat, 20 Nov 2021 21:43:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236712AbhKTVqN (ORCPT ); Sat, 20 Nov 2021 16:46:13 -0500 Received: from mx1.riseup.net ([198.252.153.129]:33524 "EHLO mx1.riseup.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237082AbhKTVqK (ORCPT ); Sat, 20 Nov 2021 16:46:10 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4HxRpy4ybmzF4HN; Sat, 20 Nov 2021 13:43:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1637444586; bh=xOne6r4MCQlqwzspLff6MRj6uP2PCQV8Tpd+HyioF0k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M+sSVFBQVqb1xQZ1HtiuwFmzWKgeiJ6/m8ZGf3XMnWqw/mCq870JJ5EJkGytbFGoy u0Bts+aWg6jONDyULQaXrQXyoxu+5BRYE4WiuWgmBnCmMsH4G70lh87Eh6IRAFIV51 jfkPf7xLQIKdcLePTNa8pKJvjCv1LFb9DjFLezmA= X-Riseup-User-ID: F9EA481DBD6634C39350EADBD8C8B6A79CC5D7CD6A6EDFA9B6CFDF36F6FF92FE Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4HxRpv47P4z5vkF; Sat, 20 Nov 2021 13:43:03 -0800 (PST) From: Dang Huynh To: Dang Huynh Cc: Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alexey Min , Caleb Connolly , Martin Botka , Konrad Dybcio Subject: [PATCH v4 6/8] arm64: dts: qcom: sdm660-xiaomi-lavender: Add eMMC and SD Date: Sun, 21 Nov 2021 04:42:25 +0700 Message-Id: <20211120214227.779742-7-danct12@riseup.net> In-Reply-To: <20211120214227.779742-1-danct12@riseup.net> References: <20211120214227.779742-1-danct12@riseup.net> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This commit enable the SD card slot and internal MMC. Signed-off-by: Dang Huynh Reviewed-by: Caleb Connolly --- .../boot/dts/qcom/sdm660-xiaomi-lavender.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts index c7bdf4c28be4..d30cdc6c160a 100644 --- a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts +++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts @@ -330,6 +330,25 @@ vreg_l19a_3p3: l19 { }; }; +&sdhc_1 { + status = "okay"; + supports-cqe; + + mmc-hs200-1_8v; + mmc-hs400-1_8v; + mmc-hs400-enhanced-strobe; + + vmmc-supply = <&vreg_l4b_2p95>; + vqmmc-supply = <&vreg_l8a_1p8>; +}; + +&sdhc_2 { + status = "okay"; + + vmmc-supply = <&vreg_l5b_2p95>; + vqmmc-supply = <&vreg_l2b_2p95>; +}; + &tlmm { gpio-reserved-ranges = <8 4>; };