Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4026070imm; Mon, 11 Jun 2018 05:57:10 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKMy5uWpqE9IFiP20Fyg/XmhS+HY2SqPTmvtFwUzsrllBzEcuYguJqTmC49QJIQ3vTe4T2Z X-Received: by 2002:a62:1013:: with SMTP id y19-v6mr17345614pfi.166.1528721830772; Mon, 11 Jun 2018 05:57:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528721830; cv=none; d=google.com; s=arc-20160816; b=bIw6k6w90o8ykf4VdhniI5PFBWijaa7Dt3rRAwbkT4opOp1RI2Pnp7Qk7SLGWJ2p3S bgFVaIjtvilmPxfDwPebdEjGacSFB6k4muxFYWnCUPDVQpMlNeqds4akzaTsQLHQeP/P zz1dtWByQlNUp+5NChGwEuQHLtxjrLb0a5RxYg8FfK+qTYqF0SCg6RkeZJWXHp53ZqeX k3f7m4PeHOHZFozx/+ZSwzfMQ4Ekffsf9Enet4o/NO0epgiDQzuQ7METToaWnLexVdIB qVpuWMdk24nr2Ue/iYm/sRzjbYNpeslrn4qrobM85sSYIN8cxuoxB0SOXJV3MQiCtE3A H6Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:arc-authentication-results; bh=yrLTO75Radlvyh0nceHvWuymQ/VUcDWYVN8RbZ50kdQ=; b=zdoS9GCNmqyY7+4aMokq2hxXqXy632IN9uQSqNFXeZR4xReu+aK/FEyTKm8XPvjKYE TmO5dVAtwnYV7dDUNujyfhviN+CoRD4MKz45GFcAa6msDwCt9PQ7Ie7JeQHr67TIP92O Ny3v4ueurBnqReH9Di9kTlDV4AK6EtHGsmJHJlcom0JmaJAh72/quqp4BUYZu9VkCdqO IUzC6+t2+D4dMuXCVH8e2wx20PFI4fNWmNklzZ9eqqeH5WrQhPuutqTy8Op08FHi6JdY 510CyunxdNWljbZuj7JZj2V3AFzw0vK+Ut1i2vPTQG3ngde33bvUOT4mS188g+t1FRQ+ TAMg== ARC-Authentication-Results: i=1; mx.google.com; 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 33-v6si30780431ply.344.2018.06.11.05.56.56; Mon, 11 Jun 2018 05:57:10 -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; 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 S933163AbeFKM4Z convert rfc822-to-8bit (ORCPT + 99 others); Mon, 11 Jun 2018 08:56:25 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:52561 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932912AbeFKM4W (ORCPT ); Mon, 11 Jun 2018 08:56:22 -0400 Received: from marcel-macpro.fritz.box (p5B3D24B5.dip0.t-ipconnect.de [91.61.36.181]) by mail.holtmann.org (Postfix) with ESMTPSA id 1104ACF185; Mon, 11 Jun 2018 15:03:03 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: [PATCH v2 04/24] Bluetooth: hci_nokia: Add serdev_id_table From: Marcel Holtmann In-Reply-To: <20180611115240.32606-5-ricardo.ribalda@gmail.com> Date: Mon, 11 Jun 2018 14:56:20 +0200 Cc: LKML , linux-serial@vger.kernel.org, Johan Hedberg , Rob Herring , Johan Hovold , Andy Shevchenko , linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <94360989-9AA9-422D-9CA3-AA631731BD2D@holtmann.org> References: <20180611115240.32606-1-ricardo.ribalda@gmail.com> <20180611115240.32606-5-ricardo.ribalda@gmail.com> To: Ricardo Ribalda Delgado X-Mailer: Apple Mail (2.3445.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ricardo, > Describe which hardware is supported by the current driver. > > Cc: Marcel Holtmann > Cc: Johan Hedberg > Cc: Rob Herring > Cc: Johan Hovold > Cc: Andy Shevchenko > Cc: linux-bluetooth@vger.kernel.org > Signed-off-by: Ricardo Ribalda Delgado > --- > drivers/bluetooth/hci_nokia.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/bluetooth/hci_nokia.c b/drivers/bluetooth/hci_nokia.c > index 3539fd03f47e..eb3d59894aef 100644 > --- a/drivers/bluetooth/hci_nokia.c > +++ b/drivers/bluetooth/hci_nokia.c > @@ -801,6 +801,11 @@ static const struct of_device_id nokia_bluetooth_of_match[] = { > MODULE_DEVICE_TABLE(of, nokia_bluetooth_of_match); > #endif > > +static struct serdev_device_id nokia_bluetooth_serdev_id[] = { > + { "hp4-bluetooth", }, > + {} > +}; > + > static struct serdev_device_driver nokia_bluetooth_serdev_driver = { > .probe = nokia_bluetooth_serdev_probe, > .remove = nokia_bluetooth_serdev_remove, > @@ -809,6 +814,7 @@ static struct serdev_device_driver nokia_bluetooth_serdev_driver = { > .pm = &nokia_bluetooth_pm_ops, > .of_match_table = of_match_ptr(nokia_bluetooth_of_match), > }, > + .id_table = nokia_bluetooth_serdev_id, > }; as I said before, don’t bother with this driver. There is no need for this. Nothing is generic here, it is all specific for each of the 5 devices they shipped. Nokia is not building these kind of devices anymore and if they start changing their mind, then we add a patch for it listening this id. Regards Marcel