From patchwork Sun Sep 6 12:20:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 293532 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B9EEC43461 for ; Sun, 6 Sep 2020 12:20:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E16E3208B3 for ; Sun, 6 Sep 2020 12:20:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="N2ahQ7Pm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728865AbgIFMUr (ORCPT ); Sun, 6 Sep 2020 08:20:47 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:38575 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728828AbgIFMUl (ORCPT ); Sun, 6 Sep 2020 08:20:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599394822; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=CxJ/LRM65OR3AnlvatdcLfZCthNJRAPFXPEjZKd0JvU=; b=N2ahQ7Pmhj4p92rIUxWOhlY4gNYkurVc4suJdVELl+enUuxqI2mf53Dt3xx8tN7iM72b6U hfmU88pnUDwOTrOy//3XHHWg+4czHgZTELAMscx2Wwo5he9OvbdHo4YjqNLdbEhdUhxW2D YqIIa45NCR4Anj3pfrZbC2Q/Sxr+E5M= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-245-qk1YH0sbOSuRfbWY_oxCYg-1; Sun, 06 Sep 2020 08:20:20 -0400 X-MC-Unique: qk1YH0sbOSuRfbWY_oxCYg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3CA481005E67; Sun, 6 Sep 2020 12:20:19 +0000 (UTC) Received: from x1.localdomain (ovpn-112-17.ams2.redhat.com [10.36.112.17]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6DA945D9CC; Sun, 6 Sep 2020 12:20:17 +0000 (UTC) From: Hans de Goede To: Dmitry Torokhov Cc: Hans de Goede , Andy Shevchenko , Mika Westerberg , linux-input@vger.kernel.org, linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org Subject: [PATCH 0/1] Input: soc_button_array - Work around DSDTs which modify the irqflags Date: Sun, 6 Sep 2020 14:20:15 +0200 Message-Id: <20200906122016.4628-1-hdegoede@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Hi Dmitry, This patch is a bit of a kludge, but the problem it fixes has been encountered on 2 different models now, so it seems that we really need a workaround for this. This patch applies on top of these 2 patches: "Input: soc_button_array - Add active_low setting to soc_button_info" "Input: soc_button_array - Add support for INT33D3 tablet-mode switch devices" Which I have posted multiple times upstream already (they are from May!), but these have not been getting any attention. The soc_button_array code really is x86 specific glue code to translate various incarnations of gpio-keys in ACPI tables to gpio_keys_platform_data. As such I wonder if it would not be better to move this driver to drivers/platform/x86? I seem to be doing most if not all of the recent work on soc_button_array, and soon I will be a co-maintainer of drivers/platform/x86. So having it there and adding me in MAINTAINERS as maintaining it seems to be best? If you want I can do a patch moving soc_button_array to drivers/platform/x86 and then add the other 3 patches on top and then we can merge all of this through drivers/platform/x86? Regards, Hans