Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4367056pxb; Tue, 10 Nov 2020 14:52:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwV2Q1R9gPBkWXv/83sNyPyAa/R4udBSYFYNQZkAiLowaYz71jDzALpMSwZVoHLYYWm6qNl X-Received: by 2002:a17:907:262d:: with SMTP id aq13mr21632697ejc.484.1605048742712; Tue, 10 Nov 2020 14:52:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605048742; cv=none; d=google.com; s=arc-20160816; b=Hi4eK4qoZxgWESu+GRsX194d+NlvTLyHbjcywP7Kv/fJnuK+CTvlXQU04KwNXEYa7J xHTu1LP8a8j+RSvAYz6mKpL/nnkPpkQheUxQUoRZqnrMu3R5wxOJApkeuhPY8mhIukmY CxlecFPvRVq7vWTwG8WfWoYTtHV4H7RzP2RDtykLwjIzQyOP3JQwJYtdQBpYaLYOrQ2P Rr3rril5v8oSusi5XwuEp0AmHGLjsaQTHEAOcnG84YNTpch34L8wMYG6xahX9cQb76G/ ey0OcdB0LlvWdb15yjm5oNbBwQfHhX4Amxta/664dcuW1LAT9lpdbeNL+dK6mZ7E/K7c UrTA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=oTLSsibufzWzMwpo8qkoqYzphbDo9oHVLv73BEVjMRw=; b=ZxvzIj1O+ksscMYvxKciY/Ox9QYJTNr4QlDeA0h95zwP2gNXyLfZoKRF22Srf8VPYz K17b3qAZe4wQlFZu0n8o5JOU5fKp1gowYExGyzAHE4RcnF1+z14bKyXCGn4nPtyACA4i Ny6qNYqIslos3c+rv59rQKxCuJAH7v5fnEDY0CI2YoOeXDbVa6JaqAzXFQM0Um9Fc7bH EM/FZpD4FkRvftlFADPToIrYVLYR5Dol84Vp9TiubcrEhzCEn0JV9EFd33XcIbOewvTa tVKq3t/7G0lXgkqs1LhpNEYM21gOWkEQu9irv/oOP9L/FZaBY8fFT2OijFZcs72V1g6m nMLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=hve4HvrQ; 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 r15si15932ejb.482.2020.11.10.14.51.46; Tue, 10 Nov 2020 14:52:22 -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=@chromium.org header.s=google header.b=hve4HvrQ; 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 S1732354AbgKJWt4 (ORCPT + 99 others); Tue, 10 Nov 2020 17:49:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731982AbgKJWt4 (ORCPT ); Tue, 10 Nov 2020 17:49:56 -0500 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E3A2C0613D1 for ; Tue, 10 Nov 2020 14:49:55 -0800 (PST) Received: by mail-pl1-x641.google.com with SMTP id cp9so3796916plb.1 for ; Tue, 10 Nov 2020 14:49:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oTLSsibufzWzMwpo8qkoqYzphbDo9oHVLv73BEVjMRw=; b=hve4HvrQq9EsNI1QYuz6/oOdzvECxuqSP0+b1p6EfXlOOXhazaB1Z25028V96c/x0i WN/LSNq9cPZNHJfr2ViI6fEgekAeA8l538rRWv4m/UyM/Uz6PBnOHf7Qhvy5QL0qhUUC PQevEI+qUeaKWHSPge3oKEqgx9XBtwZVbm8Xc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oTLSsibufzWzMwpo8qkoqYzphbDo9oHVLv73BEVjMRw=; b=b+j24RvRR46rs/jLVoHZs7g8bPGHDfVEpL8+chffzMjA95mNpMP1mViF1kiSoHkq+b TrclJgYQTTMrehsdyekMFSrcniO0ALI4zOl5hTTPxb/72mLxmtzQbN/ebHn8X9e+Zica mk9CLCHEOK4zfeVwGImfvWmxCT7Mp9RY7q+c2FqT746WIy67/3T4vJXt78sHKaj4IP0A 1CSuQp1mIyeD3VdIAN7R/EUvQVUPZvzvOZH6qMKaFN6Ru6WRF6xyjQNobVr41IDuaVHw eYE2CCEbhggc9om+HGq3R7KsOe27czrgubW/sThlAthR/UznWRDItQNtBRGOpFkYTQ9i WmzA== X-Gm-Message-State: AOAM531Tab/r+mxqN1/9IgsJMaChbbK8ZdftzhFuSI1As9bR8V6uhCZu wDbxo4WQu6wJJ2fHriTR9RDAgw== X-Received: by 2002:a17:902:fe8a:b029:d7:e629:9551 with SMTP id x10-20020a170902fe8ab02900d7e6299551mr9160621plm.79.1605048594925; Tue, 10 Nov 2020 14:49:54 -0800 (PST) Received: from evgreen-glaptop.cheshire.ch ([2601:646:c780:1404:250:b6ff:fee1:7d4c]) by smtp.gmail.com with ESMTPSA id i7sm34066pjj.20.2020.11.10.14.49.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Nov 2020 14:49:54 -0800 (PST) From: Evan Green To: Andy Shevchenko Cc: Evan Green , stable@vger.kernel.org, Linus Walleij , Mika Westerberg , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] pinctrl: intel: Fix Jasperlake hostown offset Date: Tue, 10 Nov 2020 14:49:49 -0800 Message-Id: <20201110144932.1.I54a30ec0a7eb1f1b791dc9d08d5e8416a1e8e1ef@changeid> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org GPIOs that attempt to use interrupts get thwarted with a message like: "pin 161 cannot be used as IRQ" (for instance with SD_CD). This is because the JSL_HOSTSW_OWN offset is incorrect, so every GPIO looks like it's owned by ACPI. Signed-off-by: Evan Green Fixes: e278dcb7048b1 ("pinctrl: intel: Add Intel Jasper Lake pin controller support") Cc: stable@vger.kernel.org --- drivers/pinctrl/intel/pinctrl-jasperlake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/intel/pinctrl-jasperlake.c b/drivers/pinctrl/intel/pinctrl-jasperlake.c index 9bd0e8e6310c3..283698cf0dc7d 100644 --- a/drivers/pinctrl/intel/pinctrl-jasperlake.c +++ b/drivers/pinctrl/intel/pinctrl-jasperlake.c @@ -16,7 +16,7 @@ #define JSL_PAD_OWN 0x020 #define JSL_PADCFGLOCK 0x080 -#define JSL_HOSTSW_OWN 0x0b0 +#define JSL_HOSTSW_OWN 0x0c0 #define JSL_GPI_IS 0x100 #define JSL_GPI_IE 0x120 -- 2.26.2