From patchwork Wed Dec 20 23:54:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Hasemeyer X-Patchwork-Id: 181916 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp85072dyi; Wed, 20 Dec 2023 16:00:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IFrY5k3LLfSvbnQQwRpxjBvTGJm0ZO4jITSzkOtr5XvDd0A38IGeaynITE5I9MiQPgw3TOI X-Received: by 2002:a05:620a:4385:b0:77f:9b2:ee9b with SMTP id a5-20020a05620a438500b0077f09b2ee9bmr19994307qkp.88.1703116805442; Wed, 20 Dec 2023 16:00:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703116805; cv=none; d=google.com; s=arc-20160816; b=wsgcdn+6LbmJtZ6oCgQIG8CIvfbck4/TbSoq+w3ax4HSxGDF9c3PjHVzEnn5XNkdHv U/SfJ7bjwRsyQBLur1EPSxQAwX8qjmNv0UIp1xSj09KQ3daDz+odYYjiL7RuPg6JudUl jSjpPlOXxizOGkmHN9A/r1uXrc8uWc9dNazCA2ymCnzPRXrb0KjGv1g1ntARyE6XTUWt dtE0ocjsBxE5TLLj3FK7vv2+ppfLkmSIRwWHfLI6GSyRFpy8vYW3cgOAK+R0SMZSDjFb vbSg58Saj9G12BMNyTZwN8D9VEyQKAHqy/1xTXRJUxrnxV6LKwlAJrxs7ZeNNItDKj25 hi2w== 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=BjWQ8eHs2ceg5U4ktitsF8+YwQ1pARiSqNQDfBjNb6E=; fh=DoMYUhl5tOTLVRet2nx3vQSkG+qPk5uG7MWTiNxxD1k=; b=OxCifysp8ZbfRXvtKxpomjPbcj04AdURBc+XL117dxhYDPnSUrKUf8t8YMvgQXBGWp pdCIGc+Sl+TPNUGwnWI8nnAmlRrKEFO7Iw7gkblO4HMVBWSQLbN32nyqNN7+YMV5S29m Hu30uHbrp/mvIKFbvhbgdDNNJFxJ1a9nmVMxzAnwf/NeXrvIHRjxvcea4rcO59qNdiVu ynIgCPJZh85Be0rbQaC338TjQ8sadQYw4zK5ovgzUfMaSYLkrmKpwy7N6gZ57kEuOnzB eesJlF7ywJpYw4mWOmEKC+J7hPiuoS/Nzs+DMLuwLpdKwscEnc5QzjUCbUl/A9KpeWCJ s5xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=hbJ9A2us; spf=pass (google.com: domain of linux-kernel+bounces-7668-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7668-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ea9-20020a05620a488900b0077f12a793bdsi958177qkb.594.2023.12.20.16.00.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 16:00:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7668-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=hbJ9A2us; spf=pass (google.com: domain of linux-kernel+bounces-7668-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7668-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3E8281C21BDF for ; Thu, 21 Dec 2023 00:00:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B56254BA8B; Wed, 20 Dec 2023 23:55:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="hbJ9A2us" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) (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 E39EF4F1E0 for ; Wed, 20 Dec 2023 23:55:22 +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-f49.google.com with SMTP id ca18e2360f4ac-7ba7e8ba078so8263239f.3 for ; Wed, 20 Dec 2023 15:55:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1703116522; x=1703721322; 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=BjWQ8eHs2ceg5U4ktitsF8+YwQ1pARiSqNQDfBjNb6E=; b=hbJ9A2usGrH7IQvXrRk9FH5Jx/CipokbMBy80RejDGQy09ierB3oveknrICujQ5juw O/yKO3ezi+UriLtn5nCq1HXGjwgy6ufVJRLwmaCcR9uRKCZndrdPG7hLaH8TI2zQ0txO XJqVKAp8cSESzV7foeHH6SHLo/s0rBBhVCY44= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703116522; x=1703721322; 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=BjWQ8eHs2ceg5U4ktitsF8+YwQ1pARiSqNQDfBjNb6E=; b=R1ILaWsdvgvMdbqSa5SYfq9ClmZfDvpz+ZXKJFQU9RXwfHAeXzywYob4326Uyra4B4 bG8znlJ9Fx1aEaW954i660Ng3pqsMu87BwP9tXgqaEE2QFnUFoq6EMtf7D9qmofk6zsR 7YFKCUuF+/KPwR/3O3aY2MvrPD/WDXSakIuIKHb27zE1CjdL1jAXsZvrc3TVGOcAlz5V hoAIJd4WvC7uZIN+bDE6WPsLvWhVOdDKtZwBgiUkSFkh7Nxom/oxhRSW24x4uuCoWbxG +wV2XL3MjUv/1ZO2Ll0ai8hPXUicYTwuXk4wNEd2xJUI/THslXUBLxwpZ9uAAv2vFx3N UQpg== X-Gm-Message-State: AOJu0Yxwn5Pvt7xhj5y/SjhHss25PKiBIZRyA0MpPaxha2T8UsymwiJW 6sA9cDUjmeC6+hXyi4mfJyRFA6CNiiboPpyg6/s= X-Received: by 2002:a05:6602:2809:b0:7ba:80de:e3b9 with SMTP id d9-20020a056602280900b007ba80dee3b9mr786935ioe.11.1703116521985; Wed, 20 Dec 2023 15:55:21 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:55:21 -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 , Bjorn Andersson , Conor Dooley , Krzysztof Kozlowski , Rob Herring , cros-qcom-dts-watchers@chromium.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 15/22] arm64: dts: qcom: sdm845: Enable cros-ec-spi as wake source Date: Wed, 20 Dec 2023 16:54:29 -0700 Message-ID: <20231220165423.v2.15.I870e2c3490e7fc27a8f6bc41dba23b3dfacd2d13@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: 1785847407532903394 X-GMAIL-MSGID: 1785847407532903394 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 Reviewed-by: Douglas Anderson --- Changes in v2: -Split by arch/soc arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi b/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi index 0ab5e8f53ac9f..e8276db9eabb2 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi @@ -852,6 +852,7 @@ cros_ec: ec@0 { pinctrl-names = "default"; pinctrl-0 = <&ec_ap_int_l>; spi-max-frequency = <3000000>; + wakeup-source; cros_ec_pwm: pwm { compatible = "google,cros-ec-pwm";