diff mbox

[2/2] ARM: davinci_all_defconfig: Enable Bluetooth

Message ID 20180531202549.11255-3-david@lechnology.com (mailing list archive)
State New, archived
Headers show

Commit Message

David Lechner May 31, 2018, 8:25 p.m. UTC
This enables Bluetooth modules in davinic_all_defconfig needed for LEGO
MINDSTORMS EV3.

Signed-off-by: David Lechner <david@lechnology.com>
---
 arch/arm/configs/davinci_all_defconfig | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Sekhar Nori June 27, 2018, 11:11 a.m. UTC | #1
On Friday 01 June 2018 01:55 AM, David Lechner wrote:
> This enables Bluetooth modules in davinic_all_defconfig needed for LEGO

davinci_all_defconfig

> MINDSTORMS EV3.
> 
> Signed-off-by: David Lechner <david@lechnology.com>
> ---
>  arch/arm/configs/davinci_all_defconfig | 9 +++++++++
>  1 file changed, 9 insertions(+)

> +CONFIG_SERIAL_DEV_BUS=y

Any reason to build this into the kernel?

Thanks,
Sekhar
David Lechner June 27, 2018, 5:13 p.m. UTC | #2
On 06/27/2018 06:11 AM, Sekhar Nori wrote:
> On Friday 01 June 2018 01:55 AM, David Lechner wrote:
>> This enables Bluetooth modules in davinic_all_defconfig needed for LEGO
> 
> davinci_all_defconfig
> 
>> MINDSTORMS EV3.
>>
>> Signed-off-by: David Lechner <david@lechnology.com>
>> ---
>>   arch/arm/configs/davinci_all_defconfig | 9 +++++++++
>>   1 file changed, 9 insertions(+)
> 
>> +CONFIG_SERIAL_DEV_BUS=y
> 
> Any reason to build this into the kernel?
> 

Yes:


config SERIAL_DEV_CTRL_TTYPORT
	bool "Serial device TTY port controller"
	help
	  Say Y here if you want to use the Serial device bus with common TTY
	  drivers (e.g. serial drivers).

	  If unsure, say Y.
	depends on TTY
	depends on SERIAL_DEV_BUS != m
	default y

endif
Sekhar Nori June 29, 2018, 2 p.m. UTC | #3
On Wednesday 27 June 2018 10:43 PM, David Lechner wrote:
> On 06/27/2018 06:11 AM, Sekhar Nori wrote:
>> On Friday 01 June 2018 01:55 AM, David Lechner wrote:
>>> This enables Bluetooth modules in davinic_all_defconfig needed for LEGO
>>
>> davinci_all_defconfig
>>
>>> MINDSTORMS EV3.
>>>
>>> Signed-off-by: David Lechner <david@lechnology.com>
>>> ---
>>>   arch/arm/configs/davinci_all_defconfig | 9 +++++++++
>>>   1 file changed, 9 insertions(+)
>>
>>> +CONFIG_SERIAL_DEV_BUS=y
>>
>> Any reason to build this into the kernel?
>>
> 
> Yes:
> 
> 
> config SERIAL_DEV_CTRL_TTYPORT
>     bool "Serial device TTY port controller"
>     help
>       Say Y here if you want to use the Serial device bus with common TTY
>       drivers (e.g. serial drivers).
> 
>       If unsure, say Y.
>     depends on TTY
>     depends on SERIAL_DEV_BUS != m

Patch applied to v4.19/defconfig. I added a note about this to commit
text in case I wonder again at a later time.

Thanks,
Sekhar
diff mbox

Patch

diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defconfig
index a1b6e106b867..f8448c4703c1 100644
--- a/arch/arm/configs/davinci_all_defconfig
+++ b/arch/arm/configs/davinci_all_defconfig
@@ -54,6 +54,13 @@  CONFIG_INET=y
 CONFIG_IP_PNP=y
 CONFIG_IP_PNP_DHCP=y
 CONFIG_NETFILTER=y
+CONFIG_BT=m
+CONFIG_BT_RFCOMM=m
+CONFIG_BT_BNEP=m
+CONFIG_BT_HIDP=m
+CONFIG_BT_LEDS=y
+CONFIG_BT_HCIUART=m
+CONFIG_BT_HCIUART_LL=y
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_FW_LOADER=m
@@ -113,6 +120,7 @@  CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_SERIAL_8250_NR_UARTS=3
 CONFIG_SERIAL_8250_RUNTIME_UARTS=3
 CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIAL_DEV_BUS=y
 # CONFIG_HW_RANDOM is not set
 CONFIG_I2C=y
 CONFIG_I2C_CHARDEV=y
@@ -212,6 +220,7 @@  CONFIG_RTC_CLASS=y
 CONFIG_RTC_DRV_OMAP=m
 CONFIG_DMADEVICES=y
 CONFIG_TI_EDMA=y
+CONFIG_COMMON_CLK_PWM=m
 CONFIG_REMOTEPROC=m
 CONFIG_DA8XX_REMOTEPROC=m
 CONFIG_MEMORY=y