Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6266001rwb; Tue, 9 Aug 2022 12:03:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR5VW9KpUtS8h9w1v6hoiZv5rhgyDAmV33n5b2E2IpnXuxFttCkrxu5SH9cT2Lfo4pVvxREu X-Received: by 2002:a17:902:e750:b0:16f:3f32:6f5c with SMTP id p16-20020a170902e75000b0016f3f326f5cmr24761879plf.106.1660071827868; Tue, 09 Aug 2022 12:03:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660071827; cv=none; d=google.com; s=arc-20160816; b=hR4mjYXw64kTSzDBLceyJZ6tmzOZuUbd65QMhmHpMoM2TZ8oqwYu9UhPtoZnoSX7fo 7zr2cglxq8vKtx4jza6SOIwHGkD3iWOsowsYRfAFS6AqCAe6/OJiolHGXGnF9OPHEeUp 5ZJAGXOM+s+aZeRGfOzSTlG4zGTVw8sRyQJ7QRu9Q+XaXIaSYJ3QDyzZnk4/89/vR2R8 oESF5/Ov0caeXRGpV/QmXp/w46BHMSEcX2+RgLdhLDJYN0jwW0omDFOC1OO/V5IKsv1b r6l8djfN6oX0+EnOZfpbsGOyKRa3vcpP7RDtlCv+gy0iMsfkN802MfDE3bL1ndK8E4Qy HRBQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=R6jRV/VCvZUI3hqn2wWp7hqiV52HxUCnA9fW6nLwb9A=; b=LxDLR0AtIbU9BxVtHYKwwDU9UBqhF05m2rsPYeiZ4QvfnMuxrq4gr9B9Ij931zi7fq o7GO7HjJJVHiEp3TDQbr4MvHpwW8OjL9UnhYyVrU/fKSOFBQ4KcXY5b0XVNk5HLKf2Kj LreuW6N3Hp8yLg+5PRYbQuZcsSA/5B3AWLMMjitczd5ch0TZI7G8djVRo3843m4iZkbm FZuyC+rsffJifMCMJZuyrgMVEs/p1BlcRP0bkv9NvkbW2IPGx9oYH/jGZHXdBRcW6XtQ 9bRk1EwTG0UAIxamr9RJMVNOKQLAtCWCoC4EgSR4AS4UBp5divWPEcdhtUntHQAL1mh6 iY+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=U4wLHsxx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t22-20020a056a00139600b0050dcf85b9e1si471901pfg.141.2022.08.09.12.03.00; Tue, 09 Aug 2022 12:03:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@linuxfoundation.org header.s=korg header.b=U4wLHsxx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345579AbiHISO1 (ORCPT + 99 others); Tue, 9 Aug 2022 14:14:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345618AbiHISLW (ORCPT ); Tue, 9 Aug 2022 14:11:22 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4D1927B04; Tue, 9 Aug 2022 11:04:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C340FB817BF; Tue, 9 Aug 2022 18:04:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E10D1C43140; Tue, 9 Aug 2022 18:04:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660068275; bh=J+es1R0tmHFrd3LGUS5CJCAMMjcFDc+TrglxdGgC9iQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U4wLHsxxNwYT78zlIIWZrZZj3FT438zURUDqXOX8l42bPrLZq2zu9vf1PtObPReFn ILWn0+yKvNEynttbckbcwlOUf336ofYze7Rf8JGkn811HJ5Oq9fiEr6WvqBT3DTVdG Fu3a55tCQNBr5pQCivaey28rNeT4a9hiOiFO482U= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hilda Wu , Luiz Augusto von Dentz Subject: [PATCH 5.10 16/23] Bluetooth: btusb: Add Realtek RTL8852C support ID 0x04CA:0x4007 Date: Tue, 9 Aug 2022 20:00:34 +0200 Message-Id: <20220809175513.430922798@linuxfoundation.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220809175512.853274191@linuxfoundation.org> References: <20220809175512.853274191@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-kernel@vger.kernel.org From: Hilda Wu commit c379c96cc221767af9688a5d4758a78eea30883a upstream. Add the support ID(0x04CA, 0x4007) to usb_device_id table for Realtek RTL8852C. The device info from /sys/kernel/debug/usb/devices as below. T: Bus=03 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=04ca ProdID=4007 Rev= 0.00 S: Manufacturer=Realtek S: Product=Bluetooth Radio S: SerialNumber=00e04c000001 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms Signed-off-by: Hilda Wu Signed-off-by: Luiz Augusto von Dentz Signed-off-by: Greg Kroah-Hartman --- drivers/bluetooth/btusb.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -399,6 +399,10 @@ static const struct usb_device_id blackl { USB_DEVICE(0x0bda, 0xc822), .driver_info = BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH }, + /* Realtek 8852CE Bluetooth devices */ + { USB_DEVICE(0x04ca, 0x4007), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, + /* Realtek Bluetooth devices */ { USB_VENDOR_AND_INTERFACE_INFO(0x0bda, 0xe0, 0x01, 0x01), .driver_info = BTUSB_REALTEK },