Received: by 10.223.185.116 with SMTP id b49csp2709537wrg; Mon, 5 Mar 2018 07:30:40 -0800 (PST) X-Google-Smtp-Source: AG47ELu2v5kCX19b5sNjRzPrHoJPyhvL+RzjQFFt+fHiN5OnW33yBL8nDAO4UFtgSIHfzsKScWXL X-Received: by 2002:a17:902:20e5:: with SMTP id v34-v6mr13158942plg.66.1520263840660; Mon, 05 Mar 2018 07:30:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520263840; cv=none; d=google.com; s=arc-20160816; b=FLOhft/yBbQHWK2UPHnuX8ZI+aTI1mHl3yGAPTUgUqY+ubWVL/GPh6NKy0OFZvnohu PNbHHLAHEckiINijHLSi3jvd1k/EblVQhTrG1uUF4uAUXkCFLhwaBbv01oeP7QOU9ice eGeetTXwpRttFavcxMzXWLhQpflFjaVuD6zAz3b8J2XbSepLG/xy7vb/SjK4FWDx3aoD LjqVYoo/MmLAsDPXdrJIL2t+MDzH9s5cxzjozisxzMLYh1vXqnIzZcN12KubydfKzmCU B5PK+XqdNGidWcxUbSaKc9xQjJvaichDcEcmjnRih2GfV+DYx1wB/eg94Rh1Qj+k0HpL a86w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=PS27FoJqSWHnqTc8Hx49sbqRrAoYEPwtJlWVdNVdOqM=; b=EKXCeSHmaE4V3hzV7JVAjebShK1kBQTPt9ocL2wLyKjq3TOF7wj1PrYLJIAX36Q6ZJ hyQ30gOXtAcVKRTrJu/rKs1KIlm3y+Pg8YYX3z2puKm0Eq5lYyEXuV984hEEOuml4Q76 oDccHv2+RCNL/e5vqicTvP1kZW2rrAysNT9tTudDYz0ZsW3JOh6pAukDfZL0dxIdTXB9 rBY0arZJrcXZA+YMETL5rTxB/+Rtk+yZeLzLNnVUYMN9i4VDr6ims9PFwg2eonae/ser FV64w/plx8Awfb/Tw46mUlPuSM1CR/PAJxTAbIep8qtQwqIJb4ZQFDv9jrlwWz7UK/sf 4LUw== 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 j63si8429823pgd.731.2018.03.05.07.30.25; Mon, 05 Mar 2018 07:30:40 -0800 (PST) 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 S1752482AbeCEP2f (ORCPT + 99 others); Mon, 5 Mar 2018 10:28:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:33392 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752183AbeCEP2b (ORCPT ); Mon, 5 Mar 2018 10:28:31 -0500 Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 994BC21795 for ; Mon, 5 Mar 2018 15:28:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 994BC21795 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh@kernel.org Received: by mail-wm0-f49.google.com with SMTP id i3so16254613wmi.4 for ; Mon, 05 Mar 2018 07:28:30 -0800 (PST) X-Gm-Message-State: APf1xPA/WukcBPY5qRISIm5PH6M7jLWIzf0cmdmHfZ1/A8U/McSepqH/ e5v8D3TuxQAhnxWcqJnnlNzyj7tQIWpXy6sl9tluxA== X-Received: by 10.80.172.44 with SMTP id v41mr19295409edc.130.1520263709020; Mon, 05 Mar 2018 07:28:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.138.67 with HTTP; Mon, 5 Mar 2018 07:28:08 -0800 (PST) In-Reply-To: <1520262025-21088-2-git-send-email-patrice.chotard@st.com> References: <1520262025-21088-1-git-send-email-patrice.chotard@st.com> <1520262025-21088-2-git-send-email-patrice.chotard@st.com> From: Rob Herring Date: Mon, 5 Mar 2018 09:28:08 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] ARM: dts: STi: Fix aliases property name for STi boards To: patrice.chotard@st.com Cc: Rob Herring , Mark Rutland , linux@armlinux.org.uk, linux-arm-kernel , Linux Kernel Mailing List , devicetree@vger.kernel.org, Greg Kroah-Hartman , jslaby@suse.com, linux-serial@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 5, 2018 at 9:00 AM, wrote: > From: Patrice Chotard > > Since dtc v1.4.6-9-gaadd0b65c987, aliases property name must > be lowercase only. > This allows to fix following warnings when compiling dtb > with W=1 option : I'm so glad to see fixes before the dtc update landed in the kernel tree! > arch/arm/boot/dts/stih418-b2199.dtb: Warning (alias_paths): /aliases: aliases property name must include only lowercase and '-' > arch/arm/boot/dts/stih407-b2120.dtb: Warning (alias_paths): /aliases: aliases property name must include only lowercase and '-' > arch/arm/boot/dts/stih410-b2260.dtb: Warning (alias_paths): /aliases: aliases property name must include only lowercase and '-' > arch/arm/boot/dts/stih410-b2120.dtb: Warning (alias_paths): /aliases: aliases property name must include only lowercase and '-' > > Signed-off-by: Patrice Chotard > --- > arch/arm/boot/dts/stih407-b2120.dts | 4 ++-- > arch/arm/boot/dts/stih410-b2120.dts | 4 ++-- > arch/arm/boot/dts/stih410-b2260.dts | 4 ++-- > arch/arm/boot/dts/stih418-b2199.dts | 4 ++-- > 4 files changed, 8 insertions(+), 8 deletions(-) > > diff --git a/arch/arm/boot/dts/stih407-b2120.dts b/arch/arm/boot/dts/stih407-b2120.dts > index c8ad905d0309..fa1186af6574 100644 > --- a/arch/arm/boot/dts/stih407-b2120.dts > +++ b/arch/arm/boot/dts/stih407-b2120.dts > @@ -14,7 +14,7 @@ > compatible = "st,stih407-b2120", "st,stih407"; > > chosen { > - bootargs = "console=ttyAS0,115200 clk_ignore_unused"; > + bootargs = "console=ttyas0,115200 clk_ignore_unused"; The kernel change for this is an ABI breakage both DT <-> kernel and kernel <-> userspace. Really, if you are okay with doing this, you should change it to ttySx IMO. > linux,stdout-path = &sbc_serial0; And since you have this, you don't even need the console praram. > }; > > @@ -24,7 +24,7 @@ > }; > > aliases { > - ttyAS0 = &sbc_serial0; > + ttyas0 = &sbc_serial0; The correct fix is use "serialN" for aliases. I have a check for only known alias names which would give a better warning, but David thought it was too restrictive. > ethernet0 = ðernet0; > }; >