nighty- has joined #linux-exynos
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-exynos
TheSeven has quit [Disconnected by services]
[7] has joined #linux-exynos
mszyprow has joined #linux-exynos
prahal_odroid__ has joined #linux-exynos
prahal_odroid has quit [Ping timeout: 240 seconds]
prahal_odroid__ is now known as prahal_odroid
libv has joined #linux-exynos
libv_ has quit [Ping timeout: 260 seconds]
indy has quit [*.net *.split]
forkbomb has quit [*.net *.split]
aballier_ has quit [Ping timeout: 260 seconds]
forkbomb has joined #linux-exynos
indy has joined #linux-exynos
aballier has joined #linux-exynos
aballier has quit [Changing host]
aballier has joined #linux-exynos
nighty- has quit [Quit: Disappears in a puff of smoke]
<forkbomb> mszyprow: hi, i plan on submitting a bunch of new dts for devices related to trats2 (Note 2, Galaxy S3), including a common dts that they share. Do you think I should make trats2 inherit from this DTS as well? Basically the only difference between it and the consumer S3 is the cmdline
<mszyprow> forkbomb: if possible, go with the pattern already used with odroids
<mszyprow> forkbomb: exynosXXXX-ZZZZZZ-common.dtsi + exynosXXXX-board1.dts + exynosXXXX-board2.dts
<mszyprow> Galaxy S3 is basically Trats2
<mszyprow> the only difference is bootloader/boot chain
<mszyprow> Note2 is uknown to me, it will probably have different lcd panel
<forkbomb> yeah. Note 2 has different sensors/lcd/touchscreen
<forkbomb> there's also the S3 LTE, which has the same panel but different gpios
<forkbomb> including, apparently, switched SCL and SDA lines for the camera i2c
<forkbomb> but yes, thanks. that's what i'll do
<mszyprow> forkbomb: did you manage to fix the the issues with trats2 panel driver?
<forkbomb> mszyprow: not yet
<forkbomb> i got wifi working though!
<mszyprow> forkbomb: nice! send patches then :)
<javier___> forkbomb: I think you should use non-removable instead of broken-cd in sdhci_3 node
<javier___> since is a WiFi SDIO module IIUC
<forkbomb> ok, do the two mean the same thing?
<javier___> forkbomb: I haven't looked the MMC core for a while so I don't remember if there were a semantics difference
<javier___> but if you check in Documentation/devicetree/bindings/mmc/mmc.txt non-removable seems to be the correct choice for you
<forkbomb> ok, i'll try it. it looks like broken-cd configures it to poll
<forkbomb> the tizen 3.10 kernel uses broken-cd, which i guess is where i got it from
<javier___> I mean, why there would be a card detection pin for a non-removable SDIO chip?
<forkbomb> that's true
<mszyprow> javier___: afair non-removable means probe once on boot, broken-cd poll for changes
<mszyprow> not sure how it integrates with mmc power seq
<forkbomb> i guess we'll find out...
<javier___> mszyprow: I see, that makes sense
<mszyprow> tizen 3.10 kernel used broken-cd to workaround lack of mmc power seq afair
<javier___> mszyprow: yeah, and also used (faked) regulators to toggle the GPIO pins for the reset sequence IIRC
<javier___> another DT hack :P
<forkbomb> yeah, non-removable works properly
<krzk> forkbomb: mszyprow: about the split of DTSes for common parts - it depends on common parts. We had in Exynos two patterns... or actually three patterns:
<krzk> forkbomb: 1. Have common dtsi (like Odroid).
<krzk> 2. Split common blocks and include them (e.g. audio, some periphereals), like Snow and partially in Odroid.
<krzk> 3. (kind of modification of 1) include DTS in other DTS and customize it (example some time ago: TM2 and TM2E for ARM64, but recently it was converted to Odroid model (1)).
<krzk> forkbomb: so it all depends - what are the differences and how the code will look like at the end
<forkbomb> i think what i have at the moment is 1/3 - https://gist.github.com/fourkbomb/165cdfa489af06d46f066929949ef53a
<forkbomb> i'll probably drop c1 and unify t0-lte/t0-3g for now
<mszyprow> krzk: split for common blocks is done because there are >1 boards which use them, but not all needs them (odroid xu3/xu3-lite audio vs. xu4 and hc1)
<forkbomb> since c1 is identical to m0 barring the modem
<forkbomb> and t0 are the same
<forkbomb> and i doubt i'll figure out the modem in the near future
<javier___> forkbomb: while being there I would also change the 0 for IRQ_TYPE_NONE in your interrupts property second cell
<javier___> besides those trivial comments the patch looks good to me
<krzk> mszyprow: yeah, true, the common blocks for specific parts make sense if they will be re-used by many, not just by two.
<mszyprow> krzk: two? what's the point duplicating the whole audio block in xu3.dts and xu3-lite.dts? it is better to make -audio.dtsi and include it both
<forkbomb> javier___: ok, i'll do v3 tomorrow then
<javier___> forkbomb: cool
<krzk> mszyprow: before having XU4 the audio block would be just part of "common" because there is no point of splitting something out of common DTSI just for two DTSes. However now you are referriing to a tree of three devices, sharing common part (DTSI) but only two of them have audio - then yes, let's share it
nighty- has joined #linux-exynos
ahajda has joined #linux-exynos
_whitelogger has quit [Ping timeout: 250 seconds]
_whitelogger has joined #linux-exynos
nighty- has quit [Ping timeout: 250 seconds]
nighty- has joined #linux-exynos
mszyprow has quit [Ping timeout: 240 seconds]
Vasco_O is now known as Vasco
LiquidAcid has joined #linux-exynos
LiquidAcid has quit [Quit: Leaving]
LiquidAcid has joined #linux-exynos
libv_ has joined #linux-exynos
libv has quit [Ping timeout: 260 seconds]
krzk has quit [Ping timeout: 240 seconds]
krzk has joined #linux-exynos
libv has joined #linux-exynos
libv_ has quit [Ping timeout: 260 seconds]
libv_ has joined #linux-exynos
libv has quit [Ping timeout: 260 seconds]
Vasco is now known as Vasco_O
Wizzup has quit [Ping timeout: 248 seconds]
Wizzup has joined #linux-exynos
LiquidAcid has quit [Quit: Leaving]
nighty- has quit [Quit: Disappears in a puff of smoke]