Received: by 2002:a05:7412:a9a8:b0:f9:92ae:e617 with SMTP id o40csp54087rdh; Wed, 20 Dec 2023 15:57:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IGLR1nLa/YG1ttOhfIOKHFIBDbOCA1D1ADVLl+3fv263yFqhIMXDvnr6E/ce3eATMmAZZ9B X-Received: by 2002:a17:906:530b:b0:a26:9d1c:a73a with SMTP id h11-20020a170906530b00b00a269d1ca73amr471389ejo.59.1703116626946; Wed, 20 Dec 2023 15:57:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703116626; cv=none; d=google.com; s=arc-20160816; b=J9fp18gSWjMIM4SXYADvqrr37BjK2YFo84TfdEhzWb1Z+usA8aFXeuLL+sgDlRE+yc 9SBQbpUiWBm5bTLsEkBGbVYkxW8JW0eUTjP37bVCKB8E01x5Zkf3zW+wPW1bwn2+0ZAJ ZU0C+hak2riKmjKp5e0C8CFBtpdJTE8Iqnmrx8BpRCaxHD2FkbKmjIVpyu6ZyAg5mYpM WzGQI+kpWdr/cVhHJHLC4+fzI6M3DaKYQufCBhsrYf/bjwm0oSh9bgUXcOwjMfhx2psX rjtf6TwcycyQIqsmuV+l4mI8GRI4cwotDYbyCvvWF4m5xrMraB3MgmZtQaOMpJ6PQkSe KuMg== 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=2yCVu6I1r+NRnz/AsvfCkzFQXXECY+E6K5qe+5haxTA=; fh=Ta0MkMbfI2bJVbu+oDLzChQr4nh1L7N9DJijZmyvFvY=; b=bIG0GfTqIkEpydDKnv5AiyG2E7SNu/uE2VBa/6e1I9uNEu3eC62VLXtLi/HsMuNJVk dYTfjkiDXW3z78CIfZ8F+ToQMTFO+Kk4VDuoE7twIV91iC0js9yQN2sQtrP6NDK/2GS9 EqfDO9iXWATJnPa+Gvm0oLhfxQWVxee2Xoxb8xgagiyR9lmyXqdm4mzG+drDKU02uMa5 KC9jd/Jp3+g+dvi8Wv4IpbpMPaOjTpZwCnMk+750JyC3TCIn1PoJt4zPHzjNO5p+j/BS /qLRSlf/K0Jva9BuLbJ9G4G8PRv8WaHKHEMUCyQce166ArwhlBHKWIy1MVnWxeUc2u9L JHVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=N1G5a8Pl; spf=pass (google.com: domain of linux-kernel+bounces-7659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7659-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 ge21-20020a170907909500b00a1d5873e4e7si271383ejb.61.2023.12.20.15.57.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:57:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7659-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=N1G5a8Pl; spf=pass (google.com: domain of linux-kernel+bounces-7659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7659-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 B17E61F247DC for ; Wed, 20 Dec 2023 23:57:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3994D4D586; Wed, 20 Dec 2023 23:55:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="N1G5a8Pl" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) (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 2CD984CDF5 for ; Wed, 20 Dec 2023 23:55:16 +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-io1-f54.google.com with SMTP id ca18e2360f4ac-7b7d55d7717so8989839f.2 for ; Wed, 20 Dec 2023 15:55:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1703116515; x=1703721315; 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=2yCVu6I1r+NRnz/AsvfCkzFQXXECY+E6K5qe+5haxTA=; b=N1G5a8Pl6WrTyomiUFQijWqyUJclivXFLDPuqXUm1qGjwe+tpjlB3yKLug1SDEc481 ADx1NDpa75czkVpX3jeLVK/8eqImK6UPIDc2k/8AsjZFtpaB8iT2SZsy6wBWt2rFpCSU bciLHt3/DKcpYfASHnvExdxyJRjgqbRah13cE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703116515; x=1703721315; 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=2yCVu6I1r+NRnz/AsvfCkzFQXXECY+E6K5qe+5haxTA=; b=sFSQwkXnIYbmyCZwVX1MDUBNHEvyVJDih978z36DlJtTFAA8Mh7czjR3RNyUpzCjkX Qscgti2/Dsd2m9Z+8WVBoy+lUz/bK64YRIrDQvDOLYfpg71brSUWtdvE/valuAwOtWBq I3dIitHGQkM/fVeepJMmjZ422qCpr/tgfZw3ScgwZrDBRTp3KnjNfVG3bTnNFoe0QfGu Y4rbJjrzeEFnJibmoF9nFqsSciY6F7H8oT/M92PPRpTL27cMozBal5EkQNFL+zHR+Oea Nta1OaMdVYaXGmNIdBAZh86GE86SC//JgD8neCdIC6cc+VF4iIAhMP8j0b+cEa9G3BEd aYRw== X-Gm-Message-State: AOJu0YxcYpfN9CTHBTHdrUBXJosAWadvaKrNghwshpMuCBW66egF+wjv tapITlzJR/R/a+Ped6uYKSBeCnJQSaforQXuihU= X-Received: by 2002:a5e:de46:0:b0:7ba:8b76:6f65 with SMTP id e6-20020a5ede46000000b007ba8b766f65mr67557ioq.9.1703116515275; Wed, 20 Dec 2023 15:55:15 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:55:14 -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 08/22] arm64: dts: mediatek: mt8173: Enable cros-ec-spi as wake source Date: Wed, 20 Dec 2023 16:54:22 -0700 Message-ID: <20231220165423.v2.8.Ic09ebe116c18e83cc1161f4bb073fea8043f03f3@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/mt8173-elm.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi index 111495622cacd..190a3ffd81471 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi @@ -1163,6 +1163,7 @@ cros_ec: ec@0 { interrupt-parent = <&pio>; interrupts = <0 IRQ_TYPE_LEVEL_LOW>; google,cros-ec-spi-msg-delay = <500>; + wakeup-source; i2c_tunnel: i2c-tunnel0 { compatible = "google,cros-ec-i2c-tunnel"; -- 2.43.0.472.g3155946c3a-goog