[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 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 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 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 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 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 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 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 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 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-

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

2024-03-28 Thread Alexandre Mergnat
Hi Angelo On 26/02/2024 15:54, AngeloGioacchino Del Regno wrote: Il 26/02/24 15:01, Alexandre Mergnat ha scritto: 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 - Capture

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

2024-04-09 Thread Alexandre Mergnat
no.delre...@collabora.com/ [3]: https://pastebin.com/pc43AVrT [4]: https://pastebin.com/cCtGhDpg [5]: https://gitlab.baylibre.com/baylibre/mediatek/bsp/linux/-/commits/sound/for-next/add-i350-audio-support Signed-off-by: Alexandre Mergnat --- Changes in v2: - Documentation fixed: - Re

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

2024-04-09 Thread Alexandre Mergnat
Add the audio codec sub-device. This sub-device is used to set required and optional voltage properties between the codec and the board. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a

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

2024-04-09 Thread Alexandre Mergnat
Add MT8365 audio front-end bindings Signed-off-by: Alexandre Mergnat --- .../bindings/sound/mediatek,mt8365-afe.yaml| 136 + 1 file changed, 136 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt8365-afe.yaml b/Documentation/devicetree

[PATCH v2 04/18] ASoC: dt-bindings: mt6357: Add audio codec document

2024-04-09 Thread Alexandre Mergnat
Add MT8365 audio codec bindings to set required and optional voltage properties between the codec and the board. The properties are: - phandle of the requiered power supply. - Setup of microphone bias voltage. - Setup of the speaker pin pull-down. Signed-off-by: Alexandre Mergnat

[PATCH v2 05/18] ASoC: mediatek: mt8365: Add common header

2024-04-09 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 v2 06/18] SoC: mediatek: mt8365: support audio clock control

2024-04-09 Thread Alexandre Mergnat
Add audio clock wrapper and audio tuner control. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-clk.c | 451 + sound/soc/mediatek/mt8365/mt8365-afe-clk.h | 49 2 files changed, 500 insertions(+) diff --git a/sound/soc/mediatek/mt8365

[PATCH v2 07/18] ASoC: mediatek: mt8365: Add I2S DAI support

2024-04-09 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 | 854 + 1 file changed, 854 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-dai-i2s.c b/sound/soc/mediatek/mt8365

[PATCH v2 09/18] ASoC: mediatek: mt8365: Add DMIC DAI support

2024-04-09 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 | 347 1 file changed, 347 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-dai-dmic.c b/sound/soc/mediatek

[PATCH v2 12/18] ASoC: mediatek: mt8365: Add platform driver

2024-04-09 Thread Alexandre Mergnat
Add mt8365 platform driver. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-pcm.c | 2275 1 file changed, 2275 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-afe-pcm.c b/sound/soc/mediatek/mt8365/mt8365-afe-pcm.c new file

[PATCH v2 14/18] ASoC: mediatek: Add MT8365 support

2024-04-09 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 v2 10/18] ASoC: mediatek: mt8365: Add PCM DAI support

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

[PATCH v2 08/18] ASoC: mediatek: mt8365: Add ADDA DAI support

2024-04-09 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 | 315 1 file changed, 315 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-dai-adda.c b/sound/soc/mediatek/mt8365

[PATCH v2 18/18] arm64: dts: mediatek: add audio support for mt8365-evk

2024-04-09 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 | 98 +++-- 1 file changed, 94 insertions(+), 4 deletions(-) diff --git a/arch

[PATCH v2 16/18] arm64: dts: mediatek: add mt6357 audio codec support

2024-04-09 Thread Alexandre Mergnat
Add audio codec support of MT6357 PMIC. Update the file header. Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt6357.dtsi | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt6357.dtsi b/arch/arm64/boot/dts/mediatek/mt6357

[PATCH v2 15/18] arm64: defconfig: enable mt8365 sound

2024-04-09 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. 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

[PATCH v2 17/18] arm64: dts: mediatek: add afe support for mt8365 SoC

2024-04-09 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 | 46 +--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch

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

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

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

