dragonboard: bluetooth support

Signed-off-by: August <mingxin.android@gmail.com>
This commit is contained in:
August 2018-07-28 22:34:03 +08:00
parent eaac9421b7
commit 4a9de8f073
5 changed files with 18 additions and 15 deletions

View file

@ -1015,9 +1015,12 @@ CONFIG_NET_FLOW_LIMIT=y
# CONFIG_IRDA is not set # CONFIG_IRDA is not set
CONFIG_BT=y CONFIG_BT=y
CONFIG_BT_BREDR=y CONFIG_BT_BREDR=y
# CONFIG_BT_RFCOMM is not set CONFIG_BT_RFCOMM=y
# CONFIG_BT_BNEP is not set CONFIG_BT_RFCOMM_TTY=y
# CONFIG_BT_HIDP is not set CONFIG_BT_BNEP=y
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=y
CONFIG_BT_HS=y CONFIG_BT_HS=y
CONFIG_BT_LE=y CONFIG_BT_LE=y
# CONFIG_BT_LEDS is not set # CONFIG_BT_LEDS is not set
@ -1032,10 +1035,10 @@ CONFIG_BT_DEBUGFS=y
# CONFIG_BT_HCIBTSDIO is not set # CONFIG_BT_HCIBTSDIO is not set
CONFIG_BT_HCIUART=y CONFIG_BT_HCIUART=y
CONFIG_BT_HCIUART_H4=y CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y # CONFIG_BT_HCIUART_BCSP is not set
# CONFIG_BT_HCIUART_ATH3K is not set # CONFIG_BT_HCIUART_ATH3K is not set
# CONFIG_BT_HCIUART_LL is not set # CONFIG_BT_HCIUART_LL is not set
CONFIG_BT_HCIUART_3WIRE=y # CONFIG_BT_HCIUART_3WIRE is not set
# CONFIG_BT_HCIUART_INTEL is not set # CONFIG_BT_HCIUART_INTEL is not set
# CONFIG_BT_HCIUART_BCM is not set # CONFIG_BT_HCIUART_BCM is not set
# CONFIG_BT_HCIUART_QCA is not set # CONFIG_BT_HCIUART_QCA is not set
@ -1045,8 +1048,8 @@ CONFIG_BT_HCIUART_3WIRE=y
# CONFIG_BT_HCIBPA10X is not set # CONFIG_BT_HCIBPA10X is not set
# CONFIG_BT_HCIBFUSB is not set # CONFIG_BT_HCIBFUSB is not set
# CONFIG_BT_HCIVHCI is not set # CONFIG_BT_HCIVHCI is not set
# CONFIG_BCM_BT_LPM is not set CONFIG_BCM_BT_LPM=m
CONFIG_RTL_BT_LPM=m # CONFIG_RTL_BT_LPM is not set
# CONFIG_BT_MRVL is not set # CONFIG_BT_MRVL is not set
# CONFIG_AF_RXRPC is not set # CONFIG_AF_RXRPC is not set
# CONFIG_AF_KCM is not set # CONFIG_AF_KCM is not set

View file

@ -995,8 +995,8 @@ wlan_hostwake = port:PL03<6><default><default><0>
;-------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------
[bt] [bt]
compatible = "allwinner,sunxi-bt" compatible = "allwinner,sunxi-bt"
bt_used = 0 bt_used = 1
clocks = ;clocks =
bt_power = "vcc-wifi" bt_power = "vcc-wifi"
bt_io_regulator = "vcc-wifi-io" bt_io_regulator = "vcc-wifi-io"
bt_rst_n = port:PL04<1><default><default><0> bt_rst_n = port:PL04<1><default><default><0>
@ -1010,7 +1010,7 @@ bt_rst_n = port:PL04<1><default><default><0>
;-------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------
[btlpm] [btlpm]
compatible = "allwinner,sunxi-btlpm" compatible = "allwinner,sunxi-btlpm"
btlpm_used = 0 btlpm_used = 1
uart_index = 1 uart_index = 1
bt_wake = port:PL06<1><default><default><1> bt_wake = port:PL06<1><default><default><1>
bt_hostwake = port:PL05<6><default><default><0> bt_hostwake = port:PL05<6><default><default><0>

View file

@ -155,17 +155,17 @@ test_size = 128
;------------------------------------------------------------------------------- ;-------------------------------------------------------------------------------
[bluetooth] [bluetooth]
display_name= "蓝牙" display_name= "蓝牙"
activated = 0 activated = 1
program = "bttester.sh" program = "bttester.sh"
test_time = 3 test_time = 3
category = 0 category = 0
dst_bt = ":" dst_bt = ":"
run_type = 1 run_type = 1
module_path = module_path = "/system/vendor/modules/bcm43438a1.hcd"
device_node = "/dev/ttyS1" device_node = "/dev/ttyS1"
baud_rate = baud_rate = 1500000
bt_vnd = "realtek" bt_vnd = "broadcom"
rtk_bt_chip = "rtl8723cs_xx" ;rtk_bt_chip = "rtl8723cs_xx"
[mmc] [mmc]
display_name= "SDCard" display_name= "SDCard"