From patchwork Fri Jun 12 20:02:48 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: 11602257 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 48C3192A for ; Fri, 12 Jun 2020 20:03:16 +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 26A7920723 for ; Fri, 12 Jun 2020 20:03:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ucKB1aYh"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="h7u6dR4B" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 26A7920723 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-rockchip-bounces+patchwork-linux-rockchip=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=6KU+fuFBX6PBQHp1MPDoLLy3PMrMG0AnxnlSYSRmMcY=; b=ucKB1aYh0HoRGp iu7f+ssFgwyA2pyras+Z6RoC4nhuP/BpRhs7y7Mm51RT8mIP6/i5yzU315sB/AV4ZYI7SNxd4exa0 +ncS7a6fAaVzewoZ8NIs4w2dPjj/I/rf/H1Y7fPMGewlVlnRDE+flgIsAdVWDJJVaMsOIPG+PaKYI 5gZ+98UtvskZftDLwAdk3L2b9PuilrOVQtjm1z+q1WON4JCVJj+GAr13aFl6AzaMrEety1nsWYpqf W8vNGLm76Q1O+wO20++jOUACF5V4+K6Sm5bnnEIDJLol4whAVdwtnzPAxAdlwSE1orbroqngo6Q2U KI+WgMb9+3JHu3E7xNDQ==; 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 1jjptD-0004yj-Cv; Fri, 12 Jun 2020 20:02:59 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jjptA-0004xr-5p for linux-rockchip@lists.infradead.org; Fri, 12 Jun 2020 20:02:57 +0000 Received: by mail-pg1-x541.google.com with SMTP id p21so4602066pgm.13 for ; Fri, 12 Jun 2020 13:02:55 -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=6uGSExpyps+wiw7uOwP+l2H0cv+SpFFWTmb8dRKkt6U=; b=h7u6dR4B19jQUlPQPyqjXka9J3KhpwDNlIcPUaI2++siCsOQzCELypYC05rGhkBGfK g6A0zotR7FceCE016nrOeQktoGXFoxfPsVMkwkGm2ZK8vzxnm9PHYfuf86mrONiRQW2Z Zw4dDBZtjL34Gk9sshcTJuMJRBFPMalZqIERo= 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=6uGSExpyps+wiw7uOwP+l2H0cv+SpFFWTmb8dRKkt6U=; b=WayV9g2h3dK4wGKX8i8E6aaIoGobUEcN2wyDtMnuO1lu0+B1BPyA8lRJzsP+rwnnao IXIUx26yPrbsBKWfySOsE2E/ZX3DabEPeS2P9rGJP8XA2YzjQaQftR9DKxGOzNbjRmVB smu6Qd5atCZQ1hYzuwykKe9ai0Ks1iyJu1P/3ovigq7pZAw58PLPYL2IWNo5po55pD5J sxaPLvf3a7eWohr4/z8eDxV0PY4TF+KK+QwYwcXEkQqI90xwcyjPlz505usNNLW/yxUp BGF6iSY/xAJlAWI1LVGsq3dXATH8mCmv4cbtTBn1VlTbbrJn+t8WTi7lLAnUcTJkGAXW L8BQ== X-Gm-Message-State: AOAM531hTfECuxxH8uOOGZPn91fDFhV1iq8sC5LKU5PeE4B2+8yTrAFo XiMYUs5mlZxfNTqjXJ3RNj2yHQ== X-Google-Smtp-Source: ABdhPJz0sMFDiDA11ABe5kT1o/km+Y+ock0L+fTuGu64VLLvv2xzyZOb5s8slfiJArkBbrcCb8SSjA== X-Received: by 2002:a63:1617:: with SMTP id w23mr12597286pgl.248.1591992175014; Fri, 12 Jun 2020 13:02:55 -0700 (PDT) Received: from apsdesk.mtv.corp.google.com ([2620:15c:202:1:e09a:8d06:a338:aafb]) by smtp.gmail.com with ESMTPSA id f7sm6544851pje.1.2020.06.12.13.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jun 2020 13:02:54 -0700 (PDT) From: Abhishek Pandit-Subedi To: heiko@sntech.de, linux-rockchip@lists.infradead.org Subject: [PATCH v2] ARM: dts: rockchip: Add marvell BT irq config Date: Fri, 12 Jun 2020 13:02:48 -0700 Message-Id: <20200612130219.v2.1.I66864be898aa835ccb66b6cd5220d0b082338a81@changeid> X-Mailer: git-send-email 2.27.0.290.gba653c62da-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200612_130256_238120_7EBED4B7 X-CRM114-Status: UNSURE ( 9.31 ) X-CRM114-Notice: Please train this message. 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:541 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -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.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 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, 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-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=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. Changes in v2: - Move sdio0 ahead of sdmmc 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..c15d6865f5a390 100644 --- a/arch/arm/boot/dts/rk3288-veyron-jaq.dts +++ b/arch/arm/boot/dts/rk3288-veyron-jaq.dts @@ -44,6 +44,21 @@ regulator-state-mem { }; }; +&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>; + }; +}; + &sdmmc { disable-wp; pinctrl-names = "default";