[PATCH v7 4/6] arm64: defconfig: enable display support for mt8365-evk

2025-01-10 Thread Alexandre Mergnat
Enable the DRM HDMI connector support and the MIPI-DSI display Startek KD070FHFID015 panel to have HDMI and DSI display working on the mt8365-evk board. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2

[PATCH v7 6/6] arm64: dts: mediatek: add display support for mt8365-evk

2025-01-10 Thread Alexandre Mergnat
;ite,it66121" HDMI bridge support, driven by I2C1. - Setup the Display Parallel Interface. Fix a typo in the ethernet node. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 245 +++- 1 file

[PATCH v7 5/6] arm64: dts: mediatek: add display blocks support for the MT8365 SoC

2025-01-10 Thread Alexandre Mergnat
) Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365.dtsi | 336 +++ 1 file changed, 336 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi index

[PATCH v7 2/6] drm/mediatek: dsi: Improves the DSI lane setup robustness

2025-01-10 Thread Alexandre Mergnat
. Signed-off-by: Alexandre Mergnat --- drivers/gpu/drm/mediatek/mtk_dsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c index e61b9bc68e9a..dcf0d93881b5 100644 --- a/drivers/gpu/drm/mediatek/mtk_dsi.c +++ b/drivers/gpu/drm

Re: [PATCH v6 4/6] arm64: defconfig: enable display support for mt8365-evk

2025-01-10 Thread Alexandre Mergnat
On 10/01/2025 08:38, Krzysztof Kozlowski wrote: On 09/01/2025 11:37, Alexandre Mergnat wrote: Enable the DRM HDMI connector support. Enable the MIPI-DSI display Startek KD070FHFID015 panel. Why? It was in previous commit, now its missing. What is missing ? Don't you asked me to s

[PATCH v6 5/6] arm64: dts: mediatek: add display blocks support for the MT8365 SoC

2025-01-09 Thread Alexandre Mergnat
) Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365.dtsi | 336 +++ 1 file changed, 336 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi index 9c91fe8ea0f9..fdd570ca2d20 100644 --- a/arch

Re: [PATCH v5 7/7] arm64: dts: mediatek: add display support for mt8365-evk

2025-01-09 Thread Alexandre Mergnat
Thanks, fixed for v6 On 09/01/2025 08:55, Krzysztof Kozlowski wrote: compatible is always, ALWAYS first. + compatible = "ite,it66121"; reg follows. -- Regards, Alexandre

[PATCH v6 6/6] arm64: dts: mediatek: add display support for mt8365-evk

2025-01-09 Thread Alexandre Mergnat
;ite,it66121" HDMI bridge support, driven by I2C1. - Setup the Display Parallel Interface. Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 236 1 file changed, 236 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365-

[PATCH v6 4/6] arm64: defconfig: enable display support for mt8365-evk

2025-01-09 Thread Alexandre Mergnat
Enable the DRM HDMI connector support. Enable the MIPI-DSI display Startek KD070FHFID015 panel. Signed-off-by: Alexandre Mergnat --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index c62831e61586

[PATCH v6 2/6] drm/mediatek: dsi: Improves the DSI lane setup robustness

2025-01-09 Thread Alexandre Mergnat
. Signed-off-by: Alexandre Mergnat --- drivers/gpu/drm/mediatek/mtk_dsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c index e61b9bc68e9a..dcf0d93881b5 100644 --- a/drivers/gpu/drm/mediatek/mtk_dsi.c +++ b/drivers/gpu/drm

Re: [PATCH v5 1/7] dt-bindings: display: mediatek: dpi: add power-domains property

2025-01-09 Thread Alexandre Mergnat
Thanks, fixed for v6 On 08/01/2025 18:22, Rob Herring (Arm) wrote: My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: ./Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml:100:3: [error] duplication of key "power-domains" in mapping

Re: [PATCH v5 4/7] arm64: defconfig: enable display connector support

2025-01-09 Thread Alexandre Mergnat
Thanks, fixed for v6 On 09/01/2025 08:53, Krzysztof Kozlowski wrote: git grep -i i350-evk - zero results. Please use some recognizable names. I have no clue where to even look for it - which vendor. -- Regards, Alexandre

Re: [PATCH v5 5/7] arm64: defconfig: enable STARTEK KD070FHFID015 panel

