Received: by 2002:a05:7412:a9a8:b0:f9:92ae:e617 with SMTP id o40csp54441rdh; Wed, 20 Dec 2023 15:58:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IGArS7uPNr++b+stZ5m26PuCFDr1hCDRJpCnXdtXFellQ9gZY+A2kWdL6Jezgn5CHEGmI7e X-Received: by 2002:a17:906:234c:b0:a23:5140:dd98 with SMTP id m12-20020a170906234c00b00a235140dd98mr2587487eja.2.1703116689519; Wed, 20 Dec 2023 15:58:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703116689; cv=none; d=google.com; s=arc-20160816; b=nGXMc/+MaMA8mZiKWc1FzNspFH6JRW0VgSVO3WbmKNFDpFFj2IU0losfYyNtGN3ZgX gcUgqPnMAlzCBg3tbR66eNOXZEyetztkaCUc+euzDrtuvcOiwB7sqrbcZLkmhdklyzHD kOAvdyE3wiUPrGSeA92zENijgsMkjM3AhIIr9g79tytMdgZErgjyO/McHp/IYuqZWtN8 rI4IamSsQjWiJVozCEZXw3zgJyNmJ+deo3j/uIwQq9g/xa1H59+kDmxXmMuL/xOuWp7m XUORsNF54A+iZCftx/8Su+mvKsdXh9ah+1fllSObob3gbsKYL+hWMGawDJ5J8NfjUHRv mj2A== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7664-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id zz13-20020a170907350d00b00a235776b811si292498ejb.164.2023.12.20.15.58.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:58:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7664-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7664-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 4B7881F247DC for ; Wed, 20 Dec 2023 23:58:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 049144E628; Wed, 20 Dec 2023 23:55:21 +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 Content-Transfer-Encoding: 8bit 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"; -- 2.43.0.472.g3155946c3a-goog