From: Heiko Stuebner <heiko@sntech.de>
To: Klaus Goger <klaus.goger@theobroma-systems.com>
Cc: linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/2] arm64: dts: rockchip: enable I2S codec on rk3399-puma-haikou
Date: Fri, 09 Feb 2018 19:52:59 +0100 [thread overview]
Message-ID: <2448065.tRKBKgXtGg@phil> (raw)
In-Reply-To: <20180203155016.51909-3-klaus.goger@theobroma-systems.com>
Hi Klaus,
Am Samstag, 3. Februar 2018, 16:50:16 CET schrieb Klaus Goger:
> Enable the NXP SGTL5000 audio codec on the RK3399-Q7 EVK baseboard
> Haikou.
>
> The i2s0_2ch_bus definition is only done in the SoM dtsi as it is
> missing the LRCK_RX pin (that is used otherwise) and therefore not
> generic enough for the SoC dtsi.
>
> Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
as we talked about today at Fosdem, please add the changes as below
> + i2s0_sound {
nit: is20-sound
[...]
> regulator-name = "vcc5v0_otg";
> regulator-always-on;
> };
> +
> + vdda_codec: vdda-codec {
> + compatible = "regulator-fixed";
> + regulator-name = "vdda_codec";
> + regulator-boot-on;
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
vin-supply, so that the regulator-tree becomes an actual tree?
> + };
> +
> + vddd_codec: vddd-codec {
> + compatible = "regulator-fixed";
> + regulator-name = "vddd_codec";
> + regulator-boot-on;
> + regulator-min-microvolt = <1600000>;
> + regulator-max-microvolt = <1600000>;
vin-supply?
> -&i2s0 {
> - status = "okay";
> - rockchip,playback-channels = <8>;
> - rockchip,capture-channels = <8>;
> - #sound-dai-cells = <0>;
> - status = "okay";
> -};
> -
please do the move of the &i2s0 block in a separate patch
> @@ -461,6 +469,23 @@
> };
> };
>
> + i2s0 {
> + /*
> + * As Q7 does not specify neither a global nor a RX clock for I2S these
> + * signals are not used. Furthermore I2S0_LRCK_RX is used as GPIO.
> + * Therefore we have to redefine the i2s0_2ch_bus definition to prevent
> + * conflicts.
> + */
> + /delete-node/ i2s0_2ch_bus;
> + i2s0_2ch_bus: i2s0-2ch-bus {
> + rockchip,pins =
> + <RK_GPIO3 RK_PD0 RK_FUNC_1 &pcfg_pull_none>,
> + <RK_GPIO3 RK_PD2 RK_FUNC_1 &pcfg_pull_none>,
> + <RK_GPIO3 RK_PD3 RK_FUNC_1 &pcfg_pull_none>,
> + <RK_GPIO3 RK_PD7 RK_FUNC_1 &pcfg_pull_none>;
> + };
> + };
> +
please keep the comment but make this an
&i2s0_2ch_bus {
rockchip,pins =
}
as overriding only a single property doesn't require the /delete-node/
magic.
Thanks
Heiko
prev parent reply other threads:[~2018-02-09 18:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-03 15:50 [PATCH v2 0/2] arm64: dts: rockchip: enable I2S codec on rk3399-puma-haikou Klaus Goger
2018-02-03 15:50 ` [PATCH v2 1/2] arm64: dts: rockchip: add i2s0-2ch-bus pins on rk3399 Klaus Goger
2018-02-03 22:02 ` Heiko Stuebner
2018-02-03 15:50 ` [PATCH v2 2/2] arm64: dts: rockchip: enable I2S codec on rk3399-puma-haikou Klaus Goger
2018-02-09 18:52 ` Heiko Stuebner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2448065.tRKBKgXtGg@phil \
--to=heiko@sntech.de \
--cc=klaus.goger@theobroma-systems.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox