Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1079257ybt; Wed, 17 Jun 2020 23:17:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwn4Yj1QqKyhpnGaDAj1X7tnuYmCzfKSYBRC7znDROV+2Yr8LEXBLlBm4dIvMunmtW3WIN6 X-Received: by 2002:a17:906:2dc7:: with SMTP id h7mr2597102eji.15.1592461038423; Wed, 17 Jun 2020 23:17:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592461038; cv=none; d=google.com; s=arc-20160816; b=Ci/hFaDeMjviJD3Dyy/BZb40/TGNM9QqJS4wnB2Rze+KsAxItwFW3VBLV2/XMeriq4 FQAoLfxM/XIiEl0SoJ+DL1b6gObDFc0JK1Y8qfhZkPvEp+ahJnU+4SHouiFAkd+wkZnb gHBP/aL/js6MY+j605xMtWDYMapMGjNb2hpp9Epqbew/pcVhYmopEmA/GZPHjSSt9rVT RniHymY/Ngo+XDnFrNaZRn9wbKQRKkPNX868PSDcufEdOZTd+nut2IOvOdoWqo/wBz8r HfYwV/9cGFBLzhgqhvz3Uki7wWbY5QECvAIfpkshT0FbT7Y/eoUiYsIMfBHRJZL/D3Mz e1Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:to:from; bh=3YIZf3r8cLuQ2JNtJfO+XW5hLgfSKjEOS5q/iLOSV1s=; b=shv5FEZOxxA6vO4nAx7HU9lNHYn64u3ZVOjJWSo2trm+2VbTH1V3R0Xyy8CRJFYPRd xo1O2/4/iBpLXdCLH63OO4wjKzh5u2/UVs0h4YVpJHoTeg/E39WA+AGA/Z3TSuG5UFyA pzrjcu0fx0ymoKylxDlWHiK8XBEi3EUOPxatsyZqRpsByHmqni7bMu43KSzOSF4xHryJ WGu9LOb+OdgneaMigEKGUFe+HxdHM7+eEMA9+cT+VYGqmqWgsRnWlG6zHSynK/f8/CyL efr6ghiSn5Whr67YvG1c2yF2wupvlUUzZSmmMvxicxr1Gg5JjxZzVqJM/jSapceDIUg8 BCQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h9si1556314edf.128.2020.06.17.23.16.56; Wed, 17 Jun 2020 23:17:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727858AbgFRGPH (ORCPT + 99 others); Thu, 18 Jun 2020 02:15:07 -0400 Received: from inva020.nxp.com ([92.121.34.13]:47232 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726964AbgFRGPF (ORCPT ); Thu, 18 Jun 2020 02:15:05 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 576C51A0E58; Thu, 18 Jun 2020 08:15:03 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 7ED171A0E44; Thu, 18 Jun 2020 08:14:59 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id CB493402CF; Thu, 18 Jun 2020 14:14:54 +0800 (SGT) From: Shengjiu Wang To: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/5] ARM: dts: imx6sx-sabreauto: Add SPDIF support Date: Thu, 18 Jun 2020 14:03:48 +0800 Message-Id: <11b9a66f521aade999731477282de99cbbf6b0ad.1592460381.git.shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add SPDIF support. Signed-off-by: Shengjiu Wang --- arch/arm/boot/dts/imx6sx-sabreauto.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts index 825924448ab4..772b8ac5d637 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts @@ -66,6 +66,13 @@ enable-active-high; vin-supply = <®_can_en>; }; + + sound-spdif { + compatible = "fsl,imx-audio-spdif"; + model = "imx-spdif"; + spdif-controller = <&spdif>; + spdif-in; + }; }; &anaclk2 { @@ -227,6 +234,12 @@ >; }; + pinctrl_spdif: spdifgrp { + fsl,pins = < + MX6SX_PAD_ENET2_COL__SPDIF_IN 0x1b0b0 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX6SX_PAD_GPIO1_IO04__UART1_DCE_TX 0x1b0b1 @@ -454,6 +467,14 @@ }; }; +&spdif { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_spdif>; + assigned-clocks = <&clks IMX6SX_CLK_SPDIF_PODF>; + assigned-clock-rates = <24576000>; + status = "okay"; +}; + &wdog1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_wdog>; -- 2.21.0