Re: [PATCH v3 1/2] dt-bindings: can: m_can: add out-band-wakeup property

Kendall Willis <[email protected]>
Newsgroups org.kernel.vger.linux-can,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <20260821190511.jwdgox4uocbf4brd@uda0506412>
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 property
> > indicates that the device can wakeup the system even when its power
> > domain is off.
> > 
> > Signed-off-by: Kendall Willis <[email protected]>
> > ---
> >  Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
> > index 2c9d37975bedd652b3060ab11ba75c37565edaad..0663beaa532bcc4a71cd6ad01520a4dfea294d0c 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.
> >  
> > +  out-band-wakeup: true
> 
> Where is "-wakeup" defined genericly, or out-band-wakeup defined that
> you're getting the property definition from?

I sent a PR to define out-band-wakeup in the wakeup-source.yaml binding
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.

dt-schema PR:
https://github.com/devicetree-org/dt-schema/pull/205

> 
> > +
> >  required:
> >    - compatible
> >    - reg
> > 
> > -- 
> > 2.34.1
> >
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.