Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp954743ybg; Wed, 10 Jun 2020 19:09:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyg3roGPsum7DuDB4K/8wjM+7HF9AHqGoMAslGXpn9bgOPhuR0EFQ6jDQTaUkvhp4CQEfHk X-Received: by 2002:a17:906:5595:: with SMTP id y21mr6445717ejp.61.1591841339872; Wed, 10 Jun 2020 19:08:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591841339; cv=none; d=google.com; s=arc-20160816; b=CR6t+Zr59zMQNSnh81GUunl1Fl3yLqIOoImu+5Pi8Mk0n50aAH8zdeuAPvE3Xs9Q0a 1FvgwBJhDUt2DK8B168mhZdVsTfK0h7HzbOSOWX85CepnUaDDVi2oGG0LhxNf0VnTSIo l3MGniRPg5sQdQ74x0xWihDR4m7qMGn0LjplZWyRvIEYKWVzSSAUjkwuJvON2G/G0HZQ fUEKzJlyoFAtuezpgyuwWFX/iyHDHo8YDNwjvu+VQl6l4tAFXsNOBxRhn1cRKLxsQvB8 94kbFATX8b9Z9o9xvKqfi1v6T3+r6AtGm0NlpR6NtwWJJGGqWyH0HaoHg8ooFrmMandT vO6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4Y4ynudYVEOF2bwcSaKUAcBc0jJC1pTFViDYeCyBDLg=; b=j7ZKz9l3MpGZFavAd4S6wSznjnrbzYfYQ8E5A8le8ihsHs3WS70wC/wonGHqJcGp6v 1u0hvr6I98btuvNQwRfZ7yuOgAxrW3FKcxwORkzRVdKu8gbHeXcL1piBTO3EqG8v3jLg gVuJk3m7qBhFiuyEFlHxyAQXLEilNdXQKIL9Bxk03ynyqd0q5NYa3y3KjFAAty24CwKj T8WChMHLbYFH7vdEn2rPGQzyrSrq2C/q/+C5Hg3wpZIE7T6Bb035kVBc/fTiTCma1xxi YLRN/n5IhDG7DQvSVYg3LyJaVcvvJbDyMCbKnkiHe5SGA+CwO31x3VAlazmZIYPCnOFk odfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jvxxdLqp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g21si869381edj.35.2020.06.10.19.08.37; Wed, 10 Jun 2020 19:08:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jvxxdLqp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726369AbgFKCGt (ORCPT + 99 others); Wed, 10 Jun 2020 22:06:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726163AbgFKCGs (ORCPT ); Wed, 10 Jun 2020 22:06:48 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6345AC08C5C1 for ; Wed, 10 Jun 2020 19:06:48 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id d10so1841918pgn.4 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=hkSESyMcbjmHrNxxqD6myiM1HjouP1SloKcTD7FfFom3lzDD8I8KqQ/VaHb3Ln8XFs 3IXftrvStEnRuOlbhMvwnGRMErw/RMijhJqxrgquUQ47fGx2kSIhMZ6zkay0yEYynCGQ rfVNJFVyeZxfcv+L8PnTMl4fdTJMg1aJOCAhuBSkQgFbpsHhDFZJXGgdWUnN6ZCKHUkh +ToJBOtjmvMbsbevEZ8WeaAaoONGFDIXCS1/Z37pGO44HKfpwLbvMm8iEehu+jHh8EEB xLkngtw5NovEu8Qn0xA7L3lzXGV0Iiw7kEMZi7Ugs1TxU4Q/5ewJDaK240qumwctx0oy QObA== X-Gm-Message-State: AOAM530LcU5n3SSnN801puC70YNfNsi8x3ZTr4GUbi8REtWXtLrEZU7S OZGD2hJJLo2174I7hhPvmcMm2w== 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 Cc: linux-bluetooth@vger.kernel.org, chromeos-bluetooth-upstreaming@chromium.org, mka@chromium.org, dianders@chromium.org, Abhishek Pandit-Subedi , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , linux-arm-kernel@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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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>; -- 2.27.0.278.ge193c7cf3a9-goog