narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
cmeerw has quit [Ping timeout: 240 seconds]
sputnik__ has quit [Remote host closed the connection]
sputnik__ has joined #linux-amlogic
sputnik__ has quit [Ping timeout: 240 seconds]
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 260 seconds]
CyberManifest has joined #linux-amlogic
CyberManifest has quit [Quit: Leaving...]
kaspter has joined #linux-amlogic
sputnik__ has joined #linux-amlogic
camus1 has joined #linux-amlogic
kaspter has quit [Read error: Connection reset by peer]
camus1 is now known as kaspter
buzzmarshall has quit [Remote host closed the connection]
kaspter has quit [Ping timeout: 260 seconds]
kaspter has joined #linux-amlogic
TheAssassin has quit [Ping timeout: 240 seconds]
Tonymac32 has quit [Ping timeout: 240 seconds]
TheAssassin has joined #linux-amlogic
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
kaspter has quit [Ping timeout: 265 seconds]
kaspter has joined #linux-amlogic
asdf28 has joined #linux-amlogic
kaspter has quit [Ping timeout: 256 seconds]
kaspter has joined #linux-amlogic
Tonymac32 has joined #linux-amlogic
kaspter has quit [Ping timeout: 265 seconds]
asdf28 has quit [Ping timeout: 256 seconds]
kaspter has joined #linux-amlogic
kaspter has quit [Ping timeout: 258 seconds]
kaspter has joined #linux-amlogic
Barada has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
cmeerw has joined #linux-amlogic
ldevulder_ is now known as ldevulder
<brads> Trying to get the pcm5122 driver connected to i2s pins (tdm_b) on Odroid C4, the i2c part is connecting and I have defined the pins in tdmif_b section (tried with mclk and without as it supports LR clock sync) but I cannot get the pins to dance at all. Am I likey to need to "TOACODEC" component to make this work? Im trying to work in in conjuction with HDMI and at the moment devicetree
<brads> https://pastebin.com/Z0eQMvA6 but I have played around quiet a bit with different settings
<brads> but unsure if I can run both HDMI and the i2s pins both on tdm_b?
asdf28 has joined #linux-amlogic
<narmstrong> brads: no you can have both on the same tdm
<brads> ok I will test some more changes
sputnik__ has quit [Ping timeout: 258 seconds]
yann|work is now known as yann
trem has joined #linux-amlogic
CyberManifest has joined #linux-amlogic
<narmstrong> brads: so 1) HDMI should be moved to TDM_A, and you should add your device to TDM_B
Barada has quit [Quit: Barada]
camus1 has joined #linux-amlogic
<brads> narmstrong: ok thanks I will give that a try again (I did yesterday actually but it appeared those pins on TDM_A were reserved for spi, ill take a closer look
<narmstrong> brads: I'm also trying on my side
kaspter has quit [Ping timeout: 258 seconds]
camus1 is now known as kaspter
<brads> narmstrong: thanks, this is my latest version of the dts https://pastebin.com/YBC8VZnr Im not sure I have the right clock assigned to the pcm5122 but I don't think that matters at this stage as I cannot seems to get output on the tdm_b pins
<brads> I suspect I have some wrong pads configure for mclk to in the tdmif_b defintion
<narmstrong> it should be AUD_CLKID_TDM_MCLK_PAD0
<narmstrong> and you'll need to play with dai-tdm-slot-tx-mask
<brads> ok
<brads> narmstrong: im getting much closer now, hdmi is moved to TDM_A but now have to have a closer look at the masks for TDM_B and make sure I can configure the mixers properly in alsamixer as im seeing " fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0" trying to use the i2c. Thanks for you help :)
<brads> s/i2c/i2s/
CyberManifest has quit [Ping timeout: 246 seconds]
damex has quit [Read error: Connection reset by peer]
damex_ has joined #linux-amlogic
damex_ has quit [Ping timeout: 240 seconds]
damex has joined #linux-amlogic
damex has quit [Read error: Connection reset by peer]
damex has joined #linux-amlogic
damex has quit [Read error: Connection reset by peer]
damex has joined #linux-amlogic
trem has quit [Quit: Leaving]
GNUtoo has quit [Ping timeout: 265 seconds]
vagrantc has joined #linux-amlogic
CyberManifest has joined #linux-amlogic
GNUtoo has joined #linux-amlogic
CyberManifest has quit [Ping timeout: 265 seconds]
CyberManifest has joined #linux-amlogic
<narmstrong> brads: this could help you set the mixers https://usercontent.irccloud-cdn.com/file/y0cSFNAx/SM1%20ALSA%20Mixers%20(1).png
<jbrunet> brads: here is an example connecting 8 mics to the 40pins header of vim3. You should be able to figure out how to adapt this to your use case on the oc4
<jbrunet> And no, you don't need to bother with acodec, this is the internal dac of the sm1.
<jbrunet> "fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0" - This means that you did not setup a valid route between and an actual output ... Asla cannot consume the data and is nicely asking you to do something about it
<jbrunet> "but unsure if I can run both HDMI and the i2s pins both on tdm_b?" : you can.
<jbrunet> either both run from TDM_B: hdmi from internal pins, your codec from the physical ones
<jbrunet> Or: TDM_A for HDMI, TDM_B for your codec, both connected to the same FRDDR
<narmstrong> I tried on my side with a WM8731 on the GPIOAO tdm_b pins on the C4 J7 connector, the mixers are ok, but I have nothing on the pins at all (no sclk, no lrclk, no data...), but the pinctrl is ok
zkrx has quit [Quit: I'm done]
zkrx has joined #linux-amlogic
zkrx has quit [Quit: I'm done]
zkrx has joined #linux-amlogic
niceplace has quit [Ping timeout: 272 seconds]
trem has joined #linux-amlogic
sputnik__ has joined #linux-amlogic
niceplace has joined #linux-amlogic
niceplace has quit [Read error: Connection reset by peer]
niceplace has joined #linux-amlogic
niceplaces has joined #linux-amlogic
niceplace has quit [Ping timeout: 256 seconds]
niceplace has joined #linux-amlogic
niceplaces has quit [Ping timeout: 240 seconds]
niceplace has quit [Ping timeout: 240 seconds]
niceplace has joined #linux-amlogic
cottsay has left #linux-amlogic [#linux-amlogic]
cottsay has joined #linux-amlogic
Elpaulo has quit [Read error: Connection reset by peer]
Elpaulo has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
<brads> narmstrong, jbrunet: Thanks for the detials, ill be looking at this again later on. So far I haven't seen anything on the pins with an Oscilloscope. I still have some more things to try (ie the masks) and I will double check the C4 schematics / datasheet re the pins and also the aml firmware / uboot im currently using. JTAG or somthing maybe.
<brads> Seems to be pulling some pins high on boot that I did not expect so maybe a werid configuration there, I can probably start checking registers and the bsp kernel to see what is already set.
CyberManifest has quit [Quit: Leaving...]
BlueMatt has quit [Ping timeout: 260 seconds]
BlueMatt has joined #linux-amlogic
kaspter has quit [Ping timeout: 260 seconds]
kaspter has joined #linux-amlogic
cmeerw has quit [Ping timeout: 272 seconds]
zkrx has quit [Quit: I'm done]
zkrx has joined #linux-amlogic
asdf28 has quit [Ping timeout: 256 seconds]
trem has quit [Quit: Leaving]