Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp419097lqe; Sat, 6 Apr 2024 06:53:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXz/y3BvubqNRrL69dXp6gbUEvT/9xpgecxbAP8C4bGRi+JpezDeC/h2fzNcquCFi6GeItPL9+Tcn19FbKjr6NAHulOR8Vmd8xfSzO/gQ== X-Google-Smtp-Source: AGHT+IGvlNNLKS35JrPvixx8qnkvM1i6SXdZ7sf93GEFw3SivOaqOZi8wd0wBrY+dcW2P0cqtn9d X-Received: by 2002:a05:620a:851:b0:78d:58bb:e183 with SMTP id u17-20020a05620a085100b0078d58bbe183mr1178026qku.63.1712411613560; Sat, 06 Apr 2024 06:53:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712411613; cv=pass; d=google.com; s=arc-20160816; b=ZQCUkL108+2vjYKUz8PVarAclIG+BqC5cFiFhp8N3aZ3yFxikfQb3xBEjc5pZfthEB CDUhhvX7RUyRyAZs2f+kBL1XXia9IjFMqPyx2dxoWgyXPwjoWy/ag82tMwwRhmvOqEqC I2hg7dRhWf/lEibS/wYktEoFwzJQLpLcZ2/IvetoEm3HqX7n9LHfVybz6gwdPpvd6ij/ /HO+62eWRH0VdQpH+lMBHswp63nNS2rk6c+8tRnEx6USVv4nEuT4VoIZ3Fl32o+ZICQB 2K8LyGdpl+R9ytU5LwKnNGgLDqCIJ/CxsnQqbOaF3lxqzMTOUqp3dkQpNJOhzXZvH4oz 68cA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=P+xOAM1vynFvRAlHMpeR1e7xSyEQz3R2PI61qJxfT/Q=; fh=r7zB1le3is7wUFphWCdPmPWFRagJAbU2AB15VtJKMZo=; b=n9M14nS31Q8S8yabFDYi5z8s9PQrOhpx5KwZ63JaSTZ9iEtAM2H9jYkVk3HTfy6ErP ksx+OBuQD16mVC6zWPKKKxrGxX1sn+1EIyAhx78dIcvTQIfb/R29vIgOHGXSZw+I6Snu YOZP/sA0gjrXpfPDpYP7StqvwsIu9gTQRSRQ+jFsJf/fSko/GvagfTaaCR5AguMndW/8 Dp1hKxQ4Kgqj7RPW3YEeeM27wBKyF/yjCsGvAEbBbwmtToxlpTbqvPz7RmFsM1m9Y3Hk rddWlKrABP2dnvB77IqG0auuuOx2qoWJZOtuvlt/9ypYaL2Cl8TH3r/q9ke6LEYK63u3 rU9Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=aGERAViv; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-bluetooth+bounces-3313-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3313-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a16-20020a05620a103000b0078d4fe3c802si2745363qkk.620.2024.04.06.06.53.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Apr 2024 06:53:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-3313-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=aGERAViv; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-bluetooth+bounces-3313-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3313-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3464E1C20C2E for ; Sat, 6 Apr 2024 13:53:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 32D76374EB; Sat, 6 Apr 2024 13:53:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="aGERAViv" X-Original-To: linux-bluetooth@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CFA5913ACC for ; Sat, 6 Apr 2024 13:53:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712411608; cv=none; b=pg/Jsg7T73RuUC1eGr6190bRvzAQwKrE1kEuCYtVsj5p0Aey7j7O6+psPBI9htzporIGXvHnnidPpHVLz4D6rQtX7c4sOYkGcwRrD5ZAuMQRfFTx3NQYKAfBrPJzsrZ40oLwvDC71Z0dYenAWd+EZhNisuulcT5KH/Dyre5A3TA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712411608; c=relaxed/simple; bh=uuFTbIv6oepg9RSLXpan7yIe7cMQvnD2QDFxRZ4CdKk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pjw18JkD+mV/8ME0LWgUW5rpgtxKsDHIbo7doi6lxkKuwZw55Vyye/6RHE2Y3TPvnTZRWrTKqlPuZTeg3isebhH58JvtX7VkhT7DuuHgAhzeYyICFxYXwYty7YwhE8YEnz81WNCbebKlASlxTQiZou+WDOsFiXW79P4gBIOeC7U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=aGERAViv; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712411605; 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=P+xOAM1vynFvRAlHMpeR1e7xSyEQz3R2PI61qJxfT/Q=; b=aGERAVivC+PjDcXuUuhnWdeJOtkGWJDikGxHrAh/MnXsKCVEsGwDNMmFnTFVkBJk8TsO+M JYG9iGpCR5IgpSYLv1UmOsvMB9MQtynHx1f47dPmMf+0oXA1XPyb0zxR+y7zcQBESuo8Qp K/jg/s6vd01MCSQMDVxdoT+t0h7dU2w= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-379-9ex952lBPbGQTuXj0IpCdA-1; Sat, 06 Apr 2024 09:53:20 -0400 X-MC-Unique: 9ex952lBPbGQTuXj0IpCdA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AB3E43803507; Sat, 6 Apr 2024 13:53:19 +0000 (UTC) Received: from localhost.localdomain (unknown [10.39.192.50]) by smtp.corp.redhat.com (Postfix) with ESMTP id E5E24492BCD; Sat, 6 Apr 2024 13:53:18 +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 resend] Bluetooth: hci_bcm: Limit bcm43455 baudrate to 2000000 Date: Sat, 6 Apr 2024 15:51:06 +0200 Message-ID: <20240406135106.16821-1-hdegoede@redhat.com> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 Like the bcm43430a0 the bcm43455 BT does not support the 0xfc45 command to set the UART clock to 48 MHz and because of this it does not work at 4000000 baud. These chips are found on ACPI/x86 devices where the operating baudrate does not come from the firmware but is hardcoded at 4000000, which does not work. Make the driver_data for the "BCM2EA4" ACPI HID which is used for the bcm43455 BT point to bcm43430_device_data which limits the baudrate to 2000000. Signed-off-by: Hans de Goede --- drivers/bluetooth/hci_bcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index 874d23089b39..85471be0c71a 100644 --- a/drivers/bluetooth/hci_bcm.c +++ b/drivers/bluetooth/hci_bcm.c @@ -1487,7 +1487,7 @@ static const struct acpi_device_id bcm_acpi_match[] = { { "BCM2EA1" }, { "BCM2EA2", (long)&bcm43430_device_data }, { "BCM2EA3", (long)&bcm43430_device_data }, - { "BCM2EA4" }, + { "BCM2EA4", (long)&bcm43430_device_data }, /* bcm43455 */ { "BCM2EA5" }, { "BCM2EA6" }, { "BCM2EA7" }, -- 2.44.0