devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 1/2] Bluetooth: hci_h5: Add the Realtek compatible flags for the device tree
@ 2019-01-21 20:39 David Summers
  2019-01-21 20:39 ` [PATCH v4 2/2] dt-bindings: Create the file for Realtek Bluetooth serial devices David Summers
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: David Summers @ 2019-01-21 20:39 UTC (permalink / raw)
  To: robh+dt, mark.rutland, marcel, johan.hedberg
  Cc: David Summers, linux-bluetooth, devicetree

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 <beagleboard@davidjohnsummers.uk>
---
 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
-- 
beagleboard@davidjohnsummers.uk

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-01-26 14:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-21 20:39 [PATCH v4 1/2] Bluetooth: hci_h5: Add the Realtek compatible flags for the device tree David Summers
2019-01-21 20:39 ` [PATCH v4 2/2] dt-bindings: Create the file for Realtek Bluetooth serial devices David Summers
2019-01-22  2:40   ` Chen-Yu Tsai
2019-01-25 18:55     ` David Summers
2019-01-25 19:03     ` David Summers
2019-01-25 19:46   ` Rob Herring
2019-01-26 14:26     ` David Summers
2019-01-22  2:42 ` [PATCH v4 1/2] Bluetooth: hci_h5: Add the Realtek compatible flags for the device tree Chen-Yu Tsai
2019-01-26 14:28 ` David Summers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).