Received: by 2002:a05:7412:a9a8:b0:f9:92ae:e617 with SMTP id o40csp54220rdh; Wed, 20 Dec 2023 15:57:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IEvrjS0l3rUpWOpSpU6aYcUt2+HWyElSqWdlzZbj58JJXIUyzxIXkXy0yjy0+mk1LnDBy68 X-Received: by 2002:a05:600c:46d3:b0:40c:31e5:49da with SMTP id q19-20020a05600c46d300b0040c31e549damr268619wmo.136.1703116649549; Wed, 20 Dec 2023 15:57:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703116649; cv=none; d=google.com; s=arc-20160816; b=EPM3NOcrjoqc74cie5tmxAw6qXydMarxCLVb7Mk+2REbYgRqE3tgHXUuPxTmE0XvTJ KXW1YgiKRiVW+OBC+dtlWQbTMm69gohsUDcRQ3sanlKYvUp3Y8H6nnS/CBgjG82thhdD /1mQyaKHbBa0zE0MP3SNgr/sbizkcdAwTv38FGDDgvilJE3Qgq8XZuiUborUh85yCmO5 H+sVvVEBAO1asfoJshIq281tbDU1pGn+JNq+qYGjcfGTeKkzUJvWYKCtzSXtXYRJJbcS FvOL8smF4m84Hvd9l/6ltk5m9KtoOMxmssEOPdBu9o1tMp5H5mFf62DfaW57/Y/5v8CW GkuA== 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=+KIM4NQPVUw5XQPjNCJNZ+EzGM62sn2zFTK1BxHqm24=; fh=Ta0MkMbfI2bJVbu+oDLzChQr4nh1L7N9DJijZmyvFvY=; b=OasXoZvNDiig32KkBOGfRaKwQApIF2DjnEQI4QEqDsAdzG1gCGMQo9LkCfrQhLxGGB vMuJ+YvpC8LAZWyJeOWHYLrQKT/5Ul2yT6dMjLVZcdE0WQtNj+YJN3t/V9wnOkluxzov cVX04iaHIYvkvJgxomM5fa9LAQIJvt2CtzrjuOgNJjye32a3dCoLrTSy5CX73co3vD7f SOkmV/Dj2vhkrLg6KOnID1avaNv+bZRLbIS3MfxBOyUU0WNKP/Z1Fj4ar7fbxl6wkGWr js7rEmn60av83u4Y604q2ZtmQ+ovkfPGIQhWU/vH8Xj2rvs22fI6LxKMvT1tlzYs6jqB 1dXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Qo9MLcsk; spf=pass (google.com: domain of linux-kernel+bounces-7661-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7661-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 wj6-20020a170907050600b00a1af9c5d853si289438ejb.166.2023.12.20.15.57.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:57:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7661-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=Qo9MLcsk; spf=pass (google.com: domain of linux-kernel+bounces-7661-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7661-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 483151F21289 for ; Wed, 20 Dec 2023 23:57:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A3F74E1A2; Wed, 20 Dec 2023 23:55:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Qo9MLcsk" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-il1-f180.google.com (mail-il1-f180.google.com [209.85.166.180]) (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 522194C630 for ; Wed, 20 Dec 2023 23:55:17 +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-f180.google.com with SMTP id e9e14a558f8ab-35fc1a21f60so1140645ab.0 for ; Wed, 20 Dec 2023 15:55:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1703116516; x=1703721316; 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=+KIM4NQPVUw5XQPjNCJNZ+EzGM62sn2zFTK1BxHqm24=; b=Qo9MLcskKcLDqgh9ODct1NaD2Sm83R1IYP/VUPLNG60Que+2w2mQjLI1zD8+Ti7FjF N6i7dy/6b76Yj8dvZz926CCHAEuQ39jNWcZA4ON95pXdcop1JolsE+MRE9mfkWAi3Jje mcz+Ocl6PEDflBJrnzFUlYT/otX+dm5ztsUAM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703116516; x=1703721316; 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=+KIM4NQPVUw5XQPjNCJNZ+EzGM62sn2zFTK1BxHqm24=; b=eieNPypqYWFSSSzktcbjwIqcjANOquMojZgwb1NgxU+nHo267n9UQLhLSbgDJ3yqDf PvgrcDnLHtbUhHpAhm4hHOU3TrQ6WWkX3oTTSxpo6Lx8FIdD844zSDDQ8nO4oSsb+WQx oZ3jICLuyKQIbDh/9C7surPEEjLbX+mXhz1ftKdvWicCbrWXUbMwBdHaCRNmItC9SNVe m2xXhBV1eAFn7HRlqtlyZuGIHrJyBUVLJpmVu8BZctxzRm73z76x+uS8m62BLQBLcRcW mBevwsp6TbFo8qbR8hpHiW230HtBVtBYnMeobYrOFMDRz46W0Own2gsEFImfbmp6u/PV VL8w== X-Gm-Message-State: AOJu0YyurzxkWKBhg14BsyyR9RknAXeglPfVWc3uEXilv2Mit/if1J4f KGDkdKZ6gWxkIVwIDtgw3GkIzbE5mupKlynNG3o= X-Received: by 2002:a05:6e02:3205:b0:35f:7db1:3f9a with SMTP id cd5-20020a056e02320500b0035f7db13f9amr10498168ilb.34.1703116516382; Wed, 20 Dec 2023 15:55:16 -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.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:55:15 -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 09/22] arm64: dts: mediatek: mt8183: Enable cros-ec-spi as wake source Date: Wed, 20 Dec 2023 16:54:23 -0700 Message-ID: <20231220165423.v2.9.Iba4a8b7e908989e57f7838a80013a4062be5e614@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/mt8183-kukui.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi index 7881a27be0297..06cbf29d16215 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi @@ -922,6 +922,7 @@ cros_ec: cros-ec@0 { interrupts = <151 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default"; pinctrl-0 = <&ec_ap_int_odl>; + wakeup-source; i2c_tunnel: i2c-tunnel { compatible = "google,cros-ec-i2c-tunnel"; -- 2.43.0.472.g3155946c3a-goog