2025-01-09 Thread Alexandre Mergnat
Thanks, fixed for v6 On 09/01/2025 08:54, Krzysztof Kozlowski wrote: Squash the patches. It's one logical change to bring config optiosn for display on your boards. Not each change per one symbol. -- Regards, Alexandre

[PATCH v5 5/7] arm64: defconfig: enable STARTEK KD070FHFID015 panel

2025-01-08 Thread Alexandre Mergnat
Build Startek KD070FHFID015 panel driver. This MIPI-DSI display can be used for the mt8365-evk board for example. Signed-off-by: Alexandre Mergnat --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig

[PATCH v5 2/7] drm/mediatek: dsi: Improves the DSI lane setup robustness

2025-01-08 Thread Alexandre Mergnat
. Signed-off-by: Alexandre Mergnat --- drivers/gpu/drm/mediatek/mtk_dsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c index e61b9bc68e9a..dcf0d93881b5 100644 --- a/drivers/gpu/drm/mediatek/mtk_dsi.c +++ b/drivers/gpu/drm

[PATCH v5 4/7] arm64: defconfig: enable display connector support

2025-01-08 Thread Alexandre Mergnat
Enable this feature for the i350-evk HDMI connector support. Signed-off-by: Alexandre Mergnat --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index c62831e61586..b2db31e010ff 100644 --- a/arch/arm64

[PATCH v5 7/7] arm64: dts: mediatek: add display support for mt8365-evk

2025-01-08 Thread Alexandre Mergnat
;ite,it66121" HDMI bridge support, driven by I2C1. - Setup the Display Parallel Interface. Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 236 1 file changed, 236 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365-

[PATCH v5 6/7] arm64: dts: mediatek: add display blocks support for the MT8365 SoC

2025-01-08 Thread Alexandre Mergnat
) Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365.dtsi | 336 +++ 1 file changed, 336 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi index 9c91fe8ea0f9..fdd570ca2d20 100644 --- a/arch

Re: [PATCH] drm/mediatek: Initialize pointer in mtk_drm_of_ddp_path_build_one()

2024-12-02 Thread Alexandre Mergnat
ng on that pointer being NULL for the > OVL Adaptor and/or invalid component check and since said pointer > is being used in prints for %pOF, in the case that it points to a > bogus address, the print may cause a KP. > > To resolve that, initialize the *next pointer to NULL before

Re: [PATCH v7 12/16] ASoC: codecs: add MT6357 support

2024-09-05 Thread Alexandre Mergnat
Sorry, I'm gonna send a V8 to fix this ASAP On 03/09/2024 19:14, Mark Brown wrote: On Mon, Jul 22, 2024 at 08:53:41AM +0200, amerg...@baylibre.com wrote: From: Nicolas Belin Add the support of MT6357 PMIC audio codec. This breaks the build: /build/stage/linux/sound/soc/codecs/mt6357.c: In

Re: [PATCH v7 00/16] Add audio support for the MediaTek Genio 350-evk board

2024-08-14 Thread Alexandre Mergnat
Hi guys ! Simple gentle ping, the serie seems ready to be applied. Thanks -- Regards, Alexandre

[PATCH v7 16/16] arm64: dts: mediatek: add audio support for mt8365-evk

2024-07-21 Thread Alexandre Mergnat
Add the sound node which is linked to the MT8365 SoC AFE and the MT6357 audio codec. Update the file header. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 86 + 1 file changed, 86

[PATCH v7 14/16] arm64: defconfig: enable mt8365 sound

2024-07-21 Thread Alexandre Mergnat
Enable the MediaTek MT8365-EVK sound support. The audio feature is handled by the MT8365 SoC and the MT6357 PMIC codec audio. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch

[PATCH v7 15/16] arm64: dts: mediatek: add afe support for mt8365 SoC

2024-07-21 Thread Alexandre Mergnat
Add audio front end support of MT8365 SoC. Update the file header. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365.dtsi | 43 ++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/arch

[PATCH v7 13/16] ASoC: mediatek: Add MT8365 support

2024-07-21 Thread Alexandre Mergnat
- Add specific config to enable: - MT8365 sound support - MT6357 audio codec support - Add the mt8365 directory and all drivers under it. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/Kconfig | 20 sound/soc

[PATCH v7 07/16] ASoC: mediatek: mt8365: Add ADDA DAI support

2024-07-21 Thread Alexandre Mergnat
Add ADDA Device Audio Interface support for MT8365 SoC. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-adda.c | 311 1 file changed, 311 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365

