[PATCH v6 1/7] dt-bindings: can: m_can: Add wakeup properties
Marc Kleine-Budde
mkl at pengutronix.de
Tue Jan 7 04:05:24 PST 2025
On 07.01.2025 10:53:26, Markus Schneider-Pargmann wrote:
> On Wed, Dec 25, 2024 at 08:50:17PM +0100, Marc Kleine-Budde wrote:
> > On 19.12.2024 20:57:52, Markus Schneider-Pargmann wrote:
> > > m_can can be a wakeup source on some devices. Especially on some of the
> > > am62* SoCs pins, connected to m_can in the mcu, can be used to wakeup
> > > the SoC.
> > >
> > > The wakeup-source property defines on which devices m_can can be used
> > > for wakeup and in which power states.
> > >
> > > The pins associated with m_can have to have a special configuration to
> > > be able to wakeup the SoC. This configuration is described in the wakeup
> > > pinctrl state while the default state describes the default
> > > configuration.
> > >
> > > Signed-off-by: Markus Schneider-Pargmann <msp at baylibre.com>
> >
> > The DTBS check fails:
> >
> > | $ make CHECK_DTBS=y ti/k3-am625-beagleplay.dtb
> > | DTC [C] arch/arm64/boot/dts/ti/k3-am625-beagleplay.dtb
> > | arch/arm64/boot/dts/ti/k3-am625-beagleplay.dtb: can at 4e08000: wakeup-source: 'oneOf' conditional failed, one must be fixed:
> > | ['suspend', 'poweroff'] is not of type 'boolean'
> > | ['suspend', 'poweroff'] is too long
> > | from schema $id: http://devicetree.org/schemas/net/can/bosch,m_can.yaml#
> > | arch/arm64/boot/dts/ti/k3-am625-beagleplay.dtb: can at 4e08000: wakeup-source: ['suspend', 'poweroff'] is not of type 'boolean'
> > | from schema $id: http://devicetree.org/schemas/wakeup-source.yaml#
> > | arch/arm64/boot/dts/ti/k3-am625-beagleplay.dtb: can at 4e18000: wakeup-source: 'oneOf' conditional failed, one must be fixed:
> > | ['suspend', 'poweroff'] is not of type 'boolean'
> > | ['suspend', 'poweroff'] is too long
> > | from schema $id: http://devicetree.org/schemas/net/can/bosch,m_can.yaml#
> > | arch/arm64/boot/dts/ti/k3-am625-beagleplay.dtb: can at 4e18000: wakeup-source: ['suspend', 'poweroff'] is not of type 'boolean'
> > | from schema $id: http://devicetree.org/schemas/wakeup-source.yaml#
>
> Thanks, the bot also notified me about this issue. I wasn't able to
> solve it without updating the dt-schema, so I submitted a pull request
> there:
>
> https://github.com/devicetree-org/dt-schema/pull/150
I see, please add to the patch description that it depends on the that
PR and re-post once it is accepted.
Thanks,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250107/fb9599ab/attachment.sig>
More information about the linux-arm-kernel
mailing list