Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4247491pxb; Tue, 2 Nov 2021 06:41:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzy9OGtJtJT/CJEzX8LrztzxyHvSu+0uCFOr/s39lg6jpP5V5kjOMKfbVRzvpmn5UeadFh/ X-Received: by 2002:a17:906:c302:: with SMTP id s2mr44859655ejz.499.1635860474564; Tue, 02 Nov 2021 06:41:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635860474; cv=none; d=google.com; s=arc-20160816; b=fXbcFkDHZ9Zyz27+QP9+OX9PiiEiNneoPOUKr31uVun6ayqfavT61g/nHyKTiCVryv ETuKxqJwAJ+0LR+QSmKwHaR2Pkqy3/Qzvhn7qz5KyQyg4Qbym/HfzLcDKKTUQf/yJ12m 5rmGF/tuP8mdyl3/FMe0lv88NleNYEpSnaPJcD+RPJe30dka7WTX51z4zM08tJQstcZ8 UF3X9RbLUyYcMxdJBNxPzjZeAnV8g1MR0MXDjaxfeTeXg0hDGAW7zI2hxAq5C6N1yEDm kDeE6Q9X9KZMrdmgxmqEaGwiLKBfkXsfevVSsF2fiyFceafOcDS716vUFsSMSnr8wziO PcNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=NPmlFnsZtjOhlgu33qBtxP1UZOWSahyMoeO4vIQ/8Z0=; b=vH2UpXcHjR+k2XF9wmz61AjJMEgrFtOaNBljzJ0IdpT7vWpsseOqxO/Q6Y9B41fXF7 GJpB2jRNBsnH7g0TnxKmEBUm+1StzJ2XJqm1A7ahx3/iCxHF9vseu34oeh0ch4FreM/a 2elVGZ2t8DTvVV0nrtQS7nnlmStwIzdTVrBWrry9IDfcv1zB2TeMKdygNoyvE0RIuSCJ 8ho/gI9rhWyCrc9ZWT/PCRkjeEe82ZbhrUvMWG4daPm8AhSjq6edv99lDIMT3AkmCdHd c/psasuwVOSTGre4NAU0GsjcMOJCOQrJ8ci/8GePZSRXSsnIURZ9jX3oS4QJPY0m9WwB RNQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=OVSrn46s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb26si4321661ejc.631.2021.11.02.06.40.41; Tue, 02 Nov 2021 06:41:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=OVSrn46s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229712AbhKBNl1 (ORCPT + 99 others); Tue, 2 Nov 2021 09:41:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbhKBNlY (ORCPT ); Tue, 2 Nov 2021 09:41:24 -0400 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8F6CC061714 for ; Tue, 2 Nov 2021 06:38:49 -0700 (PDT) Received: by mail-io1-xd2a.google.com with SMTP id h81so16748561iof.6 for ; Tue, 02 Nov 2021 06:38:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NPmlFnsZtjOhlgu33qBtxP1UZOWSahyMoeO4vIQ/8Z0=; b=OVSrn46sf3M7ODJBsJzugoe0wCPuQeHMutpWsElQHERc7suWX1ETX3idIWCLex1Tlt UTq1fIJzkXsD1zhbzmcRcYq1D9k7lXVYOfUWaunuw6gA1J77xqRRhY/hC12Kg4OTsGp4 wyZTjNHJDa2TubIWyoB5lBvoPN4gh+8fHdr2Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NPmlFnsZtjOhlgu33qBtxP1UZOWSahyMoeO4vIQ/8Z0=; b=ZhACLFyzLR3Sb1qChwi7Rm7elRAQbjH5mWP6iy7ljw8DcRW5xVwmYtEHtURJZaKyBr QUyjTys/iepYl8vmpAqqEh50uy3jkl64aSQlIThhan4QZ5AG4yEeXydpuKa1j2DUy/Th U92eKwrDHv3bU1tizI3JB2Y2F0rehSKYBSTHSERmaikywhcMtQgeM2ztFVv4oXynnGJU vMc7Kkuo28qc+lRv00s7vKhzqv/QAwB96A1QXVSksF2zHxJWOxQT/UhQHpMXt18Zhye7 WvFbn1ffRqVHiPKenl30XnOAA25a3rG3FZRHHDOye2OK13wNOUmg9R4SjooqTgDAVmAV XXHQ== X-Gm-Message-State: AOAM532MZj7CK6zubzOrPs36AUaI5ALwHWCCh1bbsc0sJhI3ny8/4UXk bPN5D3ddU2IbpUX6bFP/k9ZPibPLls+RZg== X-Received: by 2002:a05:6602:13d5:: with SMTP id o21mr7770264iov.191.1635860329073; Tue, 02 Nov 2021 06:38:49 -0700 (PDT) Received: from mail-il1-f177.google.com (mail-il1-f177.google.com. [209.85.166.177]) by smtp.gmail.com with ESMTPSA id y13sm10752628ill.77.2021.11.02.06.38.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Nov 2021 06:38:48 -0700 (PDT) Received: by mail-il1-f177.google.com with SMTP id s14so4602783ilv.10 for ; Tue, 02 Nov 2021 06:38:48 -0700 (PDT) X-Received: by 2002:a05:6e02:18ce:: with SMTP id s14mr13331028ilu.142.1635860328172; Tue, 02 Nov 2021 06:38:48 -0700 (PDT) MIME-Version: 1.0 References: <20211102034115.1946036-1-bjorn.andersson@linaro.org> In-Reply-To: <20211102034115.1946036-1-bjorn.andersson@linaro.org> From: Doug Anderson Date: Tue, 2 Nov 2021 06:38:36 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] pinctrl: qcom: sdm845: Enable dual edge errata To: Bjorn Andersson Cc: Linus Walleij , Stephen Boyd , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Steev Klimaszewski Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, Nov 1, 2021 at 8:41 PM Bjorn Andersson wrote: > > It has been observed that dual edge triggered wakeirq GPIOs on SDM845 > doesn't trigger interrupts on the falling edge. > > Enabling wakeirq_dual_edge_errata for SDM845 indicates that the PDC in > SDM845 suffers from the same problem described, and worked around, by > Doug in 'c3c0c2e18d94 ("pinctrl: qcom: Handle broken/missing PDC dual > edge IRQs on sc7180")', so enable the workaround for SDM845 as well. > > The specific problem seen without this is that gpio-keys does not detect > the falling edge of the LID gpio on the Lenovo Yoga C630 and as such > consistently reports the LID as closed. > > Fixes: e35a6ae0eb3a ("pinctrl/msm: Setup GPIO chip in hierarchy") > Signed-off-by: Bjorn Andersson > --- > drivers/pinctrl/qcom/pinctrl-sdm845.c | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Douglas Anderson