Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1639452rwl; Fri, 31 Mar 2023 14:24:35 -0700 (PDT) X-Google-Smtp-Source: AKy350YEO6s2WjN/5tfr+I7UwU54jkBGZ6SHXQc39KCco1Zi86g9hawi6H2I+q82z5zt79s5cabM X-Received: by 2002:a17:90b:4c43:b0:230:b0e3:9cad with SMTP id np3-20020a17090b4c4300b00230b0e39cadmr11242639pjb.23.1680297875564; Fri, 31 Mar 2023 14:24:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680297875; cv=none; d=google.com; s=arc-20160816; b=oYVXAWbaL7oj5U4kBhIMmNwH6jIkKPba6MSCpPsUiDWvCLV2IFtjYhaR04SVWapq34 ucJN6uWIpH5RjhCkvsIgfDrK6wKXMx9qVP2Xfic/ed5+MUy01dyDkGbU4lxsNqD1CUp3 K4YdJkbi+3tRL/vXI03meh12keLZSQXUdh0dLv80H6MmDgelmC3atEjPhLb88cqno8rD z/jI6sGV7zgTa2FaH14G5ccFrzBPuHyOF48PqwCJavNFBanxH8z4+I6PcHIQPIz/wZL6 kdYishQc19CM/nA4pvLnh0IlL8TweUzcyCeOSKho4cfRIil94BWLyn9FzLK596KKXYTO IlXg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZNqNsPrrftVaQBJIDKeg15JbF9J1wMHcRvWUqB9JE28=; b=U3Er5liO4KgOi2beVijv62nRqsDPkOzZ7XC3YK/BiVSo7DBDd6Ze9lHAxNo4goP1SS GfsvtYRpiQuH/yjykBPW287lQ/GwyB/z1Urzb79ojzSt+WtKy8AKbYyOMhVSEM+mmEw8 5Yqe2zdHfFBRuYxZeq56j0kR4RGC1JSmPDgQzR+YyiHX9fcwfjNRdN+PEMS7soXgOHTx WiWB0q+XzWLjxjwdHQgHTMZYCxCuULxHOhiVomw8V5dnZQK/ylUcrSYpAjaAUzYrm49C fnVbcXCb0moAWX7jrzqB7Or7fxM/pp+7S59Ud4TkJUHvRtUItRC008fiU2PKtJ9l2qKu r35Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IW8roDpc; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w11-20020a17090aea0b00b0023312fad927si7345795pjy.100.2023.03.31.14.24.23; Fri, 31 Mar 2023 14:24:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IW8roDpc; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230092AbjCaVMd (ORCPT + 99 others); Fri, 31 Mar 2023 17:12:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230107AbjCaVMd (ORCPT ); Fri, 31 Mar 2023 17:12:33 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3966120620 for ; Fri, 31 Mar 2023 14:11:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680297103; 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: in-reply-to:in-reply-to:references:references; bh=ZNqNsPrrftVaQBJIDKeg15JbF9J1wMHcRvWUqB9JE28=; b=IW8roDpc3VG7Xa4EH9K1tRP9eiJWA+eod4uNE9t1lr8rMYwmP3E6xCmbLtaJoP6bVO39pb r/464L2R4xInotUpv3DJUy4NYcmDSwnpO8IP8KdUuqTxRT8uQIgGDDatyEl5cZQef12oQW AK5Srb8gdRylnNAiUvi+a8EihBIOf6o= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-91-TqfUOhSXPXmGJ_KpIQuEww-1; Fri, 31 Mar 2023 17:11:38 -0400 X-MC-Unique: TqfUOhSXPXmGJ_KpIQuEww-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A3ACA29A9D36; Fri, 31 Mar 2023 21:11:37 +0000 (UTC) Received: from localhost.localdomain (unknown [10.39.192.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id E1D5F492B00; Fri, 31 Mar 2023 21:11:36 +0000 (UTC) From: Hans de Goede To: Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz Cc: Hans de Goede , linux-bluetooth@vger.kernel.org Subject: [PATCH 4/4] Bluetooth: hci_bcm: Add Acer Iconia One 7 B1-750 to the bcm_broken_irq_dmi_table Date: Fri, 31 Mar 2023 23:11:24 +0200 Message-Id: <20230331211124.463003-5-hdegoede@redhat.com> In-Reply-To: <20230331211124.463003-1-hdegoede@redhat.com> References: <20230331211124.463003-1-hdegoede@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org The DSDT for the Acer Iconia One 7 B1-750 models (which share the same mainboard) specifies a IOAPIC IRQ for the HCI -> host IRQ but this is not correct. Like the Asus TF103C these tablets use pin 17 of the INT33FC:02 GPIO controller for the IRQ and this pin is _not_ configured in direct IRQ mode by the firmware. Add a DMI match for this, re-using the Asus TF103C gpiod_lookup_table, to fix bluetooth not working on these tablets. Signed-off-by: Hans de Goede --- drivers/bluetooth/hci_bcm.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index eb9e1c858e91..83bf5d4330c4 100644 --- a/drivers/bluetooth/hci_bcm.c +++ b/drivers/bluetooth/hci_bcm.c @@ -899,6 +899,14 @@ static struct gpiod_lookup_table irq_on_int33fc02_pin17_gpios = { }; static const struct dmi_system_id bcm_broken_irq_dmi_table[] = { + { + .ident = "Acer Iconia One 7 B1-750", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Insyde"), + DMI_MATCH(DMI_PRODUCT_NAME, "VESPA2"), + }, + .driver_data = &irq_on_int33fc02_pin17_gpios, + }, { .ident = "Asus TF103C", .matches = { -- 2.39.1