Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp470061ybc; Sat, 23 Nov 2019 02:06:07 -0800 (PST) X-Google-Smtp-Source: APXvYqxJkyDe/a6Wyj7oBYBhN89n5dyT1ROwOTz7H3LcuKFG9Vx8Gsw2w/unxzha2l0JeNEMJYdi X-Received: by 2002:a17:906:e0d5:: with SMTP id gl21mr26014522ejb.292.1574503567425; Sat, 23 Nov 2019 02:06:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574503567; cv=none; d=google.com; s=arc-20160816; b=iQrm1qecCKiqo3b1NSwTjQjujwkqygcBG8xWEkrBfK2cf3PdOUFkX+deQ7oktaPxQR 9+NdBdN5pWq6cNsAcfOzE5ecpjEn79c1dzi460uWuKSekEISJ3LKjtZZWiJQPOYl4Fsx BVup4SOWpTOYvz84GO5nwNbq/guGf+rWIR8JcQiwm6IXBDGHmI9dkdcgaG0Fdm95D758 weuvgnqOShDukY8EAPM+/RUiPE5IdebKRZQ7NK+8w9+FzJD66I/MT1xlNreVez0NUCgX CvpuSGjvEI0ZyGCm8i8a09NyvDBe5H5egamQdomylkg1BPTj+CBnZcs6YIlY8KoKxL7H odgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=p3+CROloZ0XaC4l5Y8LVNCTFhN4Jb9OdITh3A+mkm/E=; b=yFau0uqkGx1AXqqGZacR4b4VGQPkAm47cHEIA3bwnN+N9M0OQwryZc4ud8dJb38+Wo VjBldXggQQigaSaOFm4zDJkSjhxruRU2IX8Ouu8BYkTC9DPV+ZnwTU9aOnKRJClKL5EA k/BvidEW/35FpdIdEh3Po5b/R+dPGDfgBH1uQF4EIzoIHMY2/9u/b8L/OF+3vpwxfhAu TTS7iHiXPIYS3S3EB2acO/HZZSjLaeISfAC3F/xyjudcLaB+3V12akH10vDC2Xev2zWZ qZLDm7hk+EuvKhUfcKcH8jocada/XOC5/+wO17MwzwqibN06zOEfaJutrLorEs2qHdwz /+QQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h23si476921ede.355.2019.11.23.02.05.41; Sat, 23 Nov 2019 02:06:07 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726525AbfKWKEn convert rfc822-to-8bit (ORCPT + 99 others); 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: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@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