From patchwork Thu Jun 11 02:06:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhishek Pandit-Subedi X-Patchwork-Id: 11599127 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CBFA990 for ; Thu, 11 Jun 2020 02:06:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A8BB8206A4 for ; Thu, 11 Jun 2020 02:06:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gxivZtbZ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="jvxxdLqp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A8BB8206A4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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=lWKIao/5XSG9+UcB1hO5GuPeZDEz8Gu7UDuzGe3694Q=; b=gxivZtbZudkLy3 BMLUhpyUNPYmdTVpT+6dweUYRvHTXOjLvZ/D6jCKk0MJxqouwUoIfV2dUzdKgpRjEJGs05ibdZgwp 8spcv7z43efeolBSZXKOWXNDjB4Cf7uqlgbbNiNSqTIRToRyjx3AQJl+KVJhw9g3H4jYG5CmBrSAc kve2V/Uecb3W4E5MWDDwWc6fQoAHtiDWkiWhAkyh9FBufKbapZHueoi1bkoVQKad7wNa1kIvq6ZxW E85n9uptFbtiZgmNfAeibjBNnLF/pQonQEXJ01IiuTnXfPsZDzFul3n7lCig8EIddYCbvxBRjEspw /UBa0oEBVufrknnBJ7tg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jjCcI-0001pr-H2; Thu, 11 Jun 2020 02:06:54 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jjCcD-0001mO-Aw for linux-arm-kernel@lists.infradead.org; Thu, 11 Jun 2020 02:06:52 +0000 Received: by mail-pg1-x543.google.com with SMTP id m1so1850641pgk.1 for ; Wed, 10 Jun 2020 19:06:48 -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=4Y4ynudYVEOF2bwcSaKUAcBc0jJC1pTFViDYeCyBDLg=; b=jvxxdLqpo+0mRShkaVWeuKTjdbq2SY5zHyPUmlP9mEguLJSjmHKBHGLHY/cTzOCXlH eB3qRpNpvIRDJNO6JSxhOVYAWeI1bubmvS8iGittDjXx1zJkHd9kKOYlFpBODIyQu0vG bsc7fBBrlfcKF/fevWNzdttAJeifoXfQhjkps= 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=4Y4ynudYVEOF2bwcSaKUAcBc0jJC1pTFViDYeCyBDLg=; b=ecYTx73MQh5zjNKq1Dss/tJwz370g6jMlXyEfbqhxR3bgK7T7K+r+G81EQiLmEmPva w4oOD4uLQlBfRcO0qMFZMZKxxMkCZlRFm3g2JsocQCJTFOj/1jLILK+eFDRYpRX7p7Hc xv4nBpwKc2nllfQ5xk2c5j667IvaQwBrqAsVcvFxF/sD2Sp3HfePMz7r2KC5+8jWGLUa Uzu3/5slBWleUGSSptO7lrl74D6VlBA+x8vQFVPIz8C5eZwOYwEoswWO7y2At31wnEkW C+qKFtHPaCpVBm5FZ2Kn2gG8dgNvxJ1H2Wbd4Yu55noG9dUpGIU6LEywSZmMki0R2ie1 n0WQ== X-Gm-Message-State: AOAM530ZeEsKsULOkcrkUBSYy+eNL16tuLUVHEk9kDE9higzwq8g4WQ+ YhyZ4M5rnDteHmRW7uXkLbWNNQ== X-Google-Smtp-Source: ABdhPJxLvo0RCihK079Elloiqp25pBxh1dZDJDeBEoYZ+9fEvWiGN7wubOfZ1xMsnxVkw0tD3DWWMQ== X-Received: by 2002:a62:1c46:: with SMTP id c67mr5101876pfc.170.1591841207862; Wed, 10 Jun 2020 19:06:47 -0700 (PDT) Received: from apsdesk.mtv.corp.google.com ([2620:15c:202:1:e09a:8d06:a338:aafb]) by smtp.gmail.com with ESMTPSA id u14sm1291983pfk.211.2020.06.10.19.06.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2020 19:06:47 -0700 (PDT) From: Abhishek Pandit-Subedi To: heiko@sntech.de, linux-rockchip@lists.infradead.org Subject: [PATCH] ARM: dts: rockchip: Add marvell BT irq config Date: Wed, 10 Jun 2020 19:06:42 -0700 Message-Id: <20200610190622.1.I66864be898aa835ccb66b6cd5220d0b082338a81@changeid> X-Mailer: git-send-email 2.27.0.278.ge193c7cf3a9-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200610_190649_395346_989B8879 X-CRM114-Status: GOOD ( 11.05 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:543 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, chromeos-bluetooth-upstreaming@chromium.org, dianders@chromium.org, Rob Herring , linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, mka@chromium.org, Abhishek Pandit-Subedi , 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 Veyron Jaq and Mighty both use the Marvel 8897 WiFi+BT chip. Add wakeup and pinctrl block to devicetree so the btmrvl driver can correctly configure the wakeup interrupt. Signed-off-by: Abhishek Pandit-Subedi Reviewed-by: Reviewed-by: Douglas Anderson --- The Veyron Mighty Chromebook (rk3288 based board) is missing the wake configuration for Bluetooth. Without this change, the wake irq was not configurable and wake on Bluetooth was broken. I verified this change with additional changes in the Bluetooth driver (the series is at https://patchwork.kernel.org/cover/11599101/). The driver changes are not necessary for this dts change and shouldn't block it. arch/arm/boot/dts/rk3288-veyron-jaq.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-veyron-jaq.dts b/arch/arm/boot/dts/rk3288-veyron-jaq.dts index 171ba6185b6d39..976c0c17a71199 100644 --- a/arch/arm/boot/dts/rk3288-veyron-jaq.dts +++ b/arch/arm/boot/dts/rk3288-veyron-jaq.dts @@ -51,6 +51,21 @@ &sdmmc { &sdmmc_bus4>; }; +&sdio0 { + #address-cells = <1>; + #size-cells = <0>; + + btmrvl: btmrvl@2 { + compatible = "marvell,sd8897-bt"; + reg = <2>; + interrupt-parent = <&gpio4>; + interrupts = ; + marvell,wakeup-pin = /bits/ 16 <13>; + pinctrl-names = "default"; + pinctrl-0 = <&bt_host_wake_l>; + }; +}; + &vcc_5v { enable-active-high; gpio = <&gpio7 RK_PC5 GPIO_ACTIVE_HIGH>;