<PabloPL>
mimi89999: Hi, yes - i'm working on 7420. I also have some very initial work for 7578/7580 which has the same problem like 7870 - clocks driver
<PabloPL>
mimi89999: Inside vendor sources there was desc for CMU (not the way it's made in clk driver), but it was/is tricky to see what is struct of clocks (relations between them)
<PabloPL>
in that pwrcal for 7870 it looks different than i had on 7580 - here it's using only VCLK in clk driver, where in my case it had MUX/DIV/GATE and something like USERMUX
<PabloPL>
But from what i remember, that VCLK can be seen also in other new soc (8895 and higher)
<PabloPL>
so if someone will know how to handle that pwrcal driver to write mainline driver, the same work could be applied to newer soc
<PabloPL>
mimi89999: If You have sdcard on Your device, You could start with running uboot on it - it's very easy when based on work done by mszyprow. In my case (7420 on s6 edge) i cannot use it because it needs ufs + pmic + i2c which are not available in uboot for this soc(got i2c running using small patches based on linux kernel sources, but didn't had time to port whole PMIC driver to it. without this uboot was running fine)
<PabloPL>
krzk: Hi. is there maybe somewhere in tizen uboot patch to add support for CCF for Exynos to uboot?
<mimi89999>
It's the Samsung Galaxy A3 2017
<mimi89999>
It does have an SD card.
<PabloPL>
my device with 7578/7580 was A3 2016
<mimi89999>
Do I need to crack it open and add a serial console to it?
<PabloPL>
no, it's behind microusb (in my case it was not usb-c)
<mimi89999>
Is there a tutorial on how to get started with everything?
<PabloPL>
mimi89999: By saying "Everything" You mean what to do to get logs or try to get mainline on it?
<mimi89999>
Build and boot the kernel, get logs, etc.
<mimi89999>
The device is running LineageOS and I have an UART console.
<mimi89999>
That's all I got
<PabloPL>
first, try to build/get cable to get logs - it'll be usefull (on 8895 they did manage to boot mainline and get logs using pstore)
<PabloPL>
then i saw some patches related to bringup new arch (made probably by mszyprow), where order was uart + pinctrl + clk driver
<PabloPL>
and take vendor sources, check how it's working there and try to make it work the same way on mainline
<mimi89999>
Did they do a witeup?
<mimi89999>
Where can I find the UART init code?
<PabloPL>
mimi89999: inside vendor sources, look for dts files used on Your device. There You have info about which drivers are used (for example there is compatible name for uart code). Take that name and search for driver "using it"
<PabloPL>
mimi8999: For example in exynos7870.dtsi You can see that uart is using "samsung,exynos-uart" so it's drivers/tty/serial/samsung.c
dllud has joined #linux-exynos
<mimi89999>
I have no clue how a cable for that would look.