From mboxrd@z Thu Jan 1 00:00:00 1970 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 BB100C433EF for ; Thu, 24 Mar 2022 06:27:16 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jmK5/PzSlgpW3grMGQ/JzyYqs0RKtadKVXg6wOVRx8E=; b=Z031TxnPAORkE/ xTY/lIqjmYVjAIlwoJ/e8hDYugM3HJh1rMVZsPZ1y9gVckT7+tlkKyeJQRWKrMjXn4dkLMRafWE1m +09BFZ+htaMVAJybh5OKZS4rF+WgPjG+LLGWBK00inwKSV7GoHM25IlERSXg0AgGJjeoXtRmVYlab xQVzQZ4HoHlUFveDDdly/Kp3h+r0h4DFKWdteoa6gc+vZ2Y5MhecekNt9xFIwgAzEv2hTa7dP1pDX 0QwrbFgpv/FkBZSfQxVYTlqzCdOLJj+7Vs+K7k4bu7jkgc5l92th6Lcy7CpgDw7szVtQpkSyWof4r 7FlrMNOG7UAU1oSS92Hw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXGv2-00FpM6-Hj; Thu, 24 Mar 2022 06:26:00 +0000 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXGuy-00FpKo-JQ for linux-arm-kernel@lists.infradead.org; Thu, 24 Mar 2022 06:25:58 +0000 Received: by mail-pf1-x42b.google.com with SMTP id p8so3219219pfh.8 for ; Wed, 23 Mar 2022 23:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=dwDYUTHimQOgoxdkP8sjUxdcESsR/QK5BJW0KPL4v+M=; b=pGphB0wGqeHh0tXFHs9/r2BIMpxutQtSbYKLKe3d+08y+zJTH030ndCKamAQQuqFSx WtDfAJwybEaGIjL9n/UfJ5DEK7kfiZk1a1of6Ts6LX17eT1eOuhEFMIaqMO3PCZFoyiE D/KuJ0isIQYcfACmWYEzQYo+jNITKZIQI4AyyuWz+a14q/w+zU44rJsGn0DYhwuwY+Sv Wlj69HoE8Ruxt73jXKPH4iW3KgmYg6olr6zKQmKsVnl++t4zD0vKVif2/1RR8WUcsOoz CTYZcxz1mpKCL/LmaIrh1jnLzGxFY0CPzLO8hAdl38WnYKYZLUZkhnk1eE5yy7h/Eyq2 +jYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=dwDYUTHimQOgoxdkP8sjUxdcESsR/QK5BJW0KPL4v+M=; b=cVEk+iQVInC/DYSoWc9aGIcQn7Poa3ElvRH4mJ3JdVJqHo2LzevWLRwI7dcNsj8YDg /YCJGovUMxfJeGqkBxBfA1MYby9qazHnLraoCF97s1HsbXCX4LMUxf0f5nORKf5bYe3l E+LRs65dJoQkdk/eXVXkHJqAeVVDrsVyjcNEZzGg5WFW4tQVodAhEw7gU4VSJ/aDRCO3 exLoPeCTMvXOqLo9CNkAf635LvLDFvu1Cpt+bylL0ETboB5Rggy5R+6CYAHPJ+n7mA2q dw9aipaeKyvggKmwUxthgA4csv3a84PFq9WVjI36sGZ4Zb5J2R3R1vqKCw20u+qYU0/O zXmQ== X-Gm-Message-State: AOAM531aBiYJ30P4Ri7DqVJ1xFGiAXFwL8ViDVSB9YJcpWPRcxcmWzEl FNGdma+DGx9BebiZnND4SYM= X-Google-Smtp-Source: ABdhPJxfRsmaap5/p4sWElWvELb49XKGWxiVS20Y8jWLuFnhXpOyQVwz+ldkHm5/uH7/ZY+CB7KEeQ== X-Received: by 2002:a65:604a:0:b0:375:5cc8:7458 with SMTP id a10-20020a65604a000000b003755cc87458mr2863442pgp.205.1648103154065; Wed, 23 Mar 2022 23:25:54 -0700 (PDT) Received: from 9a2d8922b8f1 ([122.161.51.18]) by smtp.gmail.com with ESMTPSA id h6-20020a636c06000000b00363a2533b17sm1466081pgc.8.2022.03.23.23.25.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 23:25:53 -0700 (PDT) Date: Thu, 24 Mar 2022 11:55:47 +0530 From: Kuldeep Singh To: Viresh Kumar Cc: Rob Herring , Viresh Kumar , Shiraz Hashim , soc@kernel.org, Arnd Bergmann , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] ARM: dts: spear13xx: Update SPI dma properties Message-ID: <20220324062547.GA15504@9a2d8922b8f1> References: <20220323175920.93155-1-singh.kuldeep87k@gmail.com> <20220324023904.h2qfxzxlznggbsyr@vireshk-i7> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220324023904.h2qfxzxlznggbsyr@vireshk-i7> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220323_232556_665569_2372AA2F X-CRM114-Status: GOOD ( 20.77 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Mar 24, 2022 at 08:09:04AM +0530, Viresh Kumar wrote: > On 23-03-22, 23:29, Kuldeep Singh wrote: > > Reorder dmas and dma-names property for spi controller node to make it > > compliant with bindings. > > > > Fixes: 6e8887f60f60 ("ARM: SPEAr13xx: Pass generic DW DMAC platform data from DT") > > Signed-off-by: Kuldeep Singh > > --- > > v2: > > - Add fixes tag > > - Remove 1/2 patch from series as it's not required > > - v1 discussion link: > > https://lore.kernel.org/linux-devicetree/20220312180615.68929-2-singh.kuldeep87k@gmail.com/ > > > > 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 { > > Rob, > > I tried to ask this at V1 as well [1]. Why do we need a patch like > this ? Isn't this a DT tooling issue, where it is asking for a fixed > order of values ? Fixed order of values is important in case of properties like compatibles etc. In case of dma-names, yes order shouldn't matter here. This patch is more of appeasing dtbs_check warning rather than fixing something. It's safe to go with this patch. I am not sure if there's a provision to exclude dma-names from fix ordering checks. Rob can help here in providing better insights. - Kuldeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel