t3st3r has quit [Remote host closed the connection]
t3st3r has joined #linux-sunxi
t3st3r has quit [Remote host closed the connection]
t3st3r has joined #linux-sunxi
tllim has quit [Ping timeout: 250 seconds]
pmpp has joined #linux-sunxi
pmpp_ has quit [Ping timeout: 245 seconds]
agraf has quit [Ping timeout: 244 seconds]
agraf has joined #linux-sunxi
lurchi_ is now known as lurchi__
suprothunderbolt has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
arc_phasor has joined #linux-sunxi
Rafael1980 has quit [Quit: Konversation terminated!]
souther has joined #linux-sunxi
jbrown has quit [Ping timeout: 258 seconds]
reinforce has quit [Quit: Leaving.]
jbrown has joined #linux-sunxi
victhor has quit [Ping timeout: 258 seconds]
tllim has joined #linux-sunxi
tllim has quit [Ping timeout: 250 seconds]
pmpp has quit [Ping timeout: 245 seconds]
megi has quit [Ping timeout: 250 seconds]
pmpp has joined #linux-sunxi
arc_phasor has left #linux-sunxi [#linux-sunxi]
tllim has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
shfil has quit [Quit: Connection closed for inactivity]
night199uk has quit [Changing host]
night199uk has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
souther has quit [Ping timeout: 250 seconds]
souther has joined #linux-sunxi
souther has quit [Ping timeout: 250 seconds]
_whitelogger has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 245 seconds]
camus is now known as kaspter
curlybracket has quit [Ping timeout: 245 seconds]
_whitelogger has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 250 seconds]
shfil has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
selfbg has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
cch has joined #linux-sunxi
t3st3r has quit [Ping timeout: 256 seconds]
t3st3r has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
fl__0 has joined #linux-sunxi
fl_0 has quit [Ping timeout: 246 seconds]
<MoeIcenowy>
angelo_ts: to verify whether you're at FEL, just check whether FEL USB device is present
nuuuciano has quit [Ping timeout: 250 seconds]
fl__0 has quit [Quit: STRG + Q]
thefloweringash has quit [Remote host closed the connection]
k40s[m] has quit [Remote host closed the connection]
oliv3r[m] has quit [Remote host closed the connection]
davidebeatrici has quit [Remote host closed the connection]
fevv8[m] has quit [Remote host closed the connection]
EmilKarlson has quit [Remote host closed the connection]
romainmahoux[m] has quit [Remote host closed the connection]
t4h4[m] has quit [Remote host closed the connection]
Jeremy_Rand_Talo has quit [Remote host closed the connection]
ildar has quit [Write error: Connection reset by peer]
JuniorJPDJ has quit [Write error: Connection reset by peer]
mic-e[m] has quit [Read error: Connection reset by peer]
freddor has quit [Remote host closed the connection]
fl_0 has joined #linux-sunxi
MartijnBraam has quit [Remote host closed the connection]
z3ntu has quit [Remote host closed the connection]
YannSoubeyrand[m has quit [Read error: Connection reset by peer]
souther has joined #linux-sunxi
f0xx has joined #linux-sunxi
k40s[m] has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
shfil has quit [Quit: Connection closed for inactivity]
clemens3 has joined #linux-sunxi
voodoovood2 has quit [Read error: Connection reset by peer]
voodoovood has joined #linux-sunxi
YannSoubeyrand[m has joined #linux-sunxi
fevv8[m] has joined #linux-sunxi
davidebeatrici has joined #linux-sunxi
ildar has joined #linux-sunxi
MartijnBraam has joined #linux-sunxi
romainmahoux[m] has joined #linux-sunxi
freddor has joined #linux-sunxi
JuniorJPDJ has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
z3ntu has joined #linux-sunxi
oliv3r[m] has joined #linux-sunxi
t4h4[m] has joined #linux-sunxi
Jeremy_Rand_Talo has joined #linux-sunxi
thefloweringash has joined #linux-sunxi
EmilKarlson has joined #linux-sunxi
<angelo_ts>
hi, always on H3, i have some devices on the i2c bus. When sending commands from linux, by scope, i see the clock bits as a sawtooth and data line as held high, with few millivolt bits attempts
<angelo_ts>
my suspect is that some device in the bus is creating issues, they are all powered properly btw
msimpson has joined #linux-sunxi
zoums has joined #linux-sunxi
yann has quit [Ping timeout: 250 seconds]
f0xx has quit [Read error: Connection reset by peer]
tnovotny has joined #linux-sunxi
jrg has quit [Ping timeout: 244 seconds]
jrg has joined #linux-sunxi
fkluknav has quit [Remote host closed the connection]
fkluknav has joined #linux-sunxi
vpeter has quit [Remote host closed the connection]
<megi>
well maybe not :) struct regulator_dev is not struct regulator
<megi>
bummer
<MoeIcenowy>
megi: regulator_dev lookup is a step in regulator_get
<megi>
yeah
<megi>
it's not enough
<MoeIcenowy>
we can replace regulator_dev_lookup in regulator_get with of_find_regulator_by_node
<megi>
connector doesn't have an associated struct device?
<MoeIcenowy>
then we can get a regulator by a device_node got with a phandle
<MoeIcenowy>
megi: I think something w/o driver won't have struct device
<MoeIcenowy>
but it may be wrong
<MoeIcenowy>
I hope someone more experienced can correct me
<MoeIcenowy>
mripard: ^
<jernej>
in hdmi case, there are actually 3 distinct units sharing same "struct device"
<jernej>
so having only "struct device" api for dt aware drivers is a bit limiting
<megi>
i see a connector (hdmi one) in /sys/devices/platform so perhaps usb connector will have a struct device if it also appears in sysfs
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 5.0.0, revision: 5.0.0+git-7416-9b35d44fd, build type: debug, sources date: 20160102, built on: 2019-01-23 17:02:15 UTC 5.0.0+git-7416-9b35d44fd http://www.kvirc.net/]
<MoeIcenowy>
maybe
<MoeIcenowy>
it's a platform device
<MoeIcenowy>
although it has no driver
<MoeIcenowy>
maybe we should experiment?
<megi>
yep :)
<megi>
there's a new usb-connector.txt binding merged since October
<MoeIcenowy>
oh git just got my system semi-hang
<megi>
2018
<MoeIcenowy>
my ~/git-repos/linux wants it to sit on a SSD ;-)
<megi>
there's only one use in arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
<MoeIcenowy>
megi: it lacks a vbus-supply property ;-)
<MoeIcenowy>
we need to add it first
<megi>
it looks like it's implemented by the extcon framework, so that may be a way to get the device for the connector, and get vbus regulator from there
<MoeIcenowy>
megi: I think extcon is for insert detection
<MoeIcenowy>
not for power
<megi>
hmm
<megi>
all this connector stuff surely is more complicated than sun4i-usb-phy way of doing things :(
<MoeIcenowy>
yes
<MoeIcenowy>
and I think something in usb-connector.txt is really strange -- the connector node should be subnode of *controller* node
<MoeIcenowy>
but I think it should be the subnode of *PHY* node
<MoeIcenowy>
USB connector is connected to USB PHY, not USB controller (USB controller connects to USB PHY via UTMI/ULPI, and if USB3, PIPE
<megi>
to me it should be under / because it's on the board :)
<megi>
it just is connected to the phy
<MoeIcenowy>
then of graph is needed
<MoeIcenowy>
it's overengineering!
<megi>
it may be because usb3 is way more complicated than usb2
<MoeIcenowy>
yes, theortically it might be really needed!
<MoeIcenowy>
it's possible for a USB3 controller to utilize 2 PHYs, one for USB2, one for USB3 (and USB3 one may shared with PCIe)
<MoeIcenowy>
megi: usb-connector is used by *NO ONE*
<MoeIcenowy>
arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi uses another connector that carries USB protocol made by Samsung
<MoeIcenowy>
see the DT, it's under some mux controller
<megi>
and use extcon framework to detect what's actually connected
<MoeIcenowy>
so I think a hardwired USB A/B connector should really lie under / or PHY
<MoeIcenowy>
because there's no mux
<megi>
I guess, if it's documented to be under controller node, it should be there. It's just a policy issue anyway.
<MoeIcenowy>
oh sorry
<MoeIcenowy>
it says "interface controller"
<MoeIcenowy>
should an "interface controller" contain a PHY?
<MoeIcenowy>
oh sorry
<MoeIcenowy>
should "interface controller"s contain PHYs?
<megi>
i think if it's in the soc, it should be both directly under /soc (both phy and controller)
<megi>
looks like usb connector bindings were added mostly to model USB-C connectors and all the power related stuff, where there's an actual usb power controller connected to the port
<megi>
and "interface controller" means chips like fusb302
<megi>
not the xhci thing on the soc
<megi>
MoeIcenowy: ^
<MoeIcenowy>
megi: yes
<MoeIcenowy>
but when our thing is dummy
<megi>
but I don't see any user that would use the new bindings just to toggle the vbus on/off, like the phy drivers do now
IgorPec has joined #linux-sunxi
<MoeIcenowy>
what should we do
<MoeIcenowy>
megi: Rob wants we to migrate to new binding
<MoeIcenowy>
(in fact now I even want to do ugly thing -- drop vbus supply in binding and make it always-on in DT
<megi>
yup, that might do
Rafael1980 has quit [Ping timeout: 250 seconds]
<megi>
on opi 3 you can't even turn it off
<megi>
it's hard wired to DCIN
<MoeIcenowy>
hahahaha
<MoeIcenowy>
megi: BTW did sth on AP6256?
<megi>
armbian figured you can use the mainline driver
<megi>
with the firmware provided by xunlong
<MoeIcenowy>
no patch needed?
<megi>
no patch
<megi>
you just need to rename the firmware
<MoeIcenowy>
rename to what?
<MoeIcenowy>
rename it to 43455 one?
<megi>
it might be better if the driver detected that it's 43456 correctly though
<martinayotte>
megi: Thanks ! I will commit that patch into Armbian ! :-)
<MoeIcenowy>
megi: when will you send out this patch?
<megi>
with opi3 patches
<megi>
that's where this AP6256 is used
<martinayotte>
megi: BTW, did you found anything the "reboot/reset" issue ?
<megi>
no
<martinayotte>
:-(
<megi>
martinayotte: watchdog reset just doesn't work, and fiddling with RVBARADDR didn't help
<megi>
i mean wathcdog works, it just hangs the soc after timeout :D not a behavior one would expect from a watchdog ;)
<martinayotte>
I've seen this https://lkml.org/lkml/2019/4/5/425 this morning, but didn't investigate, especially that I've lost time a month ago trying the watchdog.
<megi>
i think u-boot is using the correct wathdog
f0xx has quit [Ping timeout: 245 seconds]
gamelaster has quit [Read error: Connection reset by peer]
<martinayotte>
remember that it is working fine with PineH64 3GB, so as you told me days ago, the issue is maybe the fact that other boards don't have 3GB but less ... Or it is pure coincidence ...
<megi>
it may be coincidence
vagrantc has joined #linux-sunxi
NeuroScr has quit [Quit: NeuroScr]
<martinayotte>
Also, booting BSP u-boot, then reset to Mainline u-boot without unpowering, the "reset/reboot" works forever until DRAM is shutdown ...
shfil has quit [Quit: Connection closed for inactivity]
MangyDog has joined #linux-sunxi
Mangy_Dog has quit [Disconnected by services]
MangyDog has quit [Remote host closed the connection]
Mangy_Dog has joined #linux-sunxi
msde has joined #linux-sunxi
msde has quit [Client Quit]
msde has joined #linux-sunxi
fkluknav_ has joined #linux-sunxi
wwilly_ has joined #linux-sunxi
return0e_ has joined #linux-sunxi
book`_ has joined #linux-sunxi
rexxster_ has joined #linux-sunxi
naobsd86 has joined #linux-sunxi
alexxy[home] has joined #linux-sunxi
fl__0 has joined #linux-sunxi
libv_ has joined #linux-sunxi
wigyori_ has joined #linux-sunxi
beeble_ has joined #linux-sunxi
juri__ has joined #linux-sunxi
a|3xx has joined #linux-sunxi
libv has quit [Ping timeout: 255 seconds]
return0e has quit [Ping timeout: 255 seconds]
wwilly has quit [Ping timeout: 255 seconds]
xes has quit [Ping timeout: 255 seconds]
SJRvanSchaik has quit [Ping timeout: 255 seconds]
beeble has quit [Ping timeout: 255 seconds]
longsleep has quit [Ping timeout: 255 seconds]
wens_ has joined #linux-sunxi
fl_0 has quit [Ping timeout: 246 seconds]
book` has quit [Ping timeout: 246 seconds]
ijc has quit [Ping timeout: 246 seconds]
juri_ has quit [Ping timeout: 246 seconds]
wens has quit [Ping timeout: 246 seconds]
wigyori has quit [Ping timeout: 246 seconds]
bbrezillon has quit [Ping timeout: 246 seconds]
DonkeyHotei has quit [Ping timeout: 246 seconds]
naobsd8 has quit [Ping timeout: 246 seconds]
buZz has quit [Ping timeout: 246 seconds]
a|3x has quit [Ping timeout: 246 seconds]
jelly has quit [Ping timeout: 246 seconds]
fkluknav has quit [Ping timeout: 246 seconds]
sunshavi has quit [Ping timeout: 246 seconds]
alexxy has quit [Ping timeout: 246 seconds]
rexxster has quit [Ping timeout: 246 seconds]
itdnhr has quit [Ping timeout: 246 seconds]
buZz has joined #linux-sunxi
swabbles has joined #linux-sunxi
itdnhr_ has joined #linux-sunxi
ijc_ has joined #linux-sunxi
buZz is now known as Guest79789
DonkeyHotei has joined #linux-sunxi
bbrezillon has joined #linux-sunxi
xes has joined #linux-sunxi
longsleep has joined #linux-sunxi
jelly-home has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
libv_ is now known as libv
return0e_ has quit [Read error: Connection reset by peer]
return0e has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 245 seconds]
msde has quit [Remote host closed the connection]
netlynx has quit [Quit: Ex-Chat]
lurchi__ is now known as lurchi_
shfil has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 268 seconds]
nuuuciano has joined #linux-sunxi
lurchi_ is now known as lurchi__
_whitelogger has joined #linux-sunxi
zoums has joined #linux-sunxi
hitech95 has quit [Read error: Connection reset by peer]
lurchi__ is now known as lurchi_
tllim has quit [Remote host closed the connection]