Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6266560rdb; Thu, 14 Dec 2023 13:05:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IE3NJ40a3KJo52ZxPM3rP/uz1Ggbj+YLLaUm7vMnHAv3HS+k65FpoBsZr+gHiMuun7OUWs3 X-Received: by 2002:a17:903:2309:b0:1d0:6ffd:8346 with SMTP id d9-20020a170903230900b001d06ffd8346mr6293811plh.81.1702587932725; Thu, 14 Dec 2023 13:05:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702587932; cv=none; d=google.com; s=arc-20160816; b=NajT5Vcuzr33ubeAkoKnXZTzK9xZnhMKMr7+hVUceImfYi5yyHBP013WvEd/KXIRKI jvEUwr8ZHQ1B6spi6x5HxaXDge+f3HRAO21z/QcBHpIcaz3TiAwo3Mqr9ahUk8rNfBV7 naYDxxZJ4GPCBmKWXY+Ly09XFsaf7cQ8pAF8HfIfTABbxRNk/yZqqTLtG0eCepk+G0Fx +GOQTaS50xnXfy1pLJu/s/yMErmJ0s8rEo7F7waVrbOUPzbaNxSC4p/aElU3eRHwphm0 OTbrBYqrjx9iQUu1y5RBzjLNpE/iom1wtiZUdWuLTZjMxqJxzqrg/ml+VXzF2lji3fFE MBww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=XaEePl5RQ+VpxipxnsU9kC510VbER/cFKzlRYB5eqEk=; fh=NnSqtQH8+6Dx+VXZOVtRMtzRzvefTTWVkJzl7+VJtjA=; b=eHPw9UkVAX1LUJ0zcWVwesqmyMceAHFg+jIm+f94OOss4lFMIAumxXbSNXRAB4evkU 6kl5MEj63Hc3+pkgGrBv5VfPWD4HpPi/je7f7OcLhXuf6aPT5F0/2miQdXWdIgZzQUGg lhzvPv9zw47Uq8Uw73BdjdTCJUJM8btc0xkk98E70cifY9X4lV+faF70T0BqwqlrWpoa L6cv3h0Pfj0NzWgBBKLvfXBr9SSphEoQ35XidkYGS06OoeCKFFLW1qC9tWDsdJUo65If gOoPzCpF21W9FoYaP0VlDuuFwXB8TGeO40ESCBwacEqRQEKGXLV43xXRXegWrfH2FKCF tW2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Fph0oSnA; spf=pass (google.com: domain of linux-kernel+bounces-106-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106-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. [139.178.88.99]) by mx.google.com with ESMTPS id d7-20020a170902cec700b001d065c68f06si12017805plg.494.2023.12.14.13.05.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 13:05:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Fph0oSnA; spf=pass (google.com: domain of linux-kernel+bounces-106-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106-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 63947282BDB for ; Thu, 14 Dec 2023 21:05:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 456F26A34D; Thu, 14 Dec 2023 21:05:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Fph0oSnA" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yw1-f181.google.com (mail-yw1-f181.google.com [209.85.128.181]) (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 AA8142BCF6 for ; Thu, 14 Dec 2023 21:04:57 +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-yw1-f181.google.com with SMTP id 00721157ae682-5e2f9e9a2e8so19447207b3.3 for ; Thu, 14 Dec 2023 13:04:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1702587896; x=1703192696; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=XaEePl5RQ+VpxipxnsU9kC510VbER/cFKzlRYB5eqEk=; b=Fph0oSnAZ8YTXVx6MXfJZUcdj7nlFgIdvTjgZRZOOTycAgTsA5nmFsZUdMlCUY0KDj ECSOAnVkvL6Bu1UXlQQ7pmstkoWjAIH2BTQn2EJiIyHYgfa6IexE3nEcsYJVTzyFlynM CdAbHX+fFAHV0zqj0wEbF3KfGcbQ1w8TeN0yQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702587896; x=1703192696; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XaEePl5RQ+VpxipxnsU9kC510VbER/cFKzlRYB5eqEk=; b=prFRQNBpu1G9pCnwWPtBPzoojjnj5Zk+xaxhk2H4IQJc7xxjq71RooPSuGc6vIg0F9 ZxPnVZWtEx/bwq3LN5dZO5U7TR0fUvontlhKCkNy0V/2qu7RmreLWjNQSkl3Xt8rIhhH i7JX/Pjrq/dJ0hBWFLSoaJ8GkMUkNtpvSjiM25KL5F632LJ9IIaytGKayVhe8oLlRO2m CstlxWUjX3r2RYJLi1+uHpmEtcO7NDaXDwy+LmaRBb3n0AnAxMct/x8O1qiO8+XvUtB6 /xVUeZWkdwbT9JVXu3W589XAnHka6AJVtf/LfoUP+R+26uIXpO8ovrWilHVie5deP6ba zU9A== X-Gm-Message-State: AOJu0Yw0KynbeLP1E0nUPWbmTA+hv0xGbQyQejem1iuiLznAvM9ZoMG+ nLGcTQC8q1yk9IgTveIZ5QKVSQTe0pkq9k9K3VFYQQ== X-Received: by 2002:a05:6902:cd:b0:db7:dacf:3fc1 with SMTP id i13-20020a05690200cd00b00db7dacf3fc1mr6479659ybs.110.1702587896545; Thu, 14 Dec 2023 13:04:56 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231213110009.v1.1.Ifd0903f1c351e84376d71dbdadbd43931197f5ea@changeid> <20231213110009.v1.2.I274b2d2255eb539cc9d251c9d65a385cc4014c79@changeid> <20231213221124.GB2115075-robh@kernel.org> In-Reply-To: <20231213221124.GB2115075-robh@kernel.org> From: Mark Hasemeyer Date: Thu, 14 Dec 2023 14:04:45 -0700 Message-ID: Subject: Re: [PATCH v1 2/6] arm: arm64: dts: Enable cros-ec-spi as wake source To: Rob Herring Cc: LKML , Raul Rangel , Alim Akhtar , Andre Przywara , Andy Gross , AngeloGioacchino Del Regno , Baruch Siach , Bjorn Andersson , Claudiu Beznea , Conor Dooley , Heiko Stuebner , Jesper Nilsson , Jisheng Zhang , Jonathan Hunter , Konrad Dybcio , Krzysztof Kozlowski , Matthias Brugger , Michal Simek , Paul Barker , Sudeep Holla , Thierry Reding , cros-qcom-dts-watchers@chromium.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org Content-Type: text/plain; charset="UTF-8" > If a device knows it is wakeup capable, why do you need a property too? I'm referencing: https://www.kernel.org/doc/Documentation/devicetree/bindings/power/wakeup-source.txt "Nodes that describe devices which has wakeup capability must contain an "wakeup-source" boolean property." Currently the driver assumes the device is wake capable without parsing the device tree, which is an incorrect assumption as wake capability should not be enabled on some cros_ec systems. > I haven't looked closely enough, but it smells like after patch 6, these > properties would be required for wakeup? That would be an ABI break. Agreed. In this case, the driver is a ChromeOS related driver and DTS is built from source for each OS update. For more context, I will make sure to CC you (and everyone else) and include a cover letter in the next series version.