stikonas has quit [Remote host closed the connection]
gnuiyl_ has quit [Remote host closed the connection]
gnuiyl_ has joined #linux-rockchip
Daanct12 has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 252 seconds]
kevery1 is now known as kevery
zxdd_ has quit [Ping timeout: 268 seconds]
zxdd has joined #linux-rockchip
Daanct12 has quit [Quit: WeeChat 4.5.1]
kevery has quit [Quit: kevery]
kevery has joined #linux-rockchip
hexdump0815 has quit [Ping timeout: 252 seconds]
hexdump0815 has joined #linux-rockchip
naoki has quit [Quit: naoki]
Daanct12 has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
zxdd has quit [Ping timeout: 252 seconds]
zxdd has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
Daanct12 has quit [Quit: WeeChat 4.5.1]
Daanct12 has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 268 seconds]
kevery1 is now known as kevery
f476 has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 252 seconds]
kevery1 is now known as kevery
Daanct12 has quit [Quit: WeeChat 4.5.1]
Daanct12 has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 246 seconds]
kevery1 is now known as kevery
raster has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 245 seconds]
kevery1 is now known as kevery
naoki has joined #linux-rockchip
Daanct12 has quit [Quit: WeeChat 4.5.1]
Daanct12 has joined #linux-rockchip
franoosh has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
urja has quit [Read error: Connection reset by peer]
urja has joined #linux-rockchip
naoki has quit [Quit: naoki]
raster has quit [Quit: Gettin' stinky!]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 248 seconds]
kevery1 is now known as kevery
paulk-bis has quit [Quit: WeeChat 3.0]
paulk has joined #linux-rockchip
System_Error has joined #linux-rockchip
<Kwiboo>
qschulz: mmind00: any suggestion on how to best handle soc specific hs200_txclk_tapnum etc in sdhci driver?, normally I would add it to of_match_table however the driver is used by other platforms and these are specific to rk so unsure if I should extend the driver data struct or assign values to rk35xx priv struct
<Kwiboo>
or should I try to move it to dwcmshc_pltfm_data?
<mmind00>
Kwiboo: having a huge (and getting huger) if (of_device_is_compatible... tree is probably a no-go and also scales really badly ... also the txclk_tapnum thing seems to be already in the platform-data struct?
<mmind00>
so I'd assume moving the other values in there too, would make sense
<mmind00>
Kwiboo: ah no ... that txclk_tapnum is coming from the devicetree
<mmind00>
which also makes sense I guess
<Kwiboo>
mmind00: agree the big if of_device_is_compatible does not look right and should be reworked, and yes txclk_tapnum was in priv data and not driver data
<mmind00>
so if txclk_tapnum is already in the dt, I guess there was already argument for putting it there ... so it'll be the same for the other "tapnum"s
<mmind00>
are these values attached to the sdhci implementation of the soc, or do they hinge on the board-design in some way?
<Kwiboo>
they seem to be attached to the sdhci implementation of the soc and not board-design specific, at least in vendor kernel the delay num's is hard-coded on soc level
<Kwiboo>
and yes, having those tapnum in dt could be one option, or should it be seen as configuration and not be part of dt
<Kwiboo>
hehe yep, I tried to look at the old revisions of that patch and can only see a commend from Rob about u32 -> u8
<Kwiboo>
there does not seem to be any user of rockchip,txclk-tapnum and the controller use different txclk-tapnum depending on mode hs200/hs400 so that prop is not very useful
<mmind00>
Kwiboo: though sdhci-am654.yaml also seems to define them
<mmind00>
or similar at least
<mmind00>
which actually matches your patch ... tapnum for each mode
<Kwiboo>
mmind00: yeah, the values seem to be defined for each soc in dtsi files and not boards, so there is something to point at, thanks for the pointer :-)
<mmind00>
but commit messages on that binding are also lacking dt-maintainer Acks
<mmind00>
Kwiboo: but as they are describing tuning delays, I can imagine that while the defaults might work for boards following layout guidelines, there may be designs where you'd need a per-board override as well
<mmind00>
so I guess for a first try, go with a dt-property and we'll see where that takes us
<Kwiboo>
sounds good, thanks, I will re-work it to use dt-property
<Kwiboo>
I mostly wanted to work on adding basic rk3506 support for linux, but fell down in a rk3528 sdhci trap preparing for an updated u-boot rk3528 v2 series :-)
<mmind00>
:-)
<mmind00>
That yak needs shaving ;-)
* mmind00
needs to remember where he stopped to talk about sdhci delays
<Kwiboo>
hehe :-)
raster has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Read error: Connection reset by peer]
Stat_headcrabbed has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
Daanct12 has quit [Quit: WeeChat 4.5.1]
raster has quit [Quit: Gettin' stinky!]
System_Error has joined #linux-rockchip
mripard has quit [Quit: WeeChat 4.5.1]
System_Error has quit [Remote host closed the connection]
Stat_headcrabbed has quit [Remote host closed the connection]
vagrantc has joined #linux-rockchip
Stat_headcrabbed has joined #linux-rockchip
System_Error has joined #linux-rockchip
eballetbo has quit [Quit: Connection closed for inactivity]
dsimic has quit [Ping timeout: 248 seconds]
dsimic has joined #linux-rockchip
Ermine has quit [Remote host closed the connection]
Ermine has joined #linux-rockchip
raster has joined #linux-rockchip
raster has quit [Quit: Gettin' stinky!]
Stat_headcrabbed has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
b0 has quit [Read error: Connection reset by peer]
b0 has joined #linux-rockchip
gnuiyl_ has quit [Remote host closed the connection]
gnuiyl_ has joined #linux-rockchip
f476 has quit [Ping timeout: 252 seconds]
f476 has joined #linux-rockchip
f476 has quit [Ping timeout: 260 seconds]
f476 has joined #linux-rockchip
ldevulder_ has quit [Quit: Leaving]
naoki has joined #linux-rockchip
UndrWater has quit [Quit: ZNC 1.8.2+deb2ubuntu0.1 - https://znc.in]
UndrWater has joined #linux-rockchip
UndrWater has quit [Client Quit]
UndrWater has joined #linux-rockchip
franoosh has quit [Remote host closed the connection]