rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
<Ixnus> I don't think all the stuff listed in this "dts" is actually in the SoC.
<jernej> tr means transpose - unit for rotating image buffers
<jernej> scr is smart card reader
<jernej> oranth,fd650 are led digit display on Tanix-TX6s board
<anarsoul> jernej: 'compatible = "arm,mali-midgard";' <-- that's definitely not mali-g
<Ixnus> anarsoul: panfrost doesn't support G31 yet, right?
<Ixnus> I'm searching for that info right now :)
<anarsoul> Ixnus: nope
ldevulder has quit [Remote host closed the connection]
ldevulder has joined #linux-sunxi
<Ixnus> thank, nothing bitfrost? And which of the Midgards , is there a list of supported variants somewhere ?
<Ixnus> this makes H616 little less atractive though.
<anarsoul> Ixnus: ask #panfrost
LargePrime has quit [Ping timeout: 255 seconds]
<Ixnus> done
ldevulder has quit [Remote host closed the connection]
ldevulder has joined #linux-sunxi
ldevulder has quit [Remote host closed the connection]
ldevulder has joined #linux-sunxi
ldevulder has quit [Remote host closed the connection]
ldevulder has joined #linux-sunxi
bjne has quit [Ping timeout: 272 seconds]
Ixnus has quit [Remote host closed the connection]
Mangy_Dog has quit [Ping timeout: 258 seconds]
nashpa has quit [Ping timeout: 258 seconds]
Perlovka has quit [Ping timeout: 240 seconds]
nashpa has joined #linux-sunxi
ldevulder has quit [Remote host closed the connection]
ldevulder has joined #linux-sunxi
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 258 seconds]
ChriChri_ is now known as ChriChri
ganbold has joined #linux-sunxi
maccraft has quit [Quit: WeeChat 2.7.1]
Perlovka has joined #linux-sunxi
LargePrime has joined #linux-sunxi
NeuroScr has quit [Quit: NeuroScr]
megi has quit [Ping timeout: 272 seconds]
<wens> Ixnus: I'm not behind the great wall... I'm on the island across.
iyzsong has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
ganbold has quit [Ping timeout: 240 seconds]
ganbold has joined #linux-sunxi
aloo_shu has quit [Quit: aloo_shu]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 258 seconds]
JohnDoe_71Rus has joined #linux-sunxi
reinforce has joined #linux-sunxi
selfbg has joined #linux-sunxi
dddddd has quit [Ping timeout: 272 seconds]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
iyzsong has joined #linux-sunxi
kedder has joined #linux-sunxi
florian_kc is now known as florian
fl_0 has quit [Ping timeout: 260 seconds]
fl_0 has joined #linux-sunxi
<montjoie> at least a crypto node!
vpeter has quit [Remote host closed the connection]
vpeter has joined #linux-sunxi
rex_victor has quit [Ping timeout: 252 seconds]
rex_victor has joined #linux-sunxi
hlauer has joined #linux-sunxi
fl_0 has quit [Ping timeout: 258 seconds]
fl_0 has joined #linux-sunxi
luke-jr has quit [Read error: Connection reset by peer]
jbrown has quit [Ping timeout: 252 seconds]
luke-jr has joined #linux-sunxi
kaspter has joined #linux-sunxi
yann has quit [Ping timeout: 258 seconds]
reinforce has quit [Quit: Leaving.]
reinforce has joined #linux-sunxi
jbrown has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
<MoeIcenowy> 616 is a brand new chip.
<MoeIcenowy> H616 *
<MoeIcenowy> as an incompatible update to H6
rzerres has quit [Quit: ZNC 1.7.5 - https://znc.in]
rzerres has joined #linux-sunxi
AneoX has joined #linux-sunxi
The_Loko has joined #linux-sunxi
<corecode> MoeIcenowy: do you work for allwinner?
<MoeIcenowy> corecode: no
<MoeIcenowy> I can communicate with Allwinner via Pine64
<corecode> sad, that would be good inside knowledge
<corecode> i need to figure out how to buy allwinner chips in medium (100s) quantity
<MoeIcenowy> aliexpress?
<MoeIcenowy> if there is any
<corecode> hehe yea, always a bit sketchy :/
<KotCzarny> counterfeit allwinner chips?
<KotCzarny> that would be quite low
<corecode> i wonder whether i can use the FM audio input on the f1c200s as ADC
<corecode> with good tolerances
<mru> define good
<corecode> 1%, and stable across reboots (so that i can store calibration)
tnovotny has joined #linux-sunxi
suprothunderbolt has quit [Ping timeout: 258 seconds]
<mru> what do you want to use it for?
<corecode> measuring target voltage for information
<corecode> DC voltage
<mru> and what range is that voltage?
<corecode> between 0V and, say 5V nominal
<mru> what resolution do you need?
<corecode> i think 10mV would be good enough
yann has joined #linux-sunxi
<mru> you're probably better off using the touchscreen adc
<corecode> why do you think?
<mru> better suited to the type of measurement, easier to use
<corecode> i'm thinking about using the touchscreen maybe later...
<corecode> do you mean the keyadc?
<mru> no
<corecode> ok
<mru> but I suppose you could use that too if it's good enough
<mru> it's only 6-bit
<corecode> what do you think will be the biggest issue with using the codec adc?
<mru> it's a sigma-delta adc that needs to run continuously at a rather high rate
<mru> not good for one-off sampling
<corecode> can you explain a bit more?
<mru> and it may well have a dc-blocking filter
<corecode> yea at least on the h2+ (orange pi zero) the mic input does not seem to have a dc block
<corecode> at least 0.1Hz was clearly visible
<mru> what are you actually trying to do?
<corecode> just sensing a remote IO voltage, to report
<mru> how frequently?
<corecode> like "target is at 3.01V" or "target is at 0.04V" (aka "not turned on")
<corecode> 1Hz maybe? maybe only when queried
<mru> the tsadc is better for that
<corecode> yea i guess so
<corecode> but of course then i can't use a touch screen
<mru> do you really want to use a resistive touchscreen anyway?
<corecode> the cheap ones seem to use resistive touch
<mru> yeah, but they suck
<mru> now I have no idea what type of device you're building
<corecode> yea i don't have a very good idea yet either :)
<mru> display assemblies with capacitive touchscreen usually include an i2c-connected controller
<corecode> yea i was surprised that the small cheap ones from buydisplay come with resistive touch
<mru> if you want to reserve the tsadc, I think you'll be better off with an external adc for this
<mru> lots of choices there
_whitelogger has joined #linux-sunxi
<corecode> yea, i figured i could use a PAM1710
<mru> typo? such a part number doesn't seem to exist
<karlp> PAM parts are normally dacs and amps arnet they?
<corecode> this one isn't
<karlp> well, I'm with mru, part number doesn't exist :)
<corecode> oh, pac1710
<karlp> that'a s current monitor?
<mru> looks like it is
<karlp> I mean, if that's what you want, sure, but you were asking about voltage measurements earlier :)
<karlp> kinda pricey too.
<corecode> it has voltage measurement as well
<mru> microchip MCP3021 family looks reasonable at a glance
<karlp> one ofthe cheapest discretes at least. though at that price, you could drop a small micro with built in adc for "just" the cost of fw development :)
<mru> and host side driver
<corecode> yea
<corecode> well, using the codec adc would be very simple
<mru> not really
<mru> it's a poor choice for your application
<corecode> why?
<mru> many reasons
<mru> it's all entangled with the audio mixeer
<mru> it's a sigma-delta adc with 8 kHz minimum output rate
<mru> god knows what the reference voltage is
<MoeIcenowy> corecode: btw I think F1C200s has GPADC
<MoeIcenowy> available as muxed with resistive touch
<mru> ah yes, there's a 4-way mux there too
<mru> the feature overview didn't mention that
megi has joined #linux-sunxi
kaspter has quit [Ping timeout: 260 seconds]
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
Mangy_Dog has joined #linux-sunxi
ldevulder has quit [Remote host closed the connection]
ldevulder has joined #linux-sunxi
ldevulder has quit [Remote host closed the connection]
ldevulder has joined #linux-sunxi
ldevulder has quit [Remote host closed the connection]
ldevulder has joined #linux-sunxi
ldevulder has quit [Remote host closed the connection]
ldevulder has joined #linux-sunxi
Perlovka has quit [Quit: Perlovka]
Perlovka has joined #linux-sunxi
maccraft has joined #linux-sunxi
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
djakov has quit [Ping timeout: 252 seconds]
lkcl has joined #linux-sunxi
djakov has joined #linux-sunxi
suprothunderbolt has joined #linux-sunxi
Ixnus has joined #linux-sunxi
<keesj> is is a safe day again to try building 5.6 for the a10-olimex-lime?
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
tnovotny has quit [Quit: Leaving]
Mangy_Dog has quit [Remote host closed the connection]
Mangy_Dog has joined #linux-sunxi
lkcl has quit [Read error: Connection reset by peer]
tnovotny has joined #linux-sunxi
tnovotny has quit [Client Quit]
lkcl has joined #linux-sunxi
tnovotny has joined #linux-sunxi
dddddd has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
dev1990 has quit [Read error: Connection reset by peer]
ganbold has quit [Ping timeout: 258 seconds]
reinforce has quit [Quit: Leaving.]
<montjoie> keesj: i have added an usb stick in our a10 lime, and it is detected by lsusb
<montjoie> I just need to rebuild with massstorage to be sure USB works
dev1990 has joined #linux-sunxi
selfbg has quit [Remote host closed the connection]
<montjoie> keesj: mainline-master-v5.6-rc3-42-gc5f86891185c-arm-multi_v7_defconfig-gcc-8 booted fine today
AneoX has joined #linux-sunxi
pmp-p has quit [Disconnected by services]
pmp-p has joined #linux-sunxi
lkcl has quit [Ping timeout: 265 seconds]
florian has quit [Quit: Leaving]
lkcl has joined #linux-sunxi
Ixnus has quit [Remote host closed the connection]
<keesj> montjoie: thanks a lot for this! I will try building mainline then
<montjoie> mass storage successfuly tested on it (read test)
LargePrime has quit [Ping timeout: 265 seconds]
AneoX has quit [Ping timeout: 255 seconds]
AneoX has joined #linux-sunxi
jbrown has quit [Ping timeout: 265 seconds]
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
_whitelogger has joined #linux-sunxi
LargePrime has joined #linux-sunxi
vagrantc has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
reinforce has joined #linux-sunxi
hlauer has quit [Ping timeout: 240 seconds]
lkcl has quit [Read error: Connection reset by peer]
kedder has quit [Ping timeout: 252 seconds]
matthias_bgg has joined #linux-sunxi
JuniorJPDJ has joined #linux-sunxi
gsz has joined #linux-sunxi
kedder has joined #linux-sunxi
Ixnus has joined #linux-sunxi
lkcl has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
lkcl has quit [Read error: Connection reset by peer]
ldevulder has quit [Remote host closed the connection]
ldevulder has joined #linux-sunxi
yann has quit [Ping timeout: 260 seconds]
matteosilex has quit [Quit: WeeChat 1.6]
matteosilex has joined #linux-sunxi
lkcl has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
lkcl has quit [Read error: Connection reset by peer]
ldevulder has quit [Ping timeout: 258 seconds]
Putti has quit [Quit: Leaving]
matthias_bgg has quit [Ping timeout: 272 seconds]
<anarsoul> mripard_: wens: any feedback on https://patchwork.kernel.org/patch/11405531/ ?
ldevulder_ has quit [Remote host closed the connection]
ldevulder_ has joined #linux-sunxi
lkcl has joined #linux-sunxi
<Ixnus> corecode: Olimex (Europe) sell the allwinner SoCs used in their boards in any quantities https://www.olimex.com/Products/Components/IC/
lkcl has quit [Read error: Connection reset by peer]
mauz555 has joined #linux-sunxi
Putti has joined #linux-sunxi
xes has quit [Quit: bye..]
mauz555 has quit []
xes has joined #linux-sunxi
xes has quit [Client Quit]
lkcl has joined #linux-sunxi
lkcl has quit [Read error: Connection reset by peer]
Guest73 has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
<mripard_> anarsoul: looks fine to me, I was waiting for reviews of the other involved to merge it
yann has joined #linux-sunxi
Ixnus has quit [Remote host closed the connection]
<anarsoul> I think only 5/6 and 3/6 are missing r-b. 3/6 has a-b from Rob
<anarsoul> and 1/6 should be dropped since equivalent has been merged
\\Mr_C\\ has joined #linux-sunxi
xes has joined #linux-sunxi
<mripard_> I'll merge it tomorrow then
<anarsoul> sounds good, thanks
netlynx has quit [Quit: Ex-Chat]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
RichardG867 has quit [Quit: Keyboard not found, press F1 to continue]
RichardG867 has joined #linux-sunxi
lkcl has joined #linux-sunxi
Guest73 has quit [Remote host closed the connection]
lkcl has quit [Read error: Connection reset by peer]
gsz has quit [Ping timeout: 258 seconds]
reinforce has quit [Quit: Leaving.]
tuxillo has quit [Ping timeout: 260 seconds]
lkcl has joined #linux-sunxi
lkcl has quit [Read error: Connection reset by peer]
tuxd3v has quit [Ping timeout: 265 seconds]
ldevulder_ has quit [Remote host closed the connection]
ldevulder_ has joined #linux-sunxi
lkcl has joined #linux-sunxi
pmp-p has quit [Disconnected by services]
pmp-p has joined #linux-sunxi
ldevulder_ has quit [Remote host closed the connection]
ldevulder_ has joined #linux-sunxi
florian has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
ldevulder_ has quit [Remote host closed the connection]
ldevulder_ has joined #linux-sunxi
ldevulder_ has quit [Remote host closed the connection]
ldevulder_ has joined #linux-sunxi
aloo_shu has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
kedder has quit [Quit: WeeChat 2.6]
<MoeIcenowy> megi: applying OOB interrupt seems to make POWER_SAVING work
<megi> MoeIcenowy: is it stable though?
<megi> over say 10s of minutes
<MoeIcenowy> associated with the same AP for 10+ minutes?
<MoeIcenowy> I associated for a whole night just now
<megi> the issue I had was when I was having a ssh session to the PP, it worked for a while, and then when idle for a while, it started having serious lag, like 10s of seconds
<megi> and then the connection was lost completely, and not even ping worked after half an hour or so
<MoeIcenowy> I seems to met this situation, but I doubt it's because of bad signal
<MoeIcenowy> current PinePhone WiFi antennas are not well tweaked
<megi> it was not signal for me
<megi> I tested in a stable condition
<megi> disabling PM fixed it
<megi> I'll try your patches :)
<megi> I know dev phone has not great antena for WiFi, I can't even go to the middle of the room without losing the signal :)
lurchi_ is now known as lurchi__
dev1990 has joined #linux-sunxi
florian has quit [Ping timeout: 260 seconds]
tuxd3v has joined #linux-sunxi
lkcl has quit [Ping timeout: 255 seconds]
<MoeIcenowy> megi: I had a ssh connection idle 10min just now
<MoeIcenowy> and after 10min it reacts in 1s
<megi> sounds great :)
<MoeIcenowy> megi: BTW do you know how to debug USB autosuspend?
<MoeIcenowy> I want to lower the power of modem too
<megi> MoeIcenowy: join #pinedev
<megi> it was discussed there today
<MoeIcenowy> megi: at pine server or freenode server?
<megi> yes, join #pinedev on freenode
<megi> I don't think there's a public log, I'll upload mine for you
<MoeIcenowy> megi: There's log on other servers
<MoeIcenowy> e.g. Telegram
<megi> I don't think telegram is bridged to #pinedev
lurchi__ is now known as lurchi_
tuxillo has joined #linux-sunxi
<MoeIcenowy> it's bridged
<megi> ok then
<MoeIcenowy> I saw the discuss, but I think it's about suspend, not autosuspend
<MoeIcenowy> autosuspend is a part of runtime PM
<MoeIcenowy> which is have the modem to sleep without sleeping the system
<megi> is it supposed to work?
LargePrime has quit [Ping timeout: 258 seconds]
<megi> I thought you can only send it to sleep via AT commands or gpio
<tuxd3v> MoeIcenowy, what is the device? :)
<megi> anyway, autosuspend just works, as long as the other device supports it, in my experience
<MoeIcenowy> Quectel_EC25_Hardware_Design_V1.3.pdf page 3.5.1.2
<MoeIcenowy> s/page/section/
<MoeIcenowy> execute an AT command, then keep DTR high, then USB autosuspend will work
<anarsoul> if you're talking about usb suspend you have to enable it
<anarsoul> in sysfs
<MoeIcenowy> anarsoul: I found it's defaultly enabled with delay 2000ms
<anarsoul> IIRC linux doesn't do that by default since some devices have it broken
<anarsoul> MoeIcenowy: maybe quectel driver does it for you
<MoeIcenowy> tuxd3v: PinePhone, with a Quectel modem
<MoeIcenowy> anarsoul: I checked 3-1, not its subfunctions
wasutton3 has quit [Ping timeout: 255 seconds]
<megi> yeah, it needs to be enabled in sysfs
<anarsoul> you can't suspend subfunction :)
ldevulder_ has quit [Remote host closed the connection]
<MoeIcenowy> megi: how to?
<MoeIcenowy> write a value to autosuspend_delay_ms ?
ldevulder_ has joined #linux-sunxi
<anarsoul> MoeIcenowy: set power/control to auto
<megi> /power/control
<megi> yeah :)
<MoeIcenowy> okay, defaultly it's on
wasutton3 has joined #linux-sunxi
<anarsoul> MoeIcenowy: on means "always on"
<MoeIcenowy> I know
<anarsoul> you can create udev rule to change it to auto
<MoeIcenowy> BTW I'm thinking about how to lower the idle power of PP
<megi> that's gonna be difficult
<megi> DRAM suspend would help a lot
<MoeIcenowy> DRAM suspend is too far
<MoeIcenowy> maybe CPU auto hotplug will help?
<MoeIcenowy> (but this should need a userspace daemon
<megi> turning off CPU doesn't help much
<megi> there's a wall at 0.8-0.9W
<megi> going below is hard
<megi> you can try turning off SoC blocks and PLLs destructively to see how much that saves
NeuroScr has quit [Quit: NeuroScr]
<megi> I hit the similar brick wall on A83T
<anarsoul> megi: we need to put DRAM into self-refresh mode
<anarsoul> that should save some power for sure
<megi> I know
_whitelogger has joined #linux-sunxi
<dgp> Doesn't the PM microcontroller need to work for self-refresh to be usable? (didn't think the openrisc thing was worked out..)
<megi> it works, and it manages power right now for some people :)
The_Loko has quit [Remote host closed the connection]
ldevulder_ has quit [Remote host closed the connection]
ldevulder_ has joined #linux-sunxi
<dgp> oh nice. So CPU cores off with DRAM in self-refresh should be do able.
* dgp would like to get that working on the v3s
<megi> yes
<megi> CPU cores off is already implemented
<megi> it doesn't help much