[PATCH v7 09/16] ASoC: mediatek: mt8365: Add PCM DAI support

2024-07-21 Thread Alexandre Mergnat
Add Pulse Code Modulation Device Audio Interface support for MT8365 SoC. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-pcm.c | 293 + 1 file changed, 293 insertions(+) diff --git a/sound/soc

[PATCH v7 11/16] ASoC: mediatek: mt8365: Add the AFE driver support

2024-07-21 Thread Alexandre Mergnat
Add a driver for the Audio Front End (AFE) PCM to provide Audio Uplink (UL) and Downlink (DL) paths. Use the ALSA SoC Dynamic Audio Power Management to add widget and kcontrol supports. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365

[PATCH v7 06/16] ASoC: mediatek: mt8365: Add I2S DAI support

2024-07-21 Thread Alexandre Mergnat
Add I2S Device Audio Interface support for MT8365 SoC. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-i2s.c | 850 + 1 file changed, 850 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365

[PATCH v7 08/16] ASoC: mediatek: mt8365: Add DMIC DAI support

2024-07-21 Thread Alexandre Mergnat
Add Digital Micro Device Audio Interface support for MT8365 SoC. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-dmic.c | 340 1 file changed, 340 insertions(+) diff --git a/sound/soc/mediatek

[PATCH v7 03/16] dt-bindings: mfd: mediatek: Add codec property for MT6357 PMIC

2024-07-21 Thread Alexandre Mergnat
sub-device. Signed-off-by: Alexandre Mergnat --- .../devicetree/bindings/mfd/mediatek,mt6357.yaml| 21 + 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml b/Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml

[PATCH v7 05/16] ASoC: mediatek: mt8365: Add audio clock control support

2024-07-21 Thread Alexandre Mergnat
Add audio clock wrapper and audio tuner control. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-clk.c | 421 + sound/soc/mediatek/mt8365/mt8365-afe-clk.h | 32 +++ 2 files changed, 453 insertions

[PATCH v7 04/16] ASoC: mediatek: mt8365: Add common header

2024-07-21 Thread Alexandre Mergnat
Add header files for register definition and structure. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-common.h | 449 sound/soc/mediatek/mt8365/mt8365-reg.h| 991 ++ 2 files

[PATCH v7 00/16] Add audio support for the MediaTek Genio 350-evk board

2024-07-21 Thread Alexandre Mergnat
mits/sound/for-next/add-i350-audio-support Signed-off-by: Alexandre Mergnat --- Changes in v7: - Rebase to "sound/for-6.11" branch. - Move audio-codec properties to the parent node - Remove gain values change at init to keep HW default values. - Remove spurious function by inlining

[PATCH v7 02/16] ASoC: dt-bindings: mediatek,mt8365-mt6357: Add audio sound card document

2024-07-21 Thread Alexandre Mergnat
Add soundcard bindings for the MT8365 SoC with the MT6357 audio codec. Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Krzysztof Kozlowski Signed-off-by: Alexandre Mergnat --- .../bindings/sound/mediatek,mt8365-mt6357.yaml | 107 + 1 file changed, 107 insertions

[PATCH v7 01/16] ASoC: dt-bindings: mediatek,mt8365-afe: Add audio afe document

2024-07-21 Thread Alexandre Mergnat
Add MT8365 audio front-end bindings Reviewed-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- .../bindings/sound/mediatek,mt8365-afe.yaml| 130 + 1 file changed, 130 insertions(+) diff --git a/Documentation

Re: [PATCH v6 12/16] ASoC: codecs: add MT6357 support

