Re: [PATCH 2/2] arm64: dts: rockchip: enable rk809 audio codec on the rk3568 evb1

From: Heiko Stuebner
Date: Tue Feb 22 2022 - 18:11:47 EST


Hi,

Am Dienstag, 22. Februar 2022, 18:50:04 CET schrieb Michael Riesch:
> Enable the Rockchip RK809 audio codec on the Rockchip RK3568
> EVB1. This requires the VCCIO_ACODEC voltage regulator to be set
> to always on.
>
> Signed-off-by: Michael Riesch <michael.riesch@xxxxxxxxxxxxxx>

[...]

> @@ -282,6 +301,7 @@ regulator-state-mem {
>
> vccio_acodec: LDO_REG4 {
> regulator-name = "vccio_acodec";
> + regulator-always-on;

As this seems to supply the codec (in the rk809?) shouldn't the
sound part model that relationship and handle regulators
instead of requiring an arbitary regulator to be always on?


Heiko

> regulator-min-microvolt = <3300000>;
> regulator-max-microvolt = <3300000>;
>
> @@ -366,6 +386,10 @@ regulator-state-mem {
> };
> };
> };
> +
> + codec {
> + mic-in-differential;
> + };
> };
> };
>
> @@ -386,6 +410,11 @@ touchscreen0: goodix@14 {
> };
> };
>
> +&i2s1_8ch {
> + rockchip,trcm-sync-tx-only;
> + status = "okay";
> +};
> +
> &mdio0 {
> rgmii_phy0: ethernet-phy@0 {
> compatible = "ethernet-phy-ieee802.3-c22";
>