Received: by 2002:a05:7412:a9a8:b0:f9:92ae:e617 with SMTP id o40csp55005rdh; Wed, 20 Dec 2023 15:59:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IH4s+lCyLon292u4/fmJkxblwFroFDVwz4+sjuAUX+ZeyqrU2OKVIYoR+BcBjRZemHubt2R X-Received: by 2002:a17:902:ce84:b0:1d0:b1a0:8a0e with SMTP id f4-20020a170902ce8400b001d0b1a08a0emr24861398plg.40.1703116787871; Wed, 20 Dec 2023 15:59:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703116787; cv=none; d=google.com; s=arc-20160816; b=R3f6ex/yjFNqlaWtiob4Wcw4dsSWIqQ6q8IjOIyGgTB+R2RC6Jjp2sLTPpDVMkZZPf s41y+MCn5ZTIk3r1dKM0nXTOawFTUrf7PyQ7DAtPboeUnbUD4/gWr14ZlyOuEI6K580B 5h+aT/H7haLmM3kqj7ZFJ0Rwe4Yzky5Cjxr2INEUyx1PlgQHJnAnD9NIY0mMDaOK5A/Y QOeCplFtgOwe2LdMS9/qTnVgJeccMnKJwYQI8BuERcqRojzdVeTZ2DMIqPN6N48j8uoc 0D5MY9toG4J6x/a/CRNrnaU5c24H7P/UjybGmuLkn1fS36KI1Hh18X3bNzXeH5Lmsig2 pDbQ== 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=9SmCkbB9UhMeKs9+2qDNSyTsxiHJD2y/t1pUjGilRTg=; fh=YOxMtI6NFJiwbMPTUCT8bF29QhAvhcN7hHoyqERQ05w=; b=LQw23eagHaVsfoT95ZvH9/1Wa5/fOR1hn9OJ3595Dl8jQDnrmyM8/t7awIlFVrYToN +s1s3pfEdR+RzSnp9wbMfCxJNVvqLR27vjzQMWbMytYXPNkDGRXaMZJ4O700/Zh+kvrr qgLF2u2LXfP8wkU0FcTjUKJAEkn/LLXhCQkBwrt7XMMi1ieD7BqQi6i4IDvH69RyL0YI JdCpi7Z6kH/jRKD8hCg1vu3e5MGCTPo0ucq8paHkdVsYJ9iRIsPmYMn8Q+zsiNSmMnC+ gOhTZFkFIjkTV+NYwlHE9t6K2VAgkE1DrOYb9PbvC4OlWfRtDL01CtViTfws/X3to7Co XhTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mocD4svU; spf=pass (google.com: domain of linux-kernel+bounces-7669-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7669-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i4-20020a170902c94400b001d07b6a0ae9si381633pla.203.2023.12.20.15.59.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:59:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7669-linux.lists.archive=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=mocD4svU; spf=pass (google.com: domain of linux-kernel+bounces-7669-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7669-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7AE9B2823E1 for ; Wed, 20 Dec 2023 23:59:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DDC5D4EB5C; Wed, 20 Dec 2023 23:55:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="mocD4svU" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-io1-f46.google.com (mail-io1-f46.google.com [209.85.166.46]) (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 D4ECD4F209 for ; Wed, 20 Dec 2023 23:55:23 +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-f46.google.com with SMTP id ca18e2360f4ac-7b35d476d61so9609539f.0 for ; Wed, 20 Dec 2023 15:55:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1703116523; x=1703721323; 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=9SmCkbB9UhMeKs9+2qDNSyTsxiHJD2y/t1pUjGilRTg=; b=mocD4svUyULAIqzBp0tCOvIKuM+S/+OaorsVAveT04GJ95Ha2HO1WWfA5xz0XoHvwS mkxAXh/iKbvGlydhsId6mWBrJ1AaixPcYaNP00qSQWUe2bKDoRO3iAOLQobnvCs2qjDf V432LDi9YMWbpwP2T5ECRjKK/uoU5p4XArJ0A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703116523; x=1703721323; 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=9SmCkbB9UhMeKs9+2qDNSyTsxiHJD2y/t1pUjGilRTg=; b=Xlu4lXqhu6xlayUZbLp+1IAhreLhgAdZHLcXprCor/+wLUBlf+rHabBk+11cUlTSI0 BIj0bwUrm+tIdP6hWMV0M2VyFQNDQuOuon3Pz/n964UazG9cvA9i+zSaUfDDJ+CeKBaX RC8uXLeI7gcQfQ3rUv5MXDxa15rtEUe9pJ24awmbMG8iT8FBiUnpHW61pW0uXlo3N96u 1Z72SVzuxNIzkNOxH3wwSuQtQywzee54swNQ4DxdaqAX0Rcf7Q8o4cf+LJDN9pnYDAfK 8I5zAYAen/dqQMyLReMQAlGYSMznD8NflK1ZmQFF20pLVLP/qMtqukKeJCOMhWnWAKdn mPSA== X-Gm-Message-State: AOJu0Yy1uGSCJxrNYb1utExWuk+i2A4WAVFmnRLPyBMyJ+a2dJrkrsxp 7P/HxqzgRmUN8ZhjkLtDvNvCdqosU68lmQ7YZ1Y= X-Received: by 2002:a6b:7f01:0:b0:7b7:fd05:4472 with SMTP id l1-20020a6b7f01000000b007b7fd054472mr2991741ioq.18.1703116522877; Wed, 20 Dec 2023 15:55:22 -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.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:55:22 -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 , Heiko Stuebner , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH v2 16/22] arm64: dts: rockchip: rk3399: Enable cros-ec-spi as wake source Date: Wed, 20 Dec 2023 16:54:30 -0700 Message-ID: <20231220165423.v2.16.Ice617703aded22ad4c806459129e1ae693eb57af@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/rockchip/rk3399-gru.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi index 789fd0dcc88ba..b5734e056aef1 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi @@ -603,6 +603,7 @@ cros_ec: ec@0 { pinctrl-names = "default"; pinctrl-0 = <&ec_ap_int_l>; spi-max-frequency = <3000000>; + wakeup-source; i2c_tunnel: i2c-tunnel { compatible = "google,cros-ec-i2c-tunnel"; -- 2.43.0.472.g3155946c3a-goog