[PATCH 09/10] power: reset: syscon-reboot-mode: support multi-word reboot modes
Sascha Hauer
s.hauer at pengutronix.de
Wed Oct 7 04:18:16 EDT 2020
On Wed, Sep 16, 2020 at 03:50:34PM +0200, Ahmad Fatoum wrote:
> SoCs like the i.MX6 have their BootROM consult two distinct 32-bit
> registers to determine the reboot mode. Extend the driver to support
> this. While backwards compatible, this is not so far supported by the
> upstream binding, which is why a new barebox,syscon-reboot-mode is
> introduced. This new compatible be inhibit used to inhibit fixup
> into a kernel device tree.
>
> static const struct of_device_id syscon_reboot_mode_of_match[] = {
> - { .compatible = "syscon-reboot-mode" },
> + { .compatible = "syscon-reboot-mode", .data = &reboot_fixup },
> + { .compatible = "barebox,syscon-reboot-mode", .data = &reboot_nofixup },
Please add this to Documentation/devicetree/bindings/
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list