From patchwork Wed Oct 26 20:03:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11432 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp462529wru; Wed, 26 Oct 2022 13:08:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5am5nEwfgT+DIpd/JCyEN9BnizeeVlrb8G2vGE9qenTOnUTYMb5xLUvRjKv8VSVXLDDBbF X-Received: by 2002:a05:6a00:1da6:b0:56c:318a:f8ab with SMTP id z38-20020a056a001da600b0056c318af8abmr8623353pfw.82.1666814930437; Wed, 26 Oct 2022 13:08:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666814930; cv=none; d=google.com; s=arc-20160816; b=RtzVYBdVGdGX5JqQtFXGsUKEEp+tLX5SuOJBs11Imx0Z0XcRo+s+b3E4993n9uDln6 ZPChiKaxn4sU65py8dD8XTAw1URoFqaYvLZU1zeCkpWbObmpx0F2tK9l9ReaNJOCwfJr z1RatfHI4jDkOBsvr1Q98/cwjrp+2x/9RVIRInKbD329lj5RGVbF2QZORYCaaAJsKnZK XEFlF7EXM3PyMciqXSEEkJSTmeO/zpKTTDOog7+qf2nMmpl6tU/5yff5BPhZYX1fJiD7 NxyU3HqkbnACayoC4jb1rtz/bHrDvoq7wtGhfH2WDWboeoAqKIhAM4Qhxkocg2k1/1Cn gZwg== 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=6I69Zy+eBkLEpLnPbCVtCr+lW3hmKUksCslyxamftAo=; b=EFQsF13BJhpR1bv3eamULoNEMwkslHaaqlzNwnbZeV0xRIc4OPeIxUMwRr1qxQp99R 9OSJDHoohSUTSi0LtaJzV8RE2tXozzvTOvBvL2ut2HA2grNoLNJyzcXqywUhAzd1ccez /cMYGzZ/h9TvnrVZMxczCPJW+0Pyj54rjjjidKwKu4kStTE7aO8hnY7oDjiYkRI/Mdqg Z/BTvdXpW+bIYqltRksxms8BWpV2dRwx6cf4O1IhFU3tErWiZI4Nuwte7+nh0JyaWxgQ Gi+MH9cgMaIarplyDnzOFp/RkN7zRDejPJYLD3d5p97ReFQ8hBd4rHxMOTQC67EaKfZ6 I7Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g1+d1Kw0; 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 j9-20020a170903024900b001869394a38dsi8323266plh.503.2022.10.26.13.08.36; Wed, 26 Oct 2022 13:08:50 -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=g1+d1Kw0; 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 S234775AbiJZUEP (ORCPT + 99 others); Wed, 26 Oct 2022 16:04:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234729AbiJZUEI (ORCPT ); Wed, 26 Oct 2022 16:04:08 -0400 Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F525EE08A for ; Wed, 26 Oct 2022 13:04:07 -0700 (PDT) Received: by mail-qv1-xf2d.google.com with SMTP id j6so8123942qvn.12 for ; Wed, 26 Oct 2022 13:04:07 -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=6I69Zy+eBkLEpLnPbCVtCr+lW3hmKUksCslyxamftAo=; b=g1+d1Kw0pvIFhB+RjVtdnJXxuNZVtmjd4lpFq0YQkzmXp9NSoHt6sgqNHf8KFBAc4I /+sDTgDP40Uyr76x6FgGrFQSQ6ebbaEvKhivMaqLvVyPpOvLA0HvUa51b595dE3YRLqa UGuQz2L5AYWzIQXIy0KgfiERC0C2b5RuV2/4lsce2QkWS/qflExs3KTiWFqBIh4Yg8Kp 54ra0AwK51pYRWHg/kSpKbUSlm/w5wRICMfSZoA3gyaRrHKHHhzrYjL3IXdqGR2vvGLB /4IYLFxDqBbkSwv7AHwsvL4e3l0piWrCjJFgg0KGf+E3QC5OspsSZlWCGIpvLkueyzd8 j5Ag== 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=6I69Zy+eBkLEpLnPbCVtCr+lW3hmKUksCslyxamftAo=; b=2ABfMihKTyd5ycqhu3cdBMNpNXnnFf+SDsrmpPzv/WkyCgn10pn7av0Tn1Qj9zzCyp XmNd7RkkriAl2D0O3psJgyk+PVEaIo4rDf02QfhW1vSgGpOhBzqgT/9JFr8r5vhXqPjP s/u/eJY08EvNSEjQPHNBw9CFXEROh5NhBLuWveTHOHhkaIMFVFw4eiXa4EvFRI6T800x cVtTR7ebmhPwoe9/u/roxHJUAeJHKvPPQMW+weq675h8FzdFNWWS8puOVWnljoJEJi1e CPsxrhFvAic3YAtiFlz+YE6qn6+GMK2FgBB/AsEWPN5osodorUFYIo+y3Bhdzde0F37a YNtw== X-Gm-Message-State: ACrzQf2LqRw8uSY8TJ/tRODelzc3Rxyz1uCZLaSXDePZyjEv4zMFgLGe vF49Qq4Z58hUiTU9GN935DAByg== X-Received: by 2002:a05:6214:2346:b0:496:ba45:bdb0 with SMTP id hu6-20020a056214234600b00496ba45bdb0mr39010792qvb.47.1666814646760; Wed, 26 Oct 2022 13:04:06 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Oct 2022 13:04:06 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Dmitry Baryshkov Subject: [PATCH 3/4] arm64: dts: qcom: sm8450-hdk: add SDHCI for microSD Date: Wed, 26 Oct 2022 16:03:56 -0400 Message-Id: <20221026200357.391635-4-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 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=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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747782132182570593?= X-GMAIL-MSGID: =?utf-8?q?1747782132182570593?= The HDK8450 has microSD card slot. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts index 3ccbdd2ed734..f4a5f1a8e573 100644 --- a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts @@ -426,6 +426,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"; +}; + &tlmm { gpio-reserved-ranges = <28 4>, <36 4>; @@ -461,6 +473,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 {