2024-07-19 Thread Alexandre Mergnat
On 21/06/2024 14:44, Mark Brown wrote: On Wed, Jun 19, 2024 at 04:46:48PM +0200, amerg...@baylibre.com wrote: + /* gain default values*/ + regmap_update_bits(priv->regmap, MT6357_AUDENC_ANA_CON0, MT6357_AUDPREAMPLGAIN_MASK, + UL_GAIN_0DB << MT6357_AUDPRE

Re: [PATCH v6 03/16] dt-bindings: mfd: mediatek: Add codec property for MT6357 PMIC

2024-06-26 Thread Alexandre Mergnat
On 25/06/2024 15:44, Krzysztof Kozlowski wrote: On 25/06/2024 11:23, Alexandre Mergnat wrote: On 21/06/2024 17:00, Krzysztof Kozlowski wrote: On 19/06/2024 16:46, Alexandre Mergnat wrote: Add the audio codec sub-device. This sub-device is used to set the optional voltage values according

Re: [PATCH v6 03/16] dt-bindings: mfd: mediatek: Add codec property for MT6357 PMIC

2024-06-25 Thread Alexandre Mergnat
On 21/06/2024 17:00, Krzysztof Kozlowski wrote: On 19/06/2024 16:46, Alexandre Mergnat wrote: Add the audio codec sub-device. This sub-device is used to set the optional voltage values according to the hardware. The properties are: - Setup of microphone bias voltage. - Setup of the

Re: [PATCH v4 12/15] drm/mediatek: add MT8365 SoC support

2024-06-24 Thread Alexandre Mergnat
On 21/06/2024 17:24, Chun-Kuang Hu wrote: Hi, Alexandre: 於 2024年5月23日 週四 下午8:49寫道: From: Fabien Parent Add DRM support for MT8365 SoC. Signed-off-by: Fabien Parent Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 8

Re: [PATCH v4 06/15] dt-bindings: display: mediatek: dpi: add power-domains property

2024-06-24 Thread Alexandre Mergnat
On 21/06/2024 17:10, Chun-Kuang Hu wrote: Hi, Alexandre: 於 2024年5月23日 週四 下午8:49寫道: From: Fabien Parent DPI is part of the display / multimedia block in MediaTek SoCs, and always have a power-domain (at least in the upstream device-trees). Add the power-domains property to the binding docu

[PATCH v6 14/16] arm64: defconfig: enable mt8365 sound

2024-06-19 Thread Alexandre Mergnat
Enable the MediaTek MT8365-EVK sound support. The audio feature is handled by the MT8365 SoC and the MT6357 PMIC codec audio. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch

[PATCH v6 16/16] arm64: dts: mediatek: add audio support for mt8365-evk

2024-06-19 Thread Alexandre Mergnat
Add the sound node which is linked to the MT8365 SoC AFE and the MT6357 audio codec. Update the file header. Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 89 + 1 file changed, 89 insertions(+) diff --git a/arch/arm64/boot/dts

[PATCH v6 15/16] arm64: dts: mediatek: add afe support for mt8365 SoC

2024-06-19 Thread Alexandre Mergnat
Add audio front end support of MT8365 SoC. Update the file header. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365.dtsi | 43 ++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/arch

[PATCH v6 11/16] ASoC: mediatek: mt8365: Add the AFE driver support

2024-06-19 Thread Alexandre Mergnat
Add a driver for the Audio Front End (AFE) PCM to provide Audio Uplink (UL) and Downlink (DL) paths. Use the ALSA SoC Dynamic Audio Power Management to add widget and kcontrol supports. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365

[PATCH v6 13/16] ASoC: mediatek: Add MT8365 support

2024-06-19 Thread Alexandre Mergnat
- Add specific config to enable: - MT8365 sound support - MT6357 audio codec support - Add the mt8365 directory and all drivers under it. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/Kconfig | 20 sound/soc

[PATCH v6 08/16] ASoC: mediatek: mt8365: Add DMIC DAI support

2024-06-19 Thread Alexandre Mergnat
Add Digital Micro Device Audio Interface support for MT8365 SoC. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-dmic.c | 340 1 file changed, 340 insertions(+) diff --git a/sound/soc/mediatek

[PATCH v6 09/16] ASoC: mediatek: mt8365: Add PCM DAI support

2024-06-19 Thread Alexandre Mergnat
Add Pulse Code Modulation Device Audio Interface support for MT8365 SoC. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-pcm.c | 293 + 1 file changed, 293 insertions(+) diff --git a/sound/soc

[PATCH v6 04/16] ASoC: mediatek: mt8365: Add common header

2024-06-19 Thread Alexandre Mergnat
Add header files for register definition and structure. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-common.h | 449 sound/soc/mediatek/mt8365/mt8365-reg.h| 991 ++ 2 files

[PATCH v6 05/16] ASoC: mediatek: mt8365: Add audio clock control support

2024-06-19 Thread Alexandre Mergnat
Add audio clock wrapper and audio tuner control. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-clk.c | 421 + sound/soc/mediatek/mt8365/mt8365-afe-clk.h | 32 +++ 2 files changed, 453 insertions

[PATCH v6 06/16] ASoC: mediatek: mt8365: Add I2S DAI support

2024-06-19 Thread Alexandre Mergnat
Add I2S Device Audio Interface support for MT8365 SoC. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-i2s.c | 850 + 1 file changed, 850 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365

[PATCH v6 03/16] dt-bindings: mfd: mediatek: Add codec property for MT6357 PMIC

2024-06-19 Thread Alexandre Mergnat
sub-device. Signed-off-by: Alexandre Mergnat --- .../devicetree/bindings/mfd/mediatek,mt6357.yaml | 33 ++ 1 file changed, 33 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml b/Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml

[PATCH v6 07/16] ASoC: mediatek: mt8365: Add ADDA DAI support

2024-06-19 Thread Alexandre Mergnat
Add ADDA Device Audio Interface support for MT8365 SoC. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-adda.c | 311 1 file changed, 311 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365

[PATCH v6 01/16] ASoC: dt-bindings: mediatek,mt8365-afe: Add audio afe document

2024-06-19 Thread Alexandre Mergnat
Add MT8365 audio front-end bindings Reviewed-by: Krzysztof Kozlowski Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- .../bindings/sound/mediatek,mt8365-afe.yaml| 130 + 1 file changed, 130 insertions(+) diff --git a/Documentation

[PATCH v6 02/16] ASoC: dt-bindings: mediatek,mt8365-mt6357: Add audio sound card document

2024-06-19 Thread Alexandre Mergnat
Add soundcard bindings for the MT8365 SoC with the MT6357 audio codec. Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Krzysztof Kozlowski Signed-off-by: Alexandre Mergnat --- .../bindings/sound/mediatek,mt8365-mt6357.yaml | 107 + 1 file changed, 107 insertions

[PATCH v6 00/16] Add audio support for the MediaTek Genio 350-evk board

2024-06-19 Thread Alexandre Mergnat
mits/sound/for-next/add-i350-audio-support Signed-off-by: Alexandre Mergnat --- Changes in v6: - Remove spurious defines - all files: replace "Mediatek" by "MediaTek" - dts: replace "pins" by "clk-dat-pins" - dts: drive-strength: use integer instead of define

Re: [PATCH RESEND v5 00/16] Add audio support for the MediaTek Genio 350-evk board

2024-06-17 Thread Alexandre Mergnat
On 14/06/2024 11:31, Mark Brown wrote: On Fri, Jun 14, 2024 at 09:27:43AM +0200, Alexandre Mergnat wrote: This serie aim to add the following audio support for the Genio 350-evk: - Playback - 2ch Headset Jack (Earphone) - 1ch Line-out Jack (Speaker) - 8ch HDMI Tx I seem to

[PATCH RESEND v5 13/16] ASoC: mediatek: Add MT8365 support

2024-06-14 Thread Alexandre Mergnat
- Add specific config to enable: - MT8365 sound support - MT6357 audio codec support - Add the mt8365 directory and all drivers under it. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/Kconfig | 20 sound/soc/mediatek/Makefile| 1 + sound/soc

[PATCH RESEND v5 14/16] arm64: defconfig: enable mt8365 sound

2024-06-14 Thread Alexandre Mergnat
Enable the MediaTek MT8365-EVK sound support. The audio feature is handled by the MT8365 SoC and the MT6357 PMIC codec audio. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch

[PATCH RESEND v5 08/16] ASoC: mediatek: mt8365: Add DMIC DAI support

2024-06-14 Thread Alexandre Mergnat
Add Digital Micro Device Audio Interface support for MT8365 SoC. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-dmic.c | 340 1 file changed, 340 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-dai-dmic.c b/sound/soc/mediatek

[PATCH RESEND v5 03/16] dt-bindings: mfd: mediatek: Add codec property for MT6357 PMIC

2024-06-14 Thread Alexandre Mergnat
sub-device. Signed-off-by: Alexandre Mergnat --- .../devicetree/bindings/mfd/mediatek,mt6357.yaml | 33 ++ 1 file changed, 33 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml b/Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml

[PATCH RESEND v5 16/16] arm64: dts: mediatek: add audio support for mt8365-evk

2024-06-14 Thread Alexandre Mergnat
Add the sound node which is linked to the MT8365 SoC AFE and the MT6357 audio codec. Update the file header. Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 89 + 1 file changed, 89 insertions(+) diff --git a/arch/arm64/boot/dts

[PATCH RESEND v5 05/16] ASoC: mediatek: mt8365: Add audio clock control support

2024-06-14 Thread Alexandre Mergnat
Add audio clock wrapper and audio tuner control. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-clk.c | 429 + sound/soc/mediatek/mt8365/mt8365-afe-clk.h | 32 +++ 2 files changed, 461 insertions(+) diff --git a/sound/soc/mediatek/mt8365

[PATCH RESEND v5 11/16] ASoC: mediatek: mt8365: Add the AFE driver support

2024-06-14 Thread Alexandre Mergnat
Add a driver for the Audio Front End (AFE) PCM to provide Audio Uplink (UL) and Downlink (DL) paths. Use the ALSA SoC Dynamic Audio Power Management to add widget and kcontrol supports. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365

[PATCH RESEND v5 09/16] ASoC: mediatek: mt8365: Add PCM DAI support

2024-06-14 Thread Alexandre Mergnat
Add Pulse Code Modulation Device Audio Interface support for MT8365 SoC. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-pcm.c | 293 + 1 file changed, 293 insertions(+) diff --git a/sound/soc

[PATCH RESEND v5 15/16] arm64: dts: mediatek: add afe support for mt8365 SoC

2024-06-14 Thread Alexandre Mergnat
Add audio front end support of MT8365 SoC. Update the file header. Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365.dtsi | 43 ++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch

[PATCH RESEND v5 06/16] ASoC: mediatek: mt8365: Add I2S DAI support

2024-06-14 Thread Alexandre Mergnat
Add I2S Device Audio Interface support for MT8365 SoC. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-i2s.c | 850 + 1 file changed, 850 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-dai-i2s.c b/sound/soc/mediatek/mt8365

[PATCH RESEND v5 07/16] ASoC: mediatek: mt8365: Add ADDA DAI support

2024-06-14 Thread Alexandre Mergnat
Add ADDA Device Audio Interface support for MT8365 SoC. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-adda.c | 311 1 file changed, 311 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-dai-adda.c b/sound/soc/mediatek/mt8365

[PATCH RESEND v5 04/16] ASoC: mediatek: mt8365: Add common header

2024-06-14 Thread Alexandre Mergnat
Add header files for register definition and structure. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-common.h | 491 + sound/soc/mediatek/mt8365/mt8365-reg.h| 991 ++ 2 files changed, 1482 insertions(+) diff --git a/sound

[PATCH RESEND v5 02/16] ASoC: dt-bindings: mediatek,mt8365-mt6357: Add audio sound card document

2024-06-14 Thread Alexandre Mergnat
Add soundcard bindings for the MT8365 SoC with the MT6357 audio codec. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Alexandre Mergnat --- .../bindings/sound/mediatek,mt8365-mt6357.yaml | 107 + 1 file changed, 107 insertions(+) diff --git a/Documentation/devicetree

[PATCH RESEND v5 01/16] ASoC: dt-bindings: mediatek,mt8365-afe: Add audio afe document

2024-06-14 Thread Alexandre Mergnat
Add MT8365 audio front-end bindings Reviewed-by: Krzysztof Kozlowski Signed-off-by: Alexandre Mergnat --- .../bindings/sound/mediatek,mt8365-afe.yaml| 130 + 1 file changed, 130 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt8365

[PATCH RESEND v5 00/16] Add audio support for the MediaTek Genio 350-evk board

2024-06-14 Thread Alexandre Mergnat
mits/sound/for-next/add-i350-audio-support Signed-off-by: Alexandre Mergnat --- Changes in v5: - Rebase to "next-20240523" branch. - bindings: power supply property moved to the parent node - Replace "SoC" by "ASoC" in the patch title (5/16) - Move and rename DAI I2S&

[PATCH v4 15/15] arm64: dts: mediatek: add display support for mt8365-evk

2024-05-23 Thread Alexandre Mergnat
;ite,it66121" HDMI bridge support, driven by I2C1. - Setup the Display Parallel Interface. Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 236 1 file changed, 236 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365-

[PATCH v4 04/15] dt-bindings: display: mediatek: dither: add compatible for MT8365 SoC

2024-05-23 Thread Alexandre Mergnat
Document the display Dither on MT8365, which is compatible with that of the MT8183. Acked-by: Rob Herring (Arm) Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml | 1 + 1 file changed, 1

[PATCH v4 09/15] dt-bindings: display: mediatek: ovl: add compatible for MT8365 SoC

2024-05-23 Thread Alexandre Mergnat
Document the display Overlay on MT8365, which is compatible with that of the MT8192. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml | 1 + 1 file changed, 1

[PATCH v4 10/15] dt-bindings: display: mediatek: rdma: add compatible for MT8365 SoC

2024-05-23 Thread Alexandre Mergnat
Document the display Data Path Read DMA on MT8365, which is compatible with that of the MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml | 1 + 1 file changed

[PATCH v4 05/15] dt-bindings: display: mediatek: dsi: add compatible for MT8365 SoC

2024-05-23 Thread Alexandre Mergnat
Document the Display Serial Interface on MT8365, which is compatible with that of the MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml | 1 + 1 file changed, 1

[PATCH v4 14/15] arm64: dts: mediatek: add display blocks support for the MT8365 SoC

2024-05-23 Thread Alexandre Mergnat
) Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365.dtsi | 336 +++ 1 file changed, 336 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi index 24581f7410aa..9f88645141d6 100644 --- a/arch

