From: <patrice.chotard@st.com>
To: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
gregkh@linuxfoundation.org, jslaby@suse.com,
linux-serial@vger.kernel.org
Cc: patrice.chotard@st.com
Subject: [PATCH v2 3/3] tty: st-asc: Update tty alias
Date: Tue, 6 Mar 2018 09:07:30 +0100 [thread overview]
Message-ID: <1520323650-11030-4-git-send-email-patrice.chotard@st.com> (raw)
In-Reply-To: <1520323650-11030-1-git-send-email-patrice.chotard@st.com>
From: Patrice Chotard <patrice.chotard@st.com>
Since dtc v1.4.6-9-gaadd0b65c987, aliases property name
must include only lowercase and '-'.
After having updated all STi boards serial aliases from "ttyASN"
to "serialN", st-asc driver need to be updated accordingly as tty
aliases id is retrieved using of_alias_get_id(np, ASC_SERIAL_NAME);
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---
v2: _ update st-asc driver with "serial" alias prefix
drivers/tty/serial/st-asc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c
index c763253514e9..f9372b690e54 100644
--- a/drivers/tty/serial/st-asc.c
+++ b/drivers/tty/serial/st-asc.c
@@ -29,7 +29,7 @@
#include <linux/gpio/consumer.h>
#define DRIVER_NAME "st-asc"
-#define ASC_SERIAL_NAME "ttyAS"
+#define ASC_SERIAL_NAME "serial"
#define ASC_FIFO_SIZE 16
#define ASC_MAX_PORTS 8
--
1.9.1
next prev parent reply other threads:[~2018-03-06 8:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-06 8:07 [PATCH v2 0/3] Fix STi aliases property name patrice.chotard
2018-03-06 8:07 ` [PATCH v2 1/3] ARM: dts: STi: Fix aliases property name for STi boards patrice.chotard
2018-03-06 8:07 ` [PATCH v2 2/3] ARM: dts: STi: Remove useless stdout-path " patrice.chotard
2018-03-06 13:26 ` Rob Herring
2018-03-07 7:59 ` Patrice CHOTARD
2018-03-06 8:07 ` patrice.chotard [this message]
2018-03-06 13:29 ` [PATCH v2 3/3] tty: st-asc: Update tty alias Rob Herring
2018-03-07 8:01 ` Patrice CHOTARD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1520323650-11030-4-git-send-email-patrice.chotard@st.com \
--to=patrice.chotard@st.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jslaby@suse.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).