From patchwork Wed Dec 20 23:54:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Hasemeyer X-Patchwork-Id: 181912 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp84629dyi; Wed, 20 Dec 2023 15:58:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxhkWtSOmTwVGouNTFvIUEWtB5sVNiSl47tcZk56MbkhMfUmbThCw8d4Eh3uoa+Im20q0p X-Received: by 2002:a05:6808:1a86:b0:3b8:b063:6bc0 with SMTP id bm6-20020a0568081a8600b003b8b0636bc0mr20674066oib.111.1703116726625; Wed, 20 Dec 2023 15:58:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703116726; cv=none; d=google.com; s=arc-20160816; b=GIP+9glX/zxWkGCmX2bZ+U1jeTN+/3Xz+xU7HXBL92tt7QTQL3CDcLxMBfA75NNSlM +kS8RRkE3RQZp9Z9Zk0m4FdU5RFXGFn/3O8KIgbsv8/6fLeDmS7udow/dzceD4sKC8o7 CeGjai1PZaiJTdyxJ/Xsn8xaR0LJQ7+EmSBS2zmbudsCN4AMdPjp60P3coAI/9Ayl7oZ /hb16anBJeMpXqiJoZhcVcLMHoCA4kDs8JGmrcXdPPWTIlM+lvWGmJu7vmLD3E+nQ+YC Wjf/174jNaBO7OpsrARMIZa2LUCik3CUcLd8MKf5hfNc05t+HsoZ+pstCtI2tM1Pywwy CPLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=QGItW2tX+Z99WO9rLTZWRRLNJGNHjPVu0HpOP7a3OKs=; fh=Ta0MkMbfI2bJVbu+oDLzChQr4nh1L7N9DJijZmyvFvY=; b=T1qQY3kkNDyP0xLhQDK37/Efm/GxkUyZyR9x6sxzMF1wjF1crTETfajQ+/G943QJVz M0UB5+O3ftfyW1SLBA+NTVstj6IGmMb9YG3hzUg0WCMTjE4sU1xAbHrZdEnVqcFxZACm cqXuxyvLsfpxIJyMNNE7B36RqBkg69SGSW0mCrj90yjjtJ3lfF2HViW59/J3dOvnjk0f ydlsyCvI93koq68s2crTd7syfJE5rNs6RTaZ5dDed7GCCCsWl+ohq++tIGMmnDjyIaOG YS3wxm3vFgODRw3jli4eeRe7XUYqiDnix+J8imeYF0Fo65qToiG5qhZs3Nx16WQyegIc lrTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=cqCgo5MJ; spf=pass (google.com: domain of linux-kernel+bounces-7664-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7664-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id f23-20020a635557000000b005cd78da57edsi523695pgm.485.2023.12.20.15.58.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:58:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7664-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=cqCgo5MJ; spf=pass (google.com: domain of linux-kernel+bounces-7664-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7664-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5D0DC284A66 for ; Wed, 20 Dec 2023 23:58:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D48D34B142; Wed, 20 Dec 2023 23:55:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="cqCgo5MJ" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-il1-f173.google.com (mail-il1-f173.google.com [209.85.166.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EEF2A4D5AD for ; Wed, 20 Dec 2023 23:55:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-il1-f173.google.com with SMTP id e9e14a558f8ab-35da160de2bso907215ab.1 for ; Wed, 20 Dec 2023 15:55:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1703116518; x=1703721318; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QGItW2tX+Z99WO9rLTZWRRLNJGNHjPVu0HpOP7a3OKs=; b=cqCgo5MJ+zQltH6gmsqAhQd4bBYDYD4ULm26qgJFLOYE+2YZbgxbNwmguh+wk27J02 DBvVHmleH5W96tR06KqERKOQcstAhANlSmRTntAYo/fd4lmNtzaNUGEsJCq0aTzALpfu pWLELdH++kpUjhZ/Y5H54SwLm4T9mCbemWhwg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703116518; x=1703721318; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QGItW2tX+Z99WO9rLTZWRRLNJGNHjPVu0HpOP7a3OKs=; b=s7LxcEu4rZWLrL82KH3AY+sIi2MRm1F2PBOtMQ+9IWSUGz9l8xQ+qeb3d9KBADD50A nyU2ZkHfv6McARSxiNCDXjglc2IDVLOnIrbtqKFvcVLgnQuUFrjyMo/tieytR8pbN5/Y P369TB0OgcnSsnk31SM27iNPkhdc8z0NeqMiu2ltrg3kpWvP0A1g+8jyL/XKe0ZSorJH /MJXCvhzcTCclpC0N8w7HxN1UmMn56NCyovzXEPH4wJzZfbeJcbz0OpbGhGD/Y9t+BMf 16rCUVcHbuZbMq9bf9qdehttC4wHmxalqfhAWvvuviSwzc/37GAQNNWaobV6T3GanyTF 53gw== X-Gm-Message-State: AOJu0YzXeNZz3jCv2veB8GvxB5NWe+ysKgW/prJeXHQVoF4/QDv96Ddn Xx9oK7WMSuYtkT5ofo5RsfhVogA6gRxYy86sBXo= X-Received: by 2002:a05:6e02:3892:b0:35f:b4ef:ff2d with SMTP id cn18-20020a056e02389200b0035fb4efff2dmr5733161ilb.18.1703116518133; Wed, 20 Dec 2023 15:55:18 -0800 (PST) Received: from markhas1.lan (71-218-50-136.hlrn.qwest.net. [71.218.50.136]) by smtp.gmail.com with ESMTPSA id bp22-20020a056638441600b0046b39a6f404sm177805jab.17.2023.12.20.15.55.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:55:17 -0800 (PST) From: Mark Hasemeyer To: LKML Cc: AngeloGioacchino Del Regno , Krzysztof Kozlowski , Tzung-Bi Shih , Raul Rangel , Konrad Dybcio , Andy Shevchenko , Rob Herring , Sudeep Holla , Mark Hasemeyer , Conor Dooley , Krzysztof Kozlowski , Matthias Brugger , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 11/22] arm64: dts: mediatek: mt8195: Enable cros-ec-spi as wake source Date: Wed, 20 Dec 2023 16:54:25 -0700 Message-ID: <20231220165423.v2.11.Iee33a7f1f991408cef372744199026f936bf54e2@changeid> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231220235459.2965548-1-markhas@chromium.org> References: <20231220235459.2965548-1-markhas@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785847324467717091 X-GMAIL-MSGID: 1785847324467717091 The cros_ec driver currently assumes that cros-ec-spi compatible device nodes are a wakeup-source even though the wakeup-source property is not defined. Add the wakeup-source property to all cros-ec-spi compatible device nodes to match expected behavior. Signed-off-by: Mark Hasemeyer --- Changes in v2: -Split by arch/soc arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi index 5a7cab489ff3a..4292b72566bcf 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi @@ -1067,6 +1067,7 @@ cros_ec: ec@0 { pinctrl-names = "default"; pinctrl-0 = <&cros_ec_int>; spi-max-frequency = <3000000>; + wakeup-source; keyboard-backlight { compatible = "google,cros-kbd-led-backlight";