Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: iw3gtf@arcor.de (Giorgio Dal Molin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: dts: imx6dl: force the 'compatible' field for the uart[12345] to 'fsl, imx21-uart'.
Date: Fri, 30 Sep 2016 15:13:05 +0200	[thread overview]
Message-ID: <20160930131305.9584-1-iw3gtf@arcor.de> (raw)

Without this fix the imx uart kernel driver selects 'fsl,imx6q-uart' as
its compatible value and the port does not work properly.

The kind of malfunctioning I noticed was while receiving bytes from the
uart, sending out was OK.

Signed-off-by: Giorgio Dal Molin <iw3gtf@arcor.de>
---
 arch/arm/boot/dts/imx6dl.dtsi | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm/boot/dts/imx6dl.dtsi b/arch/arm/boot/dts/imx6dl.dtsi
index 9a4c22c..1a1d5fd 100644
--- a/arch/arm/boot/dts/imx6dl.dtsi
+++ b/arch/arm/boot/dts/imx6dl.dtsi
@@ -131,3 +131,23 @@
 &vpu {
 	compatible = "fsl,imx6dl-vpu", "cnm,coda960";
 };
+
+&uart1 {
+	compatible = "fsl,imx21-uart";
+};
+
+&uart2 {
+	compatible = "fsl,imx21-uart";
+};
+
+&uart3 {
+	compatible = "fsl,imx21-uart";
+};
+
+&uart4 {
+	compatible = "fsl,imx21-uart";
+};
+
+&uart5 {
+	compatible = "fsl,imx21-uart";
+};
-- 
2.10.0

                 reply	other threads:[~2016-09-30 13:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20160930131305.9584-1-iw3gtf@arcor.de \
    --to=iw3gtf@arcor.de \
    --cc=linux-arm-kernel@lists.infradead.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