2019-11-23 10:02:30

by Marcel Holtmann

[permalink] [raw]
Subject: [PATCH 3/4] dt-bindings: net: bluetooth: update broadcom-bluetooth

From: Abhishek Pandit-Subedi <[email protected]>

Add documentation for brcm,bt-pcm-int-params vendor specific
configuration of the SCO PCM settings.

Signed-off-by: Abhishek Pandit-Subedi <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
---
.../devicetree/bindings/net/broadcom-bluetooth.txt | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt b/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt
index f16b99571af1..065f2e117eca 100644
--- a/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt
+++ b/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt
@@ -30,6 +30,12 @@ Optional properties:
- "lpo": external low power 32.768 kHz clock
- vbat-supply: phandle to regulator supply for VBAT
- vddio-supply: phandle to regulator supply for VDDIO
+ - brcm,bt-pcm-int-params: configure PCM parameters via a 5-byte array
+ - sco-routing: PCM, Transport, Codec, I2S
+ - pcm-interface-rate: 128KBps, 256KBps, 512KBps, 1024KBps, 2048KBps
+ - pcm-frame-type: short, long
+ - pcm-sync-mode: slave, master
+ - pcm-clock-mode: slave, master


Example:
@@ -41,5 +47,6 @@ Example:
bluetooth {
compatible = "brcm,bcm43438-bt";
max-speed = <921600>;
+ brcm,bt-pcm-int-params = [1 2 0 1 1];
};
};
--
2.23.0


2019-11-25 18:54:23

by Abhishek Pandit-Subedi

[permalink] [raw]
Subject: Re: [PATCH 3/4] dt-bindings: net: bluetooth: update broadcom-bluetooth

On Sat, Nov 23, 2019 at 2:01 AM Marcel Holtmann <[email protected]> wrote:
>
> From: Abhishek Pandit-Subedi <[email protected]>
>
> Add documentation for brcm,bt-pcm-int-params vendor specific
> configuration of the SCO PCM settings.
>
> Signed-off-by: Abhishek Pandit-Subedi <[email protected]>
> Signed-off-by: Marcel Holtmann <[email protected]>
> ---
> .../devicetree/bindings/net/broadcom-bluetooth.txt | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt b/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt
> index f16b99571af1..065f2e117eca 100644
> --- a/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt
> +++ b/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt
> @@ -30,6 +30,12 @@ Optional properties:
> - "lpo": external low power 32.768 kHz clock
> - vbat-supply: phandle to regulator supply for VBAT
> - vddio-supply: phandle to regulator supply for VDDIO
> + - brcm,bt-pcm-int-params: configure PCM parameters via a 5-byte array
> + - sco-routing: PCM, Transport, Codec, I2S
Consider, 0 = PCM to show 0-indexing.
> + - pcm-interface-rate: 128KBps, 256KBps, 512KBps, 1024KBps, 2048KBps
> + - pcm-frame-type: short, long
> + - pcm-sync-mode: slave, master
> + - pcm-clock-mode: slave, master
>
>
> Example:
> @@ -41,5 +47,6 @@ Example:
> bluetooth {
> compatible = "brcm,bcm43438-bt";
> max-speed = <921600>;
> + brcm,bt-pcm-int-params = [1 2 0 1 1];
> };
> };
> --
> 2.23.0
>
Looks mostly good.