Re: [PATCH v4 32/47] serial: ucc_uart: use of_property_read_u32() in ucc_uart_probe()

From: Timur Tabi
Date: Fri Nov 15 2019 - 09:36:04 EST


On 11/15/19 2:01 AM, Rasmus Villemoes wrote:
That would be a separate patch, this patch is only concerned with
eliminating the implicit assumption of the host being big-endian. And
there's already been some pushback to adding arch-specific ifdefs (which
I agree with, but as I responded there see as the lesser evil), so
unless there's a very good reason to add that complexity, I'd rather not.

We don't want to encourage people to introduce device trees that don't have the brg-frequency property in them.