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: 10892855 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 2014817E0 for ; Tue, 9 Apr 2019 23:14:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 00274285C3 for ; Tue, 9 Apr 2019 23:14:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E7AC62890B; Tue, 9 Apr 2019 23:14:21 +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 8458D285C3 for ; Tue, 9 Apr 2019 23:14:21 +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=7W24msckI3UoEnACP2V8SMXydjvPWpl2zjYG4noCclg=; b=Gy4MZinbB7WEne s2pmR8qmVDh9oLlZ01YrWFzKzuRHbUFIhgBIT1HT9iOEUSkv0X3LfXZdB3r/5fOeDjXPn0Ncyod5Q fsKPOk1kF8HaamrvwmBJydkEjbdLGRYz6cYOfXxZW7m7JqaP7s3LASgiNrEvrBnS6GaDSUlub4P9d Ey7F4hO6fGxFpDmo68PRhcLJ2RnymE8HFtzog2j7f5XKQ7z0hPB53Cc4Vkt8cq7xaQNg/14t9a6tx KhcuCYH1rK2OOdv83M5tXvcF9ktkWJ7n+OJLuLDiAIFWH84vFDdUa3NTXL3zidn9xSolzhrRPd5MK mioC14UIURgjZNjLBaig==; 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 1hDzwW-0004uC-6H; Tue, 09 Apr 2019 23:14:16 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDzwT-0004tN-9X for linux-arm-kernel@lists.infradead.org; Tue, 09 Apr 2019 23:14:14 +0000 Received: by mail-pg1-x541.google.com with SMTP id z9so277026pgu.10 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=Ny/jlWwDD8/T3vymJPgoQ9AGvcdOaSwKjSq3nQl6NW3b2Vun5lKTEhA5aIxGBiKsFT EW4Ex0IH5CpkdZc5VaqYen3zYQ8Bj6XK6n3PYnTXRd+rGk1dp49P8jr4hJziBYdN1RTa gFC5loAuVDNY6pWouNPoEZmErfKdtL8DyKLF/ORAxJhq+0/zY0K+Cb/dECc9YZ80ydzM G+uMT/+jeTgR9vpliz+7LtJ9YVorifl2Y8pD84jHj8FUD0f0LUdvoAS4ryIsgtiT7g1x fcQuDiiZj/6IKs8dG3Hj72D9swIoM4J9Pl48T1QS7NiQFvpryHRQJ1FwsSSDUZrd0fTJ 1G+Q== X-Gm-Message-State: APjAAAXDpGcl/TOdhi6tKBSCkGLqCbzST6KLzqNLioGErHVhiqxGNgeO 6MEGBCldxCApin1mr21lDVrHOA== 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_358983_39ED19A1 X-CRM114-Status: GOOD ( 12.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 {