Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 A267834E741 for ; Fri, 28 Aug 2026 18:43:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787942624; cv=none; b=hKdUyKnW9jLNSJcJl4jtT/ONgk7mzzPmhDtzode8m5DZsxcMvIPATwdp0XsL9J/FZIS+NNVUQye7psI0Tts1i+jZmNILvPkENIfVRU4oDaYpvNkW0cFixghWhffitZ5XhFXK0xtfj0/g0KD+kQ+R1gyshIw5Oo7XTAUJEjPggNI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787942624; c=relaxed/simple; bh=uFKQ0s8xluJy9Zpcg8C1QnUtvrA1YtXx82Hhup22bbg=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=maV/fx+E1z0yjKbjXTKUTfBxWIeI9d4kIhobWlWEP5qldoNEupiCJdk533JmaRfCKRVVXROhx1rRMDqP9Yy+jpq7gO8hs64EzYAmXbf/O9ukSl3MPBBBeyqxvApW1QQ9m6y8y0qGZ98qHyZIbICpFFBz4bQWOuq9Kw2L1j3thu8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=FhXnOduq; arc=none smtp.client-ip=209.85.221.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b="FhXnOduq" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-482db627cd8so866005f8f.1 for ; Fri, 28 Aug 2026 11:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1787942621; x=1788547421; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:mime-version:from:to:cc:subject:date:message-id :reply-to:content-type; bh=94qIvbYZT++RxO/2P31L+sX5StAbNx1nSTIfspZGHEQ=; b=FhXnOduqEF3YvJD0kvRFTHXn8KfpF4aUICteto21b+KRBJBlQyW6lpF0NBgFMkp1B4 Mcx+yydNQ9G/Y9Z5GPVVQF3fbWxv4NqWkSOt81gvmosJMO3Y1NbzSrx70gHuFxJAzlzU EwGojidVnyIJdFQatgeFX7jXylxPa76U2cgF0Y+/cexULQdG7AYJNHkefVNtisctJEU1 Ax2QGUsaIah7F/llgnimZ+hK1CuXmO2UC+PQp7NgbNrM5Uk89W9LMyfAbweQQMtmmSWH A/DeaDbyTYWoTojGe/CF0pyWRC8qoBnUhdFr4cJAqOlLMnrMqDDj/YDXfOesHUK02SGN M8BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787942621; x=1788547421; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:mime-version:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=94qIvbYZT++RxO/2P31L+sX5StAbNx1nSTIfspZGHEQ=; b=Qn3/UF/BT/UU5JtU9D4eASARtN7Tjao1o4i+ZJJ5KcsOpUXscLlO1uVEv97WMMaXeD 7qs8dfLGSSvDCPOCDGFzfounVY3WTBTKXkl02qI0WpTtnY5J8inYZwojDQ7jrxa9NM4H /usd69Xyk1lgtyvkJZhP7UbEC+Hvn0OFK8d+H/CAxyRz+LapY4r35QRPfdLcdvfGl9+M 2tz+u9OQKiwMeNbY2UkGX1/J7fs74QpnKSnVeBvZbOBFjLhxKXNpgyFLlfAFBd8eG2Qm BP/up8ApXnOm8fugYXa/2nzCC72ugBKktOsEzEdiWBj1OqjSI24zTSNYQQjc9t8S4DSS Yozg== X-Forwarded-Encrypted: i=1; AHgh+RpUHiTsAV/qSGN2eZyeGh23fDkJOK7b3XP1VdT/YBN661GHkY3fQHYWh2W6p/mvErr05jZGGBnB12E=@vger.kernel.org X-Gm-Message-State: AFuF++knx3itt5ivICIbFIVQRAB7hRN+OtkVBuIJsBJwAH2n8CeCr0JB b4Le+/x/gBYw2mrDpgxN4CjBlvg02WpUcyUcQ5D/UjU2r/0gTmr/mNHfTWCOoUiXIGE= X-Gm-Gg: AR+sD10DVxmDx6XDmPWiralLQHPtVmSMqklEcMRUsIFi0X0wVlozBslStqGAow9bLO2 vMUsJrOiWnRwRg22w8E29E+Qm+4aORa3ymX+Gyd0nryOKgFYgkF/wnKUSbJHAR0ArV0qlIZ8N1K ZqjY7dcUjPc0jcoL8kbCkpfMajkrCZoXjcyc9QCPyZj8HkdURxCQADRPt0djQJEGq9b6mLzj/Od g0UAQRAfi/1C3Ko9s4Xp9F5f5OfpBXcGlATm/t6rPKfWTChUGKAoBfIb3mHLklftNkNsry1d1OM 6Q/5X6LOUbBGASthSkbgynlV978rBM7XSPtGrbjqrJVZbFnIOzYOOh8INoSfxWPvQuhdUEknUX/ gc7EICNcUvsecJ0jXmYZQGSjvj+pDzMMOjsmoV5FmxMfTICTO90bc7Xc4+r0OYLSpf/J71Qts3M P+AYqmqM5n379j8On+m1oYEKvlvBsIbQAuLdn1OaASg/HirGHl1gEZDplJ X-Received: by 2002:a05:600c:1992:b0:499:593b:a15b with SMTP id 5b1f17b1804b1-49b91c1fc56mr135192265e9.1.1787942620290; Fri, 28 Aug 2026 11:43:40 -0700 (PDT) Received: from localhost ([2001:4090:a244:80d4:489b:7642:1b32:84d6]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49b945816f2sm85816455e9.8.2026.08.28.11.43.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2026 11:43:39 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-can@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: multipart/signed; boundary=a7aa0324e835eeeaba0f23eb03b67331f6e5a492435f41d33f1303199557; micalg=pgp-sha512; protocol="application/pgp-signature" Date: Fri, 28 Aug 2026 20:43:30 +0200 Message-Id: Cc: "Kendall Willis" , "Markus Schneider-Pargmann" , "Marc Kleine-Budde" , "Vincent Mailhol" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Chandrasekar Ramakrishnan" , , , , , , , Subject: Re: [PATCH v3 1/2] dt-bindings: can: m_can: add out-band-wakeup property From: "Markus Schneider-Pargmann" To: "Conor Dooley" , "Krzysztof Kozlowski" X-Mailer: aerc 0.21.0-146-gb5c16ebe1835 References: <20260821-temp-v3-0-9ac1f8806929@ti.com> <20260821-temp-v3-1-9ac1f8806929@ti.com> <20260821-regulate-recharger-2e984e9591ef@spud> <20260821190511.jwdgox4uocbf4brd@uda0506412> <20260824-public-mashing-252473f928c3@spud> <20260828-antique-lumpy-donkey-51ff42@quoll> <20260828-ladle-hurry-d6f63c45fd19@spud> In-Reply-To: <20260828-ladle-hurry-d6f63c45fd19@spud> --a7aa0324e835eeeaba0f23eb03b67331f6e5a492435f41d33f1303199557 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Hi, On Fri Aug 28, 2026 at 5:46 PM CEST, Conor Dooley wrote: > On Fri, Aug 28, 2026 at 11:07:29AM +0200, Krzysztof Kozlowski wrote: >> On Mon, Aug 24, 2026 at 05:50:20PM +0100, Conor Dooley wrote: >> > On Fri, Aug 21, 2026 at 02:05:11PM -0500, Kendall Willis wrote: >> > > On 17:45-20260821, Conor Dooley wrote: >> > > > On Fri, Aug 21, 2026 at 11:07:00AM -0500, Kendall Willis wrote: >> > > > > Add the out-band-wakeup property as a possible property. The pro= perty >> > > > > indicates that the device can wakeup the system even when its po= wer >> > > > > domain is off. >> > > > >=20 >> > > > > Signed-off-by: Kendall Willis >> > > > > --- >> > > > > Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 2 = ++ >> > > > > 1 file changed, 2 insertions(+) >> > > > >=20 >> > > > > diff --git a/Documentation/devicetree/bindings/net/can/bosch,m_c= an.yaml b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml >> > > > > index 2c9d37975bedd652b3060ab11ba75c37565edaad..0663beaa532bcc4a= 71cd6ad01520a4dfea294d0c 100644 >> > > > > --- a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml >> > > > > +++ b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml >> > > > > @@ -150,6 +150,8 @@ properties: >> > > > > description: >> > > > > List of phandles to system idle states in which mcan can = wakeup the system. >> > > > > =20 >> > > > > + out-band-wakeup: true >> > > >=20 >> > > > Where is "-wakeup" defined genericly, or out-band-wakeup defined t= hat >> > > > you're getting the property definition from? >> > >=20 >> > > I sent a PR to define out-band-wakeup in the wakeup-source.yaml bind= ing >> > > in dt-schema repo. I figured it made more sense to be defined in the >> > > wakeup-source.yaml binding to allow other drivers the option to use = it. >> > >=20 >> > > dt-schema PR: >> > > https://github.com/devicetree-org/dt-schema/pull/205 >> >=20 >> > This sounds like something you should be able to determine from >> > device specific compatibles for these platforms. Not sure why they are >> > not used for this particular device, but this is an indication to me >> > that that is a mistake. >>=20 >> Yeah, it looks a bit too much replicating Linux PM detail. I can imagine >> that some devices on some board are capable of waking up the system even >> when power domain is off, but this does not look like a capability of >> the actual device, but power domain. Device does not have different >> wakeups. (by device I mean this individual schema - Bosch CAN) >>=20 >> Happy to see some bigger picture through DTS or board layouts. Actually >> DTS, showing same Bosch CAN devices which are different on a board - >> some are wakeups and some out of band wakeups - would illustrate it >> better. > > As far as I could make out when I looked at the patch, "Bosch CAN" is an > IP that can be integrated on an SoC rather than a device on the board, > so I'm doubting that there's any difference in capability to wake up the > device caused by the board at all. If there is, it's between different > power domains on the SoC, as you say. m_can is an IP that can be integrated on an SoC. But it is also built into external chips, like the TI tcan chips that connect via SPI. There is also a PCI connected one. Also some SoC integrated m_can devices are coupled to the mcu and not the main processor and can't be fully accessed from the main processor, e.g. they are missing interrupts. Best Markus --a7aa0324e835eeeaba0f23eb03b67331f6e5a492435f41d33f1303199557 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iKMEABYKAEsWIQSJYVVm/x+5xmOiprOFwVZpkBVKUwUCapHW0hsUgAAAAAAEAA5t YW51MiwyLjUrMS4xMiwyLDIRHG1zcEBiYXlsaWJyZS5jb20ACgkQhcFWaZAVSlPK jQD8DHnq+T1G9nCDq2EMC6Svj7CjJU7Mv5RnfGSyRke5RHsA/jG7hRjq7u2Ym8Y2 DkeSrpmFP4mDOYR5dccQlapP16UB =hadu -----END PGP SIGNATURE----- --a7aa0324e835eeeaba0f23eb03b67331f6e5a492435f41d33f1303199557--