afaerber has quit [Remote host closed the connection]
ikmaak has quit [Ping timeout: 240 seconds]
Langoor has quit [Ping timeout: 252 seconds]
kaspter has joined #linux-sunxi
kaspter has quit [Client Quit]
Langoor has joined #linux-sunxi
ikmaak has joined #linux-sunxi
paulk-gagarine has joined #linux-sunxi
clemens3 has quit [Quit: WeeChat 1.0.1]
rej has quit [Ping timeout: 248 seconds]
rej has joined #linux-sunxi
rej has quit [Changing host]
rej has joined #linux-sunxi
popolon has quit [Quit: WeeChat 1.9.1]
pg12 has quit [Ping timeout: 260 seconds]
lurchi_ has quit [Ping timeout: 240 seconds]
lurchi_ has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
ninolein has quit [Ping timeout: 255 seconds]
ninolein has joined #linux-sunxi
anarsoul|2 has quit [Ping timeout: 240 seconds]
cnxsoft has joined #linux-sunxi
argulp has joined #linux-sunxi
mfa298 has quit [Ping timeout: 248 seconds]
mfa298 has joined #linux-sunxi
argulp has quit [Ping timeout: 260 seconds]
pg12 has joined #linux-sunxi
lurchi_ is now known as lurchi__
lioka has quit [Ping timeout: 240 seconds]
lioka has joined #linux-sunxi
Hao has joined #linux-sunxi
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-sunxi
Hao has quit [Ping timeout: 240 seconds]
Hao has joined #linux-sunxi
iamfrankenstein1 has joined #linux-sunxi
jbrown has quit [Ping timeout: 240 seconds]
Pe3ucTop_ has joined #linux-sunxi
leio_ has joined #linux-sunxi
Mylene_ has joined #linux-sunxi
fixmeer has joined #linux-sunxi
rtp_ has joined #linux-sunxi
my123_ has joined #linux-sunxi
my123_ has quit [Changing host]
my123_ has joined #linux-sunxi
f0xx has joined #linux-sunxi
Net147_ has joined #linux-sunxi
iamfrankenstein has quit [*.net *.split]
my123 has quit [*.net *.split]
sunxi_fan has quit [*.net *.split]
leio has quit [*.net *.split]
gnarface has quit [*.net *.split]
Pe3ucTop has quit [*.net *.split]
valkyr1e has quit [*.net *.split]
Net147 has quit [*.net *.split]
fest has quit [*.net *.split]
specing has quit [*.net *.split]
swiftgeek has quit [*.net *.split]
fixmer has quit [*.net *.split]
vbmithr has quit [*.net *.split]
oliv3r has quit [*.net *.split]
KotCzarny has quit [*.net *.split]
Poeticode has quit [*.net *.split]
rtp has quit [*.net *.split]
Mylene has quit [*.net *.split]
iamfrankenstein1 is now known as iamfrankenstein
oliv3r has joined #linux-sunxi
fest has joined #linux-sunxi
specing has joined #linux-sunxi
Poeticode has joined #linux-sunxi
valkyr1e has joined #linux-sunxi
vbmithr has joined #linux-sunxi
gnarface has joined #linux-sunxi
Hao has quit [Ping timeout: 240 seconds]
lurchi_ has joined #linux-sunxi
gnarface is now known as Guest14321
swiftgeek has joined #linux-sunxi
KotCzarny has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 260 seconds]
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #linux-sunxi
ykchavan has joined #linux-sunxi
vagrantc has joined #linux-sunxi
awais has joined #linux-sunxi
IgorPec has joined #linux-sunxi
nemunaire has quit [Quit: quit]
nemunaire has joined #linux-sunxi
nemunaire is now known as Guest66307
Guest66307 has quit [Client Quit]
ykchavan has quit [Quit: Leaving]
nemunaire_ has joined #linux-sunxi
nemunaire_ is now known as nemunaire
JohnDoe_71Rus has joined #linux-sunxi
Guest14321 is now known as gnarface
xes__ has joined #linux-sunxi
xes_ has quit [Ping timeout: 264 seconds]
kaspter has joined #linux-sunxi
tlwoerner has quit [Ping timeout: 240 seconds]
vagrantc has quit [Quit: leaving]
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
tlwoerner has joined #linux-sunxi
cnxsoft1 is now known as cnxsoft
lkcl has quit [Ping timeout: 240 seconds]
argulp has joined #linux-sunxi
a|3x has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter1 has joined #linux-sunxi
reinforce has joined #linux-sunxi
kaspter1 is now known as kaspter
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
leio_ is now known as leio
SP7RT has joined #linux-sunxi
a|3x has joined #linux-sunxi
msimpson has joined #linux-sunxi
medvid has quit [Ping timeout: 240 seconds]
diego_r has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
SP7RT has quit [Ping timeout: 255 seconds]
diego_r has quit [Quit: Konversation terminated!]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Remote host closed the connection]
Gerwin_J has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
medvid has joined #linux-sunxi
jack_ has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
fkluknav has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
yann has quit [Ping timeout: 240 seconds]
leviathanch has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: .]
BenG83 has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
kaspter has quit [Ping timeout: 246 seconds]
Ntemis has joined #linux-sunxi
kaspter has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
f0xx has quit [Ping timeout: 248 seconds]
sr-digitronic has joined #linux-sunxi
kaspter has joined #linux-sunxi
fugitive has joined #linux-sunxi
Mylene_ is now known as mylene
yann has joined #linux-sunxi
f0xx has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
mylene is now known as Mylene
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
JohnDoe71rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Read error: Connection reset by peer]
fugitive has quit [Ping timeout: 248 seconds]
tom_nov has joined #linux-sunxi
fugitive has joined #linux-sunxi
formruga has quit [Quit: Konversation terminated!]
formruga has joined #linux-sunxi
asyring has quit [Quit: Page closed]
formruga has quit [Client Quit]
mkid has joined #linux-sunxi
chomwitt has joined #linux-sunxi
lemonzest has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
gaby has joined #linux-sunxi
gaby has quit [Client Quit]
gaby has joined #linux-sunxi
gaby has quit [Client Quit]
kaspter1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 248 seconds]
kaspter1 is now known as kaspter
paulk-gagarine has quit [Ping timeout: 260 seconds]
lioka has quit [Quit: leaving]
f0xx has quit [Ping timeout: 260 seconds]
paulk-gagarine has joined #linux-sunxi
chomwitt has quit [Ping timeout: 255 seconds]
gnufan1 has joined #linux-sunxi
gnufan has quit [Ping timeout: 248 seconds]
mhlavink has quit [Ping timeout: 246 seconds]
matthias_bgg has quit [Ping timeout: 248 seconds]
<sr-digitronic>
does somebody know how to change the boot0 and boot1, CT_NandBoot does flash on the NAND?
leviathanch has quit [Remote host closed the connection]
jbrown has joined #linux-sunxi
<MoeIcenowy>
oh the AXP naming scheme is a total mess
<MoeIcenowy>
axp803 is nearly the same with the PMIC part on AXP813/818
<MoeIcenowy>
but quite different with 806/809
<wens>
806 and 809 aren't very similar either
kaspter has quit [Quit: kaspter]
<MoeIcenowy>
yes
<qschulz>
what's the plan to have something clean for dtsi for axp803 and axp813/818?
<qschulz>
since axp803 has less regulators than axp813, we can't just include the axp81x in it and override the compatibles
<qschulz>
we could do the opposite though
Gerwin_J has joined #linux-sunxi
<qschulz>
make axp813 include axp803 dtsi (whatever its name would be)
<wens>
qschulz: axp803 has dc1sw (internally chained from dcdc1), axp813/818 has sw (with external swin pin)
<wens>
you can't just merge them
<MoeIcenowy>
qschulz: oh my god... the reg40h on 813/818 is the same with 288
matthias_bgg has joined #linux-sunxi
<MoeIcenowy>
(without dedicated ACIN present)
<MoeIcenowy>
however I think this must be an error
<wens>
MoeIcenowy: it's an error
<MoeIcenowy>
P.S. I'm comparing 813 and 803 datasheets
<wens>
qschulz: I only have plans for shared axp813/818 dtsi file, since they seem to be completely the same, except for external markings
<wens>
I'll post the regulator and dtsi patches tomorrow
<MoeIcenowy>
I think 813/818 and 803 can share cells except the regulator
<wens>
there's no reason to share cells in the driver
<wens>
cell tables anyway
<MoeIcenowy>
yes it's low cost to duplicate cell tables
<MoeIcenowy>
but I think we should be able to re-use the cells in the cells' driver
<wens>
yes, you can share drivers, which is what we already do anyway, with minor differences handled in the drivers
<MoeIcenowy>
e.g. we shouldn't do axp803-adc and axp813-adc ;-)
<wens>
yes, and again we already do that
<MoeIcenowy>
so I'm going to not mention this error in the diff table between 803 and 813
<wens>
it's not a problem, I already tested it
<MoeIcenowy>
the problem now is that I'm WIP on axp803-adc and qschulz is WIP on axp813-adc ;-)
<wens>
you two need to work stuff out then :)
ykaelig has quit [Quit: Leaving]
<MoeIcenowy>
as qschulz says he do not have time to do datasheet diff let me do it
<wens>
if the ADC part is the same, then going by our rule of first seen part number, we would use 813
<MoeIcenowy>
but as my first sense indicated it will take at most 1h
<MoeIcenowy>
as they're too similar ;-)
<wens>
just do the ADC part for now
<buZz>
a/wg 43
<buZz>
kak
<wens>
I can assure you the regulator part is not the same
<qschulz>
MoeIcenowy: don't have time today, tomorrow is fine if ever :)
<qschulz>
wens: ack
<MoeIcenowy>
seems that there's a lot of small differences
<MoeIcenowy>
mostly a "Reserved" on one and a "xxx" on another
<MoeIcenowy>
and these functions are all not processed by our existing drivers now ;-)
<qschulz>
did you mean NOT a lot of differences?
<wens>
if they are different, but don't need dt bindings, then it's easier to fix later on
<MoeIcenowy>
yes NOT a lot
<qschulz>
ok good :)
<MoeIcenowy>
and on ADC/Battery/AC/USB there seems to be 0
<qschulz>
aaaaah I like to hear that :)
<wens>
and for dt bindings I think we should play it safe and have model-specific compatible strings anyway
parazyd has quit [Quit: nuked]
<qschulz>
wens: basically what you did for axp818 then/
<qschulz>
two compatibles with axp803 being the first in line?
<MoeIcenowy>
I think so ;-)
yann-kaelig has joined #linux-sunxi
<MoeIcenowy>
and for AC we shoule use 803,22x and 813,22x
<wens>
qschulz: you mean for each sub-device? yeah, but if it hasn't been introduced, then have 813 as the base model rather than 803
<MoeIcenowy>
for battery/adc/usb use 803,813 ;-)
<wens>
813 was released first, even if the model numbering is backwards :/
parazyd has joined #linux-sunxi
parazyd has quit [Changing host]
parazyd has joined #linux-sunxi
<MoeIcenowy>
I think the scheme of X-Powers of "AXP81x" is chips co-packaged with AC100 ;-)
<wens>
I know the newer models have some sort of battery charger support, supposedly for higher charge currents through the otg port (which none of the boards actually support)
<MoeIcenowy>
but it seems at least that in the driver of boot0 axp803 is sorted as "axp81x"
<wens>
MoeIcenowy: don't know, there's only 813 and 818 :/
<MoeIcenowy>
wens: BC support seems to be usable on BPi M64
<MoeIcenowy>
if I read the schematics correctly
<wens>
hmm, I don't have BPi M64 schematics on hand
<wens>
it should be usable if the board routes the otg D+/D- lines to the PMIC
<MoeIcenowy>
yes
<wens>
as for the ACIN part, it might support higher currents or not, otherwise there's nothing special about it
<MoeIcenowy>
these lines are both routed to PMIC and A64
<MoeIcenowy>
there's nothing special in the ACIN driver now
<MoeIcenowy>
we can now only detect the presence of the ACIN
<MoeIcenowy>
and nothing more can be done
<MoeIcenowy>
:-(
<wens>
there's nothing special about the hardware either :p
<MoeIcenowy>
in 20x there used to be ADCs for ACIN V/I
<MoeIcenowy>
but from 22x on they're dropped
<wens>
all the later ones dropped it... wonder why
<MoeIcenowy>
P.S. I expect the AXP813/818 datasheets are more buggy than 803 ones ;-)
<wens>
hmm, ACIN is different between 803 and 818
<MoeIcenowy>
wens: how?
<wens>
one says reserved for the highest two values of ACIN current limit, the other has the same limit (4.0A) for the highest 3 values
<wens>
maybe a bug :p
<wens>
hard to test as well
<MoeIcenowy>
yes I found this
<MoeIcenowy>
maybe a bug
<wens>
best to play it safe anyway
<MoeIcenowy>
P.S. look at the title of the 818 datasheet -- it says "AXP288"
<MoeIcenowy>
hahahahahaha
<wens>
qschulz: sorry I didn't have time to review your axp patches, though it seems mripard has gone through all of them
<qschulz>
wens: no worries, I sent them yesterday and I've got enough "rework" to do with mripard's reviews :)
<MoeIcenowy>
and the ACIN & VBUS combine error seems to also be from the AXP288 -- AXP288 is designed for Atom *Trail SoCs and it doesn't have dedicated ACIN
<MoeIcenowy>
A1 "Real time data bit [3:0] for Battery voltage (BATSENSE)" at 3-0 on 803, 7-4 on 813
<mripard>
you probably should create a led driver for it then
<mripard>
and led triggers in the power supplies
<mripard>
that's usually how it work s
<MoeIcenowy>
mripard: we cannot lit the LED unconditionally by software
<MoeIcenowy>
it's the problem
<mripard>
then how do you expect to control it ?
<MoeIcenowy>
mripard: so I don't know how to control it correctly ;-)
<MoeIcenowy>
maybe just set it to "controlled by the charger" mode
awais has quit [Ping timeout: 240 seconds]
<mripard>
high-z and low
<mripard>
it looks like open-drain
<tom_nov>
I was playing with the chgled on our TBS A711 tablet (there is AXP813) and it works as expected (i.e. as described in datasheet)
<MoeIcenowy>
what mode did you use? delegate to the charger?
<tom_nov>
MoeIcenowy: I was testing all modes
<MoeIcenowy>
what's high-z?
<marble_visions>
MoeIcenowy: think of it as unconnected
SP7RT has joined #linux-sunxi
<MoeIcenowy>
wens: there's one "board" that integrates the CHGLED
<MoeIcenowy>
Pinebook
<MoeIcenowy>
;-)
<tom_nov>
MoeIcenowy: to be honest, I don't know. It is routed that way: 5V-resistor-|>|-chgled_pin
fugitive has quit [Ping timeout: 240 seconds]
<MoeIcenowy>
so it's pulled high
<mripard>
so it really is just an open-drain gpio
<MoeIcenowy>
oh the CHGLED on Pine64 is not pulled high
<MoeIcenowy>
instead it's a active low led
<MoeIcenowy>
and the typical application page of AXP803 datasheet also claims this situation
<tom_nov>
BTW, the hardware control of the chgled has two modes. Both worked for me, but I didn't try the error reporting (i.e. VBUS > 6.3, overheating, ...)
<MoeIcenowy>
IPSOUT -- LED |>| -- 1kR -- CHGLED pin
<MoeIcenowy>
also for 813/818 "typical application"
<MoeIcenowy>
tom_nov: is there TBS A711 schematics?
<MoeIcenowy>
oh it's this
<MoeIcenowy>
mripard: it's not open-drain gpio at all
<MoeIcenowy>
set it to high-Z will make it dark and set it to low will lit it
<mripard>
yes
<mripard>
just like an open-drain gpio
<tom_nov>
MoeIcenowy: schematics are unfortunately not public, but I can check some part if you want
<mripard>
high-z will basically mean that it's floating
<MoeIcenowy>
so we make a pinctrl for it?
<mripard>
so there's no tension
<mripard>
because the potential is the same on all the line
<MoeIcenowy>
with "gpio_out" and "charger"
<mripard>
when you set in to ground
<MoeIcenowy>
if set to "gpio_out" will high-z for 1 low for 0
<mripard>
then you create a difference
<mripard>
there's tension
<MoeIcenowy>
if set to charger it will delegate to the charger
<mripard>
you have a led lit
<MoeIcenowy>
or maybe we should have "charger-a" and "charger-b" for a/b two kinds of mode of the delegation
<ElBarto>
mripard: not sure that 'tension' in english is correct :)
<MoeIcenowy>
I think it's a voltage difference between the P and N of the LED?
<MoeIcenowy>
when CHGLED is high-Z it's IPSOUT-|>|-floating so it's not lit
<MoeIcenowy>
when it's low it's IPSOUT-|>|-low so it's lit
<MoeIcenowy>
eureka
<wens>
high-Z == floating / disconnected
<MoeIcenowy>
but the hardware flashing function is thus not used ;-)
<MoeIcenowy>
P.S. I think the LED framework should have a function "delegate to hardware"
<MoeIcenowy>
which will indicates a hardware-specified mode
<MoeIcenowy>
for example, on Nano Pis with H3, the GPIO is weak-pulled-high, so the LED has 3 state: high light, low light, dark
<MoeIcenowy>
low light is reached by set the GPIO to disabled
JohnDoe_71Rus has joined #linux-sunxi
nove has joined #linux-sunxi
fugitive has joined #linux-sunxi
SP7RT has quit [Ping timeout: 240 seconds]
BenG83 has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
libv has quit [Ping timeout: 260 seconds]
test0rer has joined #linux-sunxi
test0rer has quit [Client Quit]
libv has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
<mripard>
MoeIcenowy: it's exactly what I was trying to explain
<mripard>
and that's exactly the behaviour of an open-drain gpio.
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-sunxi
<willmore>
ElBarto, it's not, but anyone who understands electronics will understand mripard just fine. ;)
<MoeIcenowy>
Yes I understand it ;-)
<qschulz>
wens: can you Cc me when you send the patches for AXP813 regulators please?
jernej has joined #linux-sunxi
<ElBarto>
willmore: yeah I guess so, it just felt weird :)
<jernej>
MoeIcenowy: Do you have any AOSC image for OPi2? I just want to test Mali, since I still can't make it work with > 1 fps
yann has quit [Ping timeout: 248 seconds]
reinforce has quit [Quit: Leaving.]
<wens>
qschulz: sure
leviathanch has joined #linux-sunxi
<wens>
ElBarto: bias?
fkluknav has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
xandey has joined #linux-sunxi
netlynx has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
yann has joined #linux-sunxi
f0xx has joined #linux-sunxi
<willmore>
ElBarto, "Be conservative in what you send, be liberal in what you accept."
ykchavan has joined #linux-sunxi
<willmore>
wens, I think the proper English term would be 'potential'.
msimpson has quit [Quit: Leaving]
IgorPec has joined #linux-sunxi
reinforce has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
yann has quit [Ping timeout: 240 seconds]
Andy-D has joined #linux-sunxi
lemonzest has quit [Quit: Quitting]
matthias_bgg has quit [Quit: Leaving]
putti_ has quit [Ping timeout: 248 seconds]
Putti has joined #linux-sunxi
fkluknav has quit [Ping timeout: 248 seconds]
Andy-D has quit [Ping timeout: 248 seconds]
lemonzest has joined #linux-sunxi
nove has quit [Quit: nove]
fkluknav has joined #linux-sunxi
f0xx has quit [Ping timeout: 240 seconds]
sr-digitronic has quit [Remote host closed the connection]
<nvz>
what I don't understand is what the problem is when the stuff all works in the legacy kernel. I would think the reverse engineering is over, and all that woud need to be done is porting to new tree and integrating with standard kernel dev practices
<nvz>
when what I read there sounds like reverse engineering still in progress
<jernej>
nvz: I'm pretty sure that some things are broken in legacy, at least when we are talking about HDMI
<jernej>
arbitrary resolution support and CEC driver
<jernej>
which both works without issue with this new mainline driver
<KotCzarny>
jerner: do you know of cec patch for legacy?
<jernej>
I know one, but last time I heard about it, it was said that it doesn't work perfectly
<jernej>
and it has also custom interface based on custom imx6 cec driver
<jernej>
when there was no CEC framework
<KotCzarny>
for me it would be enough if it can turn on/off the tv
<jernej>
nvz: if you would check de2 codebase in legacy driver, you would see that there is no hope for it
<KotCzarny>
hehe
Ntemis has joined #linux-sunxi
<KotCzarny>
true that
yann-kaelig has quit [Quit: Leaving]
<nvz>
isn't CEC that protocol for one device controlling another? That's not exactly an important feature for audio/video output
<KotCzarny>
it is for media center
<nvz>
I'm pretty sure none of my devices even support it... I got an LG BP145 Bluray and an Samsung UN24h4000AF tv
<nvz>
and I know my PS2 dont support it because it doesn't even support hdmi :P
<nvz>
people like me are just waiting on the ability to see and hear stuff not some fancy LIRC kinda control of other devices
<nvz>
being able to watch something and hear it is more important than being able to controll the stereo
<KotCzarny>
openelec/h3droid already do that
<KotCzarny>
even armbian
<nvz>
yeah with an ancient kernel I can't even seem to find all the source and patches for to try rebuild to fix minor issues much less update it for things like systemd, zram, etc..
<KotCzarny>
openelec has mainline i think
<nvz>
I'm fairly sure all the problems I've had with this machine have been in that kernel.. it works.. and way better than xulong's.. but considering how bad xulong's kernel was, thats not saying a whole lot
<nvz>
thats akin to saying well, at least it doesnt have a vulnerability and a memory leak..
IgorPec has joined #linux-sunxi
<nvz>
I haven't been able to narrow it down partially because I can't try any other kernel, but I can't really blame my USB resets on the kernel.. thats probably more likely either my USB Sata adapter or the old drive its connected to failing
<anarsoul>
MoeIcenowy: ping
lkcl has quit [Ping timeout: 255 seconds]
<anarsoul>
MoeIcenowy: have you had a chance to try eMMC on mainline u-boot on your pinebook?
<KotCzarny>
new xunlong's lcd
<KotCzarny>
still no touch
<KotCzarny>
800x480
fkluknav has quit [Ping timeout: 248 seconds]
reinforce has joined #linux-sunxi
SP7RT has quit [Ping timeout: 240 seconds]
aalm has quit [Quit: xyz 1.9]
SP7RT has joined #linux-sunxi
Ntemis has quit [Read error: Connection reset by peer]
f0xx has joined #linux-sunxi
Ntemis has joined #linux-sunxi
tom_nov has quit [Quit: Leaving]
lkcl has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
<RichardG867>
also a 2G-IOT variant without sim card slot?
<RichardG867>
been off the hook for a while
ykchavan has quit [Read error: Connection reset by peer]