Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp897990rwb; Mon, 26 Sep 2022 07:14:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6naBdZ9tEySLOXJboJ3/lWhbZY3mxHHg2+7OEV0QzUtZltxrqldK4KQdlWTht2RhHCX7vz X-Received: by 2002:a50:fb17:0:b0:457:1808:8471 with SMTP id d23-20020a50fb17000000b0045718088471mr9888200edq.338.1664201669893; Mon, 26 Sep 2022 07:14:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664201669; cv=none; d=google.com; s=arc-20160816; b=FgXv2aK5PHTClis2Uk3ajbzxONYAsNI53GtQQTSLHy0+e+JhCdPvIsM+D8pQUtSQuR WSDH41dDxpMvp99dt59FDb+Wc1SH1i4RwLl0U9SCwzfOx7J5afo5F9IMrZxb0Th7OM0R E/2G0j1KGSH44/BcDaddWBjCmZGo67BUSpjRwOiHYwJtdW9ThZGkt5lDtxvJRUqjaJSk /EYH2LGHKhJ7636IcTYDWk0GrQzkfHhC2O7C1wrl01Cy2HKarfikQ0JVhG90SXMiMLh4 7+cyuLcbatCVHHr5mE/XEFTqH6aldhBcwgIx0QcrYE4gMB3XxXpW+gbXCmJv/nxq6fZ9 JYGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=osBvVQWTlXXsqQ2yk8LT1rrzFqVoaK5E3lENP4w2afA=; b=x7239d1xVB0n9ACpicxDvgsUCZ+eO9PK4sBdO6x2m51FoC9eT2AT1fYwR2V+fWRTcE QAw128C3BFUwY75/wjeWyp5btNALv4bIay3t+Zi3eVkqtRIFkOoUeQdjN8Cnqa1bE85F IDvHD+ZyMZ7CST8yW+jLlrVeCJ4zZNvZFiVlJhMd3HLVaVN+lP9O5CPVucz3uUdWqTSt trQFzJO7ovYuWtq66wf2GFLZm4wZkRwN94OmXEoZM+1Nc9YvH0ffq4MetMHBEtd8cr/f HmoOqx0xrC9/g2uF55yz47T2SACTmx25Pes7piV2cRNbwTqf96AwkhivqGGNBRD4KbEQ l/EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oZB91vBk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u9-20020a50eac9000000b0044f025c3827si13617657edp.111.2022.09.26.07.13.48; Mon, 26 Sep 2022 07:14:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oZB91vBk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238912AbiIZL7M (ORCPT + 99 others); Mon, 26 Sep 2022 07:59:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239518AbiIZLzs (ORCPT ); Mon, 26 Sep 2022 07:55:48 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFE6779A4D; Mon, 26 Sep 2022 03:51:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CCDD0B80930; Mon, 26 Sep 2022 10:45:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1441EC433D6; Mon, 26 Sep 2022 10:44:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664189100; bh=dnupetVY1wWSgHC7l/1fb7zy0/8H3mjSL6UcT+AlakA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oZB91vBkEu5zekFXYT2cDZXYUwO0k2Zg4J+EtvOgzmtBeDcqGvQYhd6jtfllGW6dm DWk1sU3co7XTzNBBeyCIGOGboSs6Fv+PWLKvF9tEiL7dVPAwaIQ4X67gtve2b1vJs4 bBR/PNj6ilz2yF9ZsfLC9R/8hAUxJbbTwjb3mxoI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Brian Norris , Douglas Anderson , Heiko Stuebner , Sasha Levin Subject: [PATCH 5.19 074/207] arm64: dts: rockchip: Pull up wlan wake# on Gru-Bob Date: Mon, 26 Sep 2022 12:11:03 +0200 Message-Id: <20220926100809.894142591@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220926100806.522017616@linuxfoundation.org> References: <20220926100806.522017616@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Brian Norris [ Upstream commit e5467359a725de90b6b8d0dd865500f6373828ca ] The Gru-Bob board does not have a pull-up resistor on its WLAN_HOST_WAKE# pin, but Kevin does. The production/vendor kernel specified the pin configuration correctly as a pull-up, but this didn't get ported correctly to upstream. This means Bob's WLAN_HOST_WAKE# pin is floating, causing inconsistent wakeup behavior. Note that bt_host_wake_l has a similar dynamic, but apparently the upstream choice was to redundantly configure both internal and external pull-up on Kevin (see the "Kevin has an external pull up" comment in rk3399-gru.dtsi). This doesn't cause any functional problem, although it's perhaps wasteful. Fixes: 8559bbeeb849 ("arm64: dts: rockchip: add Google Bob") Signed-off-by: Brian Norris Reviewed-by: Douglas Anderson Link: https://lore.kernel.org/r/20220822164453.1.I75c57b48b0873766ec993bdfb7bc1e63da5a1637@changeid Signed-off-by: Heiko Stuebner Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/rockchip/rk3399-gru-bob.dts | 5 +++++ arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi | 1 + 2 files changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-bob.dts b/arch/arm64/boot/dts/rockchip/rk3399-gru-bob.dts index 31ebb4e5fd33..0f9cc042d9bf 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-bob.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-bob.dts @@ -88,3 +88,8 @@ h1_int_od_l: h1-int-od-l { }; }; }; + +&wlan_host_wake_l { + /* Kevin has an external pull up, but Bob does not. */ + rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; +}; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi index 50d459ee4831..eed15fd61d62 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi @@ -578,6 +578,7 @@ wifi_perst_l: wifi-perst-l { }; wlan_host_wake_l: wlan-host-wake-l { + /* Kevin has an external pull up, but Bob does not */ rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; }; }; -- 2.35.1