Re: [PATCH] fixup! regmap-mmio: Add big endian support

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

 



On Mon, Apr 13, 2020 at 09:11:11AM +0200, Ahmad Fatoum wrote:
> ("regmap-mmio: Add big endian support") required syscons to have a device_d
> instantiated for them. This doesn't work for clock drivers though,
> like the sama5d2's, because of_clk_init is called before
> of_platform_populate allocates the devices.
> 
> Restore the old behavior by passing NULL to regmap_init_mmio_clk again.
> Because we want syscons to be endianness aware, do as Linux does and
> duplicate the device tree endianness retrieval in the syscon driver.
> 
> [Note: Clock drivers wishing to make use of this should take care to not
> call syscon_node_to_regmap on a node with a clocks property as this
> will probably fail. This is the Linux behavior. A safer
> device_node_to_regmap will be introduced in a separate series that
> ignores clocks. ]
> ---
> Hopefully my last fixup for this, I think I got it right now.

I hope that as well ;)

Applied, thanks

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