Message ID | 20190329064924.8728-6-andrew.smirnov@gmail.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Commit | cc839d0f8c284fcb7591780b568f13415bbb737c |
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 68A5C139A for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 29 Mar 2019 06:50:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5341A290CF for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 29 Mar 2019 06:50:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4766A290D0; Fri, 29 Mar 2019 06:50:59 +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 DE96D290CF for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 29 Mar 2019 06:50: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=olsY/LviXgpSHyMTBX3/ueoH1L00+2aQQNJbZCDPRSk=; b=DqVW2il9dVUeM1 YXFVGLZauaMIGQrmNgmxxJ1Qde5Fi9Y9FDtFEJuIpwFqn64/iPGO2Zv3TdpqQaSFhrNM0ZVffSGJr 1YMRLsKlCoixzOmnL3/pEaa0v0lacobQcmYDpmdLKJFcCU/9P2cL2ZEXQX/ekQgh6r2Hgq2PCgtSm E+IeqQ3PTuj6BoNhVVI2YpgK6P++2e9wfNL2TxylrIHxd0ED8R4rausZjtXomVTdigLpD5wCHpDF5 7x+ZpKPszTOpkuid7UXJaRlWdK88wMOAeS2sv//895eON0nSy3/Zcc06ryLueHS1c8fGjMtiJbUgt mwFhzZj1C702qy3kZ2HA==; 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 1h9lLo-0006k8-6t; Fri, 29 Mar 2019 06:50:52 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9lKh-00042p-Sr for linux-arm-kernel@lists.infradead.org; Fri, 29 Mar 2019 06:49:50 +0000 Received: by mail-pl1-x644.google.com with SMTP id y6so544907pll.13 for <linux-arm-kernel@lists.infradead.org>; Thu, 28 Mar 2019 23:49:43 -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=78oAD7dh5w277bxAutRdh7nAgrOQBYKs5ByiPHxGBA8=; b=u2EIPsDCRnexkBkXBBhY4+QyGfu7+OqxmXr8/rIvO07APnvnwDIY3WCbTidyJx2HGI ekDympdtLmlCkbuaftjOHfQZ/4Xnh3UwpZSKUj6N535RUxAODbKS9zu/LaId1GfUEUGI 565KsprppJegS6X5aP9Z5ZBXxb6IM/w07DR0wo2OeIX0cccBheClsOixISgmUjmbmdLR 0up5jC1ne7jie0t58f2whITfkfoRahC3J+TmTcRytOzuM9VV8jqhLXufrWFNW2kiXeI6 vbWzgci+2p5yCJXy3KCaN2UXgRWc6SSAdzKtI6r4n8Uv1EIhr6mwAXAJuCJ2CqfeDv9j D9sw== 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=78oAD7dh5w277bxAutRdh7nAgrOQBYKs5ByiPHxGBA8=; b=ICXL59ykHNI4yqEDsnbRjNdL+K/FXS9/FhJiBJvdWRAjH5iILrO/Q/KVRujE2f/FDF 7bebobDfC63xPj97J8wx7XpMSCLc8MATiaazpX+JnM0ImIVqwV285M/tTRfP8wIMaAQo 4VcwiqbQu3YIHp4VJzoHybc17oC5/LnRQ2F6vFPF3iaQoFA1nkv79iW8N5WCpoovMsT1 h6h82du+hB02qaI2gmaDAMdaqxjpgdCtIoi8yQ1JdSXYFNMWXQdbi6dK+4Tz46ELj+r3 TQX804yYorXJceZ7XZUD7ukk/91aWrLLBxaxXzvPvwObNq9C+BQaZCTbbL//bEtjOdxx bWYg== X-Gm-Message-State: APjAAAV/GdGXI9P2Sg5MYg4hm04r2ajtCsFlk/S7jCqwi+XCQ/MjRpmg PAsxwmAnfcXmdv9y+/l8vjk= X-Google-Smtp-Source: APXvYqynp+0OiZazdXehyCana77TpGKT7NkRiOb6NE8phdvYxlXMhscTeH9ANLbK0A1N99HYJQWHpQ== X-Received: by 2002:a17:902:523:: with SMTP id 32mr45978430plf.249.1553842183045; Thu, 28 Mar 2019 23:49:43 -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.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Mar 2019 23:49:42 -0700 (PDT) From: Andrey Smirnov <andrew.smirnov@gmail.com> To: Shawn Guo <shawnguo@kernel.org> Subject: [PATCH v3 6/9] ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG as "ahb" clock to SDMA Date: Thu, 28 Mar 2019 23:49:21 -0700 Message-Id: <20190329064924.8728-6-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_234944_386338_5E6C1748 X-CRM114-Status: GOOD ( 13.60 ) 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/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi index 0ad5d507abec..9ddbeea64b72 100644 --- a/arch/arm/boot/dts/imx6sl.dtsi +++ b/arch/arm/boot/dts/imx6sl.dtsi @@ -748,7 +748,7 @@ reg = <0x020ec000 0x4000>; interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6SL_CLK_SDMA>, - <&clks IMX6SL_CLK_SDMA>; + <&clks IMX6SL_CLK_AHB>; clock-names = "ipg", "ahb"; #dma-cells = <3>; /* imx6sl reuses imx6q sdma firmware */
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 IMX6SL_CLK_SDMA results in driver incorrectly thinking that ratio is 1:1 which results in broken SDMA funtionality. Fix the code to specify IMX6SL_CLK_AHB as "ahb" 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/imx6sl.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)