utsweetyfish has quit [Remote host closed the connection]
utsweetyfish has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
Daanct12 has quit [Quit: WeeChat 4.0.4]
dsimic has joined #linux-sunxi
Daanct12 has joined #linux-sunxi
dsimic has quit []
dsimic has joined #linux-sunxi
hexdump0815 has joined #linux-sunxi
hexdump01 has quit [Ping timeout: 480 seconds]
vagrantc has quit [Quit: leaving]
JohnDoe_71Rus has joined #linux-sunxi
ungeskriptet has quit [Ping timeout: 480 seconds]
ungeskriptet has joined #linux-sunxi
warpme has joined #linux-sunxi
DarkNeutrino has quit [Ping timeout: 480 seconds]
DarkNeutrino has joined #linux-sunxi
tnovotny has joined #linux-sunxi
paulk has quit [Quit: WeeChat 3.0]
paulk has joined #linux-sunxi
junari has joined #linux-sunxi
DarkNeutrino has quit [Ping timeout: 480 seconds]
DarkNeutrino has joined #linux-sunxi
junari_ has joined #linux-sunxi
DarkNeutrino has quit [Ping timeout: 480 seconds]
DarkNeutrino has joined #linux-sunxi
junari has quit [Ping timeout: 480 seconds]
warpme has quit []
warpme has joined #linux-sunxi
DarkNeutrino is now known as Guest2568
DarkNeutrino has joined #linux-sunxi
mripard has quit [Read error: Connection reset by peer]
Daanct12 has quit [Ping timeout: 480 seconds]
mripard has joined #linux-sunxi
Guest2568 has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
CornflakeDeath has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
junari_ has quit [Ping timeout: 480 seconds]
DarkNeutrino has quit [Ping timeout: 480 seconds]
DarkNeutrino has joined #linux-sunxi
DarkNeutrino has quit [Ping timeout: 480 seconds]
DarkNeutrino has joined #linux-sunxi
kuba2k2 has joined #linux-sunxi
tnovotny has quit [Ping timeout: 480 seconds]
dsimic_ has joined #linux-sunxi
dsimic has quit [Ping timeout: 480 seconds]
tnovotny has joined #linux-sunxi
<CornflakeDeath>
does anybody have an idea why i can't get usb to work in u-boot while it works ok in linux?
tnovotny_ has joined #linux-sunxi
<Jookia>
CornflakeDeath: check device tree and drivers
<CornflakeDeath>
the device tree is exactly the same
<Jookia>
did you check the power comes on? does it see the wifi usb?
<CornflakeDeath>
oh yes, it does see the wifi card
<CornflakeDeath>
the socket doesn't get powered
<CornflakeDeath>
i had the same problem with linux yesterday and i enabled something in menuconfig that made it work, and i've tried enabling different options in u-boot but it still doesn't work
tnovotny has quit [Ping timeout: 480 seconds]
<Jookia>
CornflakeDeath: which regulator does it use in linux?
<CornflakeDeath>
reg_usb0_vbus from sunxi-common-regulators, but with the pin changed to PG12
Daanct12 has quit [Quit: WeeChat 4.0.4]
bauen1 has joined #linux-sunxi
<Jookia>
try changing the pins in u-boot
<CornflakeDeath>
the ones defined in arm architecture in menuconfig?
<CornflakeDeath>
they're already set exactly as in my script.fex
chewitt has joined #linux-sunxi
JohnDoe_71Rus has quit []
dsimic_ has quit []
dsimic has joined #linux-sunxi
chewitt has quit [Ping timeout: 480 seconds]
<Jookia>
CornflakeDeath: what do you mean pin changed to PG12? does the kernel not use the same pin?
<CornflakeDeath>
Jookia: i mean that sunxi-common-regulators.dtsi sets a different pin and my device uses PG12 so my dts sets it to that
<Jookia>
ok, and you set it to that in both linux and u-boot dts?
<CornflakeDeath>
yes, they both use the exact same dts file
<Jookia>
i don't understand what the fex does here, isn't that unused with mainline?
<CornflakeDeath>
from the fex i found out which pins to use
<Jookia>
ah ok, cool
<Jookia>
can you tell me what the 'compatible' string is for the regulator?
<Jookia>
maybe you need to change it for u-boot
<CornflakeDeath>
compatible = "regulator-fixed";
<Jookia>
try using regulator-gpio instead
<Jookia>
or hmm, maybe that's wrong
kuba2k2 has quit [Ping timeout: 480 seconds]
Danct12 has quit [Read error: Connection reset by peer]
<CornflakeDeath>
no, it didn't help
<Jookia>
do you have the device model enabled
warpme has quit []
<CornflakeDeath>
which option exactly?
<Jookia>
let me have a peek
kuba2k2 has joined #linux-sunxi
<Jookia>
DM_GPIO, DM_REGULATOR
<CornflakeDeath>
still nothing
<Jookia>
you might want to add a printf or something in the regulator code to see if it actually gets detected and run. or maybe enable debug logging
JohnDoe_71Rus has joined #linux-sunxi
CornflakeDeath has quit [Quit: Page closed]
mripard has quit [Quit: mripard]
kuba2k2 has quit [Ping timeout: 480 seconds]
Danct12 has joined #linux-sunxi
warpme has joined #linux-sunxi
warpme has quit []
warpme has joined #linux-sunxi
kuba2k2 has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
ftg has joined #linux-sunxi
<jernej>
note that regulators in U-Boot are not yet fully configured through DT
<jernej>
depends on the driver
warpme has quit []
warpme has joined #linux-sunxi
junari has joined #linux-sunxi
junari has quit []
junari has joined #linux-sunxi
tnovotny_ has quit []
sh1 has quit [Remote host closed the connection]
sh1 has joined #linux-sunxi
junari has quit [Remote host closed the connection]
warpme has quit []
junari has joined #linux-sunxi
warpme has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
chewitt has joined #linux-sunxi
Danct12 has quit [Ping timeout: 480 seconds]
warpme has quit []
evgeny_boger has joined #linux-sunxi
vagrantc has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
macromorgan has joined #linux-sunxi
evgeny_boger has quit [Ping timeout: 480 seconds]
kuba2k2 has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
<ad__>
hi, anyone knows if there was any issues with pi zero PC4 ? seems i cannot use it as gpio, kernel 5.14 complains about err -22
bauen1 has joined #linux-sunxi
JohnDoe_71Rus has quit []
junari has quit [Ping timeout: 480 seconds]
junari has joined #linux-sunxi
ftg^ has joined #linux-sunxi
ftg has quit [Ping timeout: 480 seconds]
macromorgan has quit [Read error: Connection reset by peer]
macromorgan has joined #linux-sunxi
macromorgan has quit [Read error: Connection reset by peer]
ftg^ has quit [Read error: Connection reset by peer]