From patchwork Sat Mar 12 18:06:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12778913 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 smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 11244C433EF for ; Sat, 12 Mar 2022 18:06:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id F00CDC340F5; Sat, 12 Mar 2022 18:06:25 +0000 (UTC) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 59252C340EB; Sat, 12 Mar 2022 18:06:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 59252C340EB Authentication-Results: smtp.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f179.google.com with SMTP id m2so10351808pll.0; Sat, 12 Mar 2022 10:06:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Rg+SMFQ7I6btufFbQp88Hcx5Wyx4dzXyqKTTiQmvp0k=; b=RQvjp4ycwxIQwR2GBMP9qI1VmQoyYIfRKVaysG/rk2FXb6x/IlpVdi32uOnlSd3XTh EgduNBzRR9eZsOtgO42eW56lPYAP23OoBLGah1SzFCO8pikykHakY37ewwKPGNCR0w3U ff0pyrNivvpmD/M2Fqnf/ztr7CbxDdRBpglFZmakKAWBJqI2xF3Tl4XG/l0B6GQHEr74 iS/yZCWv7NgEnpiEmXQGm7FibHx/UGgXGqH6iGGj6oLUzxt9Cv5DMl/kHk5nQU/nnORC tDf7FWdceMPVaU9U/eT6BmcgnXv8Y5tgtrkBNv8nHCUdDAZSf8NPivEFrQgi0zIx1oZO kcdA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Rg+SMFQ7I6btufFbQp88Hcx5Wyx4dzXyqKTTiQmvp0k=; b=CJLHNfbjRyvnjuR6dSlxaTjr/jzXyLaHOT8eBt6usF0qy+G5wbEikxKkUgM+8SmWil 1Lo0fXTwQ6hMqSZ0/FsRmSvac4ir3zhkxJ6qj1/Fn3uvIgt5Yp0sDp5lguBChsOcMRd4 kT93WUrk33ZZpWf2IaTGqUO5SZaiv7M1WzHNC8AzXxzrfIinC9IHovbOH+hbXVGb3OOQ fJApldUrdo9bD28Jsx60k9OM55c/Mup6WRdeBdtWQ3a01oByLWhLPoGknucMPBJz2GEz LvarU8WX4L+WTTAHYfgUXgmwP66di42kUVAZF1HfTlTi6lT3TkRLDkCjJqiHnXbJSnBS yN8A== X-Gm-Message-State: AOAM530gmVwXDNcp4n54wTlrDLj5sFl+uTqjXJXQiaOoBE25EjentqM0 8vNRNXowZVtWiJH2PVMU+ouDQaQlDDI= X-Google-Smtp-Source: ABdhPJyh5JaL7NhXCYJ+47rVd51aiB32DpTuUTxS95UI46CPhXiHeb55UFRusMqFam5ZCHkpGYRVzQ== X-Received: by 2002:a17:90a:5291:b0:1bb:ef4d:947d with SMTP id w17-20020a17090a529100b001bbef4d947dmr27752846pjh.243.1647108384583; Sat, 12 Mar 2022 10:06:24 -0800 (PST) Received: from localhost.localdomain ([122.161.53.68]) by smtp.gmail.com with ESMTPSA id z72-20020a627e4b000000b004f70cbcb06esm14017951pfc.49.2022.03.12.10.06.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Mar 2022 10:06:24 -0800 (PST) From: Kuldeep Singh List-Id: To: soc@kernel.org, Arnd Bergmann , Viresh Kumar , Shiraz Hashim , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: spear13xx: Update SPI dma properties Date: Sat, 12 Mar 2022 23:36:14 +0530 Message-Id: <20220312180615.68929-2-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220312180615.68929-1-singh.kuldeep87k@gmail.com> References: <20220312180615.68929-1-singh.kuldeep87k@gmail.com> MIME-Version: 1.0 Reorder dmas and dma-names property for spi controller node to make it compliant with bindings. Signed-off-by: Kuldeep Singh --- arch/arm/boot/dts/spear13xx.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/spear13xx.dtsi b/arch/arm/boot/dts/spear13xx.dtsi index c87b881b2c8b..45f0b2a33e02 100644 --- a/arch/arm/boot/dts/spear13xx.dtsi +++ b/arch/arm/boot/dts/spear13xx.dtsi @@ -284,9 +284,8 @@ spi0: spi@e0100000 { #size-cells = <0>; interrupts = <0 31 0x4>; status = "disabled"; - dmas = <&dwdma0 4 0 0>, - <&dwdma0 5 0 0>; - dma-names = "tx", "rx"; + dmas = <&dwdma0 5 0 0>, <&dwdma0 4 0 0>; + dma-names = "rx", "tx"; }; rtc@e0580000 { From patchwork Sat Mar 12 18:06:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuldeep Singh X-Patchwork-Id: 12778914 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 smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 12C17C433FE for ; Sat, 12 Mar 2022 18:06:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id F15C4C340EE; Sat, 12 Mar 2022 18:06:28 +0000 (UTC) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 615BCC340EB; Sat, 12 Mar 2022 18:06:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 615BCC340EB Authentication-Results: smtp.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f174.google.com with SMTP id t187so10203266pgb.1; Sat, 12 Mar 2022 10:06:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=p0GzujtrGM9Z+sUlTt2clDdUTuQkuCPOBQNUOQ7491g=; b=JMoKF9I+mRFfMuK0T25u/ur8rVBEIOJGM/i02jlg13o5RMotmChfNNixCR57t0Zye9 pvn7EzqX0tpt/14Pth37E42Twkvv8+2Wmxi9HIZuPtAh7cCnCQUJO2jYDhj9tw5qvtN2 is3gU+XiPUjGNazWT1sYwkYyV9MwW2ZfcLeiYG1y6u9+yf/LVavP2eLBmAu+m67a0mCq 5YOztOkUY65BA3fU9LklrlaFi6hPkAI2knZI+C2pmkVd4D1LWZUb7E+FgSOG3IMoGAF9 l7fkMBP8iMlVc/p11LkxYMhePEOVs1+CrvFnAhVjJKbjuOmCd8LGw2vK9RtjhfSzPEqc UAAA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=p0GzujtrGM9Z+sUlTt2clDdUTuQkuCPOBQNUOQ7491g=; b=IgEgnX94+hBNleL2msWrUiO1FrKz8vdXWi9dP2v4ntR7efxNYPenXto3Lu4fNy/EaO Fikfr1zNWZh67GLCIRb+AiOgSK/IMgzvASknjY6TbVrtJRyElwBYxi9lVfSKs27rw1GB 3UprX4EjLYFagI+oD0O6NmP/no+6n0F0yKeKCDJGhCPHDDe9KsNj+NBJrLz4ZYykV48Z 86Byn6L08frkPhoXUKH+ONlUenjMuboAp+w1kpj4AUoQbcyegPhWMhrcdRBf+Adu1AUU W3D73YZPLNZ4tRov50thO4ssMvoAdfLO/jEPBNogk2t5+MWtbQoKacGB+3/b6ojCM/EC POGw== X-Gm-Message-State: AOAM533eX4fR71FSQBB3JNe40EbQEaOX0jp3PnJdNntTWfY35wAhOdFJ JbVZ50aO7JvnuATesoC/PnHTWmJ0Qp8= X-Google-Smtp-Source: ABdhPJyF9kO3rvea9Hls8NcNDo5E9gu1t9UmoheAdi6EQE8QSPmyP5CHKblJH4//un/nzAQtzI1eSw== X-Received: by 2002:a63:4412:0:b0:372:f29e:3108 with SMTP id r18-20020a634412000000b00372f29e3108mr13209087pga.354.1647108387749; Sat, 12 Mar 2022 10:06:27 -0800 (PST) Received: from localhost.localdomain ([122.161.53.68]) by smtp.gmail.com with ESMTPSA id z72-20020a627e4b000000b004f70cbcb06esm14017951pfc.49.2022.03.12.10.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Mar 2022 10:06:27 -0800 (PST) From: Kuldeep Singh List-Id: To: soc@kernel.org, Arnd Bergmann , Rob Herring , Vladimir Zapolskiy Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: lpc18xx: Update SPI dma properties Date: Sat, 12 Mar 2022 23:36:15 +0530 Message-Id: <20220312180615.68929-3-singh.kuldeep87k@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220312180615.68929-1-singh.kuldeep87k@gmail.com> References: <20220312180615.68929-1-singh.kuldeep87k@gmail.com> MIME-Version: 1.0 SPI pl022 describes dma-names as RX,TX. Reorder dmas and dma-names properties to follow specified convention. And while at it, also fix entries order within dma pairs. Signed-off-by: Kuldeep Singh CC: soc@kernel.org --- arch/arm/boot/dts/lpc18xx.dtsi | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi index 10b8249b8ab6..b3070cc927b7 100644 --- a/arch/arm/boot/dts/lpc18xx.dtsi +++ b/arch/arm/boot/dts/lpc18xx.dtsi @@ -317,8 +317,7 @@ ssp0: spi@40083000 { clocks = <&ccu2 CLK_APB0_SSP0>, <&ccu1 CLK_CPU_SSP0>; clock-names = "sspclk", "apb_pclk"; resets = <&rgu 50>; - dmas = <&dmamux 9 0 2 - &dmamux 10 0 2>; + dmas = <&dmamux 10 0 2>, <&dmamux 9 0 2>; dma-names = "rx", "tx"; #address-cells = <1>; #size-cells = <0>; @@ -424,16 +423,12 @@ ssp1: spi@400c5000 { clocks = <&ccu2 CLK_APB2_SSP1>, <&ccu1 CLK_CPU_SSP1>; clock-names = "sspclk", "apb_pclk"; resets = <&rgu 51>; - dmas = <&dmamux 11 2 2 - &dmamux 12 2 2 - &dmamux 3 3 2 - &dmamux 4 3 2 - &dmamux 5 2 2 - &dmamux 6 2 2 - &dmamux 13 2 2 - &dmamux 14 2 2>; - dma-names = "rx", "tx", "tx", "rx", - "tx", "rx", "rx", "tx"; + dmas = <&dmamux 12 2 2>, <&dmamux 11 2 2>, + <&dmamux 4 3 2>, <&dmamux 3 3 2>, + <&dmamux 6 2 2>, <&dmamux 5 2 2>, + <&dmamux 14 2 2>, <&dmamux 13 2 2>; + dma-names = "rx", "tx", "rx", "tx", + "rx", "tx", "rx", "tx"; #address-cells = <1>; #size-cells = <0>; status = "disabled";