Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3915201imc; Thu, 14 Mar 2019 08:06:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2X/Ot1v3SKGSRAVtIaLc7clN5R9D4o/GOOKNLG+NoBHiKZ/q7uWLJKLAALxg+3whgofgV X-Received: by 2002:a62:5c4:: with SMTP id 187mr49307468pff.153.1552575995143; Thu, 14 Mar 2019 08:06:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552575995; cv=none; d=google.com; s=arc-20160816; b=WeyaxeK34PbC86mLLdwynuynR668QAVEUxLYpoYjY4wF0t6bP5CZDk/em+Rlf++xJY 3e7QcWgs2+d7iH8+ofP06oXOeYusiIOgfgnUHsZiRXzmke8KTcZ290Qcz44w5yYohyL/ yN2kd5DHAueMttpTioEnfwx4qtwQfZ9ocJVUbSxlk9PGm8T6h/n+c2tFB+dN7gFDIAnF FVmmFPP9oKicCNYUsyb0g4YgdVvrk6N3+idk8naE5aJfeAXBWi3iEklAfeKLbc4sZKDh m55rFGjpit5sHpeEqqSvNAbABzQRXc931baGxHx70oZVIet0x0yt8QOZyQmeAwrLwl6Y 8A/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=4LejpxMQObBdrg71Z1VZmb+31BniJgXGYRGrx31yVxA=; b=TkIAjuK+c7HMAkEK28F3wdxvD6q1hHL3ily+YGyuF6qIAn3vNpWZUfP+LRy6gMJxAr xlZ8UDRMFhhdeohx26mo8ResO5ATq+baSMu+FNb0mteUOwizl7z+HNv3JGrpD3s/DB3+ Y6CLGrKbPdJ6Dy/ZIxJ2XUX6qbjOKsVQ7fomGEJkCvG/Opr90lG2rhjm64OJUIUokFIP FbYM+4JocaBawaRRx6u8H28kOl90hsDtZkHOcQd9xLgOOXrNsZMKH3oHkkqwPeqTLpAz nbf8zx9j9tBDVy3WLLtCaxuNiLpGU8paxPWoWy8K/NgFS/NwlihjLFhV444qpJY9E+Py YVNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v5si1315262pgs.334.2019.03.14.08.06.18; Thu, 14 Mar 2019 08:06:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726748AbfCNPF2 (ORCPT + 99 others); Thu, 14 Mar 2019 11:05:28 -0400 Received: from muru.com ([72.249.23.125]:41830 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726330AbfCNPF2 (ORCPT ); Thu, 14 Mar 2019 11:05:28 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 8500680FB; Thu, 14 Mar 2019 15:05:40 +0000 (UTC) Date: Thu, 14 Mar 2019 08:05:24 -0700 From: Tony Lindgren To: Christina Quast Cc: bcousson@baylibre.com, robh+dt@kernel.org, mark.rutland@arm.com, mpfj@newflow.co.uk, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] ARM: dts: am335x: Replaced register offsets with defines Message-ID: <20190314150524.GB19425@atomide.com> References: <20190313142724.27446-1-cquast@hanoverdisplays.com> <20190313142724.27446-3-cquast@hanoverdisplays.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190313142724.27446-3-cquast@hanoverdisplays.com> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Christina Quast [190313 14:28]: > The defines are taken from dt-bindings/pinctrl/am335x.h > > Updated AM33XX_IOPAD to take three instead of two parameters: > AM33XX_IOPAD(register_offset, pin_direction_pullups, mux_mode) Thanks that works great for making things work eventually with #pinctrl-cells = <2> :) > + AM33XX_IOPAD(AM335X_PIN_UART1_RXD, PIN_INPUT, MUX_MODE0) /* uart1_rxd */ > + AM33XX_IOPAD(AM335X_PIN_UART1_TXD, PIN_INPUT, MUX_MODE0) /* uart1_txd * Since it sounds like you're modifying these with a script, just leave out any nop comments while at it where the comment is just the pad name already there in the new register define. Some comments might need to be preserved, but my guess is that they're mostly just the pad name. And I suggest you split this change to a seprate patch for each board so in case of trouble we can revert the changes for a single board if needed. Regards, Tony