[PATCH v4 13/15] arm64: defconfig: enable display connector support

2024-05-23 Thread Alexandre Mergnat
Enable this feature for the i350-evk HDMI connector support. Signed-off-by: Alexandre Mergnat --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 6281975199c4..7dac8f92b0b9 100644 --- a/arch/arm64

[PATCH v4 11/15] drm/mediatek: dsi: Improves the DSI lane setup robustness

2024-05-23 Thread Alexandre Mergnat
. Signed-off-by: Alexandre Mergnat --- drivers/gpu/drm/mediatek/mtk_dsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c index e036d9394c23..cb546a9e9419 100644 --- a/drivers/gpu/drm/mediatek/mtk_dsi.c +++ b/drivers/gpu/drm

[PATCH v4 07/15] dt-bindings: display: mediatek: dpi: add compatible for MT8365

2024-05-23 Thread Alexandre Mergnat
Add dt-binding documentation of dpi for MediaTek MT8365 SoC. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 4 1 file changed, 4 insertions(+) diff --git a

[PATCH v4 08/15] dt-bindings: display: mediatek: gamma: add compatible for MT8365 SoC

2024-05-23 Thread Alexandre Mergnat
Document the display Gamma on MT8365, which is compatible with that of the MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml | 1 + 1 file changed, 1

