Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1052357ybg; Wed, 10 Jun 2020 22:53:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzc4AEh+ba9iuBySlFN7xbX9EZ9NL70GOvijaHpwHDBsRginLUXiAcZMkefhHw++e20nOrU X-Received: by 2002:a17:906:370a:: with SMTP id d10mr6805134ejc.433.1591854835168; Wed, 10 Jun 2020 22:53:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591854835; cv=none; d=google.com; s=arc-20160816; b=SbVL6Js8JwSZsZAIJnsboTVlGNZYWmK03NWMJJQ9/bqVSyK7y+S0o43TQOLRvzh9cS czMO5MWAJt4W8WKcYA3aElw/Kbolwks950bhaDrNXrzeTGWWqhQtYMUVn+kKeUDu+Qj6 YzPvLMa4zyfZaFZZZeyktJFUZhKlKYpTzwAMHMSDSVro/wE/VWEAa4sCRM8NhB0rxmO9 OXziBlJ7E9vAPvRGePwUZOMtIr/T+HrG9iNvmnLQ0mqAzvSzUVd7H6DNSHOgQzTVN1n4 XVYl7p6WPP6LDTyp1hXeCm1T2qTnZ5TQZoYZc6HJ4Wyrr8m5KSWcv2IG/zFKG7xvkZ+k DENg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=PRWwHPfTqqS0ILVaBf+JQrfe5m2txu4W6HO5QlFL/zw=; b=T8GleDmcq4ezzEVmmcD/C+qIE8GwjXE7a//26iWN6/w7XPBXJDUCtJo5nP31qs1ZGG z9S62OE/bijxQXa0JC/iFPOqH8DISMGdTL+MDmHZbi4aJ4caoJJYrDaf5QhwYjZCdqHz frooFO4v34e++LXEYz3Q6uhplHmQgQX8+DaYJrDx+LAbIGU+CUtP92GUCAa75Gkh9Biy atQKVVpp74qhbzOtDeitpRTtSEAzJTJgKV6axv+wzsxJsBQGBSMJDHfaw2WsFjQ4Llhf qCabx5zOcPZJlzrvg9ONEL89Hio3WE2JAVVsalJOPMVJOFnHzjpOI6xTFmK8vNHoPP8z oASg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=k8h5Ughr; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k23si1412930eji.601.2020.06.10.22.53.12; Wed, 10 Jun 2020 22:53:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-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=@gmail.com header.s=20161025 header.b=k8h5Ughr; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726473AbgFKFw0 (ORCPT + 99 others); Thu, 11 Jun 2020 01:52:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726375AbgFKFwZ (ORCPT ); Thu, 11 Jun 2020 01:52:25 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF7E8C08C5C1; Wed, 10 Jun 2020 22:52:24 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id f7so5182043ejq.6; Wed, 10 Jun 2020 22:52:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=PRWwHPfTqqS0ILVaBf+JQrfe5m2txu4W6HO5QlFL/zw=; b=k8h5UghrpX8qqfqQfTXDXbRUQ3lwmJ03yuZEbGljcGormhpmoe9NFsLfVUu0w5t6mD AkfGcB1P9L7ETCUf72TAX5SQlVChhYCvbl+oaoCCAuGc6aKT3vnbpwNmgek7JM34xhTL +WC2/Jr8Rg2GwlbOESl//4/dpp5DVZOdLghIBel5uU6iQsNtD+gIMH33KzzoMclj+U7N o6u6syj5XkVeRhAVDq+xTinoHaKoPDp8nICfhgXV8l89hziD73XiYQADUTaZ+MFjpw00 dq3xy1hpGQcGFEI3ujYIh35gG1Z94zPS0fafe4cr1ihXSZbmG1g9MVFr0OXjbgM2gJW9 jZ9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=PRWwHPfTqqS0ILVaBf+JQrfe5m2txu4W6HO5QlFL/zw=; b=LDxNFEe1OOmlcSKbr8Ay6OKG9bOSryCu6NeeVZTjuTv9EQ8myBQi0TOFjv5xnEs+ES EEojoy/sUAUlZfP7oVqnj8dYtiTKrWr0PkG34jvGh+cpLWpT4Y7gqZQceygIUXt9MDt/ h6um5ZKhuztsC0MTxTvcdXTGj42hLa/02ItsRLCebnTxKTbPqlyEOan38hLBFWcoLFJN hoxxYSwdSKouYqLd0c+PyAzaAl+7Vmr0zI35OWcv808tc7mrc6fl5sk4QDA3L6etNUdQ ntR4HBQwCSBzMYaFDRKZ60ogY+e5EwxNSSTuqIKe5Jn3hHUmBH/FrCr+tDoUQMHl7TDL s+Yg== X-Gm-Message-State: AOAM532wEnCEmW/UpKagl5C1PxUHsOtYNgyVn+NqVeDYIMpmZ/KtGVXJ qrK9ptrxAQ6aIqe9tsNoaFs= X-Received: by 2002:a17:906:f913:: with SMTP id lc19mr6719703ejb.286.1591854743743; Wed, 10 Jun 2020 22:52:23 -0700 (PDT) Received: from [192.168.2.1] (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id k23sm1270159ejg.89.2020.06.10.22.52.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jun 2020 22:52:23 -0700 (PDT) Subject: Re: [PATCH] ARM: dts: rockchip: Add marvell BT irq config To: Abhishek Pandit-Subedi , 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, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org References: <20200610190622.1.I66864be898aa835ccb66b6cd5220d0b082338a81@changeid> From: Johan Jonker Message-ID: <4d989400-0a2c-e6c8-8c83-d6d15464a10d@gmail.com> Date: Thu, 11 Jun 2020 07:52:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200610190622.1.I66864be898aa835ccb66b6cd5220d0b082338a81@changeid> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On 6/11/20 4:06 AM, Abhishek Pandit-Subedi wrote: > 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 { For nodes: Sort things without reg alphabetical first, then sort the rest by reg address. &sdio0 goes above &sdmmc. > + #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>; >