Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
gsz has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
gsz has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
parthiban has quit []
parthiban has joined #linux-sunxi
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel has joined #linux-sunxi
<apritzel>
warpme: I created a Wiki page for the X96QPro+: https://linux-sunxi.org/X96QPro%2B feel free to add infos to it, or upload better pictures
warpme has quit []
gsz has quit [Ping timeout: 480 seconds]
dsimic is now known as Guest2661
dsimic has joined #linux-sunxi
Guest2661 has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
bauen1_ has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Read error: Connection reset by peer]
warpme has joined #linux-sunxi
Schimsalabim has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
chewitt has quit [Ping timeout: 480 seconds]
Schimsalabim has quit [Read error: No route to host]
Schimsalabim has joined #linux-sunxi
gsz has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
warpme has quit []
Daanct12 has quit [Quit: WeeChat 4.4.4]
bauen1 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
Schimsalabim has quit [Ping timeout: 480 seconds]
Schimsalabim has joined #linux-sunxi
warpme has joined #linux-sunxi
<MoeIcenowy>
apritzel: currently what's the preferred behavior of getting DT into u-boot? sync to arch/arm/dts or sync to dts/upstream/ and use OF_UPSTREAM?
<jakllsch>
OF_UPSTREAM seems to be popular on the u-boot list these days
<apritzel>
MoeIcenowy: most SoCs differ slightly between kernel and U-Boot, that's why I cannot switch them to OF_UPSTREAM easily. I did it for H616, which does not differ, but A33 is affected
<apritzel>
so for now the process for new DTs is to upstream them to the kernel first, and for the A33 for instance we manually sync, into arch/arm/dts
<apritzel>
and you wouldn't need to sync dts/upstream manually, that would be done by generic, regular U-Boot commits
<apritzel>
for OF_UPSTREAM, if you need a patch early, you can cherry-pick that from the dt-rebasing repo, and then later the regular sync would skip that automatically
<apritzel>
(cf. commit c9fbe861a2fc1ca160dc, for instance)
<apritzel>
MoeIcenowy: long story short: add a commit that adds sun8i-a33-vstar.dts to arch/arm/dts in your U-Boot series, and we then take it from there
cp- has quit [Read error: Connection reset by peer]
bauen1 has quit [Ping timeout: 480 seconds]
warpme has quit []
gsz has joined #linux-sunxi
bauen1 has joined #linux-sunxi
Schimsalabim has quit [Read error: Connection reset by peer]
<loki666>
apritzel: would it be possible that NMI is completly broken on H700 ?
<loki666>
I can't find the details of reg 0x07010320 (where the nmi controller dts points to)
Schimsalabim has quit [Read error: Connection reset by peer]
Schimsalabim has joined #linux-sunxi
flyback has quit [Remote host closed the connection]
Schimsalabim has quit [Read error: Connection reset by peer]
flyback has joined #linux-sunxi
flyback has quit [Remote host closed the connection]
flyback has joined #linux-sunxi
warpme has joined #linux-sunxi
Schimsalabim has joined #linux-sunxi
ftg has joined #linux-sunxi
warpme has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<macromorgan>
apritzel: I think I figured out finally why adding the ID number caused the driver issue. devm_iio_channel_get() calls iio_channel_get(). If there is a valid dev_name() then it uses the device to find the ADC channel, and if there isn't a valid dev_name() it uses iio_channel_get_sys() instead.
<macromorgan>
Long story short if the ID was null, the device had no name, so it used the get_sys routine which worked; when the device got an ID it got a name, which doesn't work
<macromorgan>
I'm thinking if I can add a new routine of devm_iio_channel_get_sys() and mirror devm_iio_channel_get() we might be back in business
<macromorgan>
yep, I cut and pasted devm_iio_channel_get() and replaced the iio_channel_get() call with iio_channel_get_sys() call and that was all it took. I'll put together a patch series. I expect IIO may want the new routine called something else to avoid confusion
<macromorgan>
I'll format the patches and send v1 up in the next day or so
<apritzel_>
loki666: do you mean the hardware side of it? If you see a number > 0 in /proc/interrupts, and particularly it increasing on power key presses, I'd say it works
<apritzel_>
regarding the manual: we don't have a H700 manual, and this NMI pin is one of the differences between the H313/H616/H618 and the H700
<loki666>
Mmmh ok... We do get pek IRQ registered (both raising and falling)
<loki666>
But still can't wake up from it... Any idea on which node I should put the wakeup-source? BSP put it on the PMIC node... But doesn't work on mainline
<loki666>
I also tried to copy some regs values from BSP (that I think are related), but no luck either