From patchwork Tue Apr 9 23:14:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10892857 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 30AD51669 for ; Tue, 9 Apr 2019 23:14:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1544F285C3 for ; Tue, 9 Apr 2019 23:14:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0664D2890B; Tue, 9 Apr 2019 23:14:26 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B0F91285C3 for ; Tue, 9 Apr 2019 23:14:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=rKMq5OZVMusMHdV+paHHZSw9UV7P+LcudGOLifMdnJQ=; b=c5Yg9HfU5aVA8M lY89iExzSX/vFTR3ENJcp6jX/v9x90BM9X+FvQE29P420Vfs3wStAZS8S/sueMPzdozKluyaudfOg GapYTD+kQhMVs3bllLimcee0CxjthNXBZx46mFd9ijD7CCxbxeSKtdOFxltOi1nFYEDLch8OfseWP 2whOQxcIJyt3TcUiV0fd7GYLUymVyU1q0hR6jNU8JI8lhHMOtXe7MVOMH1HcIFLUNoGo+p57BDH0p 5XBiUfmaKdr7XtPaJ6+uSoRufNKO1+w9TeCOQNxXk4hKhH+SrftfmwMvTzDgKSm79JBhObaAJtCY0 uoSeF5O6P4uJmn2uG2rg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDzwb-00050k-58; Tue, 09 Apr 2019 23:14:21 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDzwT-0004tM-JP for linux-rockchip@lists.infradead.org; Tue, 09 Apr 2019 23:14:14 +0000 Received: by mail-pg1-x542.google.com with SMTP id i2so272177pgj.11 for ; Tue, 09 Apr 2019 16:14:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DN/IL7SKReF6bM5dBuLM75iU7gDu5ilsrW7u40dJ73k=; b=Mcu+dEi5K/5OewwUdmSbE2gfVEiiUalhfdEBxE1oOJuBfBI1S5v9uF5F+VhUEFvbSo 4Owcq20tohmosvBPeU/xxpnt/pB4LTPMFKa/ehScX2eO5w9F+jm56oRrUYz9njt7Ceh5 9aWlXubTplCGofzOeqTPYWv1zXDHMILhhruIY= 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:mime-version :content-transfer-encoding; bh=DN/IL7SKReF6bM5dBuLM75iU7gDu5ilsrW7u40dJ73k=; b=Q7RQ4GemGi6NtKux4xDoKIHJQA8JmDw1QUTUYMGZR3Et5yYt4u6LpAYbT2uiHVS6Ph 8zQZpuTXs8VctxFF8/ofqpSdY2vT7ntGtcNXLmfo7ePcGyC6e2dblDQaj381K/ITRb0R A5uz6nHNVeWOgzPW1MK7Ij5tgGN5Yqq/+RJcTToanV/TGpxF40kaNjZejargX9SDQ/Kb zAM7dhBRJjYZ2rFOltkEP7wFJYrHM1+iNnfzutYagD+J/raD8lsp1VD4Jvikz/3/rapa 0OLFG4SPYHoRQTNf4cQo2QPIZurhZ8aF11XC3+cPZeJ7AVbCNram+a9BKOp7M5FUbRSV P4cw== X-Gm-Message-State: APjAAAUwmh908Qu8JYetNKTGs0JcRa1UyVbULEmI1PwRFAK2tR4eC3P8 hycYhSphZtAP3yIIupdjlP84OvGkfmzIhw== X-Google-Smtp-Source: APXvYqy1jXAsoR/7nOJIQ5N6/rUHZc8uFoiffvYDGQdD1UyP0lEka0IsbVSEnTC8h68QHTvLRTHu6w== X-Received: by 2002:a63:6f0a:: with SMTP id k10mr36674783pgc.78.1554851652419; Tue, 09 Apr 2019 16:14:12 -0700 (PDT) Received: from localhost ([2620:15c:202:1:75a:3f6e:21d:9374]) by smtp.gmail.com with ESMTPSA id i68sm8748680pfj.96.2019.04.09.16.14.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2019 16:14:11 -0700 (PDT) From: Matthias Kaehlcke To: Heiko Stuebner , Rob Herring , Mark Rutland Subject: [PATCH] ARM: dts: rockchip: Add BT_EN to the power sequence for veyron Date: Tue, 9 Apr 2019 16:14:05 -0700 Message-Id: <20190409231405.189335-1-mka@chromium.org> X-Mailer: git-send-email 2.21.0.392.gf8f6787159e-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190409_161413_689828_E2C30D33 X-CRM114-Status: GOOD ( 11.06 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Douglas Anderson , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Matthias Kaehlcke , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add GPIO D5 (BT_ENABLE_L) as reset-GPIO to the power sequence for the Bluetooth/WiFi module. On devices with a Broadcom module the signal needs to be asserted to use Bluetooth. Note that BT_ENABLE_L is a misnomer in the schematics, the signal actually is active-high. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- arch/arm/boot/dts/rk3288-veyron.dtsi | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi index 0bc2409f6903..a4cd851dc313 100644 --- a/arch/arm/boot/dts/rk3288-veyron.dtsi +++ b/arch/arm/boot/dts/rk3288-veyron.dtsi @@ -62,12 +62,19 @@ pinctrl-0 = <&bt_enable_l>, <&wifi_enable_h>; /* - * On the module itself this is one of these (depending - * on the actual card populated): + * Depending on the actual card populated GPIO4 D4 and D5 + * correspond to one of these signals on the module: + * + * D4: * - SDIO_RESET_L_WL_REG_ON * - PDN (power down when low) + * + * D5: + * - BT_I2S_WS_BT_RFDISABLE_L + * - No connect */ - reset-gpios = <&gpio4 RK_PD4 GPIO_ACTIVE_LOW>; + reset-gpios = <&gpio4 RK_PD4 GPIO_ACTIVE_LOW>, + <&gpio4 RK_PD5 GPIO_ACTIVE_LOW>; }; vcc_5v: vcc-5v {