public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/4] dt-bindings: net: bluetooth: update broadcom-bluetooth
@ 2019-11-23 10:01 Marcel Holtmann
  2019-11-25 18:15 ` Abhishek Pandit-Subedi
  0 siblings, 1 reply; 2+ messages in thread
From: Marcel Holtmann @ 2019-11-23 10:01 UTC (permalink / raw)
  To: linux-bluetooth

From: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>

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

Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
---
 .../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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 3/4] dt-bindings: net: bluetooth: update broadcom-bluetooth
  2019-11-23 10:01 [PATCH 3/4] dt-bindings: net: bluetooth: update broadcom-bluetooth Marcel Holtmann
@ 2019-11-25 18:15 ` Abhishek Pandit-Subedi
  0 siblings, 0 replies; 2+ messages in thread
From: Abhishek Pandit-Subedi @ 2019-11-25 18:15 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: linux-bluetooth

On Sat, Nov 23, 2019 at 2:01 AM Marcel Holtmann <marcel@holtmann.org> wrote:
>
> From: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
>
> Add documentation for brcm,bt-pcm-int-params vendor specific
> configuration of the SCO PCM settings.
>
> Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
> ---
>  .../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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-25 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-23 10:01 [PATCH 3/4] dt-bindings: net: bluetooth: update broadcom-bluetooth Marcel Holtmann
2019-11-25 18:15 ` Abhishek Pandit-Subedi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox