Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3968198imm; Mon, 11 Jun 2018 05:00:56 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKraRIsGrzYVVq3jV6T+J1/BY73fCbipgVQnaBKLV57ewL0kJPpSlzx0V9GaSAvks8XnZ8R X-Received: by 2002:a65:65ca:: with SMTP id y10-v6mr5940987pgv.359.1528718456286; Mon, 11 Jun 2018 05:00:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528718456; cv=none; d=google.com; s=arc-20160816; b=PVwtCDwPhwOnikT7jjvuipGBZFaH0C/Hxj1/9VyF9ANhSSqUe2LsDuxGn9g8DIDrN9 dDRCye5NpI32al5pnTJ1PwFkw1mLkBSW/TktLUFHjVpuno8uRc8BZ18K1wWjJQnk2Gmh PR8zSzI1YP8H99IqwAUxMjRkbDlXCogpdO8dSB/kayReYUc/dhICwRq3lSyBaaWvU8at mk6wm17oqMBJw7J6Fz42HLDgq2cB54ATi/EAdRiKtqWNNARcQSJEf+yLIwSgy5hOO+F9 Pxn95G+m+hK66QSLIsE9L4mAp3p2WskOX0tdw04HGc1EcLH4CjJ6/LCXb+AH46Y+Evco HAvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=ZJrLI/VuqBYag/UozRd6+0YNWDier7XViH34iN010c8=; b=zDjt6q0JfqfK7NGhIdSdDE2FXmGQ8fb2w53eaC8orhFawEdgCCFKYDDnSVf/UTjhkb mcCGpDIAeBjiOmcXtw/T+HsuhRDLYr1tfZDdqgIB7BdEHrOLAg+ZNwV5BRZBQ0vdgP8R dQBykXv0umOUUFaQi/uHWGvialxdi0WTkPGDIwj81tqGn27YmRF+YcCjGDD2gRV62Vo2 h4YtPo1xh90ILQbUoXqEAUlTF8b9Y23KNckcPi7MbGv7/6BUU9EiSbUzTah2qAhZWnqQ KWp6Jf6/gNKSEFkXS3rOEanDqEeRnf16yRO2j49/zB1LQ9lxJsDF071EUYq1DGM2hfGt ArZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ahfOeVR8; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l187-v6si12626399pfc.87.2018.06.11.05.00.41; Mon, 11 Jun 2018 05:00: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=@gmail.com header.s=20161025 header.b=ahfOeVR8; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933225AbeFKL6q (ORCPT + 99 others); Mon, 11 Jun 2018 07:58:46 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:37342 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932978AbeFKLw7 (ORCPT ); Mon, 11 Jun 2018 07:52:59 -0400 Received: by mail-lf0-f67.google.com with SMTP id g21-v6so28109921lfb.4; Mon, 11 Jun 2018 04:52:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZJrLI/VuqBYag/UozRd6+0YNWDier7XViH34iN010c8=; b=ahfOeVR84gvf5MuZ+MyooHku0ulk8W7Wgkp8m6kNXQBML0X/H7urIWHwwo1nbjQFch t0OOl2WezbCdV7DPY1rLag/5t12WRfBsQNvGov/Qc/LHS6bInMKxj7C+DQxjx14xaeyf bg+Q8pvRX0OhU3QAU+41txq2jMQ61HpI7ULlPsOdhjPk9+g0e+oAeyHH1EGbBtPVhJ+R BfTW5XHSuaeOJ2kP13Ozq44UvHri18aQHUScSxpSQPdJx1y84ZKr+WnKvidiN60lLICj JvQsz9Hs4ktxjB36DbSbMl29uDkmqDowh1/GUMBuD259Mj6Pe6hIViXEtTytgjEaMTxo M+cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZJrLI/VuqBYag/UozRd6+0YNWDier7XViH34iN010c8=; b=OjKoP3rRXDKvdthLNcZfz89dh5EIk0GCibU5lkvquIehc8l6FWXzdcGH0c1IFdNr/6 1iawGnJlUBZSAI0ELtsWFQWQIzCuo+ZnokAymfaQa9a3ohONHEFCpgNTp8j1xSGMVxXT 43PCWDGYeltGgX/FcVnXlSKdTypfbFElrPs4gzDr8VwhzaIwyRUovAVylNp2Mguyv0jM +N3fEMaDokQ/JU1X/i3ZIJ0UpiBd7OFPkPER2Buo2BNrixO8uLTaR6sozWNvBwIykMLT agVcVeYD2BzsSIPcZu1stbm7ns5iic74EuL33k6ZrNFX0Wbdb1MaPrJlFPXCg8nqyjGK sqtA== X-Gm-Message-State: APt69E3+AgJzmNIYtNvcu2xaA3H1/BtOOSduSXsT+3QVjvmSadl5cu83 t6ZkoP+ZgdInoVlawbVEap4/7+iN X-Received: by 2002:a19:15da:: with SMTP id 87-v6mr10733932lfv.136.1528717976978; Mon, 11 Jun 2018 04:52:56 -0700 (PDT) Received: from neopili.qtec.com (cpe.xe-3-0-1-778.vbrnqe10.dk.customer.tdc.net. [80.197.57.18]) by smtp.gmail.com with ESMTPSA id h90-v6sm8332849ljf.65.2018.06.11.04.52.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jun 2018 04:52:54 -0700 (PDT) From: Ricardo Ribalda Delgado To: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Ricardo Ribalda Delgado , Marcel Holtmann , Johan Hedberg , Rob Herring , Johan Hovold , linux-bluetooth@vger.kernel.org Subject: [PATCH v2 03/24] Bluetooth: hci_ll: Add serdev_id_table Date: Mon, 11 Jun 2018 13:52:19 +0200 Message-Id: <20180611115240.32606-4-ricardo.ribalda@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180611115240.32606-1-ricardo.ribalda@gmail.com> References: <20180611115240.32606-1-ricardo.ribalda@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Describe which hardware is supported by the current driver. Cc: Marcel Holtmann Cc: Johan Hedberg Cc: Rob Herring Cc: Johan Hovold Cc: linux-bluetooth@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado --- drivers/bluetooth/hci_ll.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/drivers/bluetooth/hci_ll.c b/drivers/bluetooth/hci_ll.c index 27e414b4e3a2..276fdf677df4 100644 --- a/drivers/bluetooth/hci_ll.c +++ b/drivers/bluetooth/hci_ll.c @@ -776,6 +776,23 @@ static const struct of_device_id hci_ti_of_match[] = { }; MODULE_DEVICE_TABLE(of, hci_ti_of_match); +static struct serdev_device_id hci_ti_id[] = { + { "cc2560", }, + { "wl1271-st", }, + { "wl1273-st", }, + { "wl1281-st", }, + { "wl1283-st", }, + { "wl1285-st", }, + { "wl1801-st", }, + { "wl1805-st", }, + { "wl1807-st", }, + { "wl1831-st", }, + { "wl1835-st", }, + { "wl1837-st", }, + {} +}; +MODULE_DEVICE_TABLE(serdev, hci_ti_id); + static struct serdev_device_driver hci_ti_drv = { .driver = { .name = "hci-ti", @@ -783,6 +800,7 @@ static struct serdev_device_driver hci_ti_drv = { }, .probe = hci_ti_probe, .remove = hci_ti_remove, + .id_table = hci_ti_id, }; #else #define ll_setup NULL -- 2.17.1