[PATCH v2 9/9] ARM: imx6q-sabrelite: add audmux support
Shawn Guo
shawn.guo at linaro.org
Thu Feb 2 19:32:27 EST 2012
On Thu, Feb 02, 2012 at 10:12:08AM +0800, Richard Zhao wrote:
> - enable audmux in dts
> - enable audmux in Kconfig
>
> Signed-off-by: Richard Zhao <richard.zhao at linaro.org>
> ---
> arch/arm/boot/dts/imx6q-sabrelite.dts | 4 ++++
> arch/arm/boot/dts/imx6q.dtsi | 2 ++
> arch/arm/mach-imx/Kconfig | 1 +
> 3 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts
> index 3a9d32c..5cd6698 100644
> --- a/arch/arm/boot/dts/imx6q-sabrelite.dts
> +++ b/arch/arm/boot/dts/imx6q-sabrelite.dts
> @@ -41,6 +41,10 @@
> status = "okay";
> };
>
> + audmux at 021d8000 {
> + status = "okay";
> + };
> +
> uart2: uart at 021e8000 {
> status = "okay";
> };
> diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi
> index 263e8f3..b0ae495 100644
> --- a/arch/arm/boot/dts/imx6q.dtsi
> +++ b/arch/arm/boot/dts/imx6q.dtsi
> @@ -527,7 +527,9 @@
> };
>
> audmux at 021d8000 {
> + compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
> reg = <0x021d8000 0x4000>;
> + status = "disabled";
> };
>
> mipi at 021dc000 { /* MIPI-CSI */
> diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> index 4defb97..1aec9c1 100644
> --- a/arch/arm/mach-imx/Kconfig
> +++ b/arch/arm/mach-imx/Kconfig
> @@ -835,6 +835,7 @@ comment "i.MX6 family:"
> config SOC_IMX6Q
> bool "i.MX6 Quad support"
> select ARM_CPU_SUSPEND if PM
> + select ARCH_MXC_AUDMUX_V2
The symbol has been removed by patch #7. Why do you need to select
it here?
Regards,
Shawn
> select ARM_GIC
> select CPU_V7
> select HAVE_ARM_SCU
> --
More information about the devicetree-discuss
mailing list