[PATCH 3/4] arm: add basic support for Mediatek MT6589 boards

Matthias Brugger matthias.bgg at gmail.com
Thu Apr 10 02:15:49 PDT 2014


2014-04-10 9:36 GMT+02:00 Arnd Bergmann <arnd at arndb.de>:
> On Wednesday 09 April 2014 21:45:35 Matthias Brugger wrote:
>> This adds a generic devicetree board file and a dtsi for boards
>> based on the MT6589 SoCs from Mediatek.
>>
>> Apart from the generic parts (gic, clocks) the only component
>> currently supported are the timers.
>>
>> Signed-off-by: Matthias Brugger <matthias.bgg at gmail.com>
>
> Hi Matthias,
>
> First of all, I'm really glad to see this get started, thanks for looking
> into these!
>
> Do you know how similar the MT6589 is to the later chips like MT65x2
> and MT6588? What are the on-chip devices like, is it mostly licensed
> IP blocks from designware and others that we already have drivers for,
> or all new drivers?

Actually I don't have any information about the MT6589.
For MT6572 I had a deeper look on the GPT and the UART which seem to
be the same in both SoCs.
But they don't look like IP blocks from any other vendor. Most of the
other on-chip devices look quite similar.
In any case don't trust me too much, as I'm just doing my first steps
on an effort like this.

>
>> +#include <asm/hardware/cache-l2x0.h>
>> +
>> +static void __init mediatek_dt_init(void)
>> +{
>> +     l2x0_of_init(0, ~0);
>> +     of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
>> +}
>
> I hope that with all the cleanup work that Russell has done in the
> past few weeks, we can manage to kill off the call to l2x0_of_init()
> here and have it done by core architecture code instead. That would
> let you have an empty machine file, unless you have other things you
> will need to add in the future.
>
>         Arnd



-- 
motzblog.wordpress.com



More information about the linux-arm-kernel mailing list