Message ID | 20221026200357.391635-5-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp461953wru; Wed, 26 Oct 2022 13:07:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM739P0WW0UWm5LwG0vufpZxTV13br4OYiU4hYk4lRw9CTDeBsc3CVF2lorQI54ZAZsJEJ5X X-Received: by 2002:a17:907:2e0b:b0:7a5:fc2e:dc7 with SMTP id ig11-20020a1709072e0b00b007a5fc2e0dc7mr16784791ejc.257.1666814842653; Wed, 26 Oct 2022 13:07:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666814842; cv=none; d=google.com; s=arc-20160816; b=cDrQSVQUX65ymPMZRMGF+t34/SV+h61tJnuhiPbNuDDST6aS6x3Z3Tf9M0nw7t/p1x DxtA6yl8G5R/52xmnushdcNVbpct/diBPHyx0bb943M1KP5MLHjC4XDJEItBC/mfhFBZ MjT5Os+0t9wpLk+RpolynmxvJ1vJZILMyhApRewF1tngpEpZr9+DKPVGm0K/MZ8j+9Fo kOCilwFMgUxSzYRg0WmXjYAbAUvcvcRmKpRdZEwNqWmDlKCdheVVb0BKIs9Vbre/gLyg kRCjj+tzmTvsxIipALuVoH/sjX5S7PwcqcG2zsm7nfpSdwxj0JYpNCQqKUMGZljYAjRp rVtw== 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=M6v/CsZRDA1d2R0cAzGnQgTWkDS1APIaz3UwNgmbIWw=; b=WNZgnE5yLz/+mfp93djJbpsS+Tvpt/sXsX6MJ7SHicaVvNe3wiIclZq/JYsBFnn0iB i/mstynmE61slOpsKHBYhL17TMutmBqvYihGgRAEtSciECJrsXwfOkMPi7tuPyBAQWLG o9L/fM784xCF5eVqKx+HDB4IPol4JO84y76KovdWCbyhmzwFqC2MXj1UGpU6HLCFoNOo DPi0ct8Eop85r7KJrqGkV01W9fJfzl8OshPFLstYhxx1QGUugZ/8xo8+F0GNtSZFUZsG zBvH+KXqPOJW2arIyO2hSLVI46mkhpM78frym4Yy9hoP82UEMPZYzJn+dUOtoc87xed4 3ueA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gnhQwLYx; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e14-20020a056402190e00b00458d5d907c6si7923739edz.514.2022.10.26.13.06.57; Wed, 26 Oct 2022 13:07:22 -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=@linaro.org header.s=google header.b=gnhQwLYx; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234730AbiJZUES (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Wed, 26 Oct 2022 16:04:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234776AbiJZUEN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 26 Oct 2022 16:04:13 -0400 Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F96910EA00 for <linux-kernel@vger.kernel.org>; Wed, 26 Oct 2022 13:04:09 -0700 (PDT) Received: by mail-qk1-x72c.google.com with SMTP id 8so11542382qka.1 for <linux-kernel@vger.kernel.org>; Wed, 26 Oct 2022 13:04:09 -0700 (PDT) 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=M6v/CsZRDA1d2R0cAzGnQgTWkDS1APIaz3UwNgmbIWw=; b=gnhQwLYxwtx7Xdco+gT2KU/NHypeROjgqFu7jLuzg3eNmN6gkbJH07jY4v4xM3+8PC Tf4kXZM5pdqNRqw16IqsZopmK+w+ZEtsEN7fJNK1GcHEJcLk4Pq5bop+y8e94cEqX+EC lmzTeisbs1/ftmTxTtRTnSYIq0inrO5MmZuK8quifr20GWeLExyp3Fv3rVjdtonzciDB gwEoQh/jH8q9YXhv0rRUG6OySYN/DVpSk0RlqbKH6ixeQlKISI/8FlHgPvdbygWJEx1a DsyzuMbUp5k6DXBSNSI943IAqxAt0uL6VmCZlncMmHg/NUt6j1E8wGJ5UrvEWBldLg9P 8Pfg== 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=M6v/CsZRDA1d2R0cAzGnQgTWkDS1APIaz3UwNgmbIWw=; b=6ARaoRKnU1j2bsgkTBCBxg9bprevyzja13rjWN1HNIdrvm2Pk9Wp2o2sdTACqe89fC L64N3EueulNpBORImv55/+M01pNsJ25xNrnojTGV4NBTyXuYQ0/qYFbkepMGkef2lFGZ XlyjVzsLUZnYUy+lM4S6GCz6Ny3slju/yejhbPV0ZXwRwEY8OUkappNrA1y3JuNHZu5F B4qp00aF0i5DUWaR+bB3KEtapGUFLvldCocEZyvcDVBcJq4TxSZB5qqT+lqt/bVSuJOy cE4n1H1qZOqccUriCNrAp0YC56q1ko1LXuDKliAYmPUqGkIyk4Q1/C/r++vGxik6pFiq cLcQ== X-Gm-Message-State: ACrzQf2QmFaB0WefUpI7v1HvCNKmurgeJFngUX8zA5Gk/LtIRcqhIWdO EvlghQjV4OeyJ+5jWoA+C6WuhoXhQTjAGg== X-Received: by 2002:a05:620a:240f:b0:6ec:ffd0:22a4 with SMTP id d15-20020a05620a240f00b006ecffd022a4mr32322478qkn.523.1666814648390; Wed, 26 Oct 2022 13:04:08 -0700 (PDT) Received: from krzk-bin.. ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id de30-20020a05620a371e00b006e99290e83fsm2942089qkb.107.2022.10.26.13.04.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 13:04:07 -0700 (PDT) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@somainline.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Subject: [PATCH 4/4] arm64: dts: qcom: sm8450-qrd: add SDHCI for microSD Date: Wed, 26 Oct 2022 16:03:57 -0400 Message-Id: <20221026200357.391635-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221026200357.391635-1-krzysztof.kozlowski@linaro.org> References: <20221026200357.391635-1-krzysztof.kozlowski@linaro.org> 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,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747782040406792508?= X-GMAIL-MSGID: =?utf-8?q?1747782040406792508?= |
Series |
arm64: dts: qcom: sm8450: add SDHCI
|
|
Commit Message
Krzysztof Kozlowski
Oct. 26, 2022, 8:03 p.m. UTC
Based on downstream DTS, it seems that SM8450 QRD has microSD card slot.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Not tested.
---
arch/arm64/boot/dts/qcom/sm8450-qrd.dts | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
Comments
On 26/10/2022 22:03, Krzysztof Kozlowski wrote: > Based on downstream DTS, it seems that SM8450 QRD has microSD card slot. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > --- > > Not tested. > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Konrad > arch/arm64/boot/dts/qcom/sm8450-qrd.dts | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8450-qrd.dts b/arch/arm64/boot/dts/qcom/sm8450-qrd.dts > index 017bc48430ba..c9a08608ccf4 100644 > --- a/arch/arm64/boot/dts/qcom/sm8450-qrd.dts > +++ b/arch/arm64/boot/dts/qcom/sm8450-qrd.dts > @@ -427,6 +427,18 @@ &remoteproc_slpi { > firmware-name = "qcom/sm8450/slpi.mbn"; > }; > > +&sdhc_2 { > + cd-gpios = <&tlmm 92 GPIO_ACTIVE_HIGH>; > + pinctrl-names = "default", "sleep"; > + pinctrl-0 = <&sdc2_default_state &sdc2_card_det_n>; > + pinctrl-1 = <&sdc2_sleep_state &sdc2_card_det_n>; > + vmmc-supply = <&vreg_l9c_2p96>; > + vqmmc-supply = <&vreg_l6c_1p8>; > + no-sdio; > + no-mmc; > + status = "okay"; > +}; > + > &spi4 { > status = "okay"; > }; > @@ -474,6 +486,13 @@ pinconf { > bias-pull-down; > }; > }; > + > + sdc2_card_det_n: sd-card-det-n-state { > + pins = "gpio92"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-up; > + }; > }; > > &uart7 {
diff --git a/arch/arm64/boot/dts/qcom/sm8450-qrd.dts b/arch/arm64/boot/dts/qcom/sm8450-qrd.dts index 017bc48430ba..c9a08608ccf4 100644 --- a/arch/arm64/boot/dts/qcom/sm8450-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8450-qrd.dts @@ -427,6 +427,18 @@ &remoteproc_slpi { firmware-name = "qcom/sm8450/slpi.mbn"; }; +&sdhc_2 { + cd-gpios = <&tlmm 92 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&sdc2_default_state &sdc2_card_det_n>; + pinctrl-1 = <&sdc2_sleep_state &sdc2_card_det_n>; + vmmc-supply = <&vreg_l9c_2p96>; + vqmmc-supply = <&vreg_l6c_1p8>; + no-sdio; + no-mmc; + status = "okay"; +}; + &spi4 { status = "okay"; }; @@ -474,6 +486,13 @@ pinconf { bias-pull-down; }; }; + + sdc2_card_det_n: sd-card-det-n-state { + pins = "gpio92"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; }; &uart7 {