deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
nicksydney has joined #linux-sunxi
uhhimhere has joined #linux-sunxi
hipboi has quit [Ping timeout: 240 seconds]
<wens>
is anyone getting bad serial performance with the latest kernel?
protoCall7 has quit [Quit: protoCall7]
cnxsoft has joined #linux-sunxi
hipboi has joined #linux-sunxi
hipboi has quit [Ping timeout: 264 seconds]
domidumont has joined #linux-sunxi
wenbin has quit [Quit: Leaving]
_massi has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
hipboi has joined #linux-sunxi
tomboy64 has quit [Ping timeout: 250 seconds]
<oliv3r>
wens: define bad serial performance? I'm not getting lag or anything or corrupted characters
Andy-D has joined #linux-sunxi
<oliv3r>
mripard: I was amazed and pleased to have just found a driver for our oled display, turns out, you wrote it two years ago! :D I have two Questions about it though :(
<oliv3r>
mripard: we are actually using the ssd1309, so slightly different and i don't mind patching those issues (if they are) as i add support for the 1309, so just curious as to the why
uhhimhere has quit [Read error: No route to host]
selfbg has joined #linux-sunxi
hramrach has quit [Ping timeout: 250 seconds]
gianMOD has joined #linux-sunxi
hipboi has joined #linux-sunxi
gianMOD has quit [Ping timeout: 264 seconds]
fr4z has joined #linux-sunxi
sehraf has joined #linux-sunxi
uhhimhere has joined #linux-sunxi
diego71 has quit [Ping timeout: 255 seconds]
arete74_ has quit [Ping timeout: 264 seconds]
diego71 has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 245 seconds]
FreezingCold has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
uhhimhere has quit [Read error: No route to host]
vector80 has joined #linux-sunxi
hansg has joined #linux-sunxi
<mripard>
oliv3r: the gpiod stuff didn't exist at the time
<mripard>
and the pwm is for the backlight
uhhimhere has joined #linux-sunxi
<mripard>
and of_get_named_gpio != gpio_request
<mripard>
you have to do both
pmattern has joined #linux-sunxi
speakman has joined #linux-sunxi
<speakman>
Hi folks! Do you have any idea why certain GPIO pins won't work as simple GPIO? They're all set up in the FEX file and only defined and muxed for GPIO purpose. I can even export them in the /sys/class/gpio interface, but setting direction to out and toggleing the pin via 'value', it still doesn't change physically.
<speakman>
I've tested a few pins, can't remember exactly which at the moment but maybe someone will recognize this sort of issues?
uhhimhere has left #linux-sunxi ["Leaving"]
diego71 has quit [Ping timeout: 244 seconds]
arete74 has joined #linux-sunxi
diego71 has joined #linux-sunxi
trollinger has joined #linux-sunxi
selfbg has quit [Quit: Leaving]
gianMOD has joined #linux-sunxi
wickwire has joined #linux-sunxi
naobsd has joined #linux-sunxi
gianMOD has quit [Ping timeout: 252 seconds]
popolon has joined #linux-sunxi
naobsd1 has joined #linux-sunxi
naobsd has quit [Ping timeout: 245 seconds]
hramrach has joined #linux-sunxi
naobsd1 has quit [Quit: naobsd1]
tomboy64 has joined #linux-sunxi
<oliv3r>
mripard: but if you have to do both, why are the names not matching? oled-reset vs reset-gpios
heffer has joined #linux-sunxi
<wens>
speakman: what SoC? which pins?
<speakman>
wens the SoC is A20 (OLinuXino) but I can't remember which pins exactly I've tested, but there is a few. I can dig in and investigate if it's important for debugging.
<oliv3r>
mripard: so is it worht to replace replace it with devm_gpiod? I have to do some mods to the driver anyway, also I don't have a backlight on my device, and we have a blacklight class which we probably can use instead.
<oliv3r>
wens: ok if i read the gpio's as input, i get perfect values of the encoder, so either the IRQ stuff isn't working, or I did something else wrong ;)
<oliv3r>
wens: what's the easiest way to check if an interrupt is working via the sysfs gpio stuff?
<mripard>
oliv3r: reset-gpios is the name of the gpio in the DT
<mripard>
oled-reset identifies the gpio itself in the gpio subsys
<mripard>
so one has a local scope, the other one has not
<wens>
oliv3r: i don't know how to setup sysfs gpio as irq
arete74 has quit [Ping timeout: 240 seconds]
FR^2 has joined #linux-sunxi
arete74 has joined #linux-sunxi
<wens>
anyone know where the temperature sensor formula came from?
<wens>
oliv3r: i'm using my cubietruck to connect to my q8h, and the serial console pauses from time to time
enrico_ has joined #linux-sunxi
<wigyori>
morning
gianMOD has joined #linux-sunxi
<speakman>
wens: PB21 is one of those pins. It's assigned
<speakman>
to twi2_para but I'm using it for GPIO. Although I just found something which might be the problem. Be back soon!
cnxsoft has quit [Ping timeout: 264 seconds]
<ssvb>
wens: I believe that it came from axp209 documentation (somebody assumed that A20 might be using the same formula)
<speakman>
Are there any way to "reverse engineer" which CPU pin is assigned what MUX and maybe allocated within the Linux kernel?
<speakman>
I'm trying to use PC19 for GPIO and even though it's not used and not assigned to anything within the FEX file, I still can't export it with /sys/class/gpio/export
<speakman>
"write error: Invalid argument"
<oliv3r>
wens: how frequently does it pause? like a few times per second, a few times per minute, a few times per hour?
<oliv3r>
wens: i'm not even sure if it is possible :p
<oliv3r>
mripard: okay, i'll look into it as i add support for the ssd1309; also, our oled screens that are with that controller don't need a backlight (oled :p) so i'll make that optional;
<oliv3r>
ssvb: i thoguht the formula came from the source dumps
<oliv3r>
ssvb: you coming to FOSDEM? :)
<wens>
speakman: you can use devmem to dump the register values for the pio block
Renard has joined #linux-sunxi
<speakman>
wens: Interesting! Are there any guides or tutorials?
<ssvb>
oliv3r: not this year, I have no travel budget for it
<ssvb>
oliv3r: unless something extraordinary happens of course :)
ricardocrudo has joined #linux-sunxi
<speakman>
wens: But anyway, it still won't tell me if a particular pin is assigned by anything within the kernel.
viccuad has joined #linux-sunxi
arete74 has quit [Read error: Connection reset by peer]
arete74 has joined #linux-sunxi
tomboy64 has quit [Remote host closed the connection]
tomboy64 has joined #linux-sunxi
hansg has quit [Quit: Leaving]
gianMOD has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
<oliv3r>
ssvb: but but but :p
<mripard>
oliv3r: actually the PWM was not for the backlight itself, it was for the power pump iirc
<mripard>
so it provided power to the display
<mripard>
maybe you have an integrated power source, but that seems odd that you don't have any way to control it
<vector80>
Hi everyone, does aqnybody have experience with sunxi PCM driver ? I am getting very high delay , when compared to other hardware. Which setting controls the delay ?
ddc has joined #linux-sunxi
arete74 has quit [Read error: Connection reset by peer]
arete74 has joined #linux-sunxi
<ddc>
Hi everyone
<ddc>
I'm just wondering if anyone has noticed that "if you leave u-boot setting in the command line shell for sometime and then try to boot the kernel will hang"
<ddc>
this with the latest main stream u-boot using CB1, CB2 and CT as well
<hramrach>
hmm, no. but most people do not leave it on this commandline for extended period of time
<ddc>
I understand that
FreezingCold has quit [Ping timeout: 265 seconds]
<hramrach>
or how long is 'some time'?
gianMOD has joined #linux-sunxi
<ddc>
I just want to know what could be the cause
<hramrach>
I usually boot within a few minutes of entering the prompt
<hramrach>
it's easy to cut&paste commands to the console and looking them up is not that much time either
<hramrach>
it's probably bug if it hangs
<hramrach>
wens: for me serial console does not pause unless the rendering of the terminal in which the console output is displayed lags ;-)
<hramrach>
but I am not using a23
<ddc>
hramrach : I would say 4min
<hramrach>
ok, that should be easy enough to test
trollinger has quit [Remote host closed the connection]
pmattern has quit [Remote host closed the connection]
naobsd has joined #linux-sunxi
pmattern has joined #linux-sunxi
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
ddc has quit [Quit: Page closed]
Zboonet has quit [Remote host closed the connection]
<oliv3r>
mripard: i think we just have a gpio to turn the power supply on/off; i'll double check the pins
<oliv3r>
mripard: what device was this used in, so I can do some more research. but from the sounds of it, you where using a PWM to generate the 13 or 15V from the 5V; we do that too, but we use a dedicated power convert circuit/ic for it
gianMOD has quit [Remote host closed the connection]
<oliv3r>
Turl_: how are your audio patches coming along?
gianMOD has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
focus_it has quit [Remote host closed the connection]
gianMOD has quit [Remote host closed the connection]
sehraf has quit [Read error: Connection reset by peer]
ddc has joined #linux-sunxi
<speakman>
I've finally found a working GPIO pin; PC19. It was assigned as SPI2-CS0 but since SPI2 is disable as a whole, I'm using it for general purpose.
<speakman>
Now looking in the logic analyzer, it starts "flickering" during Linux boot. Very short (2,00uS) flicks. How can I debug what that comes from? When the Kernel is up and running, the pin is free for sunxi-gpio and no distrubing signal is going on there.
ddc has quit [Ping timeout: 246 seconds]
Gerwin_J has joined #linux-sunxi
sehraf has joined #linux-sunxi
cubear has quit [Quit: Leaving]
<oliv3r>
speakman: maybe u-boot also inits it, but differently, or maybe you see the 'swap' between the two
<speakman>
oliv3r: Good point! It can sure be u-boot! Thanks.
<hramrach>
not next. just master + hansg patches on top
<hramrach>
but I can rebase I guess
<ssvb>
yes, it would be a good idea
<ssvb>
hramrach: did you have this patch http://git.denx.de/?p=u-boot/u-boot-sunxi.git;a=commit;h=a5bbf84dd590e4a9518e14742b0b4044be474937 when you tested LCD on your tablet?
<ssvb>
without it, there is no power for LCD in A13 tablets
interrobangd has joined #linux-sunxi
<hramrach>
seems I have it
<hramrach>
cherry-pick returns empty commit
<hramrach>
ok, I re-upload
<oliv3r>
i've put the a83t datasheet on dl.linux-sunxi