Message ID | 20190329064924.8728-9-andrew.smirnov@gmail.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Commit | b7b4fda2636296471e29b78c2aa9535d7bedb7a0 |
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 4217C14DE for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 29 Mar 2019 06:51:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D50A28EB8 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 29 Mar 2019 06:51:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 218A4290D9; Fri, 29 Mar 2019 06:51:21 +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 C62A928EB8 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 29 Mar 2019 06:51:20 +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=VuNuuE87xyzQ0U+nTztRSrNfHApWEtlISYw03d9exvA=; b=u1zerqVGUM4GW+ CCxMWcix20hahp2hbUzpOHgtZmDUkWH2bOIYIJwFgVGPWPM1Nmzm5RNJLcpYUTKN2sX7/t4NxUX5S zFg9UP4wdN8jMeK5IA08eUvQAjJAbeYTro3VG2mtHzqwLeaiwurvqsGluppHgbdYqSkw++Y5gOm0l npeK15Y5rcigpzh7cW+Xr5t37Hz0Yw1RUUFoBgeyjXwn77xPo6ZRt7aB2B2Ud3BZN2rCNhosOS+Hx /T5f/dX1cRUZnWPMje62+S0gFFSq7EaZ7g8aAX2bjrncKAA45wTnFEHKod98Ks4oNyZSrhCJSkDLY lC4LsJ0RGh/v5OKppdSg==; 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 1h9lMA-0007FJ-Gg; Fri, 29 Mar 2019 06:51:14 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9lKl-00049o-Vs for linux-arm-kernel@lists.infradead.org; Fri, 29 Mar 2019 06:49:52 +0000 Received: by mail-pg1-x544.google.com with SMTP id q206so736995pgq.4 for <linux-arm-kernel@lists.infradead.org>; Thu, 28 Mar 2019 23:49:47 -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=nLcLvDQ0tBdUld5eZ44Ef7wclD7DpyhXGUY4yFYZw3M=; b=q1qTbgw+Ievjh/GvVSVJX0qEad3vtX70IL71heAynHc2rhGt/qNzbRuHmUkgkjQt6x Bi8UCCKhfeHSXXJXRxJwYBL0OmKRDCbJwyZugFqzZKBjLtjS0AaA+KZqt6T9E5czSeOB AcWT40BDH97GlAqyuWCxEKMfjP52m5Jy/I0HJpmStWCsWqlKliVJIO9RkPPxZDiTbPN9 g1/devdDCQGvUQbeBFDHq3GDLsDYZUfDuyxeW7r8CvNX+L8WHlHaBAzpfXxW3IvnNWly pceLk1RAiTHKPGpz59T4Zss701LtA7Soep88KfhF0euDWGru62bzJpSavfmRjQifJoyg zTPQ== 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=nLcLvDQ0tBdUld5eZ44Ef7wclD7DpyhXGUY4yFYZw3M=; b=mR6dNVciEJ1ugBuS7N5EeWIOTL+H8xJVzu7yVdsLMvY3s2tbiv/b2WY93mNjxBcLEg F2I8Ev1XCYG+AWeV2QRhyd2qb+cAbrT3ViGAcSdroPneZ86iDvj73uolk7sVJUgLrERG 2iSdk2dl24Oz+V7ESEl7VF+2aII5u6bXIpzPgQiLhst9JW6PhTqfUFdxWZMqKZL7VCDn d+ebrV+NhoejJqvnT4z0yLFXC/Arq1kzggsgSry/u/t5GMnCGrs/R4Hx0o2NycEQKfSz z3mTf6KDoq+BmW1n+uuWW5Dj0nPMyG9OTm6ovlJzKAo9BRIky4YJOvwqYf+yZdBGMKwG +Rfg== X-Gm-Message-State: APjAAAWliQ/3r8b9MzEnYW5E4Uex/fo3a5RYHz6erL7RjxGlVBF4TjuL fk1dmAqIXYsItYGpX+u/MP0= X-Google-Smtp-Source: APXvYqz5Fm6NvMET8kFLBgZhRHarg/+O+9aIwtUQeHtsyhroZoEY2FTxmmOEg+5tC++QpdIk3gu05w== X-Received: by 2002:a65:64c8:: with SMTP id t8mr16459312pgv.248.1553842187291; Thu, 28 Mar 2019 23:49:47 -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.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Mar 2019 23:49:46 -0700 (PDT) From: Andrey Smirnov <andrew.smirnov@gmail.com> To: Shawn Guo <shawnguo@kernel.org> Subject: [PATCH v3 9/9] ARM: dts: imx50: Specify IMX5_CLK_IPG as "ahb" clock to SDMA Date: Thu, 28 Mar 2019 23:49:24 -0700 Message-Id: <20190329064924.8728-9-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_234948_288224_3EBB7325 X-CRM114-Status: GOOD ( 13.64 ) 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/imx50.dtsi b/arch/arm/boot/dts/imx50.dtsi index 5dd61bff3b76..0bfe7c91d0eb 100644 --- a/arch/arm/boot/dts/imx50.dtsi +++ b/arch/arm/boot/dts/imx50.dtsi @@ -430,7 +430,7 @@ reg = <0x63fb0000 0x4000>; interrupts = <6>; clocks = <&clks IMX5_CLK_SDMA_GATE>, - <&clks IMX5_CLK_SDMA_GATE>; + <&clks IMX5_CLK_AHB>; clock-names = "ipg", "ahb"; #dma-cells = <3>; fsl,sdma-ram-script-name = "imx/sdma/sdma-imx50.bin";
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 IMX5_CLK_SDMA results in driver incorrectly thinking that ratio is 1:1 which results in broken SDMA funtionality. Fix the code to specify IMX5_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/imx50.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)