Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp452543pxh; Tue, 9 Nov 2021 13:25:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyOE//hUbCKt9AKL5KBC6+mcYmUzMnSeNB4dtY+Tl/UyT73HvTijOSDh/IUHeFEwPJuWL/d X-Received: by 2002:a02:741b:: with SMTP id o27mr8406167jac.84.1636493103452; Tue, 09 Nov 2021 13:25:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636493103; cv=none; d=google.com; s=arc-20160816; b=OL+yPCB7bVYI3fZe2jPMbI4CBZoS5bWl1uw+byrNXR3Qx5w24zW/RsiomOSa8atVj5 SI40Bzos0NkoQ8YT033GkzWYKrYbtrzQO//EvMT9xJEuJT3Xb2Nkhcj4fRfBEBRvFXBo zG2XS29v0oV8YJGEgKyGnSPpPM0ii1/RHsEgYfeQ/u5Mtl85mVqK4Gqysluv6bYfXp+l 4tAa8xVyv4F5kqoh1wScJqmDq7G6+hyvUQibfpNJFHejt/AHEaK9+39tr2/lNUMTEt87 ff8WjMFcgJhfe9ZY9Zktr/SMTs5awmyxnPHDeCoAL061lylSm3oaGf0QnGIwjmdo7cMN 5oJA== 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=4+G3Lrbcy0EyO7hdvkch+Sv/6pjlgWUWMyGebQReyzg=; b=DxmLM4hqSYgLCsGXCNtJcX937kvEaZnFSOKpr5nIV8gIJu9bvvQaBF1iI8zC3O5mWh pp1zknXM1x9l+044c3wm27VT2PLujl4zLiFCQvjr1fECjEX4mvDXBjpFM/quZirfZHlu 1tvuhVMNY38uY/LIHOh5lXC8ZsXI3HXoS+urcpqT42FCbQ2/gt3TTiSBUxPTAg4ZDRsA IMq1uEyyk4CjtSpzwT10sYDzLWX5CBKJz/3P5bo/T2cjhkABfXDIjVaONAd/pvDhRgQG d4T64N3iLJ86sTIFqYk7bMCqgEkvjmNsyCz65mHxrsSqm0d3tDxNyknjQ+/uFo7nfxkG O0sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xhHXwnxj; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q14si39286494ilo.89.2021.11.09.13.24.51; Tue, 09 Nov 2021 13:25:03 -0800 (PST) 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=@linaro.org header.s=google header.b=xhHXwnxj; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241787AbhKILLY (ORCPT + 99 others); Tue, 9 Nov 2021 06:11:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229998AbhKILLX (ORCPT ); Tue, 9 Nov 2021 06:11:23 -0500 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 968F8C061764 for ; Tue, 9 Nov 2021 03:08:37 -0800 (PST) Received: by mail-ot1-x330.google.com with SMTP id p11-20020a9d4e0b000000b0055a5741bff7so30285963otf.2 for ; Tue, 09 Nov 2021 03:08:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4+G3Lrbcy0EyO7hdvkch+Sv/6pjlgWUWMyGebQReyzg=; b=xhHXwnxjwwSmY1SZZZ+GTy0PcDo+hQfjVaBgfbi+9YB3SH1FJvtAIu07roe/OvDeYX oClayepzt4EfDQzdn6RT19t4bi49JFwMWVsWz9IZ4zZY+MNfAZJFnBEDgIOoKHtx1aXP zlGLz5mBEpZBlHPzJmTanj3B0n7jX4w8UGxZRK2BfgIDthB3CiTEET5D7SZEXpz6SJcO vM1eUj8nFaeJ026QX2tUuo7HjplPA/p1qprEKR+xJSj6byKyNRu5pHmHuYoGXQhN9th1 yjVgJiGV7nC8lA6jf+SBUQL/jKGeB7Aq4Dg+OTMNKHcISQL+rnkSp1jZ8alcMt2wVL6o Qx8w== 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=4+G3Lrbcy0EyO7hdvkch+Sv/6pjlgWUWMyGebQReyzg=; b=NZRvJGCxs4ussgqigJRClH424Bc+9Kd2wwj03Rf58r82SAeoYf0re9+5Wj+UXnFZJu KBjlCdNsKhZGkinebTOlOvHCf98RdbEBdXVfbUfuRlrwh/M7jQRDM8r1Qt801/kMqUe2 tz3EuYKJlGFL5CReM9XZv8TM1ECNaorxe3vimn/KQZ53dWqsRFEPaZ6VtksbEiISin5r dAyENvEkQrwhyIE7XEPa15BMnLhP45K9IJQfuPoRL+N8FdHJxBYtPq+VwywuJcHIhTAV FSHHmjGDoUVo/3EiXFFhZ3892U51DY4yXTU9F+7sblLEIvYypJ6W5OeCWM95O6rUT+8c rVag== X-Gm-Message-State: AOAM531Fw/Qb8MMjfyL0AkaX3VEW688UIqb4Cg8WkNCvITtDNxxunQCq zl/EDvaugouUcDJ9IsQS8UVxkyh3jSqj313MEgNF3A== X-Received: by 2002:a05:6830:2809:: with SMTP id w9mr5139316otu.237.1636456117012; Tue, 09 Nov 2021 03:08:37 -0800 (PST) MIME-Version: 1.0 References: <20211102034115.1946036-1-bjorn.andersson@linaro.org> In-Reply-To: <20211102034115.1946036-1-bjorn.andersson@linaro.org> From: Linus Walleij Date: Tue, 9 Nov 2021 12:08:25 +0100 Message-ID: Subject: Re: [PATCH] pinctrl: qcom: sdm845: Enable dual edge errata To: Bjorn Andersson Cc: Stephen Boyd , Douglas Anderson , 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 On Tue, Nov 2, 2021 at 4:41 AM 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 Patch applied for fixes! Yours, Linus Walleij