[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <787212be-990f-1e61-c814-17958ee0c47c@linaro.org>
Date: Fri, 13 Jan 2023 09:31:44 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Hardevsinh Palaniya <hardevsinh.palaniya@...iconsignals.io>,
Daniel Baluta <daniel.baluta@...il.com>,
Daniel Baluta <daniel.baluta@....com>,
"krzysztof.kozlowski+dt@...aro.org"
<krzysztof.kozlowski+dt@...aro.org>
Cc: "robh+dt@...nel.org" <robh+dt@...nel.org>,
"shawnguo@...nel.org" <shawnguo@...nel.org>,
"s.hauer@...gutronix.de" <s.hauer@...gutronix.de>,
"kernel@...gutronix.de" <kernel@...gutronix.de>,
"festevam@...il.com" <festevam@...il.com>,
"linux-imx@....com" <linux-imx@....com>,
"lgirdwood@...il.com" <lgirdwood@...il.com>,
"broonie@...nel.org" <broonie@...nel.org>,
"perex@...ex.cz" <perex@...ex.cz>,
"tiwai@...e.com" <tiwai@...e.com>,
"peng.fan@....com" <peng.fan@....com>,
"m.felsch@...gutronix.de" <m.felsch@...gutronix.de>,
"shengjiu.wang@....com" <shengjiu.wang@....com>,
"Markus.Niebel@...tq-group.com" <Markus.Niebel@...tq-group.com>,
"hongxing.zhu@....com" <hongxing.zhu@....com>,
"tommaso.merciai@...rulasolutions.com"
<tommaso.merciai@...rulasolutions.com>,
"jun.li@....com" <jun.li@....com>,
"ckeepax@...nsource.cirrus.com" <ckeepax@...nsource.cirrus.com>,
"rf@...nsource.cirrus.com" <rf@...nsource.cirrus.com>,
"povik+lin@...ebit.org" <povik+lin@...ebit.org>,
"pierre-louis.bossart@...ux.intel.com"
<pierre-louis.bossart@...ux.intel.com>,
"james.schulman@...rus.com" <james.schulman@...rus.com>,
"flatmax@...tmax.com" <flatmax@...tmax.com>,
"srinivas.kandagatla@...aro.org" <srinivas.kandagatla@...aro.org>,
"ryan.lee.analog@...il.com" <ryan.lee.analog@...il.com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>
Subject: Re: [PATCH] Support for MAX98090/91 codec in iMX8MM evk
On 13/01/2023 06:50, Hardevsinh Palaniya wrote:
> From d2001cdbc2fda3345af307b4cf3d0f2e53d80c35 Mon Sep 17 00:00:00 2001
> From: Hardevsinh Palaniya <hardevsinh.palaniya@...iconsignals.io>
> Date: Fri, 13 Jan 2023 11:01:22 +0530
That's still not correct patch format.
> Subject: [PATCH] Add dts to support MAX98090/91 with i.MX8MM-evk
That's still not correct subject. You already got this comment and
ignored it.
Your recipient list is enormous. Use get_maintainers.pl. You already got
this comment and ignored it.
If you intend to ignore all the comments, then this is NAK.
This is v2? Patch subject should be marked with it. You need to add
changelog.
>
> - Add sound-max98090 node to support external codec MAX98090/91
Why? Explain what you want to achieve and why do you do it.
> - Use i2c3 for i2c communicate with codec
> - Use sai5 for i2s communication
>
> Signed-off-by: Hardevsinh Palaniya <hardevsinh.palaniya@...iconsignals.io>
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk-max98090-91.dts b/arch/arm64/boot/dts/freescale/imx8mm-evk-max98090-91.dts
> new file mode 100644
> index 000000000000..d053c586514a
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk-max98090-91.dts
That's a dead code without Makefile.
Missing bindings.
> @@ -0,0 +1,65 @@
> +#include "imx8mm-evk.dtsi"
> +
> +/ {
> + sound-max98090 {
> + compatible = "simple-audio-card";
> + simple-audio-card,name = "max98090-audio";
> + simple-audio-card,format = "i2s";
> + simple-audio-card,frame-master = <&cpudai>;
> + simple-audio-card,bitclock-master = <&cpudai>;
> + simple-audio-card,widgets = "Speakers", "Speakers";
> + simple-audio-card,routing =
> + "Speakers", "SPKR",
> + "Speakers", "SPKL",
> + "IN1", "MICBIAS",
> + "MIC1","IN1",
> + "MIC2","IN1";
> +
> + cpudai: simple-audio-card,cpu {
> + sound-dai = <&sai5>;
> + dai-tdm-slot-num = <2>;
> + dai-tdm-slot-width = <32>;
> + };
> +
> + simple-audio-card,codec {
> + sound-dai = <&max98090>;
> + clocks = <&clk IMX8MM_CLK_SAI5_ROOT>;
> + };
> + };
> +}
> +
> +&i2c3 {
> + max98090: audio-codec@10 {
> + compatible = "maxim,max98090","maxim,max98091";
You either ignored the comment or misread it. Go back to previous code.
> + #sound-dai-ceddlls = <0>;
This is no way working... Test your code against bindings. Please run
`make dtbs_check` (see
Documentation/devicetree/bindings/writing-schema.rst for instructions).
Best regards,
Krzysztof
Powered by blists - more mailing lists