From patchwork Tue Dec 6 08:08:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9462135 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7517360586 for ; Tue, 6 Dec 2016 08:11:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62FDA27F99 for ; Tue, 6 Dec 2016 08:11:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5778E281C3; Tue, 6 Dec 2016 08:11:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0D04627F99 for ; Tue, 6 Dec 2016 08:11:45 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEAos-00046Q-Q1; Tue, 06 Dec 2016 08:09:46 +0000 Received: from forward11m.cmail.yandex.net ([2a02:6b8:b030::8f]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEAoo-00043u-2W for linux-arm-kernel@lists.infradead.org; Tue, 06 Dec 2016 08:09:43 +0000 Received: from smtp2m.mail.yandex.net (smtp2m.mail.yandex.net [IPv6:2a02:6b8:0:2519::122]) by forward11m.cmail.yandex.net (Yandex) with ESMTP id 0C56A215B9; Tue, 6 Dec 2016 11:09:18 +0300 (MSK) Received: from smtp2m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2m.mail.yandex.net (Yandex) with ESMTP id 558B82300E2C; Tue, 6 Dec 2016 11:09:12 +0300 (MSK) Received: by smtp2m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 2E37llEKvb-94sOPWEg; Tue, 06 Dec 2016 11:09:10 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.xyz; s=mail; t=1481011752; bh=5lLu4drI1Fs2TMmRr5h4mUBoaIElrQHWJ4MqMjNRq0k=; h=From:To:Cc:Subject:Date:Message-Id; b=tthBRz8E8052XiTW1zUUc5Uuk+jM+PeDlTklIoYTJaLvvjD05EqfnxY6sa1ZvrE9c ahj/nzxY4ndw3enEn9TW+DH8PxGjnXeIS77aK4kaQtZniE/zfJKAjDLRep8P3UQGu6 LvCYaEvxpqAUcJS03730OnTR2bSGEMDyjxGvCu34= Authentication-Results: smtp2m.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: FR X-Yandex-Suid-Status: 1 0,1 0,1 0,1 0,1 0,1 0,1 1130000036118848 From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai , Hans de Goede Subject: [PATCH] ARM: dts: sun8i-q8-common: enable bluetooth on SDIO Wi-Fi Date: Tue, 6 Dec 2016 16:08:38 +0800 Message-Id: <20161206080838.7523-1-icenowy@aosc.xyz> X-Mailer: git-send-email 2.10.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161206_000942_323799_E23C9882 X-CRM114-Status: UNSURE ( 7.71 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Some SDIO Wi-Fi chips (such as RTL8703AS) have a UART bluetooth, which has a dedicated enable pin (PL8 in the reference design). Enable the pin in the same way as the WLAN enable pins. Tested on an A33 Q8 tablet with RTL8703AS. Signed-off-by: Icenowy Zheng --- This patch should be coupled with the uart1 node patch I send before: http://lists.infradead.org/pipermail/linux-arm-kernel/2016-December/471997.html For RTL8703AS, the rtl8723bs bluetooth code is used, which can be retrieve from: https://github.com/lwfinger/rtl8723bs_bt arch/arm/boot/dts/sun8i-q8-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-q8-common.dtsi b/arch/arm/boot/dts/sun8i-q8-common.dtsi index c676940..4aeb5bb 100644 --- a/arch/arm/boot/dts/sun8i-q8-common.dtsi +++ b/arch/arm/boot/dts/sun8i-q8-common.dtsi @@ -88,7 +88,7 @@ &r_pio { wifi_pwrseq_pin_q8: wifi_pwrseq_pin@0 { - pins = "PL6", "PL7", "PL11"; + pins = "PL6", "PL7", "PL8", "PL11"; function = "gpio_in"; bias-pull-up; };