://lkml.kernel.org/r/20190805134102.24173-1-jbru...@baylibre.com
Jerome Brunet (8):
drm/bridge: dw-hdmi-i2s: support more i2s format
drm/bridge: dw-hdmi: move audio channel setup out of ahb
drm/bridge: dw-hdmi: set channel count in the infoframes
drm/bridge: dw-hdmi-i2s: enable lpcm multi
On Thu 08 Aug 2019 at 14:18, Kevin Hilman wrote:
> Neil Armstrong writes:
>
>> The G12A/G12B Socs embeds a specific clock tree for each CPU cluster :
>> cpu_clk / cpub_clk
>> | \- cpu_clk_dyn
>> | | \- cpu_clk_premux0
>> | ||- cpu_clk_postmux0
>> | |||-
On Tue 06 Aug 2019 at 14:48, Stephen Boyd wrote:
> Quoting Jerome Brunet (2019-08-06 01:49:47)
>> On Wed 31 Jul 2019 at 12:35, Stephen Boyd wrote:
>>
>> > A future patch is going to change semantics of clk_register() so that
>> > clk_hw::init is guaranteed to
ta
untouched if the registration fails.
>
> Cc: Neil Armstrong
> Cc: Jerome Brunet
> Signed-off-by: Stephen Boyd
> ---
>
> Please ack so I can take this through clk tree
>
> drivers/clk/meson/axg-audio.c | 7 +--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff
On Wed 31 Jul 2019 at 10:40, Neil Armstrong wrote:
>
> Neil Armstrong (4):
> clk: core: introduce clk_hw_set_parent()
> clk: meson: add g12a cpu dynamic divider driver
> clk: meson: g12a: add notifiers to handle cpu clock change
> clk: meson: g12a: expose CPUB clock ID for G12B
>
>
On Wed 31 Jul 2019 at 10:40, Neil Armstrong wrote:
> Introduce the clk_hw_set_parent() provider call to change parent of
> a clock by using the clk_hw pointers.
>
> This eases the clock reparenting from clock rate notifiers and
> implementing DVFS with simpler code avoiding the boilerplates
>
On Mon 29 Jul 2019 at 15:16, Neil Armstrong wrote:
> In order to implement clock switching for the CLKID_CPU_CLK and
> CLKID_CPUB_CLK, notifiers are added on specific points of the
> clock tree :
>
> cpu_clk / cpub_clk
> | \- cpu_clk_dyn
> | | \- cpu_clk_premux0
> | ||-
On Mon 29 Jul 2019 at 15:29, Stephen Boyd wrote:
> Quoting Jerome Brunet (2019-07-03 05:26:14)
>> @@ -1005,8 +1087,27 @@ static int axg_audio_clkc_probe(struct
>> platform_device *pdev)
>> }
>> }
>>
>> -
On Thu 25 Jul 2019 at 18:42, Alexandre Mergnat wrote:
> Meson SoCs clock controllers use the string comparison method to describe
> parent relation between the clocks, which is not optimized.
>
> Its also use bypass clock made from device-tree clock to provide an input
> clock which can be
On Thu 25 Jul 2019 at 18:41, Alexandre Mergnat wrote:
> Meson SoCs clock controllers use the string comparison method to describe
> parent relation between the clocks, which is not optimized.
>
> Its also use bypass clock made from device-tree clock to provide an input
> clock which can be
On Thu 25 Jul 2019 at 18:40, Alexandre Mergnat wrote:
> /* Audio Master Clocks */
> -static const char * const mst_mux_parent_names[] = {
> - "aud_mst_in0", "aud_mst_in1", "aud_mst_in2", "aud_mst_in3",
> - "aud_mst_in4", "aud_mst_in5", "aud_mst_in6", "aud_mst_in7",
> +static const
So far, forwarding the hw_params of the input to output relied on the
.hw_params() callback of the cpu side of the codec2codec link to be called
first. This is a bit weak.
Instead, override the stream params of the codec2codec to link to set it up
correctly.
Signed-off-by: Jerome Brunet
On Fri 26 Jul 2019 at 16:50, Neil Armstrong wrote:
> On 03/07/2019 16:17, Jerome Brunet wrote:
>> On Mon 01 Jul 2019 at 11:12, Neil Armstrong wrote:
>>
>>> Add a setup() callback in the eeclk structure, to call an optional
>>> call() function at end of eeclk pr
handling and rollback a bit
[0]: https://lkml.kernel.org/r/20190515131858.32130-1-jbru...@baylibre.com
[1]: https://lkml.kernel.org/r/20190724162405.6574-1-jbru...@baylibre.com
Jerome Brunet (6):
ASoC: codec2codec: run callbacks in order
ASoC: codec2codec: name link using stream direction
ASoC
party on the link to alter
params content in .startup(), which might be useful in some cases
Signed-off-by: Jerome Brunet
---
sound/soc/soc-dapm.c | 159 +--
1 file changed, 92 insertions(+), 67 deletions(-)
diff --git a/sound/soc/soc-dapm.c b/sound/soc
Signed-off-by: Jerome Brunet
---
sound/soc/soc-dapm.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 034b31fd2ecb..7db4abd9a0a5 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -4056,8 +4056,7
Now that codec to codec links struct snd_soc_pcm_runtime have lasting pcm
and substreams, let's use them. Alsa allocate and keep the
struct snd_pcm_runtime as long as the link is powered.
Signed-off-by: Jerome Brunet
---
sound/soc/soc-dapm.c | 72 ++--
1
When handling dai_link events on codec to codec links, run all .startup()
callbacks on sinks and sources before running any .hw_params(). Same goes
for hw_free() and shutdown(). This is closer to the behavior of regular
dai links
Signed-off-by: Jerome Brunet
---
sound/soc/soc-dapm.c | 36
Set the information provided struct snd_soc_pcm_stream in the
struct snd_pcm_runtime of the codec to codec link.
Signed-off-by: Jerome Brunet
---
sound/soc/soc-dapm.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 3e3b81ae87dd
links.
Signed-off-by: Jerome Brunet
---
sound/soc/soc-core.c | 42 --
sound/soc/soc-pcm.c | 35 ---
2 files changed, 44 insertions(+), 33 deletions(-)
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index
On Mon 22 Jul 2019 at 11:54, Alexandre Mergnat wrote:
> @@ -1592,13 +1737,29 @@ static struct clk_regmap gxbb_vid_pll_div = {
> .hw.init = &(struct clk_init_data) {
> .name = "vid_pll_div",
> .ops = _vid_pll_div_ro_ops,
> - .parent_names = (const
On Mon 22 Jul 2019 at 11:50, Alexandre Mergnat wrote:
> @@ -208,8 +216,10 @@ static struct clk_regmap ao_cts_cec = {
>* Until CCF gets fixed, adding this fake parent that won't
>* ever be registered should work around the problem
>*/
> -
On Mon 22 Jul 2019 at 11:49, Alexandre Mergnat wrote:
> diff --git a/drivers/clk/meson/axg-audio.c b/drivers/clk/meson/axg-audio.c
> index 8028ff6f6610..4253a466eae8 100644
> --- a/drivers/clk/meson/axg-audio.c
> +++ b/drivers/clk/meson/axg-audio.c
> @@ -15,7 +15,6 @@
> #include
>
>
On Fri 24 May 2019 at 11:15, Alexandre Mergnat wrote:
> Replace hihi by hifi in the mali parent_names of the g12a SoC family.
>
> Fixes: 085a4ea93d54 ("clk: meson: g12a: add peripheral clock controller")
> Cc: Jerome Brunet
> Signed-off-by: Alexandre Mergnat
Missed t
On Thu 25 Jul 2019 at 13:55, Mark Brown wrote:
> On Wed, Jul 24, 2019 at 06:24:02PM +0200, Jerome Brunet wrote:
>
>> Also, params does not need to be dynamically allocated as it does not
>> need to survive the event.
>
> It's dynamically allocated because it's a prett
On Thu 25 Jul 2019 at 14:00, Mark Brown wrote:
> On Wed, Jul 24, 2019 at 06:24:00PM +0200, Jerome Brunet wrote:
>> When handling dai_link events on codec to codec links, run all .startup()
>> callbacks on sinks and sources before running any .hw_params(). Same goes
>> for h
, dealing with the codec to codec params just before calling
.hw_params() callbacks give change to either party on the link to alter
params content in .startup(), which might be useful in some cases
Signed-off-by: Jerome Brunet
---
sound/soc/soc-dapm.c | 81
Set the information provided struct snd_soc_pcm_stream in the
struct snd_pcm_runtime of the codec to codec link.
Signed-off-by: Jerome Brunet
---
sound/soc/soc-dapm.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index e0eedff5fe94
Signed-off-by: Jerome Brunet
---
sound/soc/soc-dapm.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 5348abda7ce2..d20cd89513a4 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -4056,8 +4056,7
Now that codec to codec links struct snd_soc_pcm_runtime have lasting pcm
and substreams, let's use them. Alsa allocate and keep the
struct snd_pcm_runtime as long as the link is powered.
Signed-off-by: Jerome Brunet
---
sound/soc/soc-dapm.c | 86
1
When handling dai_link events on codec to codec links, run all .startup()
callbacks on sinks and sources before running any .hw_params(). Same goes
for hw_free() and shutdown(). This is closer to the behavior of regular
dai links
Signed-off-by: Jerome Brunet
---
sound/soc/soc-dapm.c | 38
links.
Signed-off-by: Jerome Brunet
---
sound/soc/soc-core.c | 42 --
sound/soc/soc-pcm.c | 35 ---
2 files changed, 44 insertions(+), 33 deletions(-)
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index
...
The challenge lies in the dapm mutex. The soc_pcm call dapm function locking
this mutex but the dapm mutex is already held in snd_soc_dai_link_event()
[0]: https://lkml.kernel.org/r/20190515131858.32130-1-jbru...@baylibre.com
Jerome Brunet (6):
ASoC: codec2codec: run callbacks in order
ASoC
if necessary.
Signed-off-by: Jerome Brunet
---
arch/arm/boot/dts/meson8b.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi
index fba2c70c2fda..b044ad78b475 100644
--- a/arch/arm/boot/dts/meson8b.dtsi
+++ b/arch/arm/boot/dts
if necessary.
Signed-off-by: Jerome Brunet
---
arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 2 ++
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 2 ++
arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 ++
3 files changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
b
On Mon 01 Jul 2019 at 11:12, Neil Armstrong wrote:
> Add a setup() callback in the eeclk structure, to call an optional
> call() function at end of eeclk probe to setup clocks.
>
> It's used for the G12A clock controller to setup the CPU clock
> notifiers.
I'd prefer if you implement the probe
On Wed 03 Jul 2019 at 13:51, Neil Armstrong wrote:
> On 03/07/2019 01:54, Martin Blumenstingl wrote:
>> Hi Neil,
>>
[...]
>> does it make sense to name this file "meson-g12a-g12b-sm1-common.dtsi"
>> instead?
>> do you know whether there will be a successor to G12B and what it's
>> code-name
On Wed 03 Jul 2019 at 13:45, Neil Armstrong wrote:
> On 03/07/2019 01:16, Martin Blumenstingl wrote:
>> +Cc Alexandre Mergnat
>>
>> On Mon, Jul 1, 2019 at 11:13 AM Neil Armstrong
>> wrote:
>>>
>>> Add a setup() callback in the eeclk structure, to call an optional
>>> call() function at end of
This patchset adds support for the reset provided in the register space
of the g12a audio clock controller
Jerome Brunet (2):
dt-bindings: clock: meson: add resets to the audio clock controller
clk: meson: axg-audio: add g12a reset support
.../bindings/clock/amlogic,axg-audio-clkc.txt | 1
Add the documentation and bindings for the resets provided by the g12a
audio clock controller
Signed-off-by: Jerome Brunet
---
.../bindings/clock/amlogic,axg-audio-clkc.txt | 1 +
.../reset/amlogic,meson-g12a-audio-reset.h| 38 +++
2 files changed, 39 insertions(+)
create
On the g12a, the register space dedicated to the audio clock also
provides some resets. Let the clock controller register a reset
provider as well for this SoC family.
the axg SoC family does not appear to provide this feature.
Signed-off-by: Jerome Brunet
---
drivers/clk/meson/axg-audio.c
Add the optional reset line handling which is present on the new SoC
families, such as the g12a. Triggering this reset is not critical but
it helps solve a channel shift issue on the g12a.
Signed-off-by: Jerome Brunet
---
sound/soc/meson/axg-tdm-formatter.c | 29 +
1
This patchset add the possibility to provide a reset to the tdm formatter.
Such reset is available on the g12a SoC family and helps solve a random
channel output shift when using more than one output lane.
Jerome Brunet (2):
ASoC: meson: axg-tdm-formatter: add reset to the bindings
Add an optional reset property to the tdm formatter bindings. The
dedicated reset line is present on some SoC families, such as the g12a.
Signed-off-by: Jerome Brunet
---
.../bindings/sound/amlogic,axg-tdm-formatters.txt | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff
On Mon 01 Jul 2019 at 12:46, Neil Armstrong wrote:
> Add the SoC IDs for the S905X3 Amlogic SM1 SoC.
>
> Signed-off-by: Neil Armstrong
Reviewed-by: Jerome Brunet
> ---
> drivers/soc/amlogic/meson-gx-socinfo.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --g
While checking cpus before dereferencing the pointer is required, it is
not necessary for codecs. 'codec' can't possibly be NULL in the loop
Reported-by: Dan Carpenter
Signed-off-by: Jerome Brunet
---
sound/soc/meson/axg-card.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff
Like cpus and platforms, defer sound card initialization if the codec
component is missing when initializing the dai_link
Signed-off-by: Jerome Brunet
---
sound/soc/soc-core.c | 8
1 file changed, 8 insertions(+)
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index
allow no Platform on dai_link").
However, this change may still be useful for those who need multiple
platform components on a single dai_link (it solves one of the FIXME
note in soc-core)
Acked-by: Kuninori Morimoto
Signed-off-by: Jerome Brunet
---
include/sound/soc.h | 6 +
sou
://lkml.kernel.org/r/20190626133617.25959-1-jbru...@baylibre.com
Jerome Brunet (2):
ASoC: soc-core: defer card registration if codec component is missing
ASoC: soc-core: support dai_link with platforms_num != 1
include/sound/soc.h | 6
sound/soc/soc-core.c | 67
allow no Platform on dai_link").
However, this change may still be useful for those who need multiple
platform components on a single dai_link (it solves one of the FIXME
note in soc-core)
Cc: Kuninori Morimoto
Signed-off-by: Jerome Brunet
---
include/sound/soc.h | 6
sound/soc/
Like cpus and platforms, defer sound card initialization if the codec
component is missing when initializing the dai_link
Signed-off-by: Jerome Brunet
---
sound/soc/soc-core.c | 8
1 file changed, 8 insertions(+)
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index
platform
components on a dai_link, which is one of the FIXME note in soc-core.
I have also added a check on the codecs component availability to align
on what was done for platforms and cpus
Jerome Brunet (2):
ASoC: soc-core: defer card registration if codec component is missing
ASoC: soc
e || core->ops->round_rate;
> }
>
> static int clk_core_round_rate_nolock(struct clk_core *core,
Reviewed-by: Jerome Brunet
The patchset fixes a few mistakes regarding the format on the i2s bus
on the Amlogic axg tdm drivers.
Jerome Brunet (4):
ASoC: meson: axg-tdmin: right_j is not supported
ASoC: meson: axg-tdmout: right_j is not supported
ASoC: meson: axg-tdm: fix sample clock inversion
ASoC: meson: axg-tdm
: 1a11d88f499c ("ASoC: meson: add tdm formatter base driver")
Signed-off-by: Jerome Brunet
---
sound/soc/meson/axg-tdm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/meson/axg-tdm.h b/sound/soc/meson/axg-tdm.h
index e578b6f40a07..5774ce0916d4 100644
--- a
Right justified format is actually not supported by the amlogic tdm input
decoder.
Fixes: 13a22e6a98f8 ("ASoC: meson: add tdm input driver")
Signed-off-by: Jerome Brunet
---
sound/soc/meson/axg-tdmin.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/meson/axg-tdmin.c b
Right justified format is actually not supported by the amlogic tdm output
encoder.
Fixes: c41c2a355b86 ("ASoC: meson: add tdm output driver")
Signed-off-by: Jerome Brunet
---
sound/soc/meson/axg-tdmout.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/meson/axg-tdmout
There a mix of SND_SOC_DAIFMT_ and SND_SOC_DAI_FORMAT_ in
axg-tdm-interface.c. Even, if this is currently the same thing, lets use
the same group consistently.
Signed-off-by: Jerome Brunet
---
sound/soc/meson/axg-tdm-interface.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
On Mon, 2019-05-20 at 22:03 +0200, Martin Blumenstingl wrote:
> The audio clocks on the 32-bit Meson8, Meson8b and Meson8m2 are
> (probably) identical to the ones on GXBB, GXL and GXM.
>
> The first piece of evidence is that Amlogic's vendor kernel is using
> the same basic driver (just slightly
On Tue, 2019-05-28 at 10:07 +0200, Neil Armstrong wrote:
> The Amlogic G12B SoC is very similar with the G12A SoC, sharing
> most of the features and architecture.
> G12B clock tree is very close, the main differences are :
> - SYS_PLL is used for the second cluster (otherwise used fir the first
On Fri, 2019-04-12 at 12:02 +0200, Guillaume La Roque wrote:
> This patch series add support of Clock for temperature sensor
> on Amlogic G12a SoC.
>
> Guillaume
>
> cahnges sinve v2:
> - rebase on good branch
>
> changes since v1:
> - fix .width value
>
> Guillaume La Roque (2):
>
.
Fixes: c84836d7f650 ("ASoC: meson: axg-card: use modern dai_link style")
Cc: Kuninori Morimoto
Signed-off-by: Jerome Brunet
---
sound/soc/meson/axg-card.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/sound/soc/meson/axg-card.c b/sound/soc/meson/axg-ca
Fix sdio node order in the soc device tree
Fixes: a1737347250e ("arm64: dts: meson: g12a: add SDIO controller")
Signed-off-by: Jerome Brunet
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 73 ++---
1 file changed, 36 insertions(+), 37 deletions(-)
diff --git a/
On Thu, 2019-06-06 at 15:54 -0700, Stephen Boyd wrote:
> > > > Do you think we could come up with a priority order which makes the
> > > > first
> > > > example work ?
> > >
> > > Maybe? I'm open to suggestions.
> > >
> > > > Something like:
> > > >
> > > > if (hw) {
> > > > /* use
On Fri, 2019-05-24 at 10:44 -0700, Stephen Boyd wrote:
> Quoting Jerome Brunet (2019-05-24 08:00:08)
> > On Fri, 2019-05-24 at 07:33 -0700, Stephen Boyd wrote:
> > > Do you set the index to 0 in this clk's parent_data? We purposefully set
> > > the index to -1 in clk_co
On Fri, 2019-05-24 at 07:33 -0700, Stephen Boyd wrote:
> Do you set the index to 0 in this clk's parent_data? We purposefully set
> the index to -1 in clk_core_populate_parent_map() so that the fw_name
> can be NULL but the index can be something >= 0 and then we'll use that
> to lookup the clk
From: Maxime Jourdan
The SEI510 board features a max98357a audio codec for built-in
speaker
Signed-off-by: Maxime Jourdan
Signed-off-by: Jerome Brunet
---
arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic
interface.
* Both TDM outputs may use HW loopback.
The internal DAC connected to audio jack will be added later on, when
driver support is added.
Signed-off-by: Jerome Brunet
---
.../boot/dts/amlogic/meson-g12a-sei510.dts| 202 +-
1 file changed, 201 insertions(+), 1 deletion
]: e35f5ad6a965 ("ASoC: meson: add tohdmitx DT bindings")
[1]: https://lkml.kernel.org/r/20190513123115.18145-1-jbru...@baylibre.com
Jerome Brunet (1):
arm64: dts: meson: sei510: add sound card
Maxime Jourdan (1):
arm64: dts: meson: sei510: add max98357a DAC
.../boot/dts/amlogic/meson-g12a-
After discussing with Amlogic, the Synopsys GMAC version used by
the gx and axg family is the 3.70a. Set this is in DT
Signed-off-by: Jerome Brunet
---
Hi,
The same should be true for the meson8 families but I did not test
it which is why only the patch only address the 64bits SoC families
ng
Tested-by: Kevin Hilman
Signed-off-by: Jerome Brunet
---
drivers/mmc/host/meson-gx-mmc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mmc/host/meson-gx-mmc.c b/drivers/mmc/host/meson-gx-mmc.c
index 6ef465304052..cb3f6811d69a 100644
--- a/drivers/mmc/host/meso
On Tue, 2019-05-21 at 17:21 +0200, Neil Armstrong wrote:
> On 21/05/2019 17:01, Neil Armstrong wrote:
> > The Amlogic G12B SoC is very similar with the G12A SoC, sharing
> > most of the features and architecture.
> > G12B clock tree is very close, the main differences are :
> > - SYS_PLL is used
On Mon, 2019-05-20 at 21:05 +0200, Andrew Lunn wrote:
> > > + int_mdio: mdio@1 {
> > > + reg = <1>;
> > > + #address-cells = <1>;
> > > + #size-cells =
Add the g12a mdio multiplexer which allows to connect to either
an external phy through the SoC pins or the internal 10/100 phy
Signed-off-by: Jerome Brunet
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 32 +
1 file changed, 32 insertions(+)
diff --git a/arch/arm64/boot
The u200 is the main mother board for the S905D2. It can provide
both the internal and external network. However, by default the
resistance required for the external RGMII bus are not fitted, so
enable the internal PHY.
Signed-off-by: Jerome Brunet
---
arch/arm64/boot/dts/amlogic/meson-g12a
Add the synopsys ethernet mac controller embedded in the g12a SoC family.
Signed-off-by: Jerome Brunet
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 21 +
1 file changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
b/arch/arm64/boot/dts
Enable the network interface of the SEI510 which use the internal PHY.
Tested-by: Kevin Hilman
Signed-off-by: Jerome Brunet
---
arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts
b/arch
Add the ethernet pinctrl settings for RMII, RGMII and internal phy leds
Signed-off-by: Jerome Brunet
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 37 +
1 file changed, 37 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
b/arch/arm64/boot/dts
clk-meson [0].
Changes since v1: [1]
* rebased on v5.2-rc1
* s/eth_rmii_pins/eth_pins
* fix MPLL50M typo
[0]: git://github.com/BayLibre/clk-meson.git
[1]: https://lkml.kernel.org/r/20190510164940.13496-1-jbru...@baylibre.com
Jerome Brunet (5):
arm64: dts: meson: g12a: add ethernet mac
On Mon, 2019-05-13 at 14:31 +0200, Jerome Brunet wrote:
> This patchset is a squash of these previous patchsets [0], [1] without
> modification, beside a re-ordering of the changes to facilitate backports
>
> We are observing a lot of jitter on the MPLL outputs of the g12a.
>
On Sun, 2019-05-12 at 22:57 +0200, Jerome Brunet wrote:
> MPLL_5OM (the capital letter o) should indeed be MPLL_50M (the number)
> Fix this before it gets used.
>
> Reported-by: Martin Blumenstingl
> Fixes: 25db146aa726 ("dt-bindings: clk: meson: add g12a periph clock
&
On Sun, 2019-05-12 at 21:43 +0200, Martin Blumenstingl wrote:
> The variable which holds the parent names for the VPU clocks has a typo
> in it. Fix this typo to make the variable naming in the driver
> consistent. No functional changes.
>
> Fixes: 41785ce562491d ("clk: meson: meson8b: add the
add support for the pinconf DT property output-enable, output-disable,
output-low and output-high in the meson pinctrl driver.
Signed-off-by: Jerome Brunet
---
.../devicetree/bindings/pinctrl/meson,pinctrl.txt| 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git
Add pinconf support for PIN_CONFIG_OUTPUT_ENABLE and PIN_CONFIG_OUTPUT
in the meson pinctrl driver.
Signed-off-by: Jerome Brunet
---
drivers/pinctrl/meson/pinctrl-meson.c | 182 ++
1 file changed, 127 insertions(+), 55 deletions(-)
diff --git a/drivers/pinctrl/meson
This patchset adds output support in the amlogic pinctrl driver.
Linus, this patchset is based on the drive strength series from Guillaume
which you just applied [0]
[0]:
https://lkml.kernel.org/r/cacrpkdz+p-j5em3rzzcuwpa-a+cvoy91cglqorm_qvzp6e4...@mail.gmail.com
Jerome Brunet (2):
dt
Add the hdmitx glue device linking the SoC audio interfaces to the
embedded Synopsys hdmi controller.
Signed-off-by: Jerome Brunet
---
Hi Kevin,
The related device driver and dt-binding have been merged in the ASoC
tree, for-5.3 branch [0]
This patch is based on the audio series I have
Add bluetooth vbat and vddio power supplies
Signed-off-by: Jerome Brunet
---
arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts
b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts
index
Add the bindings and the related documentation for the audio hdmitx
control glue of the Amlogic g12a SoC family
Signed-off-by: Jerome Brunet
---
.../bindings/sound/amlogic,g12a-tohdmitx.txt | 55 +++
.../dt-bindings/sound/meson-g12a-tohdmitx.h | 13 +
2 files changed, 68
or force a (re)configuration.
Signed-off-by: Jerome Brunet
---
sound/soc/soc-dapm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 81a7a12196ff..a4d6c068b545 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
Add basic support for codec-to-codec link in the axg sound card.
The cpu side of these links is expected to properly set the hw_params
and format of the link.
ATM, only the tohdmitx glue is supported but others (like the
internal DAC glue) should follow.
Signed-off-by: Jerome Brunet
---
sound
switching input, the trick is to temporarily
force a disconnection of the mux output, which shutdowns the output dai
link. This also ensure that the stream parameters and fmt are updated
when the output is connected back.
Jerome Brunet (5):
ASoC: meson: axg-card: set link name based on link node
Add support for the hdmitx control glue of the Amlogic g12a SoC family.
This glue links the 3 TDM and 2 SPDIF output interfaces of the SoC to
the related inputs of the Synopsys HDMI controller found in these SoCs.
Signed-off-by: Jerome Brunet
---
sound/soc/meson/Kconfig | 8 +
sound
the node name of the dai link. DT already enforce
the uniqueness of this name
Signed-off-by: Jerome Brunet
---
sound/soc/meson/axg-card.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/sound/soc/meson/axg-card.c b/sound/soc/meson/axg-card.c
index aa54d2c612c9
Add the audio DDR memory arbitrer of the g12a SoC family.
Signed-off-by: Jerome Brunet
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
index
At the moment the sysnopsys hdmi i2s driver provides a single playback
DAI. Add the corresponding sound-dai-cell to the hdmi device node.
Signed-off-by: Jerome Brunet
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/amlogic
Add the playback and capture memory interfaces of the g12a SoC family.
Signed-off-by: Jerome Brunet
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 73 +
1 file changed, 73 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
b/arch/arm64/boot/dts
Add the pdm device node and the pinctrl definition for this capture
interface g12a SoC family
Signed-off-by: Jerome Brunet
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 177
1 file changed, 177 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
b
Add the devices nodes and pinctrl definitions for the spdif outputs of
the g12a SoC family
Signed-off-by: Jerome Brunet
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 60 +
1 file changed, 60 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
b/arch
Add the devices and pinctrl definitions for the tdm interfaces of
the g12a SoC family.
Signed-off-by: Jerome Brunet
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 658
1 file changed, 658 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi
b/arch
Add the spdif input device node and the pinctrl definition for
this capture interface g12a SoC family
Signed-off-by: Jerome Brunet
---
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 37 +
1 file changed, 37 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson
301 - 400 of 2860 matches
Mail list logo