Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: can: m_can: Add wakeup properties

The pins associated with m_can have to have a special configuration to
be able to wakeup the SoC from some system states. This configuration is
described in the wakeup pinctrl state while the default state describes
the default configuration. Also add the sleep state which is already in
use by some devicetrees.

Also m_can can be a wakeup-source if capable of wakeup.

Signed-off-by: Markus Schneider-Pargmann (TI.com) <msp@baylibre.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20251001-topic-mcan-wakeup-source-v6-12-v10-1-4ab508ac5d1e@baylibre.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

authored by

Markus Schneider-Pargmann (TI.com) and committed by
Marc Kleine-Budde
73cc2882 f968a24c

+25
+25
Documentation/devicetree/bindings/net/can/bosch,m_can.yaml
··· 109 109 maximum: 32 110 110 minItems: 1 111 111 112 + pinctrl-0: 113 + description: Default pinctrl state 114 + 115 + pinctrl-1: 116 + description: Can be "sleep" or "wakeup" pinctrl state 117 + 118 + pinctrl-2: 119 + description: Can be "sleep" or "wakeup" pinctrl state 120 + 121 + pinctrl-names: 122 + description: 123 + When present should contain at least "default" describing the default pin 124 + states. Other states are "sleep" which describes the pinstate when 125 + sleeping and "wakeup" describing the pins if wakeup is enabled. 126 + minItems: 1 127 + items: 128 + - const: default 129 + - enum: [ sleep, wakeup ] 130 + - const: wakeup 131 + 112 132 power-domains: 113 133 description: 114 134 Power domain provider node and an args specifier containing ··· 144 124 access-controllers: 145 125 minItems: 1 146 126 maxItems: 2 127 + 128 + wakeup-source: 129 + $ref: /schemas/types.yaml#/definitions/phandle-array 130 + description: 131 + List of phandles to system idle states in which mcan can wakeup the system. 147 132 148 133 required: 149 134 - compatible