2024-04-09 Thread Alexandre Mergnat
no.delre...@collabora.com/ [3]: https://pastebin.com/pc43AVrT [4]: https://pastebin.com/cCtGhDpg [5]: https://gitlab.baylibre.com/baylibre/mediatek/bsp/linux/-/commits/sound/for-next/add-i350-audio-support Signed-off-by: Alexandre Mergnat --- Changes in v3: - Re-order documentation commit to f

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

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

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

2024-04-09 Thread Alexandre Mergnat
Add MT8365 audio front-end bindings Signed-off-by: Alexandre Mergnat --- .../bindings/sound/mediatek,mt8365-afe.yaml| 136 + 1 file changed, 136 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt8365-afe.yaml b/Documentation/devicetree

[PATCH v3 03/18] ASoC: dt-bindings: mt6357: Add audio codec document

2024-04-09 Thread Alexandre Mergnat
Add MT8365 audio codec bindings to set required and optional voltage properties between the codec and the board. The properties are: - phandle of the requiered power supply. - Setup of microphone bias voltage. - Setup of the speaker pin pull-down. Signed-off-by: Alexandre Mergnat

[PATCH v3 05/18] ASoC: mediatek: mt8365: Add common header

2024-04-09 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 v3 06/18] SoC: mediatek: mt8365: support audio clock control

2024-04-09 Thread Alexandre Mergnat
Add audio clock wrapper and audio tuner control. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-clk.c | 451 + sound/soc/mediatek/mt8365/mt8365-afe-clk.h | 49 2 files changed, 500 insertions(+) diff --git a/sound/soc/mediatek/mt8365

[PATCH v3 10/18] ASoC: mediatek: mt8365: Add PCM DAI support

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

[PATCH v3 08/18] ASoC: mediatek: mt8365: Add ADDA DAI support

2024-04-09 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 | 315 1 file changed, 315 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-dai-adda.c b/sound/soc/mediatek/mt8365

[PATCH v3 09/18] ASoC: mediatek: mt8365: Add DMIC DAI support

2024-04-09 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 | 347 1 file changed, 347 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-dai-dmic.c b/sound/soc/mediatek

[PATCH v3 07/18] ASoC: mediatek: mt8365: Add I2S DAI support

2024-04-09 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 | 854 + 1 file changed, 854 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-dai-i2s.c b/sound/soc/mediatek/mt8365

[PATCH v3 12/18] ASoC: mediatek: mt8365: Add platform driver

2024-04-09 Thread Alexandre Mergnat
Add mt8365 platform driver. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-pcm.c | 2275 1 file changed, 2275 insertions(+) diff --git a/sound/soc/mediatek/mt8365/mt8365-afe-pcm.c b/sound/soc/mediatek/mt8365/mt8365-afe-pcm.c new file

[PATCH v3 14/18] ASoC: mediatek: Add MT8365 support

2024-04-09 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 v3 18/18] arm64: dts: mediatek: add audio support for mt8365-evk

2024-04-09 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 | 98 +++-- 1 file changed, 94 insertions(+), 4 deletions(-) diff --git a/arch

[PATCH v3 04/18] dt-bindings: mfd: mediatek: Add codec property for MT6357 PMIC

2024-04-09 Thread Alexandre Mergnat
Add the audio codec sub-device. This sub-device is used to set required and optional voltage properties between the codec and the board. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/mfd/mediatek,mt6357.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a

[PATCH v3 15/18] arm64: defconfig: enable mt8365 sound

2024-04-09 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. 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

[PATCH v3 16/18] arm64: dts: mediatek: add mt6357 audio codec support

2024-04-09 Thread Alexandre Mergnat
Add audio codec support of MT6357 PMIC. Update the file header. Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt6357.dtsi | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt6357.dtsi b/arch/arm64/boot/dts/mediatek/mt6357

[PATCH v3 17/18] arm64: dts: mediatek: add afe support for mt8365 SoC

2024-04-09 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 | 46 +--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch

Re: [PATCH v3 01/18] ASoC: dt-bindings: mediatek,mt8365-afe: Add audio afe document

