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 - official channel moved from Freenode - publicly logged on https://libera.irclog.whitequark.org/linux-amlogic
zkrx has quit [*.net *.split]
gabes22 has quit [*.net *.split]
Kwiboo has quit [*.net *.split]
ndufresne has quit [*.net *.split]
wens has quit [*.net *.split]
shoragan has quit [*.net *.split]
mturquette has quit [*.net *.split]
kilobyte_ch has quit [*.net *.split]
kbingham has quit [*.net *.split]
jkl has quit [*.net *.split]
jelly has quit [*.net *.split]
rawoul has quit [*.net *.split]
adema has quit [*.net *.split]
samueldr has quit [*.net *.split]
Rond has quit [*.net *.split]
rockosov has quit [*.net *.split]
montjoie has quit [*.net *.split]
Danct12 has quit [*.net *.split]
fiii has quit [*.net *.split]
linkmauve has quit [*.net *.split]
eery has quit [*.net *.split]
f_ has quit [*.net *.split]
paulk-bis has quit [*.net *.split]
Lyude has quit [*.net *.split]
tsegers has quit [*.net *.split]
gis has quit [*.net *.split]
psydroid has quit [*.net *.split]
asriel has quit [*.net *.split]
GNUtoo has quit [*.net *.split]
iprusov has quit [*.net *.split]
mripard has quit [*.net *.split]
luka177 has quit [*.net *.split]
cyrozap has quit [*.net *.split]
mkorpershoek has quit [*.net *.split]
steev has quit [*.net *.split]
jbrunet has quit [*.net *.split]
Whistler has quit [*.net *.split]
ccaione has quit [*.net *.split]
tanure has quit [*.net *.split]
phh has quit [*.net *.split]
naoki has quit [*.net *.split]
JerryXiao has quit [*.net *.split]
Terry13732293409 has quit [*.net *.split]
leah has quit [*.net *.split]
narmstrong has quit [*.net *.split]
repk has quit [*.net *.split]
ChanServ has quit [*.net *.split]
tsegers has joined #linux-amlogic
naoki has joined #linux-amlogic
luka177 has joined #linux-amlogic
repk has joined #linux-amlogic
kilobyte_ch has joined #linux-amlogic
JerryXiao has joined #linux-amlogic
shoragan has joined #linux-amlogic
linkmauve has joined #linux-amlogic
gis has joined #linux-amlogic
tanure has joined #linux-amlogic
paulk-bis has joined #linux-amlogic
mripard has joined #linux-amlogic
ccaione has joined #linux-amlogic
Terry13732293409 has joined #linux-amlogic
Lyude has joined #linux-amlogic
wens has joined #linux-amlogic
rockosov has joined #linux-amlogic
psydroid has joined #linux-amlogic
montjoie has joined #linux-amlogic
Rond has joined #linux-amlogic
cyrozap has joined #linux-amlogic
Danct12 has joined #linux-amlogic
leah has joined #linux-amlogic
asriel has joined #linux-amlogic
fiii has joined #linux-amlogic
narmstrong has joined #linux-amlogic
mkorpershoek has joined #linux-amlogic
mturquette has joined #linux-amlogic
steev has joined #linux-amlogic
jbrunet has joined #linux-amlogic
Whistler has joined #linux-amlogic
jkl has joined #linux-amlogic
GNUtoo has joined #linux-amlogic
kbingham has joined #linux-amlogic
ChanServ has joined #linux-amlogic
eery has joined #linux-amlogic
f_ has joined #linux-amlogic
iprusov has joined #linux-amlogic
jelly has joined #linux-amlogic
phh has joined #linux-amlogic
rawoul has joined #linux-amlogic
adema has joined #linux-amlogic
samueldr has joined #linux-amlogic
Kwiboo has joined #linux-amlogic
zkrx has joined #linux-amlogic
gabes22 has joined #linux-amlogic
ndufresne has joined #linux-amlogic
luka177 has quit [Ping timeout: 272 seconds]
Rond has quit [Quit: ZNC - http://znc.in]
Rond has joined #linux-amlogic
tolszak has joined #linux-amlogic
djrscally has joined #linux-amlogic
ldevulder has joined #linux-amlogic
luka177 has joined #linux-amlogic
rockosov has quit [Read error: Connection reset by peer]
rockosov has joined #linux-amlogic
naoki has quit [Quit: naoki]
psydroid2 has joined #linux-amlogic
mripard has quit [Quit: mripard]
psydroid2 has quit [Ping timeout: 260 seconds]
psydroid2 has joined #linux-amlogic
djrscally has quit [Ping timeout: 264 seconds]
Terry13732293409 has quit [Quit: Bye Bye]
Terry13732293409 has joined #linux-amlogic
<rockosov> jbrunet: Hello Jerome! Some days ago you suggested to use regulator ramp enable for simple amplifier enable delay (as Vcc-supply input). I want to say thank you! It's working good!
<rockosov> reg_amp: regulator-amplifier {
<rockosov> compatible = "regulator-gpio";
<rockosov> regulator-name = "amplifier-supply";
<rockosov> enable-gpios = <&gpio GPIOA_11 GPIO_ACTIVE_HIGH>;
<rockosov> startup-delay-us = <100000>; /* 100ms delay for amp enable */
<rockosov> enable-active-high;
<rockosov> regulator-min-microvolt = <300000>; /* Low = 0.3V */
<rockosov> regulator-max-microvolt = <3300000>; /* High = 3.3V */
<rockosov> states = <300000 0x0>, <3300000 0x1>;
<rockosov> };
<rockosov> amplifier: amplifier {
<rockosov> compatible = "simple-audio-amplifier";
<rockosov> sound-name-prefix = "AMPLIFIER";
<rockosov> VCC-supply = <&reg_amp>;
<rockosov> };
<rockosov> There is dump from our board dts file
<rockosov> And in the tracing pipe I see such DAPM routing:
<rockosov> AudioOutput:1-813 [000] ..... 862.441951: snd_soc_dapm_path: *ACODEC LOLP <- (direct) <- ACODEC Left+ Driver
<rockosov> AudioOutput:1-813 [000] ..... 862.441953: snd_soc_dapm_widget_power: widget=ACODEC LOLP val=1
<rockosov> AudioOutput:1-813 [000] ..... 862.441955: snd_soc_dapm_path: *ACODEC LORP <- (direct) <- ACODEC Right+ Driver
<rockosov> AudioOutput:1-813 [000] ..... 862.441956: snd_soc_dapm_widget_power: widget=ACODEC LORP val=1
<rockosov> AudioOutput:1-813 [000] ..... 862.441959: snd_soc_dapm_path: *AMPLIFIER INL <- (direct) <- ACODEC LOLP
<rockosov> AudioOutput:1-813 [000] ..... 862.441960: snd_soc_dapm_widget_power: widget=AMPLIFIER INL val=1
<rockosov> AudioOutput:1-813 [000] ..... 862.441962: snd_soc_dapm_path: *AMPLIFIER INR <- (direct) <- ACODEC LORP
<rockosov> AudioOutput:1-813 [000] ..... 862.441964: snd_soc_dapm_widget_power: widget=AMPLIFIER INR val=1
<rockosov> AudioOutput:1-813 [000] ..... 862.441966: snd_soc_dapm_path: *AMPLIFIER DRV <- (direct) <- AMPLIFIER INR
<rockosov> AudioOutput:1-813 [000] ..... 862.441968: snd_soc_dapm_path: *AMPLIFIER DRV <- (direct) <- AMPLIFIER INL
<rockosov> AudioOutput:1-813 [000] ..... 862.441969: snd_soc_dapm_widget_power: widget=AMPLIFIER DRV val=1
<rockosov> AudioOutput:1-813 [000] ..... 862.441973: snd_soc_dapm_path: *AMPLIFIER OUTR <- (direct) <- AMPLIFIER DRV
<rockosov> AudioOutput:1-813 [000] ..... 862.441974: snd_soc_dapm_widget_power: widget=AMPLIFIER OUTR val=1
<rockosov> AudioOutput:1-813 [000] ..... 862.441977: snd_soc_dapm_path: *AMPLIFIER OUTL <- (direct) <- AMPLIFIER DRV
<rockosov> AudioOutput:1-813 [000] ..... 862.441983: snd_soc_dapm_widget_power: widget=AMPLIFIER OUTL val=1
<rockosov> AudioOutput:1-813 [000] ..... 862.441986: snd_soc_dapm_widget_power: widget=AMPLIFIER VCC val=1
<rockosov> AudioOutput:1-813 [000] ..... 862.442003: snd_soc_dapm_walk_done: RADIO1_A: checks 23 power, 29 path, 45 neighbour
<rockosov> AudioOutput:1-813 [000] ..... 862.442007: snd_soc_bias_level_start: card=RADIO1_A val=1
<rockosov> AudioOutput:1-813 [000] ..... 862.442010: snd_soc_bias_level_done: card=RADIO1_A val=1
<rockosov> AudioOutput:1-813 [000] ..... 862.442012: snd_soc_bias_level_start: card=RADIO1_A val=2
<rockosov> AudioOutput:1-813 [000] ..... 862.442013: snd_soc_bias_level_done: card=RADIO1_A val=2
<rockosov> kworker/u4:4-392 [000] ..... 862.442063: snd_soc_bias_level_start: card=RADIO1_A val=1
<rockosov> kworker/u4:4-392 [000] ..... 862.442066: snd_soc_bias_level_done: card=RADIO1_A val=1
<rockosov> kworker/u4:4-392 [000] ..... 862.442067: snd_soc_bias_level_start: card=RADIO1_A val=2
<rockosov> kworker/u4:4-392 [000] ..... 862.442068: snd_soc_bias_level_done: card=RADIO1_A val=2
<rockosov> AudioOutput:1-813 [000] ..... 862.444372: snd_soc_dapm_widget_event_start: widget=AMPLIFIER VCC val=1
<rockosov> AudioOutput:1-813 [000] ..... 862.444385: regulator_enable: name=amplifier-supply
<rockosov> AudioOutput:1-813 [000] ..... 862.444389: gpio_value: 573 set 1
<rockosov> AudioOutput:1-813 [000] ..... 862.444398: regulator_enable_delay: name=amplifier-supply
<rockosov> <idle>-0 [000] d.h1. 862.530354: gpio_value: 552 get 1
<rockosov> AudioOutput:1-813 [000] ..... 862.552738: regulator_enable_complete: name=amplifier-supply
<rockosov> AudioOutput:1-813 [000] ..... 862.552772: snd_soc_dapm_widget_event_done: widget=AMPLIFIER VCC val=1
<rockosov> AudioOutput:1-813 [000] ..... 862.552783: snd_soc_dapm_widget_event_start: widget=be.dai-link-4-playback val=1
<rockosov> AudioOutput:1-813 [000] ..... 862.552808: snd_soc_dapm_widget_event_done: widget=be.dai-link-4-playback val=1
<rockosov> AudioOutput:1-813 [000] ..... 862.552810: snd_soc_dapm_widget_event_start: widget=be.dai-link-4-playback val=2
<rockosov> AudioOutput:1-813 [000] ..... 862.552812: snd_soc_dapm_widget_event_done: widget=be.dai-link-4-playback val=2
<rockosov> AudioOutput:1-813 [000] ..... 862.552831: snd_soc_dapm_widget_event_start: widget=AMPLIFIER DRV val=2
<rockosov> AudioOutput:1-813 [000] ..... 862.552833: snd_soc_dapm_widget_event_done: widget=AMPLIFIER DRV val=2
<rockosov> kworker/u4:4-392 [001] ..... 862.553008: snd_soc_bias_level_start: card=RADIO1_A val=3
<rockosov> kworker/u4:4-392 [001] ..... 862.553025: snd_soc_bias_level_done: card=RADIO1_A val=3
<rockosov> As you can see regulator_enable_delay waits requested delay after the enabling of gpio pin
psydroid2 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
ldevulder has quit [Ping timeout: 268 seconds]
vagrantc has joined #linux-amlogic
wens has quit [*.net *.split]
wens has joined #linux-amlogic
zsoltiv_ has joined #linux-amlogic
eery has quit [Ping timeout: 252 seconds]
eery has joined #linux-amlogic
naoki has joined #linux-amlogic
rockosov has quit [Quit: WeeChat 3.4-dev]
djrscally has joined #linux-amlogic
djrscally has quit [Ping timeout: 268 seconds]
luka177 has quit [Ping timeout: 240 seconds]
luka177 has joined #linux-amlogic
luka177 has quit [Ping timeout: 260 seconds]
luka177 has joined #linux-amlogic