Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1080767ybt; Wed, 17 Jun 2020 23:20:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCpPlMqvWjd6HmP0gMtQAp/EeFvf0Fc6JRx9dzTz2djDfWrpkCHqc2en2x3A/wdulGn9Ga X-Received: by 2002:a17:906:19d3:: with SMTP id h19mr2503989ejd.106.1592461218466; Wed, 17 Jun 2020 23:20:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592461218; cv=none; d=google.com; s=arc-20160816; b=UgZG+8HLrjVBYVId+rvSlo+ymYuJiSB8n0TFSvQ7DxfbQMfsjGKDCdKyOSildAC02P SX+xkTeyjMOJM4GTee27AVdrVZJTDCYLdJqTorIJnXR0F0SPLxDvaMjT4mruGuQndu6S OXZrmssXBvwtHczE55mNRp3Hpe6RnJiQ2cy+5Wt6cok97YVC0PeXXd/Y8ziym5NGLBfQ 5LqBIDW71UwMszNP9A1dVPkNSXQCxZPOb085MMJ3qQojQSjvM4bDBj3KxMKtbc7RLgX1 sz+s9k2EJcju1gEIJrlQyT8WU1TBuWvo0wFzo2sbaHik5H+1VTnpXOP5pxpTEn+QbaoV YgDg== 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=XeTcewgM/Ho1UUIYSJsj8rci7Xg7O+D6jyzIHvrHfeU=; b=LC6yRU99Jz4U9tmwK39SDLi1R7MLvSkxs7MSxqGaeKs/TOeOSBGmmyzl/FW1WxyQGD NujpSkTA+jIoDOBXwLwVT8+u5AMz25XmLyj9e3bxb6u6wMVcaRLRY4EDSxX5RdpsNK8H GILwvLbHPVDX24KY00x02LQjB8+v433X8dqSvjypUVWTFzu6LaCLVjSJGdHzm9hcRXYE qcMoei/i67IaeRrO3FiwwjJGmG2tIjqaBGVs+zK7kt89DYDw4ztID5fQNcbKLo7swsW/ RikVYc4cJRtGMD/tx7UadgvZ6NIn/Vf6sLKbirKmvhDrHwhYeF3HBzh1X9aleSiE0gvX Tbaw== 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 qq18si1397804ejb.195.2020.06.17.23.19.56; Wed, 17 Jun 2020 23:20: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 S1727842AbgFRGPG (ORCPT + 99 others); Thu, 18 Jun 2020 02:15:06 -0400 Received: from inva021.nxp.com ([92.121.34.21]:53278 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727812AbgFRGPD (ORCPT ); Thu, 18 Jun 2020 02:15:03 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 67F3E200C1E; Thu, 18 Jun 2020 08:15:01 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 97C66200068; Thu, 18 Jun 2020 08:14:57 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id F302440302; Thu, 18 Jun 2020 14:14:51 +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 1/5] ARM: dts: imx6sx: Enable ASRC device Date: Thu, 18 Jun 2020 14:03:45 +0800 Message-Id: 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 compatible string, update the clock table, add fsl,asrc-rate and fsl,asrc-width property. Signed-off-by: Shengjiu Wang --- arch/arm/boot/dts/imx6sx.dtsi | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 94e3df47d1ad..7d4856ffd239 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -390,18 +390,28 @@ }; asrc: asrc@2034000 { + compatible = "fsl,imx6sx-asrc", "fsl,imx53-asrc"; reg = <0x02034000 0x4000>; interrupts = ; - clocks = <&clks IMX6SX_CLK_ASRC_MEM>, - <&clks IMX6SX_CLK_ASRC_IPG>, - <&clks IMX6SX_CLK_SPDIF>, - <&clks IMX6SX_CLK_SPBA>; - clock-names = "mem", "ipg", "asrck", "spba"; - dmas = <&sdma 17 20 1>, <&sdma 18 20 1>, - <&sdma 19 20 1>, <&sdma 20 20 1>, - <&sdma 21 20 1>, <&sdma 22 20 1>; + clocks = <&clks IMX6SX_CLK_ASRC_IPG>, + <&clks IMX6SX_CLK_ASRC_MEM>, <&clks 0>, + <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>, + <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>, + <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>, + <&clks IMX6SX_CLK_SPDIF>, <&clks 0>, <&clks 0>, + <&clks IMX6SX_CLK_SPBA>; + clock-names = "mem", "ipg", "asrck_0", + "asrck_1", "asrck_2", "asrck_3", "asrck_4", + "asrck_5", "asrck_6", "asrck_7", "asrck_8", + "asrck_9", "asrck_a", "asrck_b", "asrck_c", + "asrck_d", "asrck_e", "asrck_f", "spba"; + dmas = <&sdma 17 23 1>, <&sdma 18 23 1>, + <&sdma 19 23 1>, <&sdma 20 23 1>, + <&sdma 21 23 1>, <&sdma 22 23 1>; dma-names = "rxa", "rxb", "rxc", "txa", "txb", "txc"; + fsl,asrc-rate = <48000>; + fsl,asrc-width = <16>; status = "okay"; }; }; -- 2.21.0