Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5891422imm; Tue, 12 Jun 2018 15:25:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLV8ZRNLmWekHHF6QNFvxjrPbWNKlc+H6IzJwkMR6Sr1CWrhiISvRJmKP4jhW2HVLYTKS6A X-Received: by 2002:a17:902:7089:: with SMTP id z9-v6mr2284656plk.231.1528842323041; Tue, 12 Jun 2018 15:25:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528842323; cv=none; d=google.com; s=arc-20160816; b=UKiqCtrXWM2/dfRaF7US8fFE3tE8l8R/ytgkv63Z4593ki0lHe42lvc6kG8qZmMTRD JcypR1HIOyMPpVyw43H/xwmzVphqG3HmrTCIn1Qz2Yo/MRM8oGoCYxGAqt+U7Z/+CINw B1531hWdERasCBXYZTYDg+V/NvDqIl8kxEuoWhcjnGHdnPeW7VXlfLho5LQqyWBJhbNE iYTNcEjEZGmNmDbl6uZHQZz0fvyXipO5Zo3P2CTM8ZbMRhFlZpS/ihipL7faBiH0zBJg 23+A8mMBpQ7b7pX32AJVZFGyAcuAYF+O4+mC8IuhLb4N8YzTzlJE/0OGi0cY8dkRCYuH ObJg== 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:arc-authentication-results; bh=J9IvU1cX1LPBQyS4HNvbWY1dc6IN6lPqYJsKAqWSv+4=; b=mPfEmyyfB5I0RXR6kjK1ntt0WA/mHXuiPdQgd0Lel54Mv1w7i3/x3b1xivrdC0Srxk e9TjszfZQaxzxCHWFB/vi1l4SFZoxQrildLxtZ2iNI61RwC7TKgpLIyPov3ffQW8Nw7F L8/5wxc+SFLx+V8rylkGTonwXqJxgwlmzPc5HI7rkjJxhkvrJPpMFAp8IrpYVcwiC/0a Bst2rbW/GAQJBPAH4DuimuN+1pCOd16gwOhZ0Pq7yweSi86CY44OcrR89/20oH0mx2Bo kJ4ceoecesJ37P8b8YM41lKqGCJm7AjjCIF48Vf/VbMQBKQCkTbmm8v1gdxoWcRRN6lM GVfg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u5-v6si1065481plr.289.2018.06.12.15.25.07; Tue, 12 Jun 2018 15:25:23 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934895AbeFLWYa (ORCPT + 99 others); Tue, 12 Jun 2018 18:24:30 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:44841 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934418AbeFLWY2 (ORCPT ); Tue, 12 Jun 2018 18:24:28 -0400 Received: by mail-pf0-f194.google.com with SMTP id h12-v6so256990pfk.11; Tue, 12 Jun 2018 15:24:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=J9IvU1cX1LPBQyS4HNvbWY1dc6IN6lPqYJsKAqWSv+4=; b=MlpXfIq+zWwjZHbnUDdz/Opyh706l3t8ksNjNRjmQ9bEj4Ef/VzyCZdHaLhR370E1h JunvB7yCo4tPyQMf7qOPY6bKTnw8q3Y49rebXQnhfxUYLisBiIykvrClT9t1tm+/m5q8 lWEABb+yF05aLy1aFsGegA1ZtC/R3+0jISOdSW5FymFVRU7HpIsQwzg/qCeyVvUXlet9 flx+JLN79eKK86+VR141zQWO/zhDkRhdUFa6MzLamxUKIs6jjS8iIgKa/9ffXYPpqc+d zkPGGo8oSp2Q7SYn1W+jWe9PwLtlJIWFMo4AYn3euIhOwzmdIW5h7iCCAD2n7NacVmiK HOxA== X-Gm-Message-State: APt69E36v/wlLcbVPzz9q5qvVFtLurUZcmFQDNIz31rhAYXBDMqrZM/E TxlnsgB3j554u2AHL+b4MA== X-Received: by 2002:a63:7211:: with SMTP id n17-v6mr1815539pgc.94.1528842267392; Tue, 12 Jun 2018 15:24:27 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id v26-v6sm1308471pfe.13.2018.06.12.15.24.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Jun 2018 15:24:26 -0700 (PDT) Date: Tue, 12 Jun 2018 16:24:24 -0600 From: Rob Herring To: Songjun Wu Cc: hua.ma@linux.intel.com, yixin.zhu@linux.intel.com, chuanhua.lei@intel.com, linux-mips@linux-mips.org, qi-ming.wu@intel.com, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, James Hogan , linux-kernel@vger.kernel.org, Thomas Gleixner , Philippe Ombredanne , Kate Stewart , Greg Kroah-Hartman , Mark Rutland , Ralf Baechle Subject: Re: [PATCH 1/7] MIPS: dts: Add aliases node for lantiq danube serial Message-ID: <20180612222424.GA2197@rob-hp-laptop> References: <20180612054034.4969-1-songjun.wu@linux.intel.com> <20180612054034.4969-2-songjun.wu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180612054034.4969-2-songjun.wu@linux.intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 12, 2018 at 01:40:28PM +0800, Songjun Wu wrote: > Previous implementation uses a hard-coded register value to check if > the current serial entity is the console entity. > Now the lantiq serial driver uses the aliases for the index of the > serial port. > The lantiq danube serial dts are updated with aliases to support this. > > Signed-off-by: Songjun Wu > --- > > arch/mips/boot/dts/lantiq/danube.dtsi | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/arch/mips/boot/dts/lantiq/danube.dtsi b/arch/mips/boot/dts/lantiq/danube.dtsi > index 2dd950181f8a..7a9e15da6bd0 100644 > --- a/arch/mips/boot/dts/lantiq/danube.dtsi > +++ b/arch/mips/boot/dts/lantiq/danube.dtsi > @@ -4,6 +4,10 @@ > #size-cells = <1>; > compatible = "lantiq,xway", "lantiq,danube"; > > + aliases { > + serial0 = &asc1; > + }; > + > cpus { > cpu@0 { > compatible = "mips,mips24Kc"; > @@ -74,7 +78,7 @@ > reg = <0xE100A00 0x100>; > }; > > - serial@E100C00 { > + asc1: serial@E100C00 { Fix this to be lower case hex while you are at it. > compatible = "lantiq,asc"; > reg = <0xE100C00 0x400>; > interrupt-parent = <&icu0>; > -- > 2.11.0 >