[v1,1/2] mmc: add SDIO identifiers for MediaTek Bluetooth devices
diff mbox series

Message ID 97d7949c00bd78f8ec282fb9cd380ad161244616.1552007059.git.sean.wang@mediatek.com
State New
Headers show
Series
  • Bluetooth: mediatek: add support for MediaTek MT7663S and MT7668S SDIO devices
Related show

Commit Message

Sean Wang March 8, 2019, 1:15 a.m. UTC
From: Sean Wang <sean.wang@mediatek.com>

The SDIO identifier for MediaTek Bluetooth devices were defined in the
MediaTek Bluetooth driver. Moving the definitions in MMC header file
seems common sense.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
---
 include/linux/mmc/sdio_ids.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Marcel Holtmann March 11, 2019, 4:38 p.m. UTC | #1
Hi Sean,

> The SDIO identifier for MediaTek Bluetooth devices were defined in the
> MediaTek Bluetooth driver. Moving the definitions in MMC header file
> seems common sense.
> 
> Signed-off-by: Sean Wang <sean.wang@mediatek.com>
> ---
> include/linux/mmc/sdio_ids.h | 2 ++
> 1 file changed, 2 insertions(+)

patch has been applied to bluetooth-next tree.

Can we also update the sdio.ids database inside systemd.

https://github.com/systemd/systemd/blob/master/hwdb/sdio.ids

Regards

Marcel
Sean Wang March 11, 2019, 9:41 p.m. UTC | #2
On Mon, 2019-03-11 at 17:38 +0100, Marcel Holtmann wrote:
> Hi Sean,
> 
> > The SDIO identifier for MediaTek Bluetooth devices were defined in the
> > MediaTek Bluetooth driver. Moving the definitions in MMC header file
> > seems common sense.
> > 
> > Signed-off-by: Sean Wang <sean.wang@mediatek.com>
> > ---
> > include/linux/mmc/sdio_ids.h | 2 ++
> > 1 file changed, 2 insertions(+)
> 
> patch has been applied to bluetooth-next tree.
> 
> Can we also update the sdio.ids database inside systemd.
> 
> https://github.com/systemd/systemd/blob/master/hwdb/sdio.ids
> 


Sure, thanks for showing me the information and I'll update the database
for the card.

> Regards
> 
> Marcel
> 
> 
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek

Patch
diff mbox series

diff --git a/include/linux/mmc/sdio_ids.h b/include/linux/mmc/sdio_ids.h
index 4332199c71c2..d1a5d5df02f5 100644
--- a/include/linux/mmc/sdio_ids.h
+++ b/include/linux/mmc/sdio_ids.h
@@ -59,6 +59,8 @@ 
 #define SDIO_DEVICE_ID_MARVELL_8797_F0		0x9128
 #define SDIO_DEVICE_ID_MARVELL_8887WLAN	0x9134
 
+#define SDIO_VENDOR_ID_MEDIATEK			0x037a
+
 #define SDIO_VENDOR_ID_SIANO			0x039a
 #define SDIO_DEVICE_ID_SIANO_NOVA_B0		0x0201
 #define SDIO_DEVICE_ID_SIANO_NICE		0x0202