Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1926921imm; Thu, 24 May 2018 03:03:56 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq1EA03HEz+G2idvqQPCAK//uBBCiP7+Mza00oWLNlTob5KXmWrFYE7gxjsB03FdWXJ6/an X-Received: by 2002:a17:902:d886:: with SMTP id b6-v6mr6663649plz.361.1527156236648; Thu, 24 May 2018 03:03:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527156236; cv=none; d=google.com; s=arc-20160816; b=KM2Q4DNsm+QRUYpLOW70/Ln2S0UrXmTX4cE5Zm5WhD6leFDmzR97WKoX0kAoLWujta mm/SyymQEJ1tIxGzwqVBu8EraVBxVbpLtZrFxzk8tGCSEiumKeV0UnH+nEZOruxpqI/A nHAkjdmngoaO3cZFZKnulkhpjBtZlrWbpTqsBVwzfhL3eLwx/QqA0sEDgkRE7vOIO/CR tQF3q5c1QzwbxFowMt0IVCSca3kwigLpnRaIkNFoPPc8YbW6km6hg66u3Utu7ZQ3WNtK IMYVRMCZhexkH8fcltLCuXMBg3b5kOcN4BBN69F4NZpJsjzD9ALv5/m9OidXpXmx+Gyh lCqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=St43UW+/GQZ2k3KJv6RKygRSx17zmGv1HNs47tQFk3w=; b=JnX2rDYgA/tk5kfIC+DAwywzZjnjnX03+AqAYMtC/YZlfdgZqm5nJYzjhH7LGvk7bd 0M7HYCH4lrWk6pp+B2a8njKaufxAs98LcorklNwPywPaiMT7k+bNWuI+0+CaYNKbnybI 2oGSps++ddHNLVRA2G1ndRs93p9nV2QwdUYqezqgJV89TyXU30f44NOKmKtSV8Fk+GFK nOK9DUOCXUDXHFzO/SyLq7LrMQZBLOYeLs6ABrx5bdzuJeUkUlr0jrfoLfCtJL/GFoKI 5N6qXu5SYoDzJrh7QqX6mF0yNuGsY99pQcx452TuRPyeNdYK+UnHVtpihXDBGxFOr99j RJiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jMt1oEsR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si20455026plk.521.2018.05.24.03.03.41; Thu, 24 May 2018 03:03:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jMt1oEsR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031142AbeEXKCl (ORCPT + 99 others); Thu, 24 May 2018 06:02:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:49918 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031112AbeEXKCf (ORCPT ); Thu, 24 May 2018 06:02:35 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 580B320870; Thu, 24 May 2018 10:02:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527156154; bh=YL6vsFzDyEDcqL68ueAQUNpcZzEYuxR4dYfkNZR7fAk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jMt1oEsRUcOa0dBuKQeo/XOnxbFKD9jmVTZURApKGINfzfF8WqCFwY5ejMeE08sXW Cr3jHMZblVsil3UFr465yV81FkqKClV0nfgl3gmpIjPw2wFBCrrwIoxgougoUdWTyG bka/HwMbRNV4hcj/hITbEOuCdVreJL54CNOBlxH0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tedd Ho-Jeong An , Marcel Holtmann , Sasha Levin Subject: [PATCH 4.16 083/161] Bluetooth: btusb: Add support for Intel Bluetooth device 22560 [8087:0026] Date: Thu, 24 May 2018 11:38:28 +0200 Message-Id: <20180524093028.446779968@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524093018.331893860@linuxfoundation.org> References: <20180524093018.331893860@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Tedd Ho-Jeong An [ Upstream commit 1ce0cec1c14cda7e514fa21b36c0f035203b447d ] The Intel Bluetooth device 22560 family (HarrisonPeak, QnJ, and IcyPeak) use the same firmware loading mechanism as previous generation, so include new USB product ID and whitelist the hardware variant. T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 16 Spd=12 MxCh= 0 D: Ver= 2.01 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=8087 ProdID=0026 Rev= 0.01 C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=81(I) Atr=03(Int.) MxPS= 64 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 I: If#= 1 Alt= 6 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb E: Ad=03(O) Atr=01(Isoc) MxPS= 63 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 63 Ivl=1ms Signed-off-by: Tedd Ho-Jeong An Signed-off-by: Marcel Holtmann Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/bluetooth/btusb.c | 7 +++++++ 1 file changed, 7 insertions(+) --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -340,6 +340,7 @@ static const struct usb_device_id blackl /* Intel Bluetooth devices */ { USB_DEVICE(0x8087, 0x0025), .driver_info = BTUSB_INTEL_NEW }, + { USB_DEVICE(0x8087, 0x0026), .driver_info = BTUSB_INTEL_NEW }, { USB_DEVICE(0x8087, 0x07da), .driver_info = BTUSB_CSR }, { USB_DEVICE(0x8087, 0x07dc), .driver_info = BTUSB_INTEL }, { USB_DEVICE(0x8087, 0x0a2a), .driver_info = BTUSB_INTEL }, @@ -2086,6 +2087,8 @@ static int btusb_setup_intel_new(struct case 0x0c: /* WsP */ case 0x11: /* JfP */ case 0x12: /* ThP */ + case 0x13: /* HrP */ + case 0x14: /* QnJ, IcP */ break; default: BT_ERR("%s: Unsupported Intel hardware variant (%u)", @@ -2178,6 +2181,8 @@ static int btusb_setup_intel_new(struct break; case 0x11: /* JfP */ case 0x12: /* ThP */ + case 0x13: /* HrP */ + case 0x14: /* QnJ, IcP */ snprintf(fwname, sizeof(fwname), "intel/ibt-%u-%u-%u.sfi", le16_to_cpu(ver.hw_variant), le16_to_cpu(ver.hw_revision), @@ -2209,6 +2214,8 @@ static int btusb_setup_intel_new(struct break; case 0x11: /* JfP */ case 0x12: /* ThP */ + case 0x13: /* HrP */ + case 0x14: /* QnJ, IcP */ snprintf(fwname, sizeof(fwname), "intel/ibt-%u-%u-%u.ddc", le16_to_cpu(ver.hw_variant), le16_to_cpu(ver.hw_revision),