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=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 4D58FC46465 for ; Thu, 8 Nov 2018 08:36:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1562120857 for ; Thu, 8 Nov 2018 08:36:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1562120857 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=holtmann.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726542AbeKHSKX convert rfc822-to-8bit (ORCPT ); Thu, 8 Nov 2018 13:10:23 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:53247 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726252AbeKHSKX (ORCPT ); Thu, 8 Nov 2018 13:10:23 -0500 Received: from marcel-macbook.fritz.box (p4FF9F655.dip0.t-ipconnect.de [79.249.246.85]) by mail.holtmann.org (Postfix) with ESMTPSA id A654CCF2B8; Thu, 8 Nov 2018 09:43:26 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.1 \(3445.101.1\)) Subject: Re: [PATCH 15/15] arm64: dts: allwinner: a64: bananapi-m64: Add Bluetooth device node From: Marcel Holtmann In-Reply-To: <20181107101308.7626-16-wens@csie.org> Date: Thu, 8 Nov 2018 09:35:57 +0100 Cc: Johan Hedberg , Rob Herring , Mark Rutland , Maxime Ripard , linux-sunxi@googlegroups.com, Loic Poulain , linux-bluetooth@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: References: <20181107101308.7626-1-wens@csie.org> <20181107101308.7626-16-wens@csie.org> To: Chen-Yu Tsai X-Mailer: Apple Mail (2.3445.101.1) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Chen-Yu, > The AP6212 is based on the Broadcom BCM43430 or BCM43438. The WiFi side > identifies as BCM43430, while the Bluetooth side identifies as BCM43438. > > The Bluetooth side is connected to UART1 in a 4 wire configuration. Same > as the WiFi side, due to being the same chip and package, DLDO2 provides > overall power via VBAT, and DLDO4 provides I/O power via VDDIO. The RTC > clock output provides the LPO low power clock at 32.768 kHz. > > This patch enables Bluetooth on this board, and also adds the missing > LPO clock on the WiFi side. There is also a PCM connection for Bluetooth, > but this is not covered here. we need to figure out on how we want to describe the Bluetooth PCM settings in DT and how things are wired up. For the Bluetooth driver, we just have to send a few Broadcom commands to set up the Bluetooth side correctly. Regards Marcel