Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp595500pxb; Thu, 24 Mar 2022 03:24:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3lW4fAOLqIBGj6vSOCtc1+DERS68qbKRw4kXHMcMGX2oYdUhsVC2G8agdliGExk9ic+Un X-Received: by 2002:a05:6402:221b:b0:418:eb30:47ff with SMTP id cq27-20020a056402221b00b00418eb3047ffmr5900673edb.68.1648117461681; Thu, 24 Mar 2022 03:24:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648117461; cv=none; d=google.com; s=arc-20160816; b=zxT7rc2vgGOQ4IBfLWT8rBa88X7/D2HNNYwxEIPa/Tm7DHNQASSyIqi/4Ckv9QAWZN 8VeM40ztHGmmAT6uWEGyMNm1BOMbW5y0JRpYcCo0krkeiPR/ly9WxpVV4Q45JPt0Ypfi /z3jK1Pluz5KSJ3zmOvKZ6Sspv8ViDOed941uxzp1xeDXFt5UBIwvHgSc1Vol44n4fyC loPiBXClLBKkmrRNHh1A0hOgvBHGWVH14UsD6XwOVCxzkFxMTH+4/LEdhBRekS7EvRAW uGOINlJHrlk1f2X2JzACyyH331DGr2GJg40qTT/tYoi8IX1RAHr/Rrwtlr2WX7o49QQ8 jzSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dwDYUTHimQOgoxdkP8sjUxdcESsR/QK5BJW0KPL4v+M=; b=rtoEVOkkNOTX6ruGU/J1sygDFqlmjOeJk0ivk3r2TYeCVku+2sIuXng6qkxXVRQtzE MssxWlHmk31MSxQe29ewgpbOlRj0/lbZE1AkSJ3AhzfjOW9DuIm+Kf8xomVgWvnlO7F/ Jx3CvuEcotlXR2r6V9bA8anBOcvuitzZtlWU2huC73FPBUvx/iGDtC6lUzdng6iIeQZA ONAwO4LmN9IkAUYnqNdzvsEfS/9mzxX31JDlsBCKTBgfi4LwQBoSJAyvtuXOTeMsi2mD dgK8BMKOMLl6YxwB1p6Vh5zpQ2e2D2fb0tJeAFsmNpjleqtguTkQ3WP+9Tp3ZmjFq7Ei x3kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pGphB0wG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 30-20020a170906209e00b006e008df6567si7959343ejq.975.2022.03.24.03.23.55; Thu, 24 Mar 2022 03:24:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=pGphB0wG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348123AbiCXG11 (ORCPT + 99 others); Thu, 24 Mar 2022 02:27:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242173AbiCXG1Z (ORCPT ); Thu, 24 Mar 2022 02:27:25 -0400 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F316DEDA; Wed, 23 Mar 2022 23:25:54 -0700 (PDT) Received: by mail-pg1-x535.google.com with SMTP id b130so1638961pga.13; 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=y8kFYDnG/pp9cRJ4+n4/xchwFsnVZdLd3JXy5xgtH3leapEAPe7QZql5ceeggPdh2h ck+jd9NrHkNUsCSh2pSXXRWXC+5/SCZbRVrj9vrvjZGm0vFMzkyQyCaYHdDZnwrH3Pm7 3FkLk8WhPnYU0bl4Zo2R7PnHf0ezzLOCQxrc+AWPcb9cOz0vuhA6mluQkWuQSVNCetaA JR+qxeYM4U8ghd6xDBJ+ZVt5+f19mra5huCXK+Ra67IJB7B2axdBNQ+CGykQRkuFB0AA FtFDOY0iUq7xi71tZ59bneZRvrLMwEtoV0JUcGfplwWpNwbvpDWZ8p4NStwABWeVzDuV C/Yg== X-Gm-Message-State: AOAM532G1n0RwFVzTtdztuQMdl/Aw9rPdai1EIctPyPpsEoJZJ3SYDYl VyEC7JKLGWSSbBD8DAA/gZQ= 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220324023904.h2qfxzxlznggbsyr@vireshk-i7> X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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