[PATCH v4 02/15] dt-bindings: display: mediatek: ccorr: add compatible for MT8365 SoC

2024-05-23 Thread Alexandre Mergnat
Document the display Color Correction on MT8365, which is compatible with that of the MT8183. Acked-by: Rob Herring (Arm) Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml | 3 +++ 1 file

[PATCH v4 03/15] dt-bindings: display: mediatek: color: add compatible for MT8365 SoC

2024-05-23 Thread Alexandre Mergnat
Document the display Color on MT8365, which is compatible with that of the MT8173. Acked-by: Rob Herring (Arm) Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml | 1 + 1 file changed, 1

[PATCH v4 01/15] dt-bindings: display: mediatek: aal: add compatible for MT8365 SoC

2024-05-23 Thread Alexandre Mergnat
Document the display Adaptive Ambient Light on MT8365, which is compatible with that of the MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Rob Herring (Arm) Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml | 1 + 1 file

[PATCH v4 00/15] Add display support for the MT8365-EVK board

2024-05-23 Thread Alexandre Mergnat
drivers are also improved. The series is rebased on top of Angelo's series [1] to use the OF graphs support. Regards, Alex Signed-off-by: Alexandre Mergnat --- Changes in v4: - Rebase to "next-20240523" branch. - Patch merged, then removed from the series: - dt-bindings: di

