From patchwork Wed Dec 20 23:54:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Hasemeyer X-Patchwork-Id: 181910 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp84449dyi; Wed, 20 Dec 2023 15:58:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IHV4ilup7Zj3jhNPTGqPpPyPm3iDmCaCl3iEwOvWx3zter84UEntbJYnmNPfjOQBsMvb9xJ X-Received: by 2002:a17:906:113:b0:a23:6e79:3916 with SMTP id 19-20020a170906011300b00a236e793916mr2323240eje.12.1703116693693; Wed, 20 Dec 2023 15:58:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703116693; cv=none; d=google.com; s=arc-20160816; b=Qyx2a+u73VvaipeMiS7Y+gS+s0Gx7G3A8sdEOUoYL7DnAfnnfifXosgqHrfMjxXo8R q7KkMB2UFkX1vYjBZItYjflxuJ83nRgobiAcnHhrMTaKza16AuNY3nw2LjR2I/zyh3W+ QvfVqSxs/azllPNuNhoeK8ty3jh3iwFNZ2zzWtEcS7c0sOtHRFiB7aLvUeXrZa2kU3sQ OiSaiOSMgTBOH9FGZ3qAVt8rmP9+g9dk+/QLvznbGjIjIPpI/CoENu1Ch07OnEthSZp/ 8tJcy8hEacAv49I/9A/4gOLMogpwfSEq3rzHHJFNgCrDfUkGxd7hz6S5MlKL18VcAkx7 Yh7g== 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7661-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i21-20020a1709064ed500b00a1e116ea80dsi280229ejv.453.2023.12.20.15.58.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:58:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7661-ouuuleilei=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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7661-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 51C531F211DD for ; Wed, 20 Dec 2023 23:58:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 291C94E62F; 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="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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785847290029345110 X-GMAIL-MSGID: 1785847290029345110 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";