Re: [PATCH 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-21 Thread Sinan Kaya
On 9/21/2018 12:45 PM, Matthias Kaehlcke wrote: Well, there is a generic binding (https://elixir.bootlin.com/linux/v4.18/source/Documentation/devicetree/bindings/net/bluetooth.txt), the fact that there are drivers that aren't adhering to it doesn't change that. OK. If there is some soft of a

Re: [PATCH 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-21 Thread Sinan Kaya
On 9/21/2018 12:45 PM, Matthias Kaehlcke wrote: Well, there is a generic binding (https://elixir.bootlin.com/linux/v4.18/source/Documentation/devicetree/bindings/net/bluetooth.txt), the fact that there are drivers that aren't adhering to it doesn't change that. OK. If there is some soft of a

Re: [PATCH 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-21 Thread Matthias Kaehlcke
On Fri, Sep 21, 2018 at 01:25:45AM -0400, Sinan Kaya wrote: > On 9/20/2018 7:19 PM, Matthias Kaehlcke wrote: > > If the existing users populate a custom property with the BD address > > in the bootloader you could roll out a bootloader change. You'd have > > to make sure that bootloader and kernel

Re: [PATCH 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-21 Thread Matthias Kaehlcke
On Fri, Sep 21, 2018 at 01:25:45AM -0400, Sinan Kaya wrote: > On 9/20/2018 7:19 PM, Matthias Kaehlcke wrote: > > If the existing users populate a custom property with the BD address > > in the bootloader you could roll out a bootloader change. You'd have > > to make sure that bootloader and kernel

Re: [PATCH 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-20 Thread Sinan Kaya
On 9/20/2018 7:19 PM, Matthias Kaehlcke wrote: If the existing users populate a custom property with the BD address in the bootloader you could roll out a bootloader change. You'd have to make sure that bootloader and kernel match. The bootloader could still populate the custom property to be

Re: [PATCH 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-20 Thread Sinan Kaya
On 9/20/2018 7:19 PM, Matthias Kaehlcke wrote: If the existing users populate a custom property with the BD address in the bootloader you could roll out a bootloader change. You'd have to make sure that bootloader and kernel match. The bootloader could still populate the custom property to be

Re: [PATCH 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-20 Thread Matthias Kaehlcke
On Thu, Sep 20, 2018 at 07:03:15PM -0400, Sinan Kaya wrote: > On 9/20/2018 7:01 PM, Matthias Kaehlcke wrote: > > Certainly true if this was the only driver. However another one will > > follow soon and 'local-bd-address' is the official binding, so it's > > not unlikely there will be more. > > I

Re: [PATCH 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-20 Thread Matthias Kaehlcke
On Thu, Sep 20, 2018 at 07:03:15PM -0400, Sinan Kaya wrote: > On 9/20/2018 7:01 PM, Matthias Kaehlcke wrote: > > Certainly true if this was the only driver. However another one will > > follow soon and 'local-bd-address' is the official binding, so it's > > not unlikely there will be more. > > I

Re: [PATCH 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-20 Thread Sinan Kaya
On 9/20/2018 7:01 PM, Matthias Kaehlcke wrote: Certainly true if this was the only driver. However another one will follow soon and 'local-bd-address' is the official binding, so it's not unlikely there will be more. I was missing this information. Is there a way to convert existing users to

Re: [PATCH 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-20 Thread Sinan Kaya
On 9/20/2018 7:01 PM, Matthias Kaehlcke wrote: Certainly true if this was the only driver. However another one will follow soon and 'local-bd-address' is the official binding, so it's not unlikely there will be more. I was missing this information. Is there a way to convert existing users to

Re: [PATCH 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-20 Thread Matthias Kaehlcke
On Thu, Sep 20, 2018 at 06:45:58PM -0400, Sinan Kaya wrote: > On 9/20/2018 6:34 PM, Matthias Kaehlcke wrote: > > On some systems the Bluetooth Device Address (BD_ADDR) isn't stored > > on the Bluetooth chip itself. One way to configure the BD address is > > through the device tree. The btqcomsmd

Re: [PATCH 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-20 Thread Matthias Kaehlcke
On Thu, Sep 20, 2018 at 06:45:58PM -0400, Sinan Kaya wrote: > On 9/20/2018 6:34 PM, Matthias Kaehlcke wrote: > > On some systems the Bluetooth Device Address (BD_ADDR) isn't stored > > on the Bluetooth chip itself. One way to configure the BD address is > > through the device tree. The btqcomsmd

Re: [PATCH 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-20 Thread Sinan Kaya
On 9/20/2018 6:34 PM, Matthias Kaehlcke wrote: On some systems the Bluetooth Device Address (BD_ADDR) isn't stored on the Bluetooth chip itself. One way to configure the BD address is through the device tree. The btqcomsmd driver is an example, it can read the BD address from the DT property

Re: [PATCH 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-20 Thread Sinan Kaya
On 9/20/2018 6:34 PM, Matthias Kaehlcke wrote: On some systems the Bluetooth Device Address (BD_ADDR) isn't stored on the Bluetooth chip itself. One way to configure the BD address is through the device tree. The btqcomsmd driver is an example, it can read the BD address from the DT property

[PATCH 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-20 Thread Matthias Kaehlcke
On some systems the Bluetooth Device Address (BD_ADDR) isn't stored on the Bluetooth chip itself. One way to configure the BD address is through the device tree. The btqcomsmd driver is an example, it can read the BD address from the DT property 'local-bd-address'. It is also planned to extend the

[PATCH 0/2] Add API to retrieve the Bluetooth Device Address (BD_ADDR)

2018-09-20 Thread Matthias Kaehlcke
On some systems the Bluetooth Device Address (BD_ADDR) isn't stored on the Bluetooth chip itself. One way to configure the BD address is through the device tree. The btqcomsmd driver is an example, it can read the BD address from the DT property 'local-bd-address'. It is also planned to extend the