<lumag>
flamingradian[m], I have been looking onto the IOMMU since that email. Unfortunately, as always happens with msm devices, it's a bit more complicated than I initially expected. Things got complicated because of the 8996 mmu
<flamingradian[m]>
ah, so I guess that means the series that I originally sent can be applied as-is?
jhovold has joined #linux-msm
cxl000 has quit [Quit: Leaving]
djakov has quit [Remote host closed the connection]
djakov has joined #linux-msm
pevik has joined #linux-msm
cxl000 has joined #linux-msm
pevik has quit [Quit: Reconnecting]
pevik has joined #linux-msm
<aka_[m]>
Marijn: I feel like I'm going to revamp this entire code with regmap update bits and others
pevik has quit [Quit: Lost terminal]
pevik has joined #linux-msm
<lumag>
flamingradian[m], as we are not in a hurry, let's try finishing the refactoring first.
<flamingradian[m]>
lumag: Sorry, I'm confused because there are some replies in the thread which you haven't responded to. One of the emails said, "If the devices are really different, even though it is not visible in Linux driver, then indeed there is no point for fake compatibility." Are we still going to add a generic compat string?
<lumag>
For me there is a reason. I'd say, we already have the arm,mmu-500 compat. So we are already declaring that these IOMMUs are somewhat the same story.
<lumag>
And adding a separate qcom,mmu-500 seems logical.
<lumag>
The idea of having identical compat lines makes me itch.
<flamingradian[m]>
lumag: ok, make sure that the quirks still work
<lumag>
yep
<Marijn[m]>
<aka_[m]> "Marijn: I feel like I'm going to..." <- Be careful with this though, if the reference implementation constructs a local variable and writes the final register value qt once you shouldn't replace that with multiple regmap writes (even though it supports some form of caching/flushing, I'm not sure if it's desirable to use it that way - never seen it)
<Marijn[m]>
s/qt/at.
<Marijn[m]>
There's also reg_field but it looks even more verbose...
<aka_[m]>
<Marijn[m]> "Be careful with this though..." <- i think i can kang clk-pll.c and clk-alpha-pll.c atleast part which touch "user_reg"
<aka_[m]>
because here we have "magic"
<aka_[m]>
which in reality sets early output
<aka_[m]>
names are missleading tho
<aka_[m]>
PLL_USER_CTL in clk-hfpll.c is "user_reg"
<aka_[m]>
PLL_CONFIG_CTL is "config_reg"
<aka_[m]>
im going to rework user_reg because config_reg isn't that much described even in 8916 TRM