From patchwork Wed Apr 20 08:12:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 12819905 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC130C433F5 for ; Wed, 20 Apr 2022 08:13:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=GxWea2ufIjd35/HC9qi8NdzNigG/uKmMAL8u5biBMH8=; b=ddRIs2Sz35T5E/ aIk/zm1BaDkBkvisXutFc1dXHWQn+wWCQU78dtvQFBYyUfErlGSg1x4wRyfUxYvtGgOKgvrswLKoG r1vGYODrIZ8pKau6p1+zDDERAfP8sJmZKQH92pFumOJos5jB+ul2+AeZ2pfrQaRxtgXRXVHSWo3ey Qrxk9b87+CUyd4MUxozz+WlpMRh1M+phMJTGD5fQ6vu4GY452T5HPbsCsPX2qpfxpz/nCmgWrZUBV 8Ul01Gwx8/4dFdtD9q8Fwb0+nWQl7D9o6WjLKKpmSffTVBt2BirX1FJduMEnTiE/Rtk3+gcsOy57M IIbdqs/cUzTSKEyqI+FA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nh5Rl-0080XC-4Z; Wed, 20 Apr 2022 08:12:21 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nh5Ri-0080VM-7T for linux-arm-kernel@lists.infradead.org; Wed, 20 Apr 2022 08:12:19 +0000 Received: by mail-lf1-x136.google.com with SMTP id p10so1407405lfa.12 for ; Wed, 20 Apr 2022 01:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=E7zTyxJjHjKsT+HORnYo6QWvMSKgfPSY3B8B3QffjhY=; b=pgVZjGpWsE7nwm/Bnx/wDFx99mT055ZhJVjojUNcb36JfxksD14BTygydpAbVvwsJP l67APyfh81gT5fuAGUOYSZE4G+UbGZyIBZ/JsttaBSWPjhFtXP31Gg6qu4wUDMej0KqU G7zOYqUZWGErmPQz24x7CORFLKQktNVSTtgOduc3nrd8E7llbeX4IsfP5qasuP3O/IIM /bxv5FZlpZrJC44p0aPl8dB/QV+xgUePyXzp9mpnODocMiFki4nKeH0dosHXARrB5tfb kdD/ewWmlvh2fqgQRaklHVT6yHvDBfC0zZNnOw74NSFq+xn6hjnp8Rk//nDrmDwr195X t7Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=E7zTyxJjHjKsT+HORnYo6QWvMSKgfPSY3B8B3QffjhY=; b=T+0j3Y1Ivqdbv2FDaJpI7rDgXnLDKIWLjlioRsexceNraYzhg7bp2Gz8sohy+NRRQm AjNw6jNdGWwY0T8bsz1ACOTjhkkFMUAr87yNsELEjPogcGdXcfaMoAQ52p3+MI89kbhG 3fNf/SuQl/FohOgB2fpkAxkgUS35aCs+M5tr7WfVmEnd2Y33vzcIFbCzIRALXZXd2UwD uJU1qLDEN0rUOtrM2kTN/5uLQNHJEvO1v9n9oZdUkqGElGvr786sTfY3jrLmWDKmeAyb aeo/S5CZacs4+0hShTNP55USrsdvaQJrJda3svNhChVBKnv4UBPLP3iMwhQMBib8Fvxt PmRg== X-Gm-Message-State: AOAM531/iU8mcilyVxjYHIOO44XEuqy40eJK02pPmupkLl0krtmpzuVd 1T0j57A+fBr6Sr3sTfdYdgJo/OW5i6JOqocm X-Google-Smtp-Source: ABdhPJw9ko/sIhivBXB/j9GUs891PHs6dyyykK5PAmmbCsHgREv8OHDQDWn+ixkQrHmxyWKnSv09WQ== X-Received: by 2002:a05:6512:16a0:b0:443:3c9c:3d3e with SMTP id bu32-20020a05651216a000b004433c9c3d3emr14149163lfb.383.1650442333406; Wed, 20 Apr 2022 01:12:13 -0700 (PDT) Received: from shc.milas.spb.ru ([188.243.217.78]) by smtp.gmail.com with ESMTPSA id d4-20020a194f04000000b0046fde7d09e8sm1423268lfb.203.2022.04.20.01.12.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 01:12:12 -0700 (PDT) From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Cc: Shawn Guo , Alexander Shiyan Subject: [PATCH 1/5] ARM: dts: imx51: Add generic DMA bindings for UART nodes Date: Wed, 20 Apr 2022 11:12:02 +0300 Message-Id: <20220420081206.65083-1-eagle.alexander923@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220420_011218_321518_E2592C23 X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Updates UART nodes to adopt generic DMA bindings. Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/imx51.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx51.dtsi b/arch/arm/boot/dts/imx51.dtsi index 56c8d87864c3..1e20a6639e42 100644 --- a/arch/arm/boot/dts/imx51.dtsi +++ b/arch/arm/boot/dts/imx51.dtsi @@ -215,6 +215,8 @@ uart3: serial@7000c000 { clocks = <&clks IMX5_CLK_UART3_IPG_GATE>, <&clks IMX5_CLK_UART3_PER_GATE>; clock-names = "ipg", "per"; + dmas = <&sdma 43 5 1>, <&sdma 44 5 2>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -426,6 +428,8 @@ uart1: serial@73fbc000 { clocks = <&clks IMX5_CLK_UART1_IPG_GATE>, <&clks IMX5_CLK_UART1_PER_GATE>; clock-names = "ipg", "per"; + dmas = <&sdma 18 4 1>, <&sdma 19 4 2>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -436,6 +440,8 @@ uart2: serial@73fc0000 { clocks = <&clks IMX5_CLK_UART2_IPG_GATE>, <&clks IMX5_CLK_UART2_PER_GATE>; clock-names = "ipg", "per"; + dmas = <&sdma 16 4 1>, <&sdma 17 4 2>; + dma-names = "rx", "tx"; status = "disabled"; };