From patchwork Mon May 1 10:58:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 89022 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2618135vqo; Mon, 1 May 2023 04:12:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6b4OReAMEJPZWTTx8v/LQgqPH1o3IB1pDm6VmaHPNd5ljctg4lS+pJTRmjzbBj9FUdvdAE X-Received: by 2002:a17:90a:a10b:b0:24e:18d0:12ba with SMTP id s11-20020a17090aa10b00b0024e18d012bamr362410pjp.43.1682939565035; Mon, 01 May 2023 04:12:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682939565; cv=none; d=google.com; s=arc-20160816; b=dfuL7/bZV2piq5HTs5NbY31um37jspUsybUFyt3MzddWaqCVtv7TvLMZEIFCLHDupI J28uovZ0z6wOkdhM1B/OZsJPNLsApS3xebNSJ70Q0FTGVAA+ONVcAK4M98AHdBKAWqWJ v78klUhI0bEwVDffL1mMH+1+/xz4hi5FJzpyBNMDMycH4GBHXUR3gXmX/DH/7OxRhBqE 44C7bMN1m+7YPar+lxYgdi3U+3mJ82WYkB+DYXtrc3++UhNSlJR00HYEw4KaPaM2uMN7 cldVZZUCheU02wTx8NTL6C5mihUD9eurrHDaowEDiaDP38oGMFVj5R+0fBAV4XxcRmcZ 2H6w== 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=/pXnRK2b3RixHzpaps5p4VYQKZZN8MYbqwqZth/e4To=; b=V6oshYBnY5hCOwYlSGD80M2Alh/cdB7C9AffiTx0zC9YUIM4AQokgY20BYPIpRyT4S UDhvVQZdKH0bf5aSxNTeERKXO/7TpITRE79HWX+vzIu6kkzd5Orr6dh2p234JKwFwh1L puOEIGJ4kfMvW2uExurMU0k2Bh2aGxj3Zs6ts8tcHcqqZIxGC/gieX0TUwrM6F9Rc5XQ F5mUCZo/6c+rXsDUjRUU203iVyaUXr7UpjnciamPeIbjy9XlQEpdmOpjEmBXp2TRu6R7 inIU0agrGUBeIAcHDSbZ9CUeAUKu52sN9lOnTR3Xj3IkKxE4qdQz+e1IFg2ze+34KNGy UCLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hlznR5Ly; 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 j5-20020a635505000000b0051372ec9316si26812449pgb.166.2023.05.01.04.12.28; Mon, 01 May 2023 04:12:44 -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=hlznR5Ly; 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 S232361AbjEAK65 (ORCPT + 99 others); Mon, 1 May 2023 06:58:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232332AbjEAK6x (ORCPT ); Mon, 1 May 2023 06:58:53 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 286C7E69 for ; Mon, 1 May 2023 03:58:49 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1ab032d9266so1163845ad.0 for ; Mon, 01 May 2023 03:58:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682938728; x=1685530728; 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=/pXnRK2b3RixHzpaps5p4VYQKZZN8MYbqwqZth/e4To=; b=hlznR5LySl+UK2ZLlJct3GOXpPUghZFAT5FJ6Tbok0XhGHi5JbMr0jt3firDYM753r D0SVsdL6FPZQdukNYjo2zpJvaOjx73opafsEDTf71X+0+ruBIEXNsIFQi4u7iobKHlHk kgMPN+iR4a5yWG4Fq3Mrkbyjr84u7SYPJeb3fyGjaeHPla0v4GT/oxRzpx0683EwA8qo oe4tuPuuZeE86e45VdTRn7q6KuhOs1KrrAU0c/f3Q0XU3SjqoQQY/+3wBYJKJt3LR7hj RAMGbjfqTwXPQ5rpOopSC5eRlopJgs2Q78RDUYsM7dUdr9neDEjcbxm2yebw596gli3y srGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682938728; x=1685530728; 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=/pXnRK2b3RixHzpaps5p4VYQKZZN8MYbqwqZth/e4To=; b=gOWK7cQG7pN7zlKC7WClCkro9GNuPqyvsLlSAW/QHvkJbmwtfBjlvb1g7BCw4+LGNL s2AU2u4Nb4xhE4OE1QL7/Iw9BCKaLmeTackM5/lZ6jTLTmjhAtwxiKf3Mp1uBqUtT7WI RTZevCeWRAtF0pxYdUbXEUzs+RBXs9nzZGL0OyNBeNYSBWgw1a9EtvLf9dC/7VtuII7T ydc+vJLA2KkGU/aEgMwJ0lm0XxEQ9qKyr2m7upHKVdPiNQVepYQOtLnVaY2Z6YkqBMJn 2izlkKxSceHAWuUOa5cygZ2ODb15SZL/fb72gQrABrbLQ2S/dJzjdts9usdtbBW3YT0X mF7g== X-Gm-Message-State: AC+VfDxRV32QsJTJAkbJWvhVQaXt9jp9viW9VMGZammvN6sRp87YE/In ZeIzSlD3NCnmfY+naz0NPRNc6jov6kNzNhByaqo= X-Received: by 2002:a17:902:7790:b0:19c:dbce:dce8 with SMTP id o16-20020a170902779000b0019cdbcedce8mr13652032pll.15.1682938728576; Mon, 01 May 2023 03:58:48 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1f3b:58fa:39f6:37e1:bb9a:a094]) by smtp.gmail.com with ESMTPSA id c24-20020a170902849800b001a50ae08284sm17569516plo.301.2023.05.01.03.58.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 May 2023 03:58:48 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com, bhupesh.sharma@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski@linaro.org, devicetree@vger.kernel.org Subject: [PATCH v2 2/3] arm64: dts: qcom: qrb4210-rb2: Fix CD gpio for SDHC2 Date: Mon, 1 May 2023 16:28:31 +0530 Message-Id: <20230501105832.1185477-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230501105832.1185477-1-bhupesh.sharma@linaro.org> References: <20230501105832.1185477-1-bhupesh.sharma@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,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764690036854260300?= X-GMAIL-MSGID: =?utf-8?q?1764690036854260300?= Card-Detect (CD) gpio for SDHC2 is an active GPIO line. Fix the same. This allows the uSD card to be properly detected on the board. Fixes: 8d58a8c0d930 ("arm64: dts: qcom: Add base qrb4210-rb2 board dts") Signed-off-by: Bhupesh Sharma Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts index 5a5294cc6e45..bff6ba1d689f 100644 --- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts @@ -203,7 +203,7 @@ &sdhc_1 { }; &sdhc_2 { - cd-gpios = <&tlmm 88 GPIO_ACTIVE_HIGH>; /* card detect gpio */ + cd-gpios = <&tlmm 88 GPIO_ACTIVE_LOW>; /* card detect gpio */ pinctrl-names = "default", "sleep"; pinctrl-0 = <&sdc2_state_on &sdc2_card_det_n>; pinctrl-1 = <&sdc2_state_off &sdc2_card_det_n>;