ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
<MasterR3C0RD> Interesting... this seems to have a second regulator, the TCS4838
<MasterR3C0RD> More importantly, it's dedicated just to powering the CPU
<MasterR3C0RD> It's supposedly a Texas Instruments part, judging by the compatible used in this device's DT (ti,tcs4838) and one of the few results found on GitHub with any code (https://github.com/YuzukiHD/TinyVision/blob/2dd84f3cb0d0bec2d6ab95408d4468471c5c60e6/kernel/linux-4.9/drivers/regulator/pmu-ext-regulator.c#L16)
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
hipboi has joined #linux-sunxi
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
<MasterR3C0RD> On second glance, it looks like they just copied the code from another driver or something. In any case, I don't see a driver for it anywhere else, and I can't find even implications of a datasheet for it
<parthiban> MasterR3C0RD: Moin! I have TCS4838 in my custom PCB as well. Tied over I2C.
<MasterR3C0RD> Would you happen to have a datasheet for it?
<MasterR3C0RD> It looks like its closest match is the SY8827G, which according to that driver there seems to potentially only differ with its minimum voltage
<parthiban> I remember looking at this datasheet in the past. But couldn't locate in my machine now.
<parthiban> But should be able to get it from the maker of this PCB.
<parthiban> vendor code says ext,tcs4838 / ext,sy8827g / ext,axp1530
<parthiban> All under drivers/power/mfd/pmu-ext-i2c.c
<parthiban> IDK I see VDD-CPU is combing from both AXP717C LX1_1 and also TCS4838 SW_x.
<MasterR3C0RD> I don't have anything to work off of for schematics sadly; all I know for sure is that this seems to have an AXP2202 and a TCS4838; cpu-supply is tcs4838-dcdc0 and potentially dcdc0 and dcdc1 are polyphased to supply CPU power
<MasterR3C0RD> As dcdc1 is defined to the same min/max-microvolt but only dcdc0 is always-on/boot-on, and dcdc1 isn't referenced
flyback has quit [Remote host closed the connection]
flyback has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
hipboi has quit [Quit: hipboi]
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
hipboi has joined #linux-sunxi
hipboi has quit []
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
colinsane has quit []
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.4 Quasar http://www.kvirc.net/]
JohnDoe_71Rus has joined #linux-sunxi
hipboi has joined #linux-sunxi
colinsane has joined #linux-sunxi
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
Jookia has joined #linux-sunxi
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
hipboi has quit [Quit: hipboi]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
_whitelogger_ has quit [Remote host closed the connection]
warpme has joined #linux-sunxi
_whitelogger_ has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
_whitelogger_ has quit [Remote host closed the connection]
hipboi has joined #linux-sunxi
_whitelogger_ has joined #linux-sunxi
<warpme> MasterR3C0RD : fyi: i built & tried syterkit with all variants of t527 on mine h728. None will go :-( This is because all syterkit supported boards are lpddr4 while mine h728 box is ddr3. So effectively i'm on your hands regarding booting h728....
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
warpme has quit []
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
warpme has joined #linux-sunxi
ungeskriptet has quit [Quit: The Lounge - https://thelounge.chat]
ungeskriptet has joined #linux-sunxi
hipboi has quit [Quit: hipboi]
hipboi has joined #linux-sunxi
paulk has quit [Read error: Connection reset by peer]
paulk has joined #linux-sunxi
ungeskriptet has quit [Ping timeout: 480 seconds]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.2.4 Quasar http://www.kvirc.net/]
warpme has quit []
<theslowcoder> Jookia: I finally managed to get I2C working on the T113-S3. Turns out, I'm an idiot, and can't spell "pinctrl"...
warpme has joined #linux-sunxi
ungeskriptet has joined #linux-sunxi
ungeskriptet has quit []
ungeskriptet has joined #linux-sunxi
hazardchem has quit [Read error: Connection reset by peer]
hazardchem has joined #linux-sunxi
hipboi has quit [Quit: hipboi]
dsimic is now known as Guest9498
dsimic has joined #linux-sunxi
Guest9498 has quit [Ping timeout: 480 seconds]
<MasterR3C0RD> warpme: I haven't looked too closely, but you should be able to set the DRAM parameters and such for your board
<MasterR3C0RD> You'll have to do so anyways for U-Boot; I think the primary difference is that SyterKit has the configuration data in its code, but it's in a struct that should be easy to edit
<warpme> MasterR3C0RD : yeah i also think to use a523 code with ddr3 dram code implanted from other (ddr3) board. not sure du syterkit has any aw board with ddr3....
<MasterR3C0RD> The DRAM code used by SyterKit does support DDR3 I believe; its payload is what I'll be using for reverse engineering so
<MasterR3C0RD> You'd need to edit this section to have the parameters for your board
<warpme> aaaa - qll. thx for pointing this!
Schimsalabim has quit [Ping timeout: 480 seconds]
<MasterR3C0RD> I believe the ordering goes clk, type, dx_odt, dx_dri, ca_dri, para0-para2, mr0-mr6, mr11-mr14, mr16, mr17, mr22, tpr0-tpr3, tpr6, tpr10-tpr14
<MasterR3C0RD> Should be able to get all of those from good ol' sys_config.fex
Schimsalabim has joined #linux-sunxi
<warpme> nice: majority of above dram para i already extracted from box android image :-) One Q: may I use exact order you listed ? I have extracted like this: https://gist.github.com/warpme/b532cb724eabc4294ba9e33d27b73e62
warpme has quit []
<MasterR3C0RD> warpme: Exact ordering, yes
JohnDoe_71Rus has joined #linux-sunxi
warpme has joined #linux-sunxi
warpme has quit []
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
mripard has quit [Quit: WeeChat 4.4.2]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
<parthiban> MasterR3C0RD apritzel I will have some time left during next week. So am planning to start TF-A for A133. Am new to TF-A, looking at H616 and past commits, it's mostly playing around with plat/allwinner directory it seems. Any hints and pointers will be helpful. Thanks.
<parthiban> MasterR3C0RD also on the display side, I tried DSI quickly with de0 + tcon0 today, although the panel is added fine (which am not sure yet as this panel is not in the upstream yet), kernel failed bind the DSI parts. I need to have closer look in the clocks.
<parthiban> On the GPU front, with the help of #powervr community, managed to get vulkaninfo working with the GPU. But not able to run any real display applications still.
<MasterR3C0RD> parthiban: Sounds like progress at least! I'll take a look this weekend at fixing that last address mapping bug you're running into with the new code (assuming it's the same relocation failure as before)
<parthiban> Great, thanks.
<MasterR3C0RD> But once that's working I should have a base to work off of for the H616/A133/A523 "combo" DRAM driver
<parthiban> All three SoC's using the same DRAM controller and PHY?
<MasterR3C0RD> Same controller, PHY is almost exactly the same between A133/H616, and A523 has some differences with some registers being packed but is also otherwise identical from the looks of it
<MasterR3C0RD> Controller layer at least is shared, COMMON block code between H616 and A523 should be portable, and PHY can share structure at worst
ungeskriptet is now known as Guest9511
ungeskriptet has joined #linux-sunxi
<MasterR3C0RD> I'll mainly just need to figure out how I want to structure the H616 refactor bits; mainly I will want to move the H616 driver into drivers/dram, whilst moving its config parameters over as well. Then figure out a "name" for the driver
Guest9511 has quit [Ping timeout: 480 seconds]
freemangordon1 has quit []
freemangordon has joined #linux-sunxi
<MasterR3C0RD> And then I already have some concepts I'd like to look at post-refactor, though I haven't yet studied to see if they'd even be feasible (size/arch constraints); for example, I could see DRAM parameters being defined in the device tree
vagrantc has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Quasar 5.2.6, revision: 5.2.6+git-7606-51f3abb83, build type: debug, sources date: 20160102, built on: 2024-11-13 20:14:24 UTC 5.2.6+git-7606-]
ungeskriptet is now known as Guest9515
ungeskriptet has joined #linux-sunxi
Guest9515 has quit [Ping timeout: 480 seconds]
parthi has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
parthiban has quit [Ping timeout: 480 seconds]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #linux-sunxi