<lumag>
aka_[m], I think it might be better to split single gpu.yaml into corresponding qcom,adreno-Nxx.yaml. I think DT maintainers prefer to get rid of complex if-else statements. If there is anything common, feel free to add gpu-common.yaml or qcom,adreno-common.yaml
<lumag>
aka_[m], maybe krzk can suggest which approach to take
mgonzalez has quit [Remote host closed the connection]
marvin24 has joined #linux-msm
marvin24_ has quit [Ping timeout: 480 seconds]
<travmurav[m]>
<konradybcio> "until "the great dts linting..." <- is "the tool"(tm) still only in the status of "we dream of it at night"?
minecrell2 has quit []
minecrell2 has joined #linux-msm
pespin has joined #linux-msm
pespin has quit []
pespin has joined #linux-msm
<konradybcio>
yes
<konradybcio>
we did get as far as krzk's dt preference docs in the kernel
<travmurav[m]>
oh, where are those?
<travmurav[m]>
konradybcio: dts-coding-style.rst I guess?
<konradybcio>
yes
<travmurav[m]>
I see
<travmurav[m]>
cool
mripard_ is now known as mripard
Daanct12 has quit [Quit: WeeChat 4.2.1]
<aka_[m]>
lumag: so adreno-common.yaml and yaml for each Gen(6 and 7) together?
<aka_[m]>
I guess it will be hard to do
<aka_[m]>
But i can try
<aka_[m]>
seems like im like out of ideas even if
<aka_[m]>
i still don't understand yaml
<konradybcio>
where are you stuck?
<aka_[m]>
on how even adreno-common supposed to look
<aka_[m]>
if i want to split it i would need to do yaml per gen
<aka_[m]>
i cannot imagine even how common yaml would even work
<konradybcio>
well the common one would define things like clocks, pds, reg, iommus etc
<konradybcio>
then each gen could have specific values for these things
<aka_[m]>
but what would be "common" ?
<aka_[m]>
i mean if we have "common" do we need to mention same props per gen?
<aka_[m]>
like you said lets say clocks are common but count is different per gen/soc/model
<aka_[m]>
so minItems/items probably would be needed to be repeated?
<konradybcio>
under "properties" you require everything that is allowed, then you specify requires entries under "required" and do per-sku specifics in allof:if:
<konradybcio>
the common base will be sort of like function prototypes
<konradybcio>
see bindings/opp/
<aka_[m]>
im lost really lost.
<aka_[m]>
For MDSS there is mdss.yaml, mdss-common.yaml and SOC-mdss.yaml
<konradybcio>
yeah those are a mess
<konradybcio>
don't look too hard
<aka_[m]>
i guess now im going to document every single a5xx
<aka_[m]>
so we have a504/a505/a506/a508/a509/a510/a512/a530/a540
<aka_[m]>
bro i haven't had so much mental exercise in years
<aka_[m]>
s/bro/man/
<konradybcio>
it's big brain time
<lumag>
aka_[m], for mdss you can skip mdss.yaml, just soc-mdss and mdss-common.
<lumag>
likewise for DPU or GCC
<aka_[m]>
guess its much easier to just give up
<aka_[m]>
ok i don't understand it at all
<aka_[m]>
and fact i need to clean tree before trying dt_bindings_check is even worse