Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6301929rdb; Thu, 14 Dec 2023 14:20:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IHsZtcEBpT4vzAI6nT/59q+YTHe3HBDUJqPXINmFmnjgafxSwSskIbkTHlGs1oMjHa3RztI X-Received: by 2002:a05:6a20:8e24:b0:191:c0d0:3d33 with SMTP id y36-20020a056a208e2400b00191c0d03d33mr3513779pzj.3.1702592455997; Thu, 14 Dec 2023 14:20:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702592455; cv=none; d=google.com; s=arc-20160816; b=l18PJoz9Q5ErXA6XwMLn8ozLgwfD2QqMbuYPbfq0WlvrJ8fBMjUlcoe7nbXbB0+FS5 wrdsbxcrHWYmg6vZpm1oYhImeXags83Jjuy112vEUmNtDwATImjjbS/uzMJ0hhid/2J7 q7m4gujvFqHdmm8vYNICJDW9Vl7b9B9iThBVd7mzUvS71W312FxCFOw1+FzQSR3+Mwyq VQWZBfqgFBRWIkYKdkTpW1N6N77M73F2WQ+y4YrtGtr3f1GR/XMGPyB06+kkFwK7W5of 7lHSVRXfUDtr6ZqJX8LpI+6rJ76OIDDwHBBO2vo6ao7UuiLD/FC6T5OPxVNyK/pmeM2K 9okQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=DLrciHpGY/Tr+KDhmgFsHpodGdAyv9347IqpzcQxN0E=; fh=td1DZacKkJOuEy1IVhbTQQPUT5Ker9ck20MlIfpfSHU=; b=gbd+cU1W9qLPxp7dt6gHrNiwo0JidWMIJ3EIVrw3bw7iOiSSUKy/yIAUJFoDoIW8ZU ElZXXXYb+0/9Kf6TQlRjkNsXbHfXJNzagT1m18hMDv6NJ0prF6VAVPwW1qjtVJGRgV+d CxGyiB+CTp6Ein1cGVdxTy/y5uW+B9UTh7gTVvce+MwKWjykazd6RLb/mnyMEu72ZlBc pbmXdUWN7XKNXLY00dOSpHevJmCDtxhcmqHTtwRB0P4mjfTm1ETNUne+TQBiAEpy1Fi5 MDNe9qOs16fb2MBVJuP+WEWr8kGZtxYrq6xmxInXCzW0jFIDy+wB19RwtRZMGlME7Vdn KOzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="QuHgemc/"; spf=pass (google.com: domain of linux-kernel+bounces-181-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n8-20020a654508000000b005c625d44bd5si12003590pgq.281.2023.12.14.14.20.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 14:20:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181-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=@kernel.org header.s=k20201202 header.b="QuHgemc/"; spf=pass (google.com: domain of linux-kernel+bounces-181-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 A626B283607 for ; Thu, 14 Dec 2023 22:20:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2DD192C68B; Thu, 14 Dec 2023 22:20:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QuHgemc/" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1B7B2C68C; Thu, 14 Dec 2023 22:20:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 845EFC433CD; Thu, 14 Dec 2023 22:20:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702592442; bh=DLrciHpGY/Tr+KDhmgFsHpodGdAyv9347IqpzcQxN0E=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=QuHgemc/eGs8haslapsQfMlcL+SJKh/2Xkj9g3QjaPcNuqzC8IWQRs/V6rEVsZiIv LnzLfQTFWKNWM+7/ZObc+6o4ZRqg4NTZJhX60pJ5mHsQMn3EG04kGRZy1ccnAiux4M BbBVLJeJrNzckEWKZv3yiatDKAG428GX/bkOp6W9Yb9+qY0DStkTuHKYBOrVF6ZPTc IX6dRKutdX5tij9PkNcXKB4PMeV8xfy2B0zgG3rzr3dwjvoOnOkZ7JWbPHqVmUEJxY 3S17UtGir9Baa0Jpj3ZSPIIf9oppe7Yc3bS5+VJoneicorjDh+YiyKfdCq47JMIc1v 1Y1/grdMFxhXQ== Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-50bdec453c8so10211463e87.3; Thu, 14 Dec 2023 14:20:42 -0800 (PST) X-Gm-Message-State: AOJu0YxhLRUyRuCp3hR/amJKTRH4nQgq6woqV1/RBCiMUGhRjpK+P1Lt pdR7Ejn36U7E9Q4Q8SBdlXXsYIhSmbeEzTj1hQ== X-Received: by 2002:a05:6512:4847:b0:50a:a5f7:47fb with SMTP id ep7-20020a056512484700b0050aa5f747fbmr4457434lfb.49.1702592440674; Thu, 14 Dec 2023 14:20:40 -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: From: Rob Herring Date: Thu, 14 Dec 2023 16:20:27 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 2/6] arm: arm64: dts: Enable cros-ec-spi as wake source To: Mark Hasemeyer 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" Content-Transfer-Encoding: quoted-printable On Thu, Dec 14, 2023 at 3:04=E2=80=AFPM Mark Hasemeyer wrote: > > > 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." That's probably too strongly worded because wakeup capable devices existed (and still exist) before this binding was created. Powerpc for example doesn't use it. > 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, thes= e > > 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. Please explain in the patches with an ABI break why it doesn't matter. Rob