* MT7623 Wifi SoC support questions
@ 2015-07-01 11:04 John Crispin
[not found] ` <5593C939.1020004-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: John Crispin @ 2015-07-01 11:04 UTC (permalink / raw)
To: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Hi all,
I am currently busy making the linux-mediatek support work on the MT7623
made by Mediatek/Ralink so we can add support to OpenWrt.
This SoC looks very similar to the MT8127. The main differences are that
it uses a MT6232 pmic and has pcie/ethernet.
I already managed to get lots of drivers up and running based on what
has been posted on this list. If do however have a few questions.
* I noticed that ARM_ARCH_TIMER is not selected in v4.1 If I only
register the mtk_timer, SMP comes up but the 3 extra cores seem to get
no timer irqs and the whole system seems to run very slow. Selecting
ARM_ARCH_TIMER makes the system boot fine. Is mtk_timer enough for other
MTK SoCs to work ?
* The MT7623 has a 7 port PWM that looks different to the display-pwm
driver that was posted. This PWM has an old and new mode. Oldmode looks
like classic period/duty cyle config, while the new mode has lots of
complexe features. the kernel PWM subsystem can only handle oldmode
style config right now so i was going to add a driver. is anyone working
on this already ? is this core mt7623 specific or do other SoCs have it
aswell ? The registers i have here are called PWMX_CON, PWMX_HDURATION,
PWMX_LDURATION, PWMX_GDURATION ....
* Is anyone working on NAND drivers ?
* Are there any other SoC around that have PCIE ?
Thanks,
John
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: MT7623 Wifi SoC support questions
[not found] ` <5593C939.1020004-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
@ 2015-07-03 13:44 ` Matthias Brugger
0 siblings, 0 replies; 2+ messages in thread
From: Matthias Brugger @ 2015-07-03 13:44 UTC (permalink / raw)
To: linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r; +Cc: John Crispin
On Wednesday, July 01, 2015 01:04:25 PM John Crispin wrote:
> Hi all,
>
> I am currently busy making the linux-mediatek support work on the MT7623
> made by Mediatek/Ralink so we can add support to OpenWrt.
>
> This SoC looks very similar to the MT8127. The main differences are that
> it uses a MT6232 pmic and has pcie/ethernet.
>
> I already managed to get lots of drivers up and running based on what
> has been posted on this list. If do however have a few questions.
It's good to hear, that you can take profit out of this effort. It clearly shows
the value of getting a SoC mainline.
>
> * I noticed that ARM_ARCH_TIMER is not selected in v4.1 If I only
> register the mtk_timer, SMP comes up but the 3 extra cores seem to get
> no timer irqs and the whole system seems to run very slow. Selecting
> ARM_ARCH_TIMER makes the system boot fine. Is mtk_timer enough for other
> MTK SoCs to work ?
I think the basic problem, at least with mt6589 was, that the cntfreq register
was not set correctly by the bootloader, which made the ARM_ARCH_TIMER
unusable.
Apart from that I think, the ARM_ARCH_TIMER will get turned off in some deep
idle state, so that you need mtk_timer (I'm not sure if this holds for mt7623
as well).
>
> * The MT7623 has a 7 port PWM that looks different to the display-pwm
> driver that was posted. This PWM has an old and new mode. Oldmode looks
> like classic period/duty cyle config, while the new mode has lots of
> complexe features. the kernel PWM subsystem can only handle oldmode
> style config right now so i was going to add a driver. is anyone working
> on this already ? is this core mt7623 specific or do other SoCs have it
> aswell ? The registers i have here are called PWMX_CON, PWMX_HDURATION,
> PWMX_LDURATION, PWMX_GDURATION ....
>
I it seems that this PWM is present in other SoCs as well.
Best regards,
Matthias
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-03 13:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-01 11:04 MT7623 Wifi SoC support questions John Crispin
[not found] ` <5593C939.1020004-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
2015-07-03 13:44 ` Matthias Brugger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox