Re: [PATCH 09/10] power: reset: syscon-reboot-mode: support multi-word reboot modes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux