mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
ldevulder has quit [Ping timeout: 244 seconds]
thelounge2823 has joined #linux-rockchip
sL1pKn07 has quit [Remote host closed the connection]
sL1pKn07 has joined #linux-rockchip
<anarsoul> hey folks, I'm trying to get my BTT HDMI5 working with BTT CB2 (rk3566) and I'm getting NOCLOCK for all the modes
<anarsoul> it's a 800x480 screen
<anarsoul> any ideas how to fix it up? :)
Daanct12 has joined #linux-rockchip
npcomp has quit [Ping timeout: 272 seconds]
npcomp has joined #linux-rockchip
hexdump0815 has quit [Ping timeout: 252 seconds]
hexdump0815 has joined #linux-rockchip
<anarsoul> I presume I need to patch clk-rk3568.c to add necessary clocks?
dsimic has quit [Ping timeout: 245 seconds]
dsimic has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
Daanct12 has quit [Ping timeout: 260 seconds]
Daanct12 has joined #linux-rockchip
Daanct12 has quit [Client Quit]
System_Error has quit [Ping timeout: 264 seconds]
System_Error has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
<Kwiboo> anarsoul: dedicating hpll for hdmi and using a custom pll table should work, tried to use something like https://github.com/LibreELEC/LibreELEC.tv/blob/d961b36d6ac273fbbff7e3661967a24b78f68798/projects/Rockchip/patches/linux/default/linux-3000-RK3568.patch in an early revision for LibreELEC
<Kwiboo> that seemed to help with lower uncommon resolutions but was not really upstreamable so eventually dropped all custom rk3568 patches
<anarsoul> 640x480@60 should be pretty common though?
<anarsoul> *sigh* I really wonder why HDMI is always broken with rockchip
<anarsoul> btw, it rejects 800x600@60 and 1024x768@60 as well
xha has quit [Quit: WeeChat 4.4.4]
xha has joined #linux-rockchip
MyNetAz has quit [Remote host closed the connection]
<Kwiboo> anarsoul: yep, I had to use a custom hpll rate table exacly for those low resolutions, because default pll table would not allow it, and I did not want to try and adjust the shared pll table, we where already using custom pll table for hdmi on rk3328/rk3399 so why not also on rk3568 ;-)
<Kwiboo> mmind00: look like your "clk: rockchip: rk3576: define clk_otp_phy_g" has not been applied to any tree for next yet? I am getting "rockchip-otp 2a580000.otp: error -ENOENT: Failed to get clk 'phy'" without it on latest linux-next
MyNetAz has joined #linux-rockchip
Daanct12 has joined #linux-rockchip
System_Error has quit [Ping timeout: 264 seconds]
<anarsoul> Kwiboo: I just added two more rates to common table and display seems to work now
mripard has joined #linux-rockchip
ldevulder has joined #linux-rockchip
Daanct12 has quit [Ping timeout: 252 seconds]
eballetbo has joined #linux-rockchip
Daanct12 has joined #linux-rockchip
<CounterPillow> Kwiboo: yeah I noticed that patch missing as well, I assumed it was just not in linux-next yet but if it's not in any tree then the nvmem maintainer did an oopsie by dropping it after saying they applied it
<mmind00> Kwiboo: it looks like mmind00 is blind and overlooked that there was a clock patch in that series ;-)
<mmind00> CounterPillow: ah right ... the applied message from the nvmem maintainer reads they took the clk patch ... so I'm not blind afterall
<CounterPillow> I assume they realised their mistake of picking a patch they shouldn't have picked, dropped it, but then... didn't tell anyone :D
<mmind00> I'll ask the nvmem maintainer what's up and pick the patch then ... this is small enough that it can also fit in as fix if need be
System_Error has joined #linux-rockchip
psydroid2 has joined #linux-rockchip
raster has joined #linux-rockchip
MyNetAz has quit [K-Lined]
Daanct12 has quit [Quit: WeeChat 4.5.2]