From patchwork Fri May 5 07:53:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 90328 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp226481vqo; Fri, 5 May 2023 01:02:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7YvIpK0E31HNEtzcOwQo+3wD5ZvxOXFBT1xSFHVqY/uYIO5X2fhLoVGsDIR1Ry7c2Gd+dz X-Received: by 2002:a17:902:cece:b0:1a6:413c:4a3e with SMTP id d14-20020a170902cece00b001a6413c4a3emr753403plg.5.1683273773765; Fri, 05 May 2023 01:02:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683273773; cv=none; d=google.com; s=arc-20160816; b=Y9ELqj3+LCJk0/Jguy7vLgVfZZIrS3QhE8jjd3DU/6vjidTt5tVb+HcRnaN5yeDesS ivBQA9ADO4TsHXW+/UqAHYsw0Xiyrs+FEsQa8tSRf4htlnMcnvmps5Sbw3pZ8XT7vmEL UrNcLqq1YClsdpO+HBjIILX8uxd6+YsrvsNh4OZEQOnpJlBKMGD6O8rsqFnSWSB6ZHJh CRAIXMnmmUwH44ISZk5awJtUOY0066eCxw3Cwv2vpXgK2sOeN4NU7N5VBc9WZzu/oEBp Ur0m/G63vjP0zjNl3ti4CVvSX4+CK/bSpOsqH88woPfk0ZGQJB8HpigRjCtSoOEA8KMv nNEw== 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=+JCViBdbMluKpXvpRwGUbaOGVsHxAxvw+9V3H+vfUho=; b=yVnQmA22OpAMdz/Mh/CDPa9WtXgZ99MG8zN9K04YMDuS8g3NEs2R2tgrFI0eSgK7Z8 1qBafd83C7lpa4t5fJYfOPqsladFnakW1iUzitYTw0bEyHdTkXLhTee3XIUbiR3JiKnz xkSl78KPt5MYkHF4xiotpl79b2jo3TrOT0GqLnLVYY9EB/vj6w+GaplpXf8iAXsSqOjs ZooLTyd8D25TL5v0C7Pp6+5hjQCPAqm3t9g5h6WZPvmeCOuucqP7PGBcWWlut6Yp157n iLMeJesRYVrdDbN579ofugGzFie+2jrx6i0axzSopr3psdcmOb3rQhB+AYHxZ5s5DoQK rM2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QugLlhRx; 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 z7-20020a63b907000000b0052c9458bc03si786225pge.278.2023.05.05.01.02.36; Fri, 05 May 2023 01:02:53 -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=QugLlhRx; 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 S231336AbjEEH6B (ORCPT + 99 others); Fri, 5 May 2023 03:58:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231424AbjEEH5v (ORCPT ); Fri, 5 May 2023 03:57:51 -0400 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 675BC1884B for ; Fri, 5 May 2023 00:57:50 -0700 (PDT) Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-6434e263962so1168985b3a.2 for ; Fri, 05 May 2023 00:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683273470; x=1685865470; 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=+JCViBdbMluKpXvpRwGUbaOGVsHxAxvw+9V3H+vfUho=; b=QugLlhRxXPi0EKqKheBYLUZy2i/olV0zZ6Jd04TZx41AhIdNvdLq66sRfmjxOv5Eb+ bxiAMlG7vApTVC6Tj1AhPRXa01z5A8AgVksJjMYe7JE8un2yhoo8QAEQBdPxGQvB2dC7 LPcIfCfqnlo6Z+0FAdQ3Zp1aK6XVQNL9M9yNwj57eR/Bz5v72h2bpZn1Nh9vPKG0T3fg hiT6Uzqs3pmIMMJZDdcVbtx+k1S9KawL1KF2sMenDKd0S8RfWCQYxi7KE2eaeHMDhxF1 rO8DwC6vKZbgtggeFIhx5Q2QJCgaSPceHadn0EFEtXd6E3pW5Yp5uwWeCS/FN8mphaCb ir7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683273470; x=1685865470; 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=+JCViBdbMluKpXvpRwGUbaOGVsHxAxvw+9V3H+vfUho=; b=lCmqBKvY0LYT+oRpBm/8CpSNxhjd3uxfueeehAjT7UbSLj6gzKTdqpGtzdwtREXc6m cqZAYUWnO11/ORXXnqRXigyIB1mRoRnwCkUew6GdlCbnImFI08JCSMSz1lJar34IDPci Hx3jpJVCueeG4YNLj2YFcU9XwnS0Zh3+3mxhBMeEFFvjSoBM+bCI15tuLSRqya5SNzY5 MQGAasgE9DKDdqJiwhE2ow0RpmHxDtDnVBVy9uZRFQSmK3R19B3UW9Eg/PM9VG+A8cDo Uhwl5/GDkmIe0BKQeFqFF3C1OyyeAi1+GOtVLiGI2wdRyanMMu8td+3RvBIbC5oHHjNG zw/Q== X-Gm-Message-State: AC+VfDzrkOiVwe2Ys/SXLCegIQxYPCBdj3XeFEfSaQ083JSzSdqVYehy 8OkHp1/TXwZqI1fwagtScRm37w== X-Received: by 2002:a05:6a00:2e8f:b0:63d:2343:f9b with SMTP id fd15-20020a056a002e8f00b0063d23430f9bmr1242587pfb.19.1683273469814; Fri, 05 May 2023 00:57:49 -0700 (PDT) Received: from localhost.localdomain ([223.233.65.180]) by smtp.gmail.com with ESMTPSA id p17-20020aa78611000000b006242f4a8945sm988873pfn.182.2023.05.05.00.57.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 00:57:49 -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 v3 2/3] arm64: dts: qcom: qrb4210-rb2: Fix CD gpio for SDHC2 Date: Fri, 5 May 2023 13:23:53 +0530 Message-Id: <20230505075354.1634547-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230505075354.1634547-1-bhupesh.sharma@linaro.org> References: <20230505075354.1634547-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=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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765040480634056075?= X-GMAIL-MSGID: =?utf-8?q?1765040480634056075?= 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: Krzysztof Kozlowski Signed-off-by: Bhupesh Sharma Reviewed-by: Dmitry Baryshkov --- 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>;