Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp355906yba; Thu, 18 Apr 2019 02:25:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8pZDneNjO/I4II2ckqARvWVXi8MUHxaTtb5Bsn4QxE30E7KI4b+r1f50lpcarwnrItFz7 X-Received: by 2002:a17:902:7c8c:: with SMTP id y12mr94119894pll.209.1555579514189; Thu, 18 Apr 2019 02:25:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555579514; cv=none; d=google.com; s=arc-20160816; b=EiZ9ckd3lBjYzxxL7SliUCZuLPv4X5tSNEcnBW1nsGN0Je1C+5gQGx3eqAATnmM6Sz w5fDWxlZA+I62Ud2uw3/dWy5X9ztyBUCJ2qonvB0C43hy2MLgli4ieQI6O465Wo4JXMA lHQUxaxMa3pa3nGOuvbIbSk4GVKgpNpQwHCmMzY+F+hSCtQQxdU1LWLVjwjhqOLDz/65 NK/jpOHY0MTMifMCGyMfV8npZK3I6JVC0fpKnkwqjxMFZK/5M9GNCC/CLpcTprTlLHkl iEsx+RaeTbjT3uBPoIGcAnhqlRrL1RYL1YkN936XVGUX167osAuLdnSCSp/HmSmAnLQh 72iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=yg6WkjDkylZmnFD30B1jRT0H9FCzKLcO3SdrD6hwJfA=; b=VO2zaCrccFAXl085qF5Oa1X3qdQ4Lt098DOX3aNVgfoRIH8Cr9z9Iq9aexdnE4cTHG Ej6VQeJ2gjm9fsvFGrZfMnkDOLMEGPQ+rF4WVUI7HncJPB6LVtpYKXUypoqrQKv76tTs 4LBCurU1UNd915eVEEgH0UArfC8+5J7H1EY/v8d2PDcAxHZDGyvro/eiqXc8eWK/+CbH gl8ABgdHmPIjIcSdKtNFGwkYIvF6CwbhszBqT3x9wAaOkAygma9Kx4goVppxWuzTxZ8B f2klihnhJSxJqir287jJrSXf0HNnv6/NUfII4xOgyNoPAOhj7c6eXuuDd09KaDiH7FIx 8K1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u18si1589706plq.184.2019.04.18.02.24.59; Thu, 18 Apr 2019 02:25:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388426AbfDRJYC (ORCPT + 99 others); Thu, 18 Apr 2019 05:24:02 -0400 Received: from thoth.sbs.de ([192.35.17.2]:50604 "EHLO thoth.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728093AbfDRJYC (ORCPT ); Thu, 18 Apr 2019 05:24:02 -0400 Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id x3I9NoSs005077 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 Apr 2019 11:23:50 +0200 Received: from md1f2u6c.ad001.siemens.net (md1q0hnc.ad001.siemens.net [139.25.68.37] (may be forged)) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id x3I9NoXc030948; Thu, 18 Apr 2019 11:23:50 +0200 From: Jan Kiszka To: Andy Shevchenko , Linus Walleij , Bartosz Golaszewski Cc: Linux Kernel Mailing List , linux-gpio@vger.kernel.org Subject: [PATCH 0/2] gpio: sch: Interrupt support Date: Thu, 18 Apr 2019 11:23:47 +0200 Message-Id: X-Mailer: git-send-email 2.16.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org See patches for details. Two things I'm not 100% sure about: - Should we enable interrupts for all sch variants the driver support, or only the Quark where I was able to validate it (and where I found documentation for)? - Is there a better way to hook into the SCI? Yes, GPIO events will also set a bit in GPE0_STS, but there is no ACPI description for that event on our IOT2000 platform and, thus, also the original Galileo Gen2. Jan Jan Kiszka (2): gpio: sch: Remove write-only core_base gpio: sch: Add interrupt support drivers/gpio/gpio-sch.c | 147 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 135 insertions(+), 12 deletions(-) -- 2.16.4