Message ID | 20190327063451.25629-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 AF1A31390 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 27 Mar 2019 06:35:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 940E528A29 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 27 Mar 2019 06:35:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 86C5128BF8; Wed, 27 Mar 2019 06:35:24 +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 32ACD28A29 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 27 Mar 2019 06:35:24 +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=9d1VfwgIdcMIp+QHW37XlvhHRmp8k82GPYrd0rvFaL8=; b=mK7HGHSUYICZCw bxVqCq1L6OQSw+QpKYQb+IUZ4/6i8Ds/RZOydK/1x3BczkD6sdzMW0Vrx72IYbczRNgb3yW2TrHJn YY0G47thEGRHESAd2v0heBaj1kEtUlakbhuPgzju2t5F2R+2jNRHioy3wrA7R4TJtbOQkQ8MJMTKP igJ8QaBwnkvFCzycrYLxnrMEW5bx345W40tfu2kazUn/POS88qS3hXNQoZn+2GLGu3bkwGxTQ8Emj Z8WN1LhithHXhBO9bKNZ8PwTTbDqGfjAD0jeyEoFOLDdAT4ocN823RqSu0AMmeX5bmiBAkcGz1M+K S9RVigNg16LM9FeNNPHQ==; 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 1h929c-0005Ji-EW; Wed, 27 Mar 2019 06:35:16 +0000 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h929R-0004Qb-Gn for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2019 06:35:06 +0000 Received: by mail-pf1-x443.google.com with SMTP id y13so3128045pfm.11 for <linux-arm-kernel@lists.infradead.org>; Tue, 26 Mar 2019 23:35:05 -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=8peri8YrjObG6mnV61AuNYFEhPQ7twqVoziYh+diY6w=; b=jRX1l50gpnDO44z1/f2GOK8+1xw0+LwdOOCXBhHbSdQMYjXk9QGVaIqhFaxu2XQohT NJ8dzSAZq+8WuM9Kbzd2b3tDpeEWnltnUsnJEYSnROVluk6Qopy63AYe5A0IRec8Vfbm ke01ZUBF4AsdXSFvjfO5oMei8kFPAN8YufWe1P/B5fCTMDRYRZaBU3Qomw3uMHayj/hb pc/+noZBun3L7zP6ow99qmN1DPh///LilRzuJ5wPGOzQDwtavishSr2flEoZdGeelPX5 TI32cPlV8ZJsGDBsyPDg5YbBBCAe7I6O5tFMN9twKrpYwgb+KYIcCXamdXDoBl9hzYQE rkYQ== 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=8peri8YrjObG6mnV61AuNYFEhPQ7twqVoziYh+diY6w=; b=Gl2FQohjn7S4sI/Xqs8YtFZ95ghNRkMytE3Sbow8z+dwWE59pJMI5nQZ+yhkKkLijY IN3Z7WkY8BnnmsbhrPbxpOfT0jKDWNT2UseUF7q3RZ9F9c7/AqCtfHrpieshDb5jvWp2 3H1dryO1x69JlKRaxB7faC+hQ/LnsV0+agbwsW2bs7uixqghOsCSALhz8CF1IWtkhFDg 5ERoPvpV0v+v+KUzxhN/iE5fsC7R/1NQrSTwLzMb5uhmSsPjymV5C3x4wk8wLuYKlBsK HbWV3nvP9EwxFdN3G4vnjGdOWfWs4Nbw/rFsXEg/7aeBGitlS7FmdY5Kq6W3X1In4u1o CsJw== X-Gm-Message-State: APjAAAXaY0CV5w4EN9SRV+lZrZBroAWMHPbDQoBCCkoXd2QqO/eKGbC3 iV7G6HVJix6XSJVtkeYMQJk= X-Google-Smtp-Source: APXvYqyQPZqriXYwvMYuesQUEu6Ora8blYjEhoXUBw1AST2Hn3uM16LQeO86E6eF5Dag4ArWEq3HNQ== X-Received: by 2002:a63:f310:: with SMTP id l16mr32299019pgh.72.1553668504783; Tue, 26 Mar 2019 23:35:04 -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 k1sm19950258pfo.121.2019.03.26.23.35.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Mar 2019 23:35:03 -0700 (PDT) From: Andrey Smirnov <andrew.smirnov@gmail.com> To: Shawn Guo <shawnguo@kernel.org> Subject: [PATCH v2 2/3] ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG as "ipg" clock to SDMA Date: Tue, 26 Mar 2019 23:34:50 -0700 Message-Id: <20190327063451.25629-2-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190327063451.25629-1-andrew.smirnov@gmail.com> References: <20190327063451.25629-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-20190326_233505_561133_D7E5F08B X-CRM114-Status: GOOD ( 13.86 ) 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 |
[v2,1/3] 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 result in driver incorrectly thinking that ratio is 1:1 which results in broken SDMA functionality. 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(-)