[PATCH v5 09/16] ASoC: mediatek: mt8365: Add PCM DAI support

2024-05-23 Thread Alexandre Mergnat
Add Pulse Code Modulation Device Audio Interface support for MT8365 SoC. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-pcm.c | 293 + 1 file changed, 293 insertions(+) diff --git a/sound/soc

[PATCH v5 13/16] ASoC: mediatek: Add MT8365 support

2024-05-23 Thread Alexandre Mergnat
- Add specific config to enable: - MT8365 sound support - MT6357 audio codec support - Add the mt8365 directory and all drivers under it. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/Kconfig | 20 sound/soc/mediatek/Makefile| 1 + sound/soc

[PATCH v5 15/16] arm64: dts: mediatek: add afe support for mt8365 SoC

2024-05-23 Thread Alexandre Mergnat
Add audio front end support of MT8365 SoC. Update the file header. Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365.dtsi | 43 ++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch

[PATCH v5 16/16] arm64: dts: mediatek: add audio support for mt8365-evk

2024-05-23 Thread Alexandre Mergnat
Add the sound node which is linked to the MT8365 SoC AFE and the MT6357 audio codec. Update the file header. Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 89 + 1 file changed, 89 insertions(+) diff --git a/arch/arm64/boot/dts

[PATCH v5 14/16] arm64: defconfig: enable mt8365 sound

