From patchwork Tue May 16 07:59:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 94492 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp254224vqo; Tue, 16 May 2023 01:04:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5oEkavYQTZHMJArKo9pKOk3o4on6q3rtB0bMOwbBwXsYJwt7gool0CTWstDjhbB1F4flW8 X-Received: by 2002:a05:6a20:440a:b0:101:6a81:619f with SMTP id ce10-20020a056a20440a00b001016a81619fmr30565224pzb.39.1684224249558; Tue, 16 May 2023 01:04:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684224249; cv=none; d=google.com; s=arc-20160816; b=FOQ6m5xYFdfYoDy8V31eFfgOfUGkLgKBDleVxKG8ZsfHmmDOTNOFVS5YhPyxgpRnhY 4avJNpsNVJdk1mUR0d2AH65Xq9g/lyHOGFGWsJ4tAB/JuS0tF8PAqJaWmN+HH8hoH3LL Eo9hW/BeZuwSzfp+liFoQASwfQVw8IZNrRbJcV6sUPANSneDXvP/2T7zgL+kY2rWLaTx 3O7+eTDspOxBAh7M4eNDirRB6yfERjsdWKt9TZJHOjrYbNs6UuqKh+il+s2gyRFHBGe7 RIjpt4VhnijTEIvmtfBwUMMPidSe0LpOwr7oQ+rG2tqDhPQ8OG8a8wh93oxtQ4PdDMWN fQBA== 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=hXPr379v0RNMTUDgiVybbs6ZAaMgmHyXdPwhAs3ON+s=; b=BKWT5YYEv2/M+B29UHFb559GCkfFPUYa5F4a10MVoFLpY84YnRml0bXpOheOIPR3Od CNeVR/4UITxh0qLHPKuNrZODSNaPAkphv8OI0kH8xygrUo1AYGF4R3qkNypeVWUNlbDr QSS3tPQbNSTqjILeLc4hWe/FTuYYl4x/f7KlwWRKiu3pnthzgoVTxm3Kw7RStzE/iTii TuMcl3imRZYx5AblFiYHrO0UJUAlkbT/EMSTyIz25g2M7jo9PNbk7421rso/dtiNV/9M ErbnJiVjM9neiMfFiPImk00yv3O0GCAClBVQQgw5UyG47R1HFPp9PGhhTckB8n17ixQA HyAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="FC3MzT/N"; 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 a28-20020a637f1c000000b00513a793932fsi17666466pgd.394.2023.05.16.01.03.54; Tue, 16 May 2023 01:04:09 -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="FC3MzT/N"; 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 S231496AbjEPH7b (ORCPT + 99 others); Tue, 16 May 2023 03:59:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231486AbjEPH7Y (ORCPT ); Tue, 16 May 2023 03:59:24 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0FE849D1 for ; Tue, 16 May 2023 00:59:23 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1aaef97652fso95231385ad.0 for ; Tue, 16 May 2023 00:59:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684223963; x=1686815963; 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=hXPr379v0RNMTUDgiVybbs6ZAaMgmHyXdPwhAs3ON+s=; b=FC3MzT/N63oFLK9v0sbMmgRElhIIhdGpHEsiZu/+BX5wrg/mVomizyPuCcp+IRqtlQ JSkd7n5f2atroRxM1oB32goK5ZX5RXR6ZQhYngIMxVO1tb/0TKKABqJCw6h4VSVT25/6 FQcw+w+5v4Vh1ykPtrdTAAs0ioXOzpAr6ea7aDO14AaYD5p07LA/J2/j06bGquwBqYJ9 qTRn71sLp7XspStazQcG7kBXlj0jWDrHE8Ddx40ZYcIhVpKe0FW1bajrIHAyaHvyye8E Gmw8DuvAeXRI5nsKefzme7sf3BZPO5RQLDXennwG307DX2iwYwzz+hkYQjBFUJ3dEOgq IwRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684223963; x=1686815963; 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=hXPr379v0RNMTUDgiVybbs6ZAaMgmHyXdPwhAs3ON+s=; b=M/XdDgNnWBh/IGGHGpYhHzfxVjQETb7wsfoK0aGZSE2sKNkIkh65vbxrWHTWvKaRnw A0twX2TV7iE/88td1ybWvdzbqT3KRKGO4nOdX2F4gYMeAgkWwyRT5lfucoF4q+BeT8qb G4t41DKp5wqZcF/DUsizTWKyh7jXj2RD27AWIIO0eehk4JBBl7euF5TNC8gOycBwv2Fs uBYEQR2Ikep87hiTMf8kslxCo4f5B3Vv+1FxQApAHtGpAQ4bmUU3FNFT59QDO+066sgT 5ZPm3C7VjwyptnUKMst5QE2otHD0Cop/M5WJQD7kC66WKqGpMkQ2QlV4XNkvJeHCxFpJ QWNA== X-Gm-Message-State: AC+VfDzTktAys2OVm6h5C/Kifxmfg6SI/nEcYWQaoyQSrJk2abGzRbPZ Tw2C8zFeG1o+wLnxlgkkzzaGeg== X-Received: by 2002:a17:902:8c87:b0:1a9:8d57:6d6c with SMTP id t7-20020a1709028c8700b001a98d576d6cmr31180438plo.24.1684223963597; Tue, 16 May 2023 00:59:23 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:6bed:62ca:2e52:e0c5:d0cb]) by smtp.gmail.com with ESMTPSA id cl16-20020a17090af69000b002532d74fb59sm469725pjb.22.2023.05.16.00.59.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 00:59:23 -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, Dmitry Baryshkov Subject: [PATCH v4 2/3] arm64: dts: qcom: qrb4210-rb2: Fix CD gpio for SDHC2 Date: Tue, 16 May 2023 13:29:07 +0530 Message-Id: <20230516075908.2323372-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230516075908.2323372-1-bhupesh.sharma@linaro.org> References: <20230516075908.2323372-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,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?1766037126825516047?= X-GMAIL-MSGID: =?utf-8?q?1766037126825516047?= 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") Reviewed-by: Dmitry Baryshkov Reviewed-by: Krzysztof Kozlowski Signed-off-by: Bhupesh Sharma --- 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 504543ad1a1b..abea44fd369d 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-0 = <&sdc2_state_on &sdc2_card_det_n>; pinctrl-1 = <&sdc2_state_off &sdc2_card_det_n>;