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*
NeuroScr has quit [Quit: NeuroScr]
vagrantc has quit [Quit: leaving]
warpme_ has quit [Quit: Connection closed for inactivity]
aloo_shu has quit [Ping timeout: 265 seconds]
aloo_shu has joined #linux-sunxi
aloo_shu has quit [Ping timeout: 240 seconds]
aloo_shu has joined #linux-sunxi
aloo_shu has quit [Ping timeout: 240 seconds]
aloo_shu has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
Da_Coynul has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
book` has joined #linux-sunxi
book`_ has quit [Ping timeout: 265 seconds]
florian_kc has joined #linux-sunxi
florian has quit [Ping timeout: 265 seconds]
ec0 has quit [Ping timeout: 240 seconds]
ec0 has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
_whitelogger has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
lkcl has joined #linux-sunxi
megi has quit [Ping timeout: 240 seconds]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
lykt has quit [Quit: leaving]
JohnDoe_71Rus has joined #linux-sunxi
lykt has joined #linux-sunxi
quadjfet has quit [Quit: Leaving]
TheSeven has quit [Ping timeout: 245 seconds]
TheSeven has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 265 seconds]
JohnDoe_71Rus has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 240 seconds]
aloo_shu has quit [Ping timeout: 240 seconds]
gsz has joined #linux-sunxi
sunilmohan has quit [Ping timeout: 268 seconds]
sunilmohan has joined #linux-sunxi
suprothunderbolt has joined #linux-sunxi
<suprothunderbolt> is the clock issue on A64 properly fixed?
<suprothunderbolt> or at least effectively worked around
gsz has quit [Quit: Konversation terminated!]
_whitelogger has joined #linux-sunxi
suprothunderbolt has quit [Ping timeout: 245 seconds]
Mangy_Dog has joined #linux-sunxi
dddddd has joined #linux-sunxi
AneoX has joined #linux-sunxi
igraltist has quit [Remote host closed the connection]
igraltist has joined #linux-sunxi
megi has joined #linux-sunxi
florian_kc has quit [Ping timeout: 245 seconds]
Da_Coynul has joined #linux-sunxi
Da_Coynul has quit [Client Quit]
jbrown has quit [Ping timeout: 276 seconds]
reinforce has joined #linux-sunxi
Da_Coynul has joined #linux-sunxi
jbrown has joined #linux-sunxi
Da_Coynul has quit [Client Quit]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
LordDoskias has joined #linux-sunxi
<LordDoskias> how do i change the functionality of GPIO pins on A64?
niceplaces has joined #linux-sunxi
niceplace has quit [Ping timeout: 265 seconds]
Da_Coynul has joined #linux-sunxi
jbrown has quit [Ping timeout: 276 seconds]
putti_ has joined #linux-sunxi
Putti has quit [Ping timeout: 245 seconds]
iamfrankenstein has joined #linux-sunxi
putti_ has quit [Quit: Leaving]
Putti has joined #linux-sunxi
Putti has quit [Changing host]
Putti has joined #linux-sunxi
cnxsoft1 has quit [Quit: cnxsoft1]
jbrown has joined #linux-sunxi
<aalm> LordDoskias, the same way as on other sunxi boards.
<aalm> err, s/boards/socs/
<LordDoskias> aalm, which ?
<LordDoskias> dt overlays or some other, run time way ?
<aalm> changing the dt, with or without overlays. personally i've never used dt overlays on anything but rpi.
<aalm> what kind of a change you need btw.?
<LordDoskias> i'm looking into pine64A lts board, it has an a64 chip
<LordDoskias> and some pins have UARTs
<LordDoskias> i just want to figure out how to switch from UART to GPIO and vice-versa
<LordDoskias> this is generally controlled by the mmio control registers
<LordDoskias> seems pinctrl subsys is exactly for this (i'm new to embedded stuff)
Da_Coynul has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Da_Coynul has joined #linux-sunxi
sunilmohan has quit [Ping timeout: 268 seconds]
<aalm> oic, yeah, and it is documented too
<aalm> LordDoskias, i suggest searching the "user manual" (.pdf) for A64
cnxsoft has joined #linux-sunxi
<LordDoskias> i read the manual
<LordDoskias> there are a bunch of mmaped registers that control the various bits
<LordDoskias> the question is if there is some usual way of doing that
<LordDoskias> or i have to write the code mmaping the register and settings the bits appropriately
<aalm> writing your own kernel/os or ?
Gerwin_J has quit [Quit: Gerwin_J]
<LordDoskias> no, no
<LordDoskias> from linux
<LordDoskias> from user space
<aalm> for linux there's the pinctrl driver already
<LordDoskias> yeah but how do you itnerface with it ?
<LordDoskias> from user perspective?
<LordDoskias> is there some utility or just a bunch of sysfs files perhahps?
Gerwin_J has joined #linux-sunxi
sunilmohan has joined #linux-sunxi
<aalm> no idea, i just googled for something and came across this: https://www.kernel.org/doc/html/v4.13/driver-api/pinctl.html#runtime-pinmuxing
<aalm> oh but that's under /driver-api/, so nvm. back to googling:x
<aalm> (i actually have a usecase too for switching pins between uart&gpio..)
<LordDoskias> so far what i have found
<LordDoskias> is that it depends on the setup in dt and the pinctrl should switch them
<LordDoskias> in this what the dt overlay does is set the given uart4 ode to status okay
<LordDoskias> by default status is disabled
cnxsoft has quit [Remote host closed the connection]
<aalm> mm, i got a simple script giving me "in-place-edits" with vim for .dtb files making .orig-backup in the process, so i can do small changes to the dt with just # sdtc /boot/sun....dtb && reboot
Da_Coynul has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
return0e has quit [Ping timeout: 240 seconds]
return0e has joined #linux-sunxi
putti_ has joined #linux-sunxi
putti_ has quit [Client Quit]
Putti has quit [Ping timeout: 276 seconds]
Putti has joined #linux-sunxi
marekbelisko has joined #linux-sunxi
Da_Coynul has joined #linux-sunxi
jernej_ has joined #linux-sunxi
jernej has quit [Read error: Connection reset by peer]
jernej_ is now known as jernej
marekbelisko has quit [Quit: This computer has gone to sleep]
wasutton3 has quit [Ping timeout: 265 seconds]
wasutton3 has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
lkcl has quit [Ping timeout: 240 seconds]
Da_Coynul has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
florian_kc has joined #linux-sunxi
florian_kc is now known as florian
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
Gerwin_J has quit [Quit: Gerwin_J]
f11f12 has joined #linux-sunxi
popolon has joined #linux-sunxi
megi has quit [Quit: WeeChat 2.6]
arete74 has quit [Ping timeout: 268 seconds]
arete74 has joined #linux-sunxi
jstefanop has joined #linux-sunxi
jstefano_ has joined #linux-sunxi
jstefanop has quit [Read error: Connection reset by peer]
marcodiego has joined #linux-sunxi
popolon has quit [Quit: WeeChat 2.6]
ec0 has quit [Ping timeout: 265 seconds]
ec0 has joined #linux-sunxi
vagrantc has joined #linux-sunxi
aloo_shu has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 5.0.0, revision: 5.0.0+git-7426-e065493ac, build type: debug, sources date: 20160102, built on: 2019-09-15 20:04:12 UTC 5.0.0+git-7426-e065493ac http://www.kvirc.net/]
jstefano_ has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
jstefanop has quit [Ping timeout: 265 seconds]
lkcl has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
[7] has quit [Ping timeout: 265 seconds]
TheSeven has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 240 seconds]
florian has quit [Ping timeout: 268 seconds]
gnufan_home has joined #linux-sunxi
tllim has joined #linux-sunxi
jstefanop has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]