2024-05-23 Thread Alexandre Mergnat
Enable the MediaTek MT8365-EVK sound support. The audio feature is handled by the MT8365 SoC and the MT6357 PMIC codec audio. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch

[PATCH v5 11/16] ASoC: mediatek: mt8365: Add the AFE driver support

2024-05-23 Thread Alexandre Mergnat
Add a driver for the Audio Front End (AFE) PCM to provide Audio Uplink (UL) and Downlink (DL) paths. Use the ALSA SoC Dynamic Audio Power Management to add widget and kcontrol supports. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365

[PATCH v5 04/16] ASoC: mediatek: mt8365: Add common header

2024-05-23 Thread Alexandre Mergnat
Add header files for register definition and structure. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-common.h | 491 + sound/soc/mediatek/mt8365/mt8365-reg.h| 991 ++ 2 files changed, 1482 insertions(+) diff --git a/sound

[PATCH v5 08/16] ASoC: mediatek: mt8365: Add DMIC DAI support

2024-05-23 Thread Alexandre Mergnat
Add Digital Micro Device Audio Interface support for MT8365 SoC. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-dmic.c | 340 1 file changed, 340 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-dai-dmic.c b/sound/soc/mediatek

[PATCH v5 06/16] ASoC: mediatek: mt8365: Add I2S DAI support

2024-05-23 Thread Alexandre Mergnat
Add I2S Device Audio Interface support for MT8365 SoC. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-i2s.c | 850 + 1 file changed, 850 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-dai-i2s.c b/sound/soc/mediatek/mt8365

[PATCH v5 07/16] ASoC: mediatek: mt8365: Add ADDA DAI support

2024-05-23 Thread Alexandre Mergnat
Add ADDA Device Audio Interface support for MT8365 SoC. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-adda.c | 311 1 file changed, 311 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-dai-adda.c b/sound/soc/mediatek/mt8365

[PATCH v5 02/16] ASoC: dt-bindings: mediatek,mt8365-mt6357: Add audio sound card document

2024-05-23 Thread Alexandre Mergnat
Add soundcard bindings for the MT8365 SoC with the MT6357 audio codec. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Alexandre Mergnat --- .../bindings/sound/mediatek,mt8365-mt6357.yaml | 107 + 1 file changed, 107 insertions(+) diff --git a/Documentation/devicetree

[PATCH v5 05/16] ASoC: mediatek: mt8365: Add audio clock control support

2024-05-23 Thread Alexandre Mergnat
Add audio clock wrapper and audio tuner control. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-clk.c | 429 + sound/soc/mediatek/mt8365/mt8365-afe-clk.h | 32 +++ 2 files changed, 461 insertions(+) diff --git a/sound/soc/mediatek/mt8365

[PATCH v5 01/16] ASoC: dt-bindings: mediatek,mt8365-afe: Add audio afe document

2024-05-23 Thread Alexandre Mergnat
Add MT8365 audio front-end bindings Reviewed-by: Krzysztof Kozlowski Signed-off-by: Alexandre Mergnat --- .../bindings/sound/mediatek,mt8365-afe.yaml| 130 + 1 file changed, 130 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt8365

[PATCH v5 03/16] dt-bindings: mfd: mediatek: Add codec property for MT6357 PMIC

2024-05-23 Thread Alexandre Mergnat
sub-device. Signed-off-by: Alexandre Mergnat --- .../devicetree/bindings/mfd/mediatek,mt6357.yaml | 33 ++ 1 file changed, 33 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml b/Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml

  1   2   3   4   >