2024-04-10 Thread Alexandre Mergnat
On 09/04/2024 17:46, Krzysztof Kozlowski wrote: +soc { +#address-cells = <2>; +#size-cells = <2>; + +afe@1122 { Did you implement the comment or decided to keep afe? Though it was clear according to [1]: " Audio Front End, this is the same name used for othe

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 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

[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 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 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 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 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 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 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 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 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 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 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 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 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

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

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 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 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 14/18] drm/mediatek: dpi: add support for dpi clock

2024-04-16 Thread Alexandre Mergnat
On 24/10/2023 11:12, AngeloGioacchino Del Regno wrote: Il 23/10/23 16:40, amerg...@baylibre.com ha scritto: From: Fabien Parent MT8365 requires an additional clock for DPI. Add support for that additional clock. Signed-off-by: Fabien Parent Signed-off-by: Alexandre Mergnat I'

[PATCH v2 00/18] Add display support for the MT8365-EVK board

2024-04-16 Thread Alexandre Mergnat
drivers are also improved. Regards, Alex Signed-off-by: Alexandre Mergnat --- Changes in v2: - s/binding/compatible/ in commit messages/titles. - Improve commit messages as Conor suggest. - pwm-disp: Set power domain property for MT8365. This one is optionnal and can be used for other SoC

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

2024-04-16 Thread Alexandre Mergnat
Document the display Adaptive Ambient Light on MT8365, which is compatible with that of the MT8183. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings

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

2024-04-16 Thread Alexandre Mergnat
Document the display Dither on MT8365, which is compatible with that of the MT8183. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display

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

2024-04-16 Thread Alexandre Mergnat
Document the display Color on MT8365, which is compatible with that of the MT8173. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek

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

2024-04-16 Thread Alexandre Mergnat
Document the display Color Correction on MT8365, which is compatible with that of the MT8183. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings

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

2024-04-16 Thread Alexandre Mergnat
Document the display Overlay on MT8365, which is compatible with that of the MT8192. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek

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

2024-04-16 Thread Alexandre Mergnat
Add dt-binding documentation of dpi for MediaTek MT8365 SoC. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b

[PATCH v2 11/18] dt-bindings: pwm: mediatek,pwm-disp: add power-domains property

2024-04-16 Thread Alexandre Mergnat
According to the Mediatek MT8365 datasheet, the display PWM block has a power domain. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/pwm/mediatek,pwm

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

2024-04-16 Thread Alexandre Mergnat
Document the display Data Path Read DMA on MT8365, which is compatible with that of the MT8183. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings

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

2024-04-16 Thread Alexandre Mergnat
Document the display Gamma on MT8365, which is compatible with that of the MT8183. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek

[PATCH v2 14/18] drm/mediatek: add mt8365 dpi support

2024-04-16 Thread Alexandre Mergnat
- Add compatibles and platform data into the Mediatek DPI driver. - Fix the DPI0 parent clock to be consistent. This SoC is compatible with the mt8183 calculate factor. Signed-off-by: Alexandre Mergnat --- drivers/clk/mediatek/clk-mt8365-mm.c | 2 +- drivers/gpu/drm/mediatek/mtk_dpi.c | 18

[PATCH v2 17/18] arm64: dts: mediatek: add display blocks support for the MT8365 SoC

2024-04-16 Thread Alexandre Mergnat
) Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365.dtsi | 146 +++ 1 file changed, 146 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi index 24581f7410aa..a95f90da4491 100644 --- a/arch

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

2024-04-16 Thread Alexandre Mergnat
Document the Display Serial Interface on MT8365, which is compatible with that of the MT8183. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display

[PATCH v2 13/18] drm/mediatek: dsi: Improves the DSI lane setup robustness

2024-04-16 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 9501f4019199..b3f33d4d3d5c 100644 --- a/drivers/gpu/drm/mediatek/mtk_dsi.c +++ b/drivers/gpu/drm

[PATCH v2 12/18] dt-bindings: pwm: mediatek,pwm-disp: add compatible for mt8365 SoC

2024-04-16 Thread Alexandre Mergnat
Add a compatible string for MediaTek Genio 350 MT8365's display PWM block: this is the same as MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Uwe Kleine-König Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/pwm/mediatek,pwm-disp.yaml | 1 + 1 file chang

