Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1673909ybx; Thu, 7 Nov 2019 15:28:38 -0800 (PST) X-Google-Smtp-Source: APXvYqz3P0jeKXwjSACwtVOn2dNcImNVbrrBJzn5ItYaUs9dIGyRp+vvkm33V2TEnsbDM0zRekm5 X-Received: by 2002:a17:906:57d7:: with SMTP id u23mr5940282ejr.130.1573169318112; Thu, 07 Nov 2019 15:28:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573169318; cv=none; d=google.com; s=arc-20160816; b=sdBq2KzboD11mOvFT9cGz2sOIQe6pEMaOhyj/Sy9A8i/7f/k5qOpYnLjVQQ7oj5hpF ZZ/3aAivC5PHrV796PEpB2zPB0M6rjzyOPKOEUPjRTYxirnfvvIfpf2Ppjm6Xdtg/L27 afjeP5uJRtzkVx1+BlIyPcQi9Piyi/nXleQk7lXXxp9hPBB48kLYsK6e1WdwysNPoMIO Jm0dyhHZXyXcQl/zo9bTC+nyU4uRpL6gruSgoEZmoh4VXaDpWNSQgLbc0vLGsO+uLQQ4 DZox4zIZVRCy9Vi7w6y1b7GqH4matga0DfYo/HhVwbNxe1tZgd+VRIx2B9sCNjcWs1AA N4IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OF95Y6TnW6OieP+Y9WS1apMoBYnzfQ+jt+7thUzBTXs=; b=BUyZoFspHRdxQhKLY9UJanDzZC0B0ae85B3n/AOzmeLjwklFg+4QXWjHDiJ2/MRXnG Wljm3jvZ3I2nqiYqDXEvZ0OeksXDUa0OrM8+9Pb1WV+oi0WdmyAORXmV4yrah2c4k3+1 fqfBJsFaHiKI9mQg6qNbiFqTjsSbTSrRJ9ExzwgMpvbWQ3IIqeNQpe5FMQZz3/FtTj00 b/P/MVgCL0i56aAUehR5spW65TkyGEtJYvQMzvZR8Wi4NB+PZpQ5LG0rU43Gw5cIwQCn Q1GuR3qm6GagdRbAUNT7NHcNa5GCKH9DqW5Z9MEUvXhYgazt+TDDzGoijiYEIWB5Ymzx Th/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="m6JzZ/SD"; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8si3266013edi.304.2019.11.07.15.28.09; Thu, 07 Nov 2019 15:28:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="m6JzZ/SD"; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728124AbfKGX1y (ORCPT + 99 others); Thu, 7 Nov 2019 18:27:54 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:33187 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728096AbfKGX1x (ORCPT ); Thu, 7 Nov 2019 18:27:53 -0500 Received: by mail-pf1-f195.google.com with SMTP id c184so3525755pfb.0 for ; Thu, 07 Nov 2019 15:27:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OF95Y6TnW6OieP+Y9WS1apMoBYnzfQ+jt+7thUzBTXs=; b=m6JzZ/SDEyFFkN+KlmGjh4bR5LvH8brNTeqi2Sc0ce8xo/owX75imKkE7ZsukbVnWb innAzSygqbi+jiHw30euk5m0pC06My3SQhghN2wkg1MprzmDFf77tLxx0Jm0SuyYzDop tCZkXf4c5rSB0321P58rP+jHEhXGXMU9AWKDw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OF95Y6TnW6OieP+Y9WS1apMoBYnzfQ+jt+7thUzBTXs=; b=gji8wptQKINMyGeLDCInsYLN8xeIkv7pgfsr1wx4D/JPNFeklInKLHl26so/bJExxu ++Cf/P8aRj327HGc474rVCesc9SeLlu2RxjBjAp+LXzm0AjW7PHAatEPOQgvY6ySpnvr fxF1y70FQuesW9pvb9zooND/Zgzb/MNBN5c5TMoBM8SllfFLTEcxLeZdt0lTR4/2mk+l KX33tu2LXOJoyDvN+zoYHJImZlPVsvtxe3zmI2iy7prm/vHbi9px1bYNsjFKc/2ztDQD UyggcfH24WsAtmiZy7Btc+ANwcYFKI6Gdnl23GobfTVCmHjKQX6+0wbuyLdt5nIlgKKD okYg== X-Gm-Message-State: APjAAAXMTQyHoWBu1jOnvSHZlu0Fq4ng4LYX+4LOY9lQn2szWaF5kfNE Znp8hcDtbtxFvF94NY9IL2Yqyw== X-Received: by 2002:a63:6f47:: with SMTP id k68mr7668935pgc.92.1573169272633; Thu, 07 Nov 2019 15:27:52 -0800 (PST) Received: from apsdesk.mtv.corp.google.com ([2620:15c:202:1:e09a:8d06:a338:aafb]) by smtp.gmail.com with ESMTPSA id h3sm2857579pji.16.2019.11.07.15.27.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Nov 2019 15:27:52 -0800 (PST) From: Abhishek Pandit-Subedi To: Marcel Holtmann , Johan Hedberg , Rob Herring Cc: linux-bluetooth@vger.kernel.org, dianders@chromium.org, Abhishek Pandit-Subedi , devicetree@vger.kernel.org, "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Jirman , Mark Rutland , Chen-Yu Tsai Subject: [PATCH v2 4/4] dt-bindings: net: broadcom-bluetooth: Add pcm config Date: Thu, 7 Nov 2019 15:27:12 -0800 Message-Id: <20191107232713.48577-5-abhishekpandit@chromium.org> X-Mailer: git-send-email 2.24.0.rc1.363.gb1bccd3e3d-goog In-Reply-To: <20191107232713.48577-1-abhishekpandit@chromium.org> References: <20191107232713.48577-1-abhishekpandit@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Add documentation for pcm parameters. Signed-off-by: Abhishek Pandit-Subedi --- Changes in v2: - Use match data to disallow baudrate setting - Parse pcm parameters by name instead of as a byte string - Fix prefix for dt-bindings commit .../devicetree/bindings/net/broadcom-bluetooth.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt b/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt index c749dc297624..b5de8a6a3980 100644 --- a/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt +++ b/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt @@ -29,6 +29,11 @@ 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,sco-routing: 0-3 (PCM, Transport, Codec, I2S) + - brcm,pcm-interface-rate: 0-4 (128KBps, 256KBps, 512KBps, 1024KBps, 2048KBps) + - brcm,pcm-frame-type: 0-1 (short, long) + - brcm,pcm-sync-mode: 0-1 (slave, master) + - brcm,pcm-clock-mode: 0-1 (slave, master) Example: @@ -40,5 +45,11 @@ Example: bluetooth { compatible = "brcm,bcm43438-bt"; max-speed = <921600>; + + brcm,sco-routing = [01]; + brcm,pcm-interface-rate = [02]; + brcm,pcm-frame-type = [00]; + brcm,pcm-sync-mode = [01]; + brcm,pcm-clock-mode = [01]; }; }; -- 2.24.0.rc1.363.gb1bccd3e3d-goog