From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH v4 1/2] Bluetooth: hci_h5: Add the Realtek compatible flags for the device tree References: <20190121203928.32723-1-beagleboard@davidjohnsummers.uk> From: David Summers Message-ID: <5a99337a-c33b-7dd6-dbdb-6945ec976ea4@davidjohnsummers.uk> Date: Sat, 26 Jan 2019 14:28:58 +0000 MIME-Version: 1.0 In-Reply-To: <20190121203928.32723-1-beagleboard@davidjohnsummers.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-PH To: David Summers , robh+dt@kernel.org, mark.rutland@arm.com, marcel@holtmann.org, johan.hedberg@gmail.com Cc: linux-bluetooth@vger.kernel.org, devicetree@vger.kernel.org List-ID: This patch has been withdrawn. On 21/01/2019 20:39, David Summers wrote: > With the changes requested by Marcel Holtmann and Rob Herring. > > The patch is unchanged, but subject changed to the norm. > > Signed-off-by: David Summers > --- > drivers/bluetooth/hci_h5.c | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c > index 8eede1197cd2..056ab2decccc 100644 > --- a/drivers/bluetooth/hci_h5.c > +++ b/drivers/bluetooth/hci_h5.c > @@ -925,6 +925,22 @@ static struct h5_vnd rtl_vnd = { > }; > #endif > > +#ifdef CONFIG_OF > +static const struct of_device_id h5_of_match[] = { > +#ifdef CONFIG_BT_HCIUART_RTL > + { .compatible = "realtek,rtl8723as-bt"}, > + { .compatible = "realtek,rtl8723bs-bt"}, > + { .compatible = "realtek,rtl8723ds-bt"}, > + { .compatible = "realtek,rtl8761atv"}, > + { .compatible = "realtek,rtl8821as-bt"}, > + { .compatible = "realtek,rtl8821cs-bt"}, > + { .compatible = "realtek,rtl8822bs-bt"}, > +#endif > + { } > +}; > +MODULE_DEVICE_TABLE(of, h5_of_match); > +#endif > + > #ifdef CONFIG_ACPI > static const struct acpi_device_id h5_acpi_match[] = { > #ifdef CONFIG_BT_HCIUART_RTL