Message ID | 20190329064924.8728-5-andrew.smirnov@gmail.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Commit | c5ed5daa65d5f665e666b76c3dbfa503066defde |
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 E4F35139A for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 29 Mar 2019 06:50:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CFE4428ECE for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 29 Mar 2019 06:50:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C426028F8F; Fri, 29 Mar 2019 06:50:38 +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 67E0228F2F for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 29 Mar 2019 06:50:38 +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=xTrVU6I+HZM98JF1WIniMI7k3LbhgtPj1BRq9J2mMbw=; b=QY4TXeMaCTZjwm I+9UgXJRziQMjwyCfH4tT/5uEPL+Fc+Rz91jMBo0w4ETr+OMA2tJmC4Iyrd2fFq6QW56x33+qBqQT geh9+52+e8D8JfkuqrixIyLE6OawvyJZz8TXOSgbz/Bl1EVG6inYHO4iP0RAAwMJ3VYSPaB4XKSux D/d5c+2LTvRK1hO+aqUntv2gieiSIUMFKemYZxlKpeXDahaoXoeFX5edcca0LBwoX0g38m69KH7B0 5JtIzu0OkvZy8SPST+LvwNfVO99F6lXo3og5FcyzojGbgrNUITcIDn4s9C6+Jei+g2gdVJWa8zvQ1 Tm3JTnScxxqx80DHsGzA==; 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 1h9lLS-0006Bv-S5; Fri, 29 Mar 2019 06:50:30 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9lKg-000412-Av for linux-arm-kernel@lists.infradead.org; Fri, 29 Mar 2019 06:49:45 +0000 Received: by mail-pl1-x641.google.com with SMTP id y6so572398plt.1 for <linux-arm-kernel@lists.infradead.org>; Thu, 28 Mar 2019 23:49:42 -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=klOQQder074G6QHLH5zIbrfbm39+4L8f6wWRAdAHSDY=; b=A3T01U2LaJJfUFIHi9Uynzel0Se7kfMqns7j3aJ+mcXBvDMYUrEKj7kFtywWt3UauZ jjghDJ2GN61ejYubBhsRcU8D6i78y5p1Y5nvY6tripyM1xnVJ4Y2/u+cFN4fwi2LiKIe v6IojykzLkuSnHTrL/lC9ZF5qcwy0FVm0fOuJfP+lIvI517RSAyjUhxilSUQFbWmhwaB 9wy/BFPbmyMwk1wPwWkI9t0jmTzMOcVmQi1kfLJkZult0Os9FbEbLLMwTzKL4w0cxLvg ZKCixyQegnm/AAVCHimWuuhbrMkHGYIYNtf+yCzsF7kaYGkjK8sD61jn3tRX0jvk0XZw WaYQ== 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=klOQQder074G6QHLH5zIbrfbm39+4L8f6wWRAdAHSDY=; b=UdFKK4gWwpEmbOMT3jdAQA0rM6GBFakoJvSJXJ+vpkG8bsIdSu67Ou6ZuMldaGjFan X29CyqUUAzFVeGy+qNBR0Elu0QBQGh/JZ8yPMPxo3ZZ6jSY5nw4PgDEPMMyzxTI/74Vw gWX37ktOAi76UxEK2msHMQ75xo2hGs342D/nUeioTy8Y/xdVBoz17qg5ETomUdRFKuMw U25D1lkdxhdvPUuC8eGlol47tjfSBrFbO/Jj+2ugpi6TF6FoGqhMggg+w8iK8T+b4YWe oA7PZ4jjfo6mgzZhvDxFLlZ2yC2lntygKqsEeG+No9CfbCHAVA+ddHLBeMTb1kE4RwTf /ahg== X-Gm-Message-State: APjAAAXLeaxWML4dBdsCUEpsM1rqQrBiFoorqX4IkPTZ2NW/CN3tU0bg uw+NSOulSh33hvE2oiMLs5U= X-Google-Smtp-Source: APXvYqxffam5Lj41/BYdtCA9pV8HcHSI25Yg6Yn5m7tFnacaLSC+0EkebK08KLGNmOwAJaHF4xJhoA== X-Received: by 2002:a17:902:70c8:: with SMTP id l8mr15461096plt.177.1553842181806; Thu, 28 Mar 2019 23:49:41 -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.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Mar 2019 23:49:41 -0700 (PDT) From: Andrey Smirnov <andrew.smirnov@gmail.com> To: Shawn Guo <shawnguo@kernel.org> Subject: [PATCH v3 5/9] ARM: dts: imx6sll: Specify IMX6SLL_CLK_IPG as "ipg" clock to SDMA Date: Thu, 28 Mar 2019 23:49:20 -0700 Message-Id: <20190329064924.8728-5-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_234942_802314_C417F4E0 X-CRM114-Status: GOOD ( 13.54 ) 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/imx6sll.dtsi b/arch/arm/boot/dts/imx6sll.dtsi index 62847c68330b..ed598d72038c 100644 --- a/arch/arm/boot/dts/imx6sll.dtsi +++ b/arch/arm/boot/dts/imx6sll.dtsi @@ -621,7 +621,7 @@ compatible = "fsl,imx6sll-sdma", "fsl,imx35-sdma"; reg = <0x020ec000 0x4000>; interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clks IMX6SLL_CLK_SDMA>, + clocks = <&clks IMX6SLL_CLK_IPG>, <&clks IMX6SLL_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 IMX6SLL_CLK_SDMA result in driver incorrectly thinking that ratio is 1:1 which results in broken SDMA funtionality. Fix the code to specify IMX6SLL_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/imx6sll.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)