Message ID | 20190329064924.8728-2-andrew.smirnov@gmail.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Commit | 8979117765c19edc3b01cc0ef853537bf93eea4b |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 74C3618A6 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 29 Mar 2019 06:49:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D84728753 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 29 Mar 2019 06:49:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 520B628E20; Fri, 29 Mar 2019 06:49:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 023BB28753 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 29 Mar 2019 06:49:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yp9mHLNvnVaJC6ltYC9Zbn4in3Yn6MzsxPnFLqx6p4A=; b=M15J24JZncI4+n /gWbamMaNitIDSF85rVhQjJRARlERl3bow83IXWI8dRsMlfu2gbyWQrtAZclPVcJxNAjoCtTv48C1 nfd5KgJdrCM3WaYAg6ubuo9eHvAWu28GxcaE8+SfA8Px1v31ngdWpTSzUlGwLC3iXxXP0+JY9bi5F oTIeL12bCgzsjZQbgz6vpnnV5Je63HnEGjP0BU4/Y0oBk5kVJwOLOukQokRycqNzmw1K6cvaS27hD lYym/bSH0FOAh+tT6cDwlAbpIrJA/YjGJ2/nIxREm+Dn+4q7icqfCkC0axNY4xF27uBZC8jC091Nw w9S5p/CT81cJUTjerTxw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9lKu-0004GA-HZ; Fri, 29 Mar 2019 06:49:56 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9lKc-0003x0-4D for linux-arm-kernel@lists.infradead.org; Fri, 29 Mar 2019 06:49:39 +0000 Received: by mail-pl1-x642.google.com with SMTP id m10so551412plt.10 for <linux-arm-kernel@lists.infradead.org>; Thu, 28 Mar 2019 23:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ATUitjO3l5PbwZI7xwdst/n1EivnhW4ELZtfYtpsmzw=; b=mXVa01cBPZ7ASZa37qhHs4ST7gC2TNZy2CJhdh58DleRfCAP5gO4/Gj0HF4UhfotyW dLOckldShqSGLe45uZYTabqXJ7AeBliYVfzcRkDT6llDdzcSEIFoTNbsknh3g8mXCKYM cu6GdE749wjKCS/dl+3vcMExs0my2l0IVThw1yiR33vxNPuAuB/yJKeoOarXtv3tC5gh sxCL+sYFdFyZb+9l8FgrEudBO6Vzqx4X0Sf0B7tFN7YqAYZSAd40G8OshNNhGTQhvrUF Mq5AWfsQtuMHddOvpWqbrxvn6JprOWzNOUOMQ8kR84+nu9qjJPP9EWAlEGVtmb7ib7fM nyHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ATUitjO3l5PbwZI7xwdst/n1EivnhW4ELZtfYtpsmzw=; b=MjBgmU6zjsV8CEMOu/o9RGyL7ruKy/l+TWZ3FGs+NAaaILTiy6KGrgGNSomCQDm9+J ZO+vgELz426gFgYaGVNf3L41UamcFvQa0DoIM71umtLW5XhzK2ElIzyrJz2rpBBQPo2F XrLTNOl+OM30fY3SbTKipv6r43c85lvJqrg0CWZQ4rmKV4FgxaMnVIW1LL/jLTH02spK RntVj/FoNvQlQddEhCm4VU4pjXWUNXGtEYsnQJo5oA4Aqb8KexCX7bF3MASDdmqDaHTs ZyUcLrybFSHJuN6BvRQBEHSKjjYx9Bhkt54WsAJWWUHexHZV//iW9jvGkgKGn6TVmPzV wMnQ== X-Gm-Message-State: APjAAAXeBIHvLX0lUDjT1trgGxW32aGldjszs9QsGwyMMYiBjF8iRssN 5d/chjEi0K3LD4IeWpA9oYY= X-Google-Smtp-Source: APXvYqzV0tPHbLG88WNKysL3Wa8O359cTEJVEk9eVaBs+hzI7yM83kE12caFJk5WxVMmsfMrp6Spow== X-Received: by 2002:a17:902:526:: with SMTP id 35mr44501356plf.276.1553842177646; Thu, 28 Mar 2019 23:49:37 -0700 (PDT) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id i5sm1602818pfd.16.2019.03.28.23.49.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Mar 2019 23:49:36 -0700 (PDT) From: Andrey Smirnov <andrew.smirnov@gmail.com> To: Shawn Guo <shawnguo@kernel.org> Subject: [PATCH v3 2/9] ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG as "ipg" clock to SDMA Date: Thu, 28 Mar 2019 23:49:17 -0700 Message-Id: <20190329064924.8728-2-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190329064924.8728-1-andrew.smirnov@gmail.com> References: <20190329064924.8728-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190328_234938_163214_450B7EB0 X-CRM114-Status: GOOD ( 13.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Andrey Smirnov <andrew.smirnov@gmail.com>, Angus Ainslie <angus@akkea.ca>, linux-kernel@vger.kernel.org, Chris Healy <cphealy@gmail.com>, Fabio Estevam <fabio.estevam@nxp.com>, linux-arm-kernel@lists.infradead.org, Lucas Stach <l.stach@pengutronix.de> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[v3,1/9] ARM: dts: imx6qdl: Specify IMX6QDL_CLK_IPG as "ipg" clock to SDMA
|
expand
|
diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index df0c59519886..b16a123990a2 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -820,7 +820,7 @@ compatible = "fsl,imx6sx-sdma", "fsl,imx6q-sdma"; reg = <0x020ec000 0x4000>; interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clks IMX6SX_CLK_SDMA>, + clocks = <&clks IMX6SX_CLK_IPG>, <&clks IMX6SX_CLK_SDMA>; clock-names = "ipg", "ahb"; #dma-cells = <3>;
Since 25aaa75df1e6 SDMA driver uses clock rates of "ipg" and "ahb" clock to determine if it needs to configure the IP block as operating at 1:1 or 1:2 clock ratio (ACR bit in SDMAARM_CONFIG). Specifying both clocks as IMX6SX_CLK_SDMA results in driver incorrectly thinking that ratio is 1:1 which results in broken SDMA funtionality. Fix the code to specify IMX6SX_CLK_IPG as "ipg" clock for SDMA, to avoid detecting incorrect clock ratio. Fixes: 25aaa75df1e6 ("dmaengine: imx-sdma: add clock ratio 1:1 check") Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Cc: Angus Ainslie (Purism) <angus@akkea.ca> Cc: Chris Healy <cphealy@gmail.com> Cc: Lucas Stach <l.stach@pengutronix.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Shawn Guo <shawnguo@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm/boot/dts/imx6sx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)