krzk changed the topic of #linux-exynos to: Linux Samsung SoC Exynos and Family | https://exynos.wiki.kernel.org | This channel is logged: https://libera.irclog.whitequark.org/linux-exynos
peko[m] has joined #linux-exynos
Leandro[m]12 has joined #linux-exynos
<Leandro[m]12> hello. i have returned with stupid questions
<Leandro[m]12> i was wondering if anyone had ever worked with exynos3470 here? or if anyone can help me out? i never did soc mainlining
<willmore> Ask the question and see if anyone has the answer.
<Leandro[m]12> I have no real question per se, I guess it’s more like I need help in general, like I don’t even really know where to start lol
<willmore> Rubber duck us, then and if someone can help, they'll chime in. As it is, we have no idea what you're really looking for and it's unlikely someone will be able to help without knowing what you're looking for help with.
<krzk> Leandro[m]12: 3470 like the one from Exynos3250 times? 8 years old?
<krzk> Leandro[m]12: if yes, it should be similar to Exynos3250, so you would be lucky because it has nice mainline support
<Leandro[m]12> The one used in the kminilte yes
<krzk> but mainlining of it does not differ than mainlining of anything else in Exynos ARMv7 family...
<Leandro[m]12> Uhhh maybe but I have never done that
<krzk> memory map looks the same as exynos3250
<krzk> anyway, pmos has nice starting guide for kernel mainline
<Leandro[m]12> Stuff for soc mainlining?
<krzk> if you have questions about Exynos go ahead, but if you want to start with mainlining then pmos channel for mainline is probably better
<Leandro[m]12> I know about device mainlining with Soc support already
<Leandro[m]12> krzk: Okay thanks for that tip about the other Exynos tho
<krzk> Depending on the actual differences this can be a new common DTSI extracted from exynos3250 into shared part and used by both.
<Leandro[m]12> Ok
<krzk> So anyway you need new SoC DTSI (probably with common part), set of new compatibles (being compatible with exynos3250) and finally the board. From the drivers you will need to work on clocks and pinctrl. All others might be already there from exynos3250.
<Leandro[m]12> Thanks
<krzk> but who knows, maybe even clocks could be reused.
<Leandro[m]12> At least I have some form of a to do list now xD
<krzk> Frequencies of most of the clocks between 3472 (so not exactly your model) and 3250 are almost the same - difference in DMC (memory) and G3D (GPU). All others look the same, so maybe even clock driver could be mostly re-used. Look at Exynos4 (4412 and 4212 and 4210) clock drivers - they shared a lot.
<krzk> PLLs for example look exactly the same
<Leandro[m]12> So it’s like it’s smaller/bigger brother?