From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B31ECC432C0 for ; Sat, 23 Nov 2019 10:04:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9349C20714 for ; Sat, 23 Nov 2019 10:04:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726722AbfKWKEn convert rfc822-to-8bit (ORCPT ); Sat, 23 Nov 2019 05:04:43 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:55063 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726368AbfKWKEn (ORCPT ); Sat, 23 Nov 2019 05:04:43 -0500 Received: from marcel-macbook.holtmann.net (p4FF9F0D1.dip0.t-ipconnect.de [79.249.240.209]) by mail.holtmann.org (Postfix) with ESMTPSA id 8BD31CECBE; Sat, 23 Nov 2019 11:13:48 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: Re: [PATCH v6 0/4] Bluetooth: hci_bcm: Additional changes for BCM4354 support From: Marcel Holtmann In-Reply-To: <20191118192123.82430-1-abhishekpandit@chromium.org> Date: Sat, 23 Nov 2019 11:04:40 +0100 Cc: Johan Hedberg , Rob Herring , linux-bluetooth@vger.kernel.org, dianders@chromium.org, devicetree@vger.kernel.org, "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Jirman , Mark Rutland , Chen-Yu Tsai Content-Transfer-Encoding: 8BIT Message-Id: <1CEDCBDC-221C-4E5F-90E9-898B02304562@holtmann.org> References: <20191118192123.82430-1-abhishekpandit@chromium.org> To: Abhishek Pandit-Subedi X-Mailer: Apple Mail (2.3601.0.10) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi Abhishek, > While adding support for the BCM4354, I discovered a few more things > that weren't working as they should have. > > First, we disallow serdev from setting the baudrate on BCM4354. Serdev > sets the oper_speed first before calling hu->setup() in > hci_uart_setup(). On the BCM4354, this results in bcm_setup() failing > when the hci reset times out. > > Next, we add support for setting the PCM parameters, which consists of > a pair of vendor specific opcodes to set the pcm parameters. The > documentation for these params are available in the brcm_patchram_plus > package (i.e. https://github.com/balena-os/brcm_patchram_plus). This is > necessary for PCM to work properly. > > All changes were tested with rk3288-veyron-minnie.dts. so I have re-factored your patch set now to apply to latest bluetooth-next tree and posted it to the mailing list. Please have a look at it if this works for you. If it does, then we might just apply it this way and focus on getting detailed PCM codec configuration for all vendors in once we have a second vendor to unify it. Regards Marcel