[PATCH v2 18/18] arm64: dts: mediatek: add display support for mt8365-evk

2024-04-16 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 | 182 1 file changed, 182 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365-

[PATCH v2 16/18] arm64: defconfig: enable display connector support

2024-04-16 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 fce98a150014..1df337882835 100644 --- a/arch/arm64

Re: [PATCH v2 11/18] dt-bindings: pwm: mediatek,pwm-disp: add power-domains property

2024-04-17 Thread Alexandre Mergnat
On 17/04/2024 10:01, Uwe Kleine-König wrote: Hello, On Tue, Apr 16, 2024 at 05:53:12PM +0200, Alexandre Mergnat wrote: According to the Mediatek MT8365 datasheet, the display PWM block has a power domain. Signed-off-by: Alexandre Mergnat I already pointed that out in reply to the cover

Re: [PATCH v2 00/18] Add display support for the MT8365-EVK board

2024-04-17 Thread Alexandre Mergnat
On 17/04/2024 09:58, Uwe Kleine-König wrote: Hello, On Tue, Apr 16, 2024 at 05:53:01PM +0200, Alexandre Mergnat wrote: Alexandre Mergnat (16): [...] dt-bindings: pwm: mediatek,pwm-disp: add power-domains property dt-bindings: pwm: mediatek,pwm-disp: add compatible for

Re: [PATCH v2 12/18] dt-bindings: pwm: mediatek,pwm-disp: add compatible for mt8365 SoC

2024-04-18 Thread Alexandre Mergnat
Hi Uwe On 17/04/2024 10:06, Uwe Kleine-König wrote: Hello, On Tue, Apr 16, 2024 at 05:53:13PM +0200, Alexandre Mergnat wrote: Add a compatible string for MediaTek Genio 350 MT8365's display PWM block: this is the same as MT8183. Reviewed-by: AngeloGioacchino Del Regno Acked-by: Uwe K

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

2024-04-18 Thread Alexandre Mergnat
On 17/04/2024 12:27, AngeloGioacchino Del Regno wrote: +    irq_ite_pins { Did you run dtbs_check?!? :-) Yes without error, here my command: dt-validate -s Documentation/devicetree/bindings arch/arm64/boot/dts/mediatek/mt8365-evk.dtb Also I've done a "make dtbs_check" just to be su

[PATCH v3 00/17] Add display support for the MT8365-EVK board

2024-04-18 Thread Alexandre Mergnat
drivers are also improved. Regards, Alex Signed-off-by: Alexandre Mergnat --- Changes in v3: - Drop "drm/mediatek: add mt8365 dpi support" because it's the same config as mt8192 SoC - Drop "dt-bindings: pwm: mediatek,pwm-disp: add power-domains property" because an

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

2024-04-18 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 v3 01/17] dt-bindings: display: mediatek: aal: add compatible for MT8365 SoC

2024-04-18 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 v3 05/17] dt-bindings: display: mediatek: dsi: add compatible for MT8365 SoC

2024-04-18 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 v3 03/17] dt-bindings: display: mediatek: color: add compatible for MT8365 SoC

2024-04-18 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 v3 09/17] dt-bindings: display: mediatek: ovl: add compatible for MT8365 SoC

2024-04-18 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 v3 08/17] dt-bindings: display: mediatek: gamma: add compatible for MT8365 SoC

2024-04-18 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 v3 07/17] dt-bindings: display: mediatek: dpi: add compatible for MT8365

2024-04-18 Thread Alexandre Mergnat
Add dt-binding documentation of dpi for MediaTek MT8365 SoC. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b

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

2024-04-18 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 v3 16/17] arm64: dts: mediatek: add display blocks support for the MT8365 SoC

2024-04-18 Thread Alexandre Mergnat
) Signed-off-by: Alexandre Mergnat --- arch/arm64/boot/dts/mediatek/mt8365.dtsi | 133 +++ 1 file changed, 133 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi index 24581f7410aa..d34519a33c90 100644 --- a/arch

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

2024-04-18 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 v3 15/17] arm64: defconfig: enable display connector support

2024-04-18 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 fce98a150014..1df337882835 100644 --- a/arch/arm64

<    1   2   3   4   >