Message ID | 20230316172214.3899786-1-neeraj.sanjaykale@nxp.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp608632wrt; Thu, 16 Mar 2023 10:31:06 -0700 (PDT) X-Google-Smtp-Source: AK7set+mZ+zh6QZYCbEJCr1Ala8lmej9f8Qysx4NbqLYoUnu7gbWPPv/kAudvGuDCMpW/89OYNXt X-Received: by 2002:a17:902:f315:b0:1a0:4913:61f3 with SMTP id c21-20020a170902f31500b001a0491361f3mr3257153ple.37.1678987866408; Thu, 16 Mar 2023 10:31:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1678987866; cv=pass; d=google.com; s=arc-20160816; b=E9Rt20GcgQi46ouC0gDY2zaXf2PmVTQLVpqJ+cubI3MNSghqKa4irmWSUtzJEZGxM0 1vX8OjSqkdAzINVlnPk7INQlv9smNUIP7OgmE44r3YFEf2X59n4LpxQz4j2oqv12JG/M 2PzyGRbbGn8XQY69iyymY5cdP99ZafVS9ef3a0RMkWTdnumQYwiYA2BBzXuCA346o94T ZOLIPVTIlZAt1s9S7fL+fgzUZnq4y1EzFPspY0jWIxQ4rwrGZ4baaA1QhjmdM0wysgIW XPn7GEuGPtgjuBqv+eF4h8nkECYt7TpTfP5DUwYWNaZBrqGG6KKTllSa6DH6hvNNXOWc 0pQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=IBuEIgLY6/KqoX4NxB46slkiVwwTMHvRbcdcW8VLcqY=; b=OBf989FqjiCtV3hogW7c4zHzlyABVZxwhrJNTwFyjf76wL64Fey4V0oJs5YSwuurQ/ MYdF3pfBPkOwoLGbKYK4n7tjDHVkoCft2LFTm52FnVL2X4yyUzWRmAd5+X7fT55f+tbH UZKdt11LWQMxSb+F2gd9+LKm3hqXmKMe7D5esiB8fSjUNi8fk0Pgei/gGCTPepXqywHA +fbwEhBaoDeYu2IDARuwbkc+91EzqdMRDlLgaat8jPYR2vHZl3YdBpJjQfKVvuh1RXqz 1KfmWxAx+iqNK+O/sqQnCmeTK+3s/uqC+3cdcb0ED/90HSXP4Lfut53i+n5TfzhiHMkA Fhkg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=YvPIBmEu; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b15-20020a170902e94f00b001a067e3b1edsi7958341pll.592.2023.03.16.10.30.50; Thu, 16 Mar 2023 10:31:06 -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=@nxp.com header.s=selector2 header.b=YvPIBmEu; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); 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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229733AbjCPRWu (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Thu, 16 Mar 2023 13:22:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjCPRWs (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 16 Mar 2023 13:22:48 -0400 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2083.outbound.protection.outlook.com [40.107.13.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD58EB78B4; Thu, 16 Mar 2023 10:22:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nghpRTnNa3iGkzXD6RfnBhiey1cYHpHUGERpMgY14OxGUcxVWi9oB4ncsUbJLKqzJUNvJYLhCSVhHe6ge73mCeDlVTA26esXz2FQ1ruRAD12hFjfP0HfdpSfGeGyGnjEFAFJpubwnc/KovHqjgBf489SoiMIzrln/g8JHk3Yo+Pgvtawf+DDDfBPSkYssUaOfjqduhPH7jheVNRjf+LGFmUnhz8NXJ6MzCwat8gaimlHMknhVtRSP6hpSrp0WxbIiXAvAOyuXfuLA4K/7SvnyY/mjrDOxE2PSw3YuCsfExAyIbcWnYP0k7+y44UJIEC049r8THsRaSdd5YHnf9xIjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IBuEIgLY6/KqoX4NxB46slkiVwwTMHvRbcdcW8VLcqY=; b=OUrusUHD4U40/etXE1ybPl2Dc5vDCHy3izIBJK31Nuz0iYN4a+10/x2o/5BkrvtOKg6wxB3aUx5Z5xAE5YBvnf2Vxkfuct3nkMnQAx3o3NQEZwXkB+asvcqzcPWDxxnC6r2ox1Jpp8Ah0SAslMUVHyoqxsjVya+Do9X9Hg2YQcnldIz09LvHejSXjICuS8Hrqc3Unt9oPNrls5buKpvFiNrsp53DwwyfBy6GU8/GF5ow7ZcQ8F8fnic+Uc/uUnuRh1of+IoTA+O5UqTThfQia+4KNOewmqd7EV1Hiljzbc5xgBBOA3JVrawCMFABxB53s5DmPKOr1muYkO+yH51omg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IBuEIgLY6/KqoX4NxB46slkiVwwTMHvRbcdcW8VLcqY=; b=YvPIBmEuMEqVPmBFaBRaiyxIVKmbbZB2lMfb/ae8FGhNmJ7e3k7U9Jx8LfcCdZLVYPhIRwN4n6vByf0tNqGuf3wGyZ74G5JZMgqfzyJDeo+PVqLxYXe+ZaqNNgJjyz370X1gpKqDuDdH3agLIvQfK5GFvxxacX84kJ7pRvkUH8U= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8600.eurprd04.prod.outlook.com (2603:10a6:10:2db::12) by PA4PR04MB9293.eurprd04.prod.outlook.com (2603:10a6:102:2a4::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.26; Thu, 16 Mar 2023 17:22:43 +0000 Received: from DU2PR04MB8600.eurprd04.prod.outlook.com ([fe80::d590:6d9a:9f14:95b9]) by DU2PR04MB8600.eurprd04.prod.outlook.com ([fe80::d590:6d9a:9f14:95b9%8]) with mapi id 15.20.6178.031; Thu, 16 Mar 2023 17:22:43 +0000 From: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com> To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, gregkh@linuxfoundation.org, jirislaby@kernel.org, alok.a.tiwari@oracle.com, hdanton@sina.com, ilpo.jarvinen@linux.intel.com, leon@kernel.org, simon.horman@corigine.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-serial@vger.kernel.org, amitkumar.karwar@nxp.com, rohit.fule@nxp.com, sherry.sun@nxp.com, neeraj.sanjaykale@nxp.com Subject: [PATCH v13 0/4] Add support for NXP bluetooth chipsets Date: Thu, 16 Mar 2023 22:52:10 +0530 Message-Id: <20230316172214.3899786-1-neeraj.sanjaykale@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SG3P274CA0007.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::19) To DU2PR04MB8600.eurprd04.prod.outlook.com (2603:10a6:10:2db::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8600:EE_|PA4PR04MB9293:EE_ X-MS-Office365-Filtering-Correlation-Id: 7cde76ea-befe-407f-e627-08db26430d08 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: F1WpSVBA4euVRQcEt3iSyRreo/8sFYLKojMFFUOqU2X06x0BQM1NQ8eqhcuk8Q5GpjglWgyWturEMSli7JPoPU+XohDp9jpE3vSBgxxwi0J3DEaE+29uQ1zR1MngCSkJTJEoXewDXvh8HQ5xQhFVh+OsoG/8mi51mWm5GWlQSdcW2K9eTxzogxw1IuHcor0y7fgSZWJPtQ++3mZyuWX9UOIMDLuCljyFf8cSsBVLpHmIZeuWaTizLb9zt4gNNspsfCNmkTNDr4r7VyCoXQR0owCLY3+UnE9/OtfrZtRlXRNW5y45eyZALWYi9kWbHiDAmF7v1cA9fErOVIuObhio4VM84P1hYlSf6z5tIK+wUd+gszA3l2fnCjj8gn1C/zWJckG7GHYm9QGSG1jHWed0jQiEs3V1rtJykEfeSxUjztsakaNnEu0z3bCPMIqH1keLvpOLHVfRYwUVRh3kV6rCHeYy543Uzso6VxxiLd9GBkXDuQDAY6wDXdss2bLmUDscX5bAMK2t4CQhcwnmsYcXIPLz6272CGfVWAUcKw12Mjb7faf4YPR9xON6B+lmzFQbzVbgjtghkWytOdDh5Xacdu+GjYmCk+EUqHM/FaEBgwiodijI1jvZhnJ5NEMptR5y+ycFHSd1jrUy4+oHqdnldKnBVy1u/+fbCveECh58Z9FR8TcwP+yj7wEuiehFrxa+GmuFU40OAuCnbuFARl5/raormPIixV86aiUcV4CKyIs= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8600.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(396003)(346002)(39860400002)(366004)(376002)(136003)(451199018)(6486002)(52116002)(6512007)(6506007)(1076003)(478600001)(26005)(83380400001)(2616005)(6666004)(66476007)(66946007)(316002)(186003)(66556008)(2906002)(41300700001)(4326008)(8936002)(5660300002)(8676002)(7416002)(38350700002)(38100700002)(921005)(36756003)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?b3AGFbHM1vDScfVHQDMG0V6Zaryo?= =?utf-8?q?nhq6z0Iyz3tUpfk5GArgP7bsYKQBvGU6O7oFvxqKaHgkJtL8mYNUzB3Pm7hZE5jW0?= =?utf-8?q?+y69hbVgeX6V0fgpmHFaQVn+adOuurEF8eM2qBHRF6ozpBS83yVZJMYbgZBfT4DdJ?= =?utf-8?q?GLcHM62d8ENUfIF7DV5AZf/tuS1L4pGVem+w01DRCEFg3rprGyNFb/9VxV1rLaLoS?= =?utf-8?q?bvX+dwYyICSnB7vw/bAxnqEVNheJAXjWMAsz9lkiHioB7zpKP9yn4JWk9ZkKa+sW7?= =?utf-8?q?IVpQwSXBwkw36iKq9p9iROecTnGGQRuRurYGrahi42KQ0MrO9+CqzzJEZM6bhXero?= =?utf-8?q?jGHACfWQBerOxdEok0YTDubyCXKvfsIK6lo7WhYLvn0AU+AzLOIJC7Xue/BzOyr/7?= =?utf-8?q?QeJ8sDZNl6AfEZdubpH9EkKpg0QGE5Gt/tC05QHvG/5Xm9A6btwzWujR5xL1sDmJe?= =?utf-8?q?gsnc4sGB19ZgJ+29G7G2FZclfY/hiSLe9s7UDRFphsWS2Ddu/by8He1mnTnbJAuhI?= =?utf-8?q?tlpMrCqZQq6MB1H4+olfjRpQc2FIdkPL0sw7mO+i6fsLLUBDlFEIiuJnj7viyJB9r?= =?utf-8?q?Ovja8Wd9eUjPU72bO+Lj61X8rDD1ehJhtjYQi74/zULVKKQk5nu049E6rPMdoaL3o?= =?utf-8?q?Z9Xlkp+9L2bJa3Sf4d5jukaDX46JWHWGGuHHKmoX8FrMkb/UfNapYC6Y7ccnh/PxQ?= =?utf-8?q?mYx3IbPAIs8BVhEJRkDm/dl4BtsTGrEBDBeKBHhina/bBCzeYLS92B6OFT/upkkZD?= =?utf-8?q?3iLn9Ufvqb3JwexngzRLLWQIVoVHe8ACfeATEevaQzZZIhxXf/+8b4FG0KH9usBFE?= =?utf-8?q?VjTfYsM2qT0NKdF/kM3UX43yvyWkGrPFlUZaiZnTLOA5aJVJP0bBCKgwRt+eQUjv7?= =?utf-8?q?ay+9xflhCFCsCcq2NH+aYBpOcFkl2+Kf+WJbHAW96daBMc5R/ydp4BI2xm90aGKGo?= =?utf-8?q?zHkXWbaWBM0Ub77W2B+VpFKw6g4DHXvweTtPIAwhOs/gD/5+I4hGn3jmNKLCprzKs?= =?utf-8?q?J4BI61Dj4LAKKvSE3pfnLyepqQHxKqLye3WS8JoOfid8sG9OeMe8BqVJnSFYV4ScP?= =?utf-8?q?WT6V7KROUbLQ7jdyXW9yavhYpXey581TsqZNwBeYSdN/v7FnIPvrEHcxTkSZ9OJP3?= =?utf-8?q?ekCCWgczNdCvFgAmU+uZgAwU3XIae0FNr1HPG1XaD8r48j4czMbWpQawSTn9v5EeT?= =?utf-8?q?Wkq1LWE1DP3BmRz8c19l/lRJkzIrynj/YjVz+lB7gbMzAiNF5dds9x0jaNr/cyZVl?= =?utf-8?q?rbberrVbRY8sd4h7u6Go2oeksN3Smi8bpgi5AFaYSmH4yry4Vfw9chuqU0skfRD9p?= =?utf-8?q?8uu3URLF2SP2LZmBEBa2tyZRgxQOyUCofGIH3UHaxosCxWrHU82nWMuwAnf5BaRrC?= =?utf-8?q?7EXIOm+TxtQwMtiVOzCz3NiIALCWS66KOh2FNvb5dgXo5uvIN9bJYTIpVRPA6Y1ze?= =?utf-8?q?4V/A7yszZp9wDAp2LW7kx/I/yYII6Svrs7DowyEn9gWDY62DYgxpn5NzwP8teEUJL?= =?utf-8?q?qVN8mKAXj2Oy9DCTsjmF56Hrkn5PZQc/Jg=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7cde76ea-befe-407f-e627-08db26430d08 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8600.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Mar 2023 17:22:43.0313 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: PWBFNo3qe7+kuoQC2NeAnSwro9O5Y9CDVzJnMySEuVsQ72FoCAC7XIkTGdijRqT0lD33M47lhwk8WEfmiEzpCLFmRuoXwl1kjb7noTC/yW0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB9293 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760546380923688125?= X-GMAIL-MSGID: =?utf-8?q?1760546380923688125?= |
Series |
Add support for NXP bluetooth chipsets
|
|
Message
Neeraj Sanjay Kale
March 16, 2023, 5:22 p.m. UTC
This patch adds a driver for NXP bluetooth chipsets. The driver is based on H4 protocol, and uses serdev APIs. It supports host to chip power save feature, which is signalled by the host by asserting break over UART TX lines, to put the chip into sleep state. To support this feature, break_ctl has also been added to serdev-tty along with a new serdev API serdev_device_break_ctl(). This driver is capable of downloading firmware into the chip over UART. The document specifying device tree bindings for this driver is also included in this patch series. Neeraj Sanjay Kale (4): serdev: Replace all instances of ENOTSUPP with EOPNOTSUPP serdev: Add method to assert break signal over tty UART port dt-bindings: net: bluetooth: Add NXP bluetooth support Bluetooth: NXP: Add protocol support for NXP Bluetooth chipsets .../net/bluetooth/nxp,88w8987-bt.yaml | 45 + MAINTAINERS | 7 + drivers/bluetooth/Kconfig | 12 + drivers/bluetooth/Makefile | 1 + drivers/bluetooth/btnxpuart.c | 1297 +++++++++++++++++ drivers/tty/serdev/core.c | 17 +- drivers/tty/serdev/serdev-ttyport.c | 16 +- include/linux/serdev.h | 10 +- 8 files changed, 1398 insertions(+), 7 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml create mode 100644 drivers/bluetooth/btnxpuart.c
Comments
Hi Neeraj, On Thu, Mar 16, 2023 at 10:22 AM Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com> wrote: > > This patch adds a driver for NXP bluetooth chipsets. > > The driver is based on H4 protocol, and uses serdev APIs. It supports host > to chip power save feature, which is signalled by the host by asserting > break over UART TX lines, to put the chip into sleep state. > > To support this feature, break_ctl has also been added to serdev-tty along > with a new serdev API serdev_device_break_ctl(). > > This driver is capable of downloading firmware into the chip over UART. > > The document specifying device tree bindings for this driver is also > included in this patch series. > > Neeraj Sanjay Kale (4): > serdev: Replace all instances of ENOTSUPP with EOPNOTSUPP > serdev: Add method to assert break signal over tty UART port > dt-bindings: net: bluetooth: Add NXP bluetooth support > Bluetooth: NXP: Add protocol support for NXP Bluetooth chipsets > > .../net/bluetooth/nxp,88w8987-bt.yaml | 45 + > MAINTAINERS | 7 + > drivers/bluetooth/Kconfig | 12 + > drivers/bluetooth/Makefile | 1 + > drivers/bluetooth/btnxpuart.c | 1297 +++++++++++++++++ > drivers/tty/serdev/core.c | 17 +- > drivers/tty/serdev/serdev-ttyport.c | 16 +- > include/linux/serdev.h | 10 +- > 8 files changed, 1398 insertions(+), 7 deletions(-) > create mode 100644 Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml > create mode 100644 drivers/bluetooth/btnxpuart.c > > -- > 2.34.1 If there are no new comments to be addressed by the end of the day I'm planning to merge this into bluetooth-next.
On Fri, Mar 17, 2023 at 01:00:11PM -0700, Luiz Augusto von Dentz wrote: > Hi Neeraj, > > On Thu, Mar 16, 2023 at 10:22 AM Neeraj Sanjay Kale > <neeraj.sanjaykale@nxp.com> wrote: > > > > This patch adds a driver for NXP bluetooth chipsets. > > > > The driver is based on H4 protocol, and uses serdev APIs. It supports host > > to chip power save feature, which is signalled by the host by asserting > > break over UART TX lines, to put the chip into sleep state. > > > > To support this feature, break_ctl has also been added to serdev-tty along > > with a new serdev API serdev_device_break_ctl(). > > > > This driver is capable of downloading firmware into the chip over UART. > > > > The document specifying device tree bindings for this driver is also > > included in this patch series. > > > > Neeraj Sanjay Kale (4): > > serdev: Replace all instances of ENOTSUPP with EOPNOTSUPP > > serdev: Add method to assert break signal over tty UART port > > dt-bindings: net: bluetooth: Add NXP bluetooth support > > Bluetooth: NXP: Add protocol support for NXP Bluetooth chipsets > > > > .../net/bluetooth/nxp,88w8987-bt.yaml | 45 + > > MAINTAINERS | 7 + > > drivers/bluetooth/Kconfig | 12 + > > drivers/bluetooth/Makefile | 1 + > > drivers/bluetooth/btnxpuart.c | 1297 +++++++++++++++++ > > drivers/tty/serdev/core.c | 17 +- > > drivers/tty/serdev/serdev-ttyport.c | 16 +- > > include/linux/serdev.h | 10 +- > > 8 files changed, 1398 insertions(+), 7 deletions(-) > > create mode 100644 Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml > > create mode 100644 drivers/bluetooth/btnxpuart.c > > > > -- > > 2.34.1 > > If there are no new comments to be addressed by the end of the day I'm > planning to merge this into bluetooth-next. FWIIW, as someone involved in the review of this series, I am fine with that. Even though I have only supplied tags for some of the patches; those for which I feel that it is appropriate.
Hi Simon, On Fri, Mar 17, 2023 at 1:42 PM Simon Horman <simon.horman@corigine.com> wrote: > > On Fri, Mar 17, 2023 at 01:00:11PM -0700, Luiz Augusto von Dentz wrote: > > Hi Neeraj, > > > > On Thu, Mar 16, 2023 at 10:22 AM Neeraj Sanjay Kale > > <neeraj.sanjaykale@nxp.com> wrote: > > > > > > This patch adds a driver for NXP bluetooth chipsets. > > > > > > The driver is based on H4 protocol, and uses serdev APIs. It supports host > > > to chip power save feature, which is signalled by the host by asserting > > > break over UART TX lines, to put the chip into sleep state. > > > > > > To support this feature, break_ctl has also been added to serdev-tty along > > > with a new serdev API serdev_device_break_ctl(). > > > > > > This driver is capable of downloading firmware into the chip over UART. > > > > > > The document specifying device tree bindings for this driver is also > > > included in this patch series. > > > > > > Neeraj Sanjay Kale (4): > > > serdev: Replace all instances of ENOTSUPP with EOPNOTSUPP > > > serdev: Add method to assert break signal over tty UART port > > > dt-bindings: net: bluetooth: Add NXP bluetooth support > > > Bluetooth: NXP: Add protocol support for NXP Bluetooth chipsets > > > > > > .../net/bluetooth/nxp,88w8987-bt.yaml | 45 + > > > MAINTAINERS | 7 + > > > drivers/bluetooth/Kconfig | 12 + > > > drivers/bluetooth/Makefile | 1 + > > > drivers/bluetooth/btnxpuart.c | 1297 +++++++++++++++++ > > > drivers/tty/serdev/core.c | 17 +- > > > drivers/tty/serdev/serdev-ttyport.c | 16 +- > > > include/linux/serdev.h | 10 +- > > > 8 files changed, 1398 insertions(+), 7 deletions(-) > > > create mode 100644 Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml > > > create mode 100644 drivers/bluetooth/btnxpuart.c > > > > > > -- > > > 2.34.1 > > > > If there are no new comments to be addressed by the end of the day I'm > > planning to merge this into bluetooth-next. > > FWIIW, as someone involved in the review of this series, I am fine with that. > Even though I have only supplied tags for some of the patches; > those for which I feel that it is appropriate. Thanks for the feedback and the review as well.
Hello: This series was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>: On Thu, 16 Mar 2023 22:52:10 +0530 you wrote: > This patch adds a driver for NXP bluetooth chipsets. > > The driver is based on H4 protocol, and uses serdev APIs. It supports host > to chip power save feature, which is signalled by the host by asserting > break over UART TX lines, to put the chip into sleep state. > > To support this feature, break_ctl has also been added to serdev-tty along > with a new serdev API serdev_device_break_ctl(). > > [...] Here is the summary with links: - [v13,1/4] serdev: Replace all instances of ENOTSUPP with EOPNOTSUPP https://git.kernel.org/bluetooth/bluetooth-next/c/d227f286d259 - [v13,2/4] serdev: Add method to assert break signal over tty UART port https://git.kernel.org/bluetooth/bluetooth-next/c/5ea260df53c2 - [v13,3/4] dt-bindings: net: bluetooth: Add NXP bluetooth support https://git.kernel.org/bluetooth/bluetooth-next/c/02986ce4a4fe - [v13,4/4] Bluetooth: NXP: Add protocol support for NXP Bluetooth chipsets https://git.kernel.org/bluetooth/bluetooth-next/c/3e662aa4453a You are awesome, thank you!