[CondenSed] has quit [Quit: There are paranoid crossroads and shipwreck alleys.]
[BitBang] has joined #linux-sunxi
Redfoxmoon has quit [Ping timeout: 240 seconds]
Redfoxmoon has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
ganbold has quit [Quit: This computer has gone to sleep]
sunshavi has quit [Ping timeout: 248 seconds]
sunshavi has joined #linux-sunxi
megi has quit [Ping timeout: 248 seconds]
dc13ff has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
<wens>
vagrantc: looks like it's in his private tree for now, until it's rebased onto 4.18-rc1 and pushed out
<vagrantc>
wens: that's what i feared :)
<wens>
vagrantc: that's normal, as you can't have -next-next stuff in -next
<wens>
and we normally don't push out -next-next unless someones asks for it (to do integration or stage patches on)
<wens>
vagrantc: speaking of Debian, any chance you'd be at DebConf? :)
<vagrantc>
wens: yes, just got tickets earlier this week!
<vagrantc>
wens: i'm guessing that means we'll get a chance to meet, then? :)
<wens>
yup
<wens>
I might not be there the whole week though
<vagrantc>
submit and talk proposals?
<vagrantc>
any
<MoeIcenowy>
anarsoul: and now if the lid close and open very fast
<wens>
nope, not that active in Debian space
<MoeIcenowy>
it will fail to wakeup
<wens>
vagrantc: most I do is maintain a mirror, and occasionally send bug reports
leviathan has joined #linux-sunxi
leviathan has quit [Remote host closed the connection]
<anarsoul>
MoeIcenowy: I guess it's still suspending while you're opening the lid
<anarsoul>
MoeIcenowy: does it resume if you close and open it again?
<MoeIcenowy>
anarsoul: not done, but I'll try
<MoeIcenowy>
yes it resumes
<MoeIcenowy>
but weird
leviathan has joined #linux-sunxi
tl_lim has quit [Read error: Connection reset by peer]
tl_lim has joined #linux-sunxi
nots has quit [Quit: Page closed]
hanetzer has quit [Remote host closed the connection]
hanetzer has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
dc13ff has quit [Quit: Connection closed for inactivity]
IgorPec has joined #linux-sunxi
TheSeven has quit [Ping timeout: 265 seconds]
TheSeven has joined #linux-sunxi
TheSeven has quit [Ping timeout: 245 seconds]
TheSeven has joined #linux-sunxi
SP7RT has quit [Ping timeout: 260 seconds]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 260 seconds]
tl_lim has quit [Ping timeout: 276 seconds]
nuuuciano_ has quit [Ping timeout: 260 seconds]
tl_lim has joined #linux-sunxi
BenG83 has quit [Ping timeout: 260 seconds]
tl_lim has quit [Ping timeout: 265 seconds]
tl_lim has joined #linux-sunxi
montjoie has joined #linux-sunxi
xes has quit [Remote host closed the connection]
JohnDoe_71Rus has joined #linux-sunxi
xerpi has joined #linux-sunxi
tl_lim has quit [Ping timeout: 265 seconds]
tl_lim has joined #linux-sunxi
xes has joined #linux-sunxi
tl_lim has quit [Ping timeout: 276 seconds]
tl_lim has joined #linux-sunxi
xes has quit [Ping timeout: 248 seconds]
fkluknav_ has joined #linux-sunxi
OnkelUlla has joined #linux-sunxi
fkluknav_ has quit [Ping timeout: 256 seconds]
jaganteki has joined #linux-sunxi
yann has quit [Ping timeout: 256 seconds]
enrico_ has joined #linux-sunxi
xes has joined #linux-sunxi
arete74 has quit [Ping timeout: 256 seconds]
clemens3_ has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 248 seconds]
Gerwin_J has joined #linux-sunxi
fkluknav_ has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
tl_lim has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
qeed has quit [Quit: Leaving]
fkluknav_ has quit [Ping timeout: 260 seconds]
arete74 has joined #linux-sunxi
dddddd has joined #linux-sunxi
yann has joined #linux-sunxi
fkluknav_ has joined #linux-sunxi
BenG83 has joined #linux-sunxi
fkluknav_ has quit [Ping timeout: 256 seconds]
f0xx has joined #linux-sunxi
phdeswer has joined #linux-sunxi
f0xx has quit [Ping timeout: 248 seconds]
pmpp has quit [Disconnected by services]
pmpp_ has joined #linux-sunxi
msimpson has joined #linux-sunxi
fkluknav_ has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
megi has joined #linux-sunxi
hlauer has joined #linux-sunxi
msimpson_ has joined #linux-sunxi
msimpson has quit [Ping timeout: 276 seconds]
f0xx has joined #linux-sunxi
f0xx has quit [Ping timeout: 248 seconds]
msimpson__ has joined #linux-sunxi
nuuuciano_ has joined #linux-sunxi
msimpson_ has quit [Ping timeout: 256 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
night199uk has quit [Ping timeout: 256 seconds]
codekipp1r has joined #linux-sunxi
night199uk has joined #linux-sunxi
mkid has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
micken has joined #linux-sunxi
<micken>
jernej: Hello. I am going to port RISC OS to Pinebook. I intend to use the framebuffer in u-boot , like NetBSD does with genfb. I got your nick from Pine (TL Lim). I wonder how u-boot presents its driver to the kernel. Is it a fixed memory area?
<micken>
jernej: the documentation for DE is quite empty
<micken>
:(
<KotCzarny>
depends on which driver you use
<KotCzarny>
fbsimple vs drm one
<micken>
fbsimple seems better here
<micken>
I can't look on the linux kernel becuase of GPL
<KotCzarny>
then i guess uboot passes address and some params, without getting into DE details
<micken>
ok
<micken>
from NetBSD it looks like it setup a framebuffer, ready to use and also provides info about the resolution
Gerwin_J has joined #linux-sunxi
<KotCzarny>
that's what i've said
<micken>
yes ok
<micken>
I can look into u-boot sources without violating gpl ...
nuuuciano_ has quit [Ping timeout: 265 seconds]
<micken>
(for this specific thing)
<KotCzarny>
i think you can look into gpl sources without violating gpl as long you dont copypaste code
<KotCzarny>
reading isnt copyrighted in gpl afair
<micken>
I am not so sure. I have been working in projects where I was told that wasnt allowed to use it as docs
<KotCzarny>
my guess it was a convenience, in case people have photographic memory
<micken>
ok
<KotCzarny>
to be able to say 'they havent ever looked at files, so cant be copied'
<micken>
Do you know if the external ports and keyboard is connected with ehci?
<KotCzarny>
be more specific?
<micken>
as far as I can see it has a OTG and a EHCI controller
<micken>
EHCI is pretty plug and play for me, OTG isn't
<KotCzarny>
otg port is usually separate one, only pine folks use some mux magic
<micken>
so I need to know where the ports are routed, but ok I can check the schematics
<KotCzarny>
yes, schematics is best to check
BenG83 has joined #linux-sunxi
AneoX has quit [Read error: Connection reset by peer]
codekipp1r has quit [Remote host closed the connection]
elros has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<juri_>
micken: you're allowed to write docs from it. have a friend write the documentation, which you then use. publish the docs, and all communication with your friend, and you're in the clear.
reinforce has joined #linux-sunxi
<mripard>
or you can read the doc
<mripard>
the one that already exist I mean
[BitBang] has quit [Quit: There are paranoid crossroads and shipwreck alleys.]
[BigBuckBunny] has joined #linux-sunxi
<ElBarto>
mripard: jaganteki: Any news for Andre serie to update H3/H5/A64 dts in u-boot ?
<mripard>
ElBarto: isn't it merged already ?
<jaganteki>
not yet
<ElBarto>
nope, last update is from 4.12 iirc
<mripard>
jaganteki: you said it was applied on April 4th?
<jaganteki>
nothing functional, but I need to see the size of the image
<mripard>
apart from the last commit on the Pine64, that's fine for me
<ElBarto>
the pine64-lts commit you mean ?
<ElBarto>
jaganteki: what do you mean ? there is some size check no ?
<jaganteki>
yes there was size check, but how much it grown wrt these changes this is what I'm concern about
<ElBarto>
why does it matter is the size is still below the limit ?
<mripard>
ElBarto: yep, the Pine64-LTS one
<ElBarto>
yeah I guess this one should be in linux first
<ElBarto>
but Andre lives in the magical world (where everyone want to be) where firmware have the dtb info only
<jaganteki>
if you see my previous version comments, I was thinking about adding extra size with nodes which are not useful now in u-boot.
<ElBarto>
it's fine with me since we do not care about dtb in freebsd for arm64, we rely 100% on firmware for this
<jaganteki>
let me comment on that version
<mripard>
jaganteki: that doesn't really work, some people expect to just pass the U-Boot DTB to Linux as well
<mripard>
if you strip U-Boot's DT, you strip Linux's as well in this case
<jaganteki>
mripard, the same dtb
<ElBarto>
unless you have two dtb but it's crazy (especially if you care about size)
<mripard>
jaganteki: yes, the same dtb
<jaganteki>
in that case sync is valid
<ElBarto>
the merge window is closed right for 2018.07 ?
<jaganteki>
ElBarto, the reason why I'm concern here is if we don't care much now, adding new driver-models mmc, pinctrl, reset etc will grown like anything
<jaganteki>
otherwise I'm pretty ok with Linux sync as I did same on i.MX6
<ElBarto>
sure, but there is not much we can do here
phdeswer_ has joined #linux-sunxi
<jaganteki>
ok
<jaganteki>
are you planning to send 7th patch again?
<micken>
ElBarto: the problem is that fdt support have to go into our HAL. THe HAL is VERY limited in size and is mostly assembler
BenG83 has quit [Remote host closed the connection]
<ElBarto>
micken: oh I'm sure that this won't be easy but it's unrealistic to do any arm stuff today without fdt
<ElBarto>
micken: even NetBSD (since you said you looked at some code) went this way recently
<micken>
I know
qeed has joined #linux-sunxi
<micken>
ElBarto: but we already do i.MX6 Rpi (all flavours) Titanium, two old arcitctures
<micken>
etc
<micken>
omap
<micken>
and I just ported it to RK3288
<micken>
ElBarto: I will check if I can force the info to a specific address, if that fails I look into bringing up fdt
afaerber has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 260 seconds]
<montjoie>
MoeIcenowy: the R40 usermanual about Crypto said i need to activate MBUS clock, but I didnt see in dt-bindings. Since you have done the R40 clocks, does I miss something ?
AneoX has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
AneoX_ has quit [Ping timeout: 264 seconds]
afaerber has joined #linux-sunxi
hitech95 has joined #linux-sunxi
hanni76 has joined #linux-sunxi
<micken>
so that DE document covers all the register but lacks app notes
JohnDoe_71Rus has joined #linux-sunxi
<hlauer>
montjoie: Do you have the cpufreq driver running on a R40 device ? Made some DT entries, but are unsure about voltages.
<hitech95>
Hi guys is there someone that could help me understanding the audio layer on a a33?
<jernej>
micken: I see that others already give you plenty of info
<jernej>
micken: there is no "app note" document for DE2, so I did a lot of tests (even before that document existed) to find out how it really works
<jernej>
I suggest you do the same
<jernej>
and regarding simplefb node - it gets populated by U-Boot because memory region is dynamicly allocated, so there is no fixed address
jbrown has quit [Quit: Leaving]
jbrown has joined #linux-sunxi
<jernej>
and it's size depends on monitor resolution, which is also put in DT
AneoX_ has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
AneoX has quit [Ping timeout: 276 seconds]
Ixnus has joined #linux-sunxi
phdeswer has joined #linux-sunxi
<Ixnus>
hitech95: did you post on the mailing list ?
<hitech95>
Ixnus, yup but I got no replay. Right now i would like to configure alsa but I cant understand what all the controls are in reference to the usermanual.
<Ixnus>
hitech95: the 3 people who know audio on sunxi are: codekipper, wens, mripard.
Ixnus has quit [Client Quit]
fredl_ has quit [Remote host closed the connection]
jbrown has quit [Quit: Leaving]
matthias_bgg has quit [Ping timeout: 276 seconds]
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 255 seconds]
wasutton3_mobile has joined #linux-sunxi
phdeswer has quit [Remote host closed the connection]
gzamboni has quit [Read error: Connection reset by peer]
jbrown has joined #linux-sunxi
pmpp_ is now known as pmpp
<wens>
hitech95: I might have seen your mail, but was too busy to reply
<wens>
if you have the earlier A10/A10s/A13/A20, enable Power Amplifier (PA) Mute and Mixer, disable PA DAC
<wens>
if you have both PA Mixer and PA DAC enabled, they will cancel each other out, as they are almost 180 degrees out of phase (likely an extra buffer in the mixer)
<wens>
and enable Left Mixer Left DAC and Right Mixer Right DAC, so the Mixer mixes in the DAC output
<wens>
sorry the labels are really confusing, but this was before I started looking for a sane way to get ASoC working
<hitech95>
wens, no problem I have a R16/A33. Right now I would like to understank how to setup a proper route for what i need. (The board is bpi m2m) I would to understankd how to setup the inner mix and amplifiers to do what I need. I'm reading the driver but i'm not so good.
<KotCzarny>
wens: could you add some description of audio toggles/layers to wiki?
<KotCzarny>
things like 'Left Mixer Left DAC' 'Right Mixer Left DAC' are confusing
<hitech95>
KotCzarny, at least have a reference with the madual diagram. That have no userful labels to it so is quite confusing to understand what does what!
<hitech95>
*manual
<KotCzarny>
there is diagram in manual?
<wens>
there is a diagram in the manual, though in some versions it's hard to understand
<hitech95>
KotCzarny, yup but is quite useless becaouse it have no names on it so you have to guess. (at least to me seem so).
<wens>
hitech95: you mean the alsa controls?
nixdork has quit [Ping timeout: 276 seconds]
<wens>
I don't have an A33/R16 board connected ATM so I can't really help you right now
<wens>
hitech95: Mylene did the support for A33, you could ask her
<hitech95>
wens, yes. I'm tring to understand what dpam is linked to which diagram block. (Maybe i'm doing in the wrong way)
<KotCzarny>
what is 'Power Amplifier Mixer' ?
<hitech95>
wens, for now I just have a couple of general questions: what is AIF 1/2/3? are those indipendent i2s/pcm interfaces to the cpu? And the codec is connected on aif1?
<KotCzarny>
enabler for mixer input in output ?
nixdork has joined #linux-sunxi
<wens>
hitech95: AIF1 is the cpu interface
<wens>
the codec is I2S based and actually a separate design, and just integrated into the SoC at the chip level
<wens>
hitech95: AIF2 is BB in the diagram, AIF3 is BT in the diagram
<wens>
AIF1 is the group of interfaces that has slot 0/1
<hitech95>
wens, yup I got that. but what are aif 2 and 3? are those additionals i2s int on the codec? so actually the codec can "switch/mux more than one i2s/pcm interface? What are those BB and BT? are lines from the gpio pinmux?
hlauer has quit [Ping timeout: 240 seconds]
<wens>
hitech95: lines from PIO pinmux: AIF2 is on PB4-7, AIF3 on PG10-13
<wens>
the pins also have PCM0 and PCM1 as mux options, which *are* I2S controllers the CPU can use
<hitech95>
wens, ok, so those are lines from the pinmux. (so the cpu have more than one i2s/pcm interface) Now I got it. I'm making a image/diagram with the stuff i figred out.
<hitech95>
wens, thanks for the help! I'm a noob on this kind of stuff.
<wens>
hitech95: if you want a slightly better diagram, check out the AC100 (which is a standalone codec+RTC chip) user manual
<hitech95>
wens, is that the reference design of the allwinner ip?
<wens>
I think they just integrated the codec part with some odd interface bridge for the controls
<hitech95>
wens, thanks! i'll chack that out!
<wens>
hitech95: X-Powers, the company behind AC100 and all the AXP PMICs, is a subsidiary of Allwinner
<hitech95>
wens, yes, i know. Unfortunatly my idea is to make a FOSS/Open HW som based on the R16 for people that need a low power module. But the datasheet from allwinner/axp are really bad! Whan I worked with mediatek stuff i used to say that those datasheet were bad. Now I have seen those from allwinner :(
Gerwin_J has quit [Ping timeout: 265 seconds]
Gerwin_J has joined #linux-sunxi
willmore has quit [Ping timeout: 248 seconds]
IgorPec has quit [Ping timeout: 240 seconds]
leviathan has joined #linux-sunxi
willmore has joined #linux-sunxi
leviathan has quit [Client Quit]
leviathan has joined #linux-sunxi
tllim has joined #linux-sunxi
<wens>
yeah, but you can get them easily
reinforce has quit [Quit: Leaving.]
clemens3 has joined #linux-sunxi
f0xx has joined #linux-sunxi
<hitech95>
wens, yup. That why I moved from mediatek to allwinner.
<hitech95>
the datasheet for the ac100 is easier to understand
<hitech95>
(at least the digital muxing)
<wens>
I've not tried to actually match the hardware and register bits, but they look similar
Gerwin_J has quit [Quit: Gerwin_J]
<wens>
and the AC100 is also found in the AXP813/818, which is an AC100 die and a PMIC die in the same package
<wens>
I think someone started to work on the codec for them, but don't remember who
<hitech95>
No idea about hardware reg. but at least i'm starting to understand how stuff is connected inside. Lokks like that allwinner like to copu and paste stuff. I have seen the same stuff on the axp pmic. They use the smae logic and change the base address.
msimpson__ has quit [Quit: Leaving]
Mr__Anderson has joined #linux-sunxi
<wens>
indeed, which is better than a completely new design, for us at least :)
jaganteki has quit [Ping timeout: 260 seconds]
<hitech95>
wens, yup. if the thesign works is ok for me to copy and paste. But sometimes they can change a bit and on newwer hardware you go crazy to understand what they changed...
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
reinforce has joined #linux-sunxi
f0xx has quit [Read error: No route to host]
f0xx has joined #linux-sunxi
<hitech95>
wens, I have a question about slot 0 and slot 1. You can choose only one right? Or is that multiplexed for a total of 2 stereo recording and 2 stereo playback?
yann has quit [Ping timeout: 245 seconds]
reinforce has quit [Quit: Leaving.]
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 260 seconds]
anarsoul has quit [Quit: Leaving]
<MoeIcenowy>
wens: for AXP806 standalone support
anarsoul has joined #linux-sunxi
<MoeIcenowy>
could I just treat "x-powers,standalone-mode" as the same as "x-powers,master-mode" now?
nuuuciano_ has joined #linux-sunxi
tom_nov has quit [Ping timeout: 256 seconds]
dev1990__ has quit [Quit: Konversation terminated!]
jaganteki has joined #linux-sunxi
dev1990 has joined #linux-sunxi
dc13ff has quit [Quit: Connection closed for inactivity]
aalm has quit [Ping timeout: 260 seconds]
jaganteki has quit [Ping timeout: 260 seconds]
wasutton3_mobile has quit [Ping timeout: 248 seconds]
enrico_ has quit [Quit: Bye]
IgorPec has joined #linux-sunxi
phdeswer has joined #linux-sunxi
[BigBuckBunny] has quit [Quit: There are paranoid crossroads and shipwreck alleys.]
yann has joined #linux-sunxi
<hitech95>
wens, I got the audio output working. Looks like that I have to enable aif1 slot0 playback. (no idea what control changes but works)
clemens3 has quit [Ping timeout: 260 seconds]
elros has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
fkluknav_ has quit [Ping timeout: 276 seconds]
aalm has joined #linux-sunxi
nots has joined #linux-sunxi
anarsoul|2 has quit [Remote host closed the connection]
anarsoul|2 has joined #linux-sunxi
paulk-gagarine-s has joined #linux-sunxi
paulk-gagarine has quit [Ping timeout: 264 seconds]
paulk-gagarine-s has quit [Quit: Leaving]
paulk-gagarine has joined #linux-sunxi
phdeswer has quit [Read error: Connection reset by peer]