Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1370185rdb; Fri, 16 Feb 2024 13:40:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXSCxRFajMBm+/YsN9vLEJLHucQkMPaBG27XRKoot1VBGweDmYTYY+G4t46Y0S0qs56TVpwv24ZpzdXKl8kQUi9VHs7mGVtebKTpZN+/Q== X-Google-Smtp-Source: AGHT+IGa57PDWwU+D9bAB+ZukOVPmFhUThWucJlL8X/2fjEK3VtiskAOzxvkkmNZSrWVyx3AKGQ9 X-Received: by 2002:a17:903:22cb:b0:1db:bfea:3657 with SMTP id y11-20020a17090322cb00b001dbbfea3657mr819697plg.22.1708119637679; Fri, 16 Feb 2024 13:40:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708119637; cv=pass; d=google.com; s=arc-20160816; b=PJyzK7arL0phuUg8jI2VDd5LUuNj+a54o+ELmsK1MYrHzxWo7xmejJtlTyyeyJAvoT 2YPugpnlnREODC6ewrSnhEy8lsWTPY4X6qhoZUPGuQYDtiwvuhPeSHyfbyaZnIhvEw0V /p7T6wWzs9VfQQnVcut06XJMVkeq/gbJovVAtCSasx7L8P1igrcsnn3J0R9LK0cQo+f0 ZpZJehCVoXWxgMKe7V2LOo380GSY0CON9SIynu4lT+/f4cretsUQpyajsMv06A93PaO/ yHtjmQgUVWwPhEvccW+LCpzLiHqDa/HSUehhS7xnqRSVCv5gbiDMTdIcb972GI4TzZky FJvQ== 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=riMbU5asA6XpF0KUJUQt8608xAirHV8bI9Iz6C44BF8=; fh=klOFdMdRjlydrhx63eLFNj8+PTVNCw1VPB7wYY3tJ0Q=; b=oDgEK395Ne4rEiDtU6Fj55aA4mNBLF59zQFZJ2mKLPiyiBApf1ywBLe9Wm21ajHcSG HTpxjNvevEyoSORhQqOmMIvtkY4WCZozlvLdBTdrylaVXnVQmbVowDzvOW22Ol5apzYk gMYZekY06VUnOvHELTROAcw+GivwAi9FCJ+HQ0Iof42l7bNgiq5555JnKvHz/Unveet6 6ghWomlpE1ST0P91CzOn3TU/bHR5CxQHB6FWMsDf14nDV6UhUVqzBaphYfvfT+2QQHBy bCzRDLVDzJxaL0zWSmibsaMbGZImTO/1gg9BGW0W4WvXL+SVtOhotjpCcYH9oA4mKl8y 0ebw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="ZTn/J2OB"; 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-1950-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1950-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m15-20020a170902f64f00b001dba63a4a53si454776plg.26.2024.02.16.13.40.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 13:40:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1950-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="ZTn/J2OB"; 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-1950-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1950-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 19B3A28436A for ; Fri, 16 Feb 2024 21:40:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 12BFC145328; Fri, 16 Feb 2024 21:40:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="ZTn/J2OB" X-Original-To: linux-bluetooth@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.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 95AF92FE28 for ; Fri, 16 Feb 2024 21:40:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708119632; cv=none; b=amqpT4abzuZ8DbMtSAfRLo1YqKX7y3cZHDjCawgauAoGaJvsS88EL4p7uSkmzk1zKM57/y41QWNKfhv062w6ehwOig1oLqXsUImRg1exK6FSpgKAHo/LscACQkiHFYCSZzKhtAW5xmfF5l3URD9JlzisgY9y0DJrnws4Zeo3bsA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708119632; c=relaxed/simple; bh=BgGogpAMmcwXEp2jAZ1kV7+3AOfYiVYXX4zj4e6l87k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rhm92jRs87QvLpCciTHjhGbMnyjy1nfSoVDPqCpD68AwJrS3wTBv9b2HUOOyAaalZhJonCB80VPHz5v9P5INAY+V8Fm/acwfBftDVOkSlhMNphf0P9Zh1s7F6x2SW98SZSO/SprO2H7B+eOAJPmiJSdv8COLAsJmoco7L7kD7oM= 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=ZTn/J2OB; arc=none smtp.client-ip=170.10.133.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=1708119629; 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=riMbU5asA6XpF0KUJUQt8608xAirHV8bI9Iz6C44BF8=; b=ZTn/J2OBEQfJ5aUYBj2ORqp/Ped4i9qafzRUYVQictuIsQQ/QaCq3P5jLQc5HHf5rmmlN3 sG2ewi+0zd2QzUvL67LBYsuuuCSoheqX5wYrHg34xhVWKt+iTRu/CPxNet4HOsIYeMBEMy euCRSIwGy116OU4iP9l1uxBlLhbGU7A= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-50-09MIMy5nNVG8GJMSqKMfkw-1; Fri, 16 Feb 2024 16:40:26 -0500 X-MC-Unique: 09MIMy5nNVG8GJMSqKMfkw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (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 F08F3185A780; Fri, 16 Feb 2024 21:40:25 +0000 (UTC) Received: from localhost.localdomain (unknown [10.39.193.87]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3CD052022AAC; Fri, 16 Feb 2024 21:40:25 +0000 (UTC) From: Hans de Goede To: Marcel Holtmann , Luiz Augusto von Dentz Cc: Hans de Goede , linux-bluetooth@vger.kernel.org Subject: [PATCH] Bluetooth: hci_bcm: Limit bcm43455 baudrate to 2000000 Date: Fri, 16 Feb 2024 22:40:16 +0100 Message-ID: <20240216214016.251819-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.4 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.43.0