<willmore>
Pick one with an I2S bus and find a A/D that you like.
<willmore>
Or some kind of USB device. Probably lower quality, but much easier software/hardware setup.
<kilobyte>
unlike output (where "audiophile" snake oil salesmen will lie to you -- no human can discern anything above 44100Hz 16bit, thus any not completely broken modern DAC will deliver perfect quality), input is way trickier and can be done wrong
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
afaerber has quit [Remote host closed the connection]
chomwitt has quit [Ping timeout: 264 seconds]
kaspter has joined #linux-sunxi
kaspter1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter1 is now known as kaspter
<buZz>
hm yeah , random i2s adc would be easy to do i guess
anarsoul|2 has quit [Ping timeout: 240 seconds]
popolon has quit [Quit: WeeChat 1.9]
Andy-D_ has joined #linux-sunxi
Andy-D has quit [Ping timeout: 260 seconds]
ninolein has quit [Ping timeout: 246 seconds]
ninolein has joined #linux-sunxi
jbrown has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 260 seconds]
cnxsoft has joined #linux-sunxi
Hao has quit [Ping timeout: 240 seconds]
[TheBug] has quit [Ping timeout: 246 seconds]
[TheBug] has joined #linux-sunxi
Hao has joined #linux-sunxi
paulk-gagarine-s has joined #linux-sunxi
paulk-gagarine has quit [Ping timeout: 252 seconds]
malcomX657 has joined #linux-sunxi
malcomX657 has quit [Excess Flood]
chomwitt has joined #linux-sunxi
Hao_ has joined #linux-sunxi
Hao has quit [Ping timeout: 240 seconds]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao_ has quit [Ping timeout: 240 seconds]
Hao has joined #linux-sunxi
lurchi_ is now known as lurchi__
Hao_ has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao_ has quit [Remote host closed the connection]
libv_ is now known as libv
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Andy-D__ has joined #linux-sunxi
Hao has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 240 seconds]
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
Andy-D__ has quit [Ping timeout: 240 seconds]
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
aalm has joined #linux-sunxi
aidin has quit [Ping timeout: 248 seconds]
fugitive_ has joined #linux-sunxi
aidin has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 264 seconds]
<KotCzarny>
dont foget to check if board has actual i2s pins routed ;)
<KotCzarny>
most a20 board miss them
chomwitt has quit [Ping timeout: 255 seconds]
TheSeven has quit [Ping timeout: 246 seconds]
[7] has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
willmore has quit [Ping timeout: 248 seconds]
Hao has joined #linux-sunxi
Putti has quit [Read error: Connection reset by peer]
Putti has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
IgorPec has joined #linux-sunxi
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
akaizen has quit [Ping timeout: 260 seconds]
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
akaizen has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
RichardG867 has quit [Ping timeout: 248 seconds]
Hao has joined #linux-sunxi
willmore has joined #linux-sunxi
RichardG867 has joined #linux-sunxi
fkluknav has joined #linux-sunxi
awais has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
cnxsoft has quit [Ping timeout: 240 seconds]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 260 seconds]
iamfrankenstein has quit [Quit: iamfrankenstein]
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
Hao_ has joined #linux-sunxi
Hao__ has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao_ has quit [Ping timeout: 260 seconds]
Hao__ has quit [Ping timeout: 240 seconds]
Hao_ has joined #linux-sunxi
Hao_ has quit [Remote host closed the connection]
Hao has quit [Ping timeout: 240 seconds]
Hao has joined #linux-sunxi
Hao_ has joined #linux-sunxi
Hao has quit [Ping timeout: 240 seconds]
libv_ has quit [Ping timeout: 260 seconds]
libv has joined #linux-sunxi
leviathanch has joined #linux-sunxi
Hao has joined #linux-sunxi
Hao_ has quit [Ping timeout: 240 seconds]
Hao has quit [Read error: Connection reset by peer]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
gzamboni has quit [Ping timeout: 264 seconds]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Putti has quit [Remote host closed the connection]
Putti has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Gerwin_J has joined #linux-sunxi
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
rexxster has quit [Remote host closed the connection]
f0xx has joined #linux-sunxi
rexxster_ has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
Putti has joined #linux-sunxi
aidin has quit [Ping timeout: 248 seconds]
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Putti has quit [Remote host closed the connection]
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
bbrezillon has quit [Ping timeout: 240 seconds]
robogoat has quit [Ping timeout: 240 seconds]
cosm has quit [Remote host closed the connection]
bbrezillon has joined #linux-sunxi
diego_r has quit [Remote host closed the connection]
p_rossak has quit [Quit: No Ping reply in 180 seconds.]
diego_r has joined #linux-sunxi
vpeter has quit [Ping timeout: 246 seconds]
jailbox has quit [Ping timeout: 240 seconds]
beeble has quit [Ping timeout: 240 seconds]
beeble has joined #linux-sunxi
p_rossak has joined #linux-sunxi
leio has quit [Quit: No Ping reply in 180 seconds.]
willmore has quit [Ping timeout: 240 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
Putti has joined #linux-sunxi
uwe_ has quit [Ping timeout: 240 seconds]
cosm has joined #linux-sunxi
leio has joined #linux-sunxi
uwe_ has joined #linux-sunxi
vpeter has joined #linux-sunxi
leviathanch has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
tom_nov has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
formruga has quit [Remote host closed the connection]
formruga has joined #linux-sunxi
jailbox has joined #linux-sunxi
willmore has joined #linux-sunxi
fkluknav has quit [Ping timeout: 260 seconds]
Andy-D has joined #linux-sunxi
reinforce has joined #linux-sunxi
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
robogoat has joined #linux-sunxi
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
fkluknav has joined #linux-sunxi
Hao_ has joined #linux-sunxi
Hao__ has joined #linux-sunxi
Hao has quit [Ping timeout: 255 seconds]
Hao__ has quit [Read error: Connection reset by peer]
<Ke>
wonder if there would be a future beyond mali-400 that is becoming less available
Hao_ has quit [Ping timeout: 240 seconds]
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
matthias_bgg has quit [Remote host closed the connection]
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
fkluknav has joined #linux-sunxi
Pepsifan has joined #linux-sunxi
<Pepsifan>
Hi! I try to use my BananaPro (SoC A20) with LVDS Display (and Can-Bus). It's working with "Raspbian For BananaPro", Kernel Version : 3.4.103 with use of banana_pro_10.1lcd.fex file. This Kernel is old and unsupported, is it possible to run with Kernel 4.x ?
<Pepsifan>
(In the wiki the A20 and LVDS is marked as completely(?) unsupported, but it works on the mentioned Kernel)
Hao_ has joined #linux-sunxi
<wens>
3.4 and mainline are completely different beasts
Hao has quit [Read error: No route to host]
Hao has joined #linux-sunxi
Hao_ has quit [Remote host closed the connection]
nvz has quit [Ping timeout: 240 seconds]
Hao_ has joined #linux-sunxi
Hao has quit [Ping timeout: 240 seconds]
Hao_ has quit [Read error: Connection reset by peer]
Hao has joined #linux-sunxi
nvz has joined #linux-sunxi
book` has quit [Quit: Leaving]
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
book` has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
pfeerick has quit [Ping timeout: 252 seconds]
Hao has joined #linux-sunxi
<formruga>
Hi. Is it way to get PA_CFG1_REG on H3 (4.1.11 kernel) from userspace?
pfeerick has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Andy-D_ has joined #linux-sunxi
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Andy-D has quit [Ping timeout: 240 seconds]
Hao has joined #linux-sunxi
<willmore>
kilobyte is correct. Don't go crazy. Anything over 48K/16 for playback is crazy, but this was specifically about A/D and in capturing audio, you have gain issues and most cheap audio inputs will have horrible noise floors and frequency response.
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
leviathanch has joined #linux-sunxi
<Pepsifan>
@wens sorry, didn't saw your message between all the join/quits...
<Pepsifan>
Where I find the differences that cause the incompatiblity? I also tried to dist-upgrade the Raspbian, which only upgrades the packages, not the Kernel...?
fugitive_ has quit [Ping timeout: 252 seconds]
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
<wens>
Pepsifan: 3.4 is based on a vendor kernel with various fixes and cleanups
<Pepsifan>
So, if I want to use it, I have no choice and have to use 3.4
<wens>
correct
Hao has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
<Pepsifan>
Ok. I want to run this device for years.. And want to get best support oft security patches as possible. I've tried to set the apt sources to debian 9: Stretch - and did apt update and dist-upgrade. It seems to work. Can that get wrong in future with that old kernel?
Hao has joined #linux-sunxi
<wens>
no idea
aidin has quit [Ping timeout: 260 seconds]
<mripard>
and you're very likely to not have security updates
<mripard>
or bugfixes.
<wens>
you should ask distros if it's a good idea to run a very outdated and unsupported kernel
<wens>
(the likely answer is no)
Hao has quit [Remote host closed the connection]
<Pepsifan>
The support of Stretch means the Packages (=UserSpace), right? I wonder if most patches apply to UserSpace, so the kernel wouldn't be the problem in most cases?
Hao has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
yann-kaelig has joined #linux-sunxi
chlorine has joined #linux-sunxi
aidin has joined #linux-sunxi
<ullbeking>
What is the longest an OPi has been known to run for? Do they get stress tested?
<KotCzarny>
they are quite stable
<KotCzarny>
those allwinner socs in general
<KotCzarny>
as long power is good and no big interferences
<ullbeking>
KotCzarny: I will be investing in a good quality USB charger, see this...
<KotCzarny>
um
<KotCzarny>
if you prefer good power get real psu
<KotCzarny>
i like meanwell rd-65a and rs-50-5
<aalm>
yeah, charger!=power-supply.
<KotCzarny>
real psu will have real specs pdf
<KotCzarny>
then you can evaluate the application in your project
<aalm>
unless ofc. it has battery + charging via usb
chlorine has quit [Remote host closed the connection]
<ullbeking>
Meanwell eh
<ullbeking>
Will have a look
<ullbeking>
I noticed the difference in wording but it's hard to articulate
<KotCzarny>
they make good psus
<ullbeking>
The
<ullbeking>
Meanwell?
<KotCzarny>
yes
chlorine has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
<ullbeking>
You said 1A is an average light load for OPi, 2A is for bursts loads..?
<KotCzarny>
keep in mind chargers dont care about stability much because phones usually have builtin safety regulators
<ullbeking>
Yeah ofc
<KotCzarny>
ullbeking: keep in mind other pieces of your setup
<KotCzarny>
i power 2 hdds, fan and usb hub from that psu
<ullbeking>
Oh sure
<KotCzarny>
i had plans to put 12V monitor too, but my desk space ended
<KotCzarny>
but if you are lazy that anker thing might be enough
Pepsifan has left #linux-sunxi [#linux-sunxi]
<ullbeking>
I was under the impression the Anker device was good :D
Pepsifan has joined #linux-sunxi
<ullbeking>
But I don't want to pay for shitty things
antony has quit [Remote host closed the connection]
<aalm>
it's for charging
<KotCzarny>
just get on google and search for: charger dissection
<KotCzarny>
you will get a view what and why is important
<KotCzarny>
lots of fun stories too
<aalm>
it might require certain 'handshaking' via usb to give out the max etc.
libv_ has joined #linux-sunxi
<ullbeking>
Right. None of this is surprising
<KotCzarny>
many 'branded' devices might perform suboptimal under heavier loads
<ullbeking>
Yes, like Anker
<ullbeking>
I did the sums in the shop
<KotCzarny>
and again, they are meant for devices with regulators on the other side
<ullbeking>
The output was not great
pfeerick has quit [Ping timeout: 240 seconds]
<ullbeking>
Ty aalm. Nice to meet you
libv has quit [Ping timeout: 260 seconds]
libv_ is now known as libv
<ullbeking>
And ty KotCzarny as usual :-)
<KotCzarny>
as i've said, it might just work (i'm running tests sometimes with my spare htc charger 1A with opipc)
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
pfeerick has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
<Pepsifan>
Thanks to wens and others for your help and information! Bye.
chlorine has quit [Remote host closed the connection]
dave0x6d has joined #linux-sunxi
<ullbeking>
KotCzarny: sure, but if I'm going to the trouble of getting something that is supposed to supply stable power....
Pepsifan has quit [Quit: Page closed]
chlorine has joined #linux-sunxi
DullTube has quit [Quit: Leaving]
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
PITYHERO233 has joined #linux-sunxi
Hao has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
aidin has quit [Ping timeout: 240 seconds]
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
leviathanch has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
IgorPec has quit [Ping timeout: 252 seconds]
chlorine has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
fugitive_ has joined #linux-sunxi
chlorine has joined #linux-sunxi
aidin has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Putti has quit [Ping timeout: 248 seconds]
aidin has quit [Ping timeout: 240 seconds]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Putti has joined #linux-sunxi
GPenguin is now known as GPenguin_
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
Ntemis has joined #linux-sunxi
GPenguin_ has quit [Quit: Leaving]
PITYHERO233 has quit [Quit: Leaving]
enrico__ has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
libv has quit [Ping timeout: 260 seconds]
Andy-D__ has joined #linux-sunxi
Hao has quit [Remote host closed the connection]
Andy-D_ has quit [Ping timeout: 252 seconds]
Hao has joined #linux-sunxi
libv has joined #linux-sunxi
Hao_ has joined #linux-sunxi
Hao has quit [Ping timeout: 246 seconds]
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 246 seconds]
asyring has joined #linux-sunxi
LargePrime has quit [Remote host closed the connection]
Hao_ has quit [Read error: Connection reset by peer]
Hao has joined #linux-sunxi
<asyring>
mripard: when I want to write a vga-driver for the A20 should it be implemented in sun4i-drm-tv or should it be a separate file like sun4i-drm-vga based on tv?
chlorine_ has quit [Remote host closed the connection]
LargePrime has joined #linux-sunxi
<mripard>
asyring: isn't VGA output directly by the TCON ?
MoeIcenowy has quit [Ping timeout: 248 seconds]
aidin has joined #linux-sunxi
chlorine has joined #linux-sunxi
<asyring>
nope, its 3 tve + 3 dac and v/h sync directly from tcon
aalm has quit [Ping timeout: 248 seconds]
MoeIcenowy has joined #linux-sunxi
<asyring>
the a20 has 4 tv encoder and 4 dac. One pair is for cvbs and the other 3 for r,g and b channel
<asyring>
and if I understood it. the tves can bu muxed with the dacs
<asyring>
no, sorry two tv encoder but with 4 outputs
kaspter has quit [Quit: kaspter]
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
<mripard>
then it sohuld be the same driver
antony has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
PITYHERO233 has joined #linux-sunxi
<MoeIcenowy>
i think it should be in sun4i-tv
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
IgorPec has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
aidin has quit [Ping timeout: 240 seconds]
awais has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
aidin has joined #linux-sunxi
Hao_ has joined #linux-sunxi
Hao has quit [Read error: Connection reset by peer]
Hao has joined #linux-sunxi
Hao_ has quit [Ping timeout: 248 seconds]
Hao has quit [Read error: Connection reset by peer]
Hao has joined #linux-sunxi
rexxster_ has quit [Remote host closed the connection]
Hao_ has joined #linux-sunxi
rexxster_ has joined #linux-sunxi
Hao has quit [Ping timeout: 248 seconds]
PITYHERO233 has quit [Quit: Leaving]
reinforce has quit [Quit: Leaving.]
Hao has joined #linux-sunxi
Hao_ has quit [Read error: Connection reset by peer]
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
jackmitchell has joined #linux-sunxi
<jackmitchell>
I'm looking at getting the wifi chip enabled on my cubietruck plus
<jackmitchell>
it seems that the chip is hooked up to dcdc1 on the axp818
<jackmitchell>
to enable this regulator should I be creating an include like the with arch/arm/boot/dts/axp22x.dtsi
<jackmitchell>
but for the 818?
<jackmitchell>
so that I can then reference it from the mmc1 node?
<jackmitchell>
working with sunxi-next
aidin has quit [Ping timeout: 255 seconds]
<MoeIcenowy>
you should wait for wens to push the axp818 regulator driver
<jackmitchell>
awesome, does he have a public branch somewhere?
<marble_visions>
i think they people behind this repo have figured out how to build with mali support (can't see if they support booting from nand though yet)
<anarsoul>
which bit of it you want to be used on A64?
<mripard>
and again, my point. By avoiding ifdef, you create yet another slightly different variation of it
<mripard>
which is worse
<anarsoul>
15 lines
rexxster_ has joined #linux-sunxi
<anarsoul>
9 of these are for preprocessor
chlorine has quit [Remote host closed the connection]
<mripard>
if it was just a matter of lines, we wouldn't have that argument in the first place
<mripard>
because adding an ifdef is 2 lines.
<anarsoul>
right, and it would be 17 lines
<anarsoul>
6 of which is actual code
<mripard>
and then, when you'll have to add an extra function that does something, instead of one single place to add that function call, you'll have to know that there's two, find both, and edit both
<mripard>
if you fail at one of those steps, you just got yourself a regression / bug
<anarsoul>
nope
rexxster_ has quit [Remote host closed the connection]
<anarsoul>
you choose what platform you're fixing bug for
<anarsoul>
and fix it there
<mripard>
that code is common
<mripard>
it's the same device
chlorine_ has joined #linux-sunxi
rexxster has joined #linux-sunxi
<anarsoul>
OK, then shouldn't pinmux configuration for all the devices in all Allwinner SoCs be moved into common code?
<anarsoul>
it's not the same device, sunxi_lcd.c will never be used e.g. on A20
rexxster has quit [Remote host closed the connection]
Guest64089 has quit [Ping timeout: 260 seconds]
chlorine_ has quit [Ping timeout: 248 seconds]
rexxster_ has joined #linux-sunxi
<anarsoul>
anyway, calling sunxi_gpio_set_cfgpin() in a loop is not something worth moving into common code
rexxster_ has quit [Remote host closed the connection]