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

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

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

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

2024-07-21 Thread amergnat
From: Nicolas Belin Add the support of MT6357 PMIC audio codec. Signed-off-by: Nicolas Belin Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/codecs/Kconfig |7 + sound/soc/codecs/Makefile |2 + sound/soc/codecs/mt6357.c | 1855

[PATCH v7 10/16] ASoc: mediatek: mt8365: Add a specific soundcard for EVK

2024-07-21 Thread amergnat
From: Nicolas Belin Add a specific soundcard for mt8365-evk. It supports audio jack in/out, dmics, the amic and lineout. Signed-off-by: Nicolas Belin Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-mt6357.c | 345

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

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

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

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

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

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

2024-07-21 Thread Alexandre Mergnat
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 speaker pin pull-down. Also, add the audio power supply property which is dedicated for the audio codec s

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

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

2024-07-21 Thread Alexandre Mergnat
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 - 1ch DMIC (On-board Digital Microphone) - 1ch AMIC (On-board Analogic Microphone) - 1ch Headset Jack (External Analogi

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

Re: [PATCH RESEND] rockchip/drm: vop2: add support for gamma LUT

2024-07-21 Thread Dragan Simic
Hello Piotr, Thanks for the patch. Please see a few general comments below. On 2024-07-21 12:06, Piotr Zalewski wrote: Add support for gamma LUT in VOP2 driver. The implementation is based on the one found in VOP driver and modified to be compatible with VOP2. Blue and red channels in gamma L

Re: [PATCH v5 2/2] misc: fastrpc: Increase unsigned PD initmem size

2024-07-21 Thread Ekansh Gupta
On 7/22/2024 11:30 AM, Greg KH wrote: > On Mon, Jul 22, 2024 at 11:24:37AM +0530, Ekansh Gupta wrote: >> For unsigned PD offloading requirement, additional memory is required >> because of additional static heap initialization. Without this >> additional memory, PD initialization would fail. Inc

Re: [PATCH v5 1/2] misc: fastrpc: Define a new initmem size for user PD

2024-07-21 Thread Ekansh Gupta
On 7/22/2024 11:28 AM, Greg KH wrote: > On Mon, Jul 22, 2024 at 11:24:36AM +0530, Ekansh Gupta wrote: >> For user PD initialization, initmem is allocated and sent to DSP for >> initial memory requirements like shell loading. The size of this memory >> is decided based on the shell size that is p

Re: [PATCH v5 2/2] misc: fastrpc: Increase unsigned PD initmem size

2024-07-21 Thread Greg KH
On Mon, Jul 22, 2024 at 11:24:37AM +0530, Ekansh Gupta wrote: > For unsigned PD offloading requirement, additional memory is required > because of additional static heap initialization. Without this > additional memory, PD initialization would fail. Increase the initmem > size by 2MB for unsigned P

Re: [PATCH v5 1/2] misc: fastrpc: Define a new initmem size for user PD

2024-07-21 Thread Greg KH
On Mon, Jul 22, 2024 at 11:24:36AM +0530, Ekansh Gupta wrote: > For user PD initialization, initmem is allocated and sent to DSP for > initial memory requirements like shell loading. The size of this memory > is decided based on the shell size that is passed by the user space. > With the current im

[PATCH v5 1/2] misc: fastrpc: Define a new initmem size for user PD

2024-07-21 Thread Ekansh Gupta
For user PD initialization, initmem is allocated and sent to DSP for initial memory requirements like shell loading. The size of this memory is decided based on the shell size that is passed by the user space. With the current implementation, a minimum of 2MB is always allocated for initmem even if

[PATCH v5 2/2] misc: fastrpc: Increase unsigned PD initmem size

2024-07-21 Thread Ekansh Gupta
For unsigned PD offloading requirement, additional memory is required because of additional static heap initialization. Without this additional memory, PD initialization would fail. Increase the initmem size by 2MB for unsigned PD initmem buffer allocation. Any additional memory sent to DSP during

[PATCH v5 0/2] Fix user PD inimem requirements

2024-07-21 Thread Ekansh Gupta
This patch series fixes the incorrect initmem size assumptions for signed and unsigned user PD. Previous patch: https://lore.kernel.org/all/20240719085708.1764952-1-quic_ekang...@quicinc.com/ Changes in v2: - Modified commit text. - Removed size check instead of updating max file size. Change

Re: [PATCH v4] misc: fastrpc: Increase unsigned PD initmem size

2024-07-21 Thread Ekansh Gupta
On 7/19/2024 3:36 PM, Dmitry Baryshkov wrote: > On Fri, Jul 19, 2024 at 02:27:08PM GMT, Ekansh Gupta wrote: >> For user PD initialization, initmem is allocated and sent to DSP for >> initial memory requirements like shell loading. This size is the shell >> size that is passed by user space and

Re: [PATCH v2] drm/msm/adreno: Add A306A support

2024-07-21 Thread Barnabás Czémán
On Sat, Jun 22, 2024 at 1:36 PM Konrad Dybcio wrote: > > On 20.06.2024 11:52 PM, Barnabás Czémán wrote: > > From: Otto Pflüger > > > > Add support for Adreno 306A GPU what is found in MSM8917 SoC. > > This GPU marketing name is Adreno 308. > > > > Signed-off-by: Otto Pflüger > > [use internal na

Re: [PATCH v3 3/4] dt-bindings: display: ti,am65x-dss: Add OLDI properties for AM625 DSS

2024-07-21 Thread Krzysztof Kozlowski
On 16/07/2024 10:42, Aradhya Bhatia wrote: > The DSS in AM625 SoC has 2 OLDI TXes. Refer the OLDI schema to add the > support for the OLDI TXes. > > The AM625 DSS VP1 (port@0) can connect and control 2 OLDI TXes, to use > them in dual-link or cloned single-link OLDI modes. Add support for an > add

Re: [PATCH v3 2/4] dt-bindings: display: ti: Add schema for AM625 OLDI Transmitter

2024-07-21 Thread Krzysztof Kozlowski
On 16/07/2024 10:42, Aradhya Bhatia wrote: > The OLDI (transmitters) TXes do not have registers of their own, and are > dependent on the source video-ports from the DSS to provide > configuration data. This hardware doesn't directly sit on the internal > bus of the SoC, but does so via the DSS. Hen

Re: [PATCH v2 1/2] dt-bindings: display: panel: samsung,atna45dc02: Document ATNA45DC02

2024-07-21 Thread Krzysztof Kozlowski
On 19/07/2024 20:52, Rob Clark wrote: > From: Rob Clark > > The Samsung ATNA45DC02 panel is an AMOLED eDP panel, similar to the > existing ATNA45AF01 and ATNA33XC20 panel but with a higher resolution. > > Signed-off-by: Rob Clark > --- > .../devicetree/bindings/display/panel/samsung,atna33xc20

Re: [PATCH v9-resend 00/54] fix CONFIG_DRM_USE_DYNAMIC_DEBUG=y

2024-07-21 Thread Łukasz Bartosik
On Tue, Jul 16, 2024 at 8:58 PM Jim Cromie wrote: > > resending to fix double-copies of a dozen patches. > added 2 squash-ins to address Ville's designated-initializer comment. > > This fixes dynamic-debug support for DRM.debug, added via classmaps. > commit bb2ff6c27bc9 (drm: Disable dynamic debu