All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCHv4 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards
Date: Tue, 9 May 2017 22:30:00 -0400	[thread overview]
Message-ID: <20170510023000.GZ12511@bill-the-cat> (raw)
In-Reply-To: <016bfa5b-ee73-1783-3ca9-34182d813eca@linaro.org>

On Tue, May 09, 2017 at 05:27:12PM +0200, Jorge Ramirez wrote:
> On 05/08/2017 07:29 PM, Tom Rini wrote:
> >On Mon, May 08, 2017 at 06:36:43PM +0200, Jorge Ramirez-Ortiz wrote:
> >
> >>This port adds support for:
> >>         1) Serial
> >>         2) eMMC
> >>         3) USB
> >[snip]
> >>  arch/arm/dts/hi3798cv200.dtsi                      |   3 +
> >>  arch/arm/dts/poplar-uboot.dtsi                     |  24 +++
> >[snip]
> >>diff --git a/arch/arm/dts/hi3798cv200.dtsi b/arch/arm/dts/hi3798cv200.dtsi
> >>index 75865f8..caa17de 100644
> >>--- a/arch/arm/dts/hi3798cv200.dtsi
> >>+++ b/arch/arm/dts/hi3798cv200.dtsi
> >>@@ -409,3 +409,6 @@
> >>  		};
> >>  	};
> >>  };
> >>+
> >>+#include "poplar-uboot.dtsi"
> >NAK, that's not the mechanism, we have one that will automatically
> >include the right file.  IF it's needed.
> >
> >>diff --git a/arch/arm/dts/poplar-uboot.dtsi b/arch/arm/dts/poplar-uboot.dtsi
> >>new file mode 100644
> >>index 0000000..8a9668a
> >>--- /dev/null
> >>+++ b/arch/arm/dts/poplar-uboot.dtsi
> >>@@ -0,0 +1,24 @@
> >>+/*
> >>+ * U-Boot addition to:
> >>+ *  1) initialize the console clock rate.
> >>+ *  2) provide support for the generic-ehci USB driver currently not available
> >>+ *     in the linux kernel (8/May/2017).
> >>+ *
> >>+ * (C) Copyright 2017 Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
> >>+ *
> >>+ * SPDX-License-Identifier:     GPL-2.0+
> >>+ */
> >>+
> >>+&soc {
> >>+	usb2: ehci at 9890000 {
> >>+		compatible = "generic-ehci";
> >>+		reg = <0x9890000 0x100>;
> >>+		status = "okay";
> >>+	};
> >>+};
> >>+
> >>+&uart0 {
> >>+	clock = <75000000>;
> >>+	status = "okay";
> >>+};
> >These are NOT U-Boot specific properties, they should be in the generic
> >board dts file.  Lets wait for Alex to chime in on the status of getting
> >the dts file / etc merged into Linux before doing v5.  Thanks!
> >
> 
> hey Tom, I am not sure how to move this forward really so let me
> clarify where I think we stand:
> 
> 1. The linux kernel does not need the clock property in the uart
> nodes (only u-boot does: serial_pl01x.c needs fixing).
> 2. ehci is not present in the linux kernel poplar dts yet but it
> will be eventually.
> 
> with this in mind, what is blocking the acceptance of the patchset?
> 
> I can do v5 using the linux kernel dts as is and creating a
> hi3798cv200-u-boot.dtsi that simply adds the nodes above (this time
> no #include required :) )
> 
> Then when ehci is added to the kernel, the ehci node can be removed
> from u-boot.dtsi
> And when uboot updates its pl01x.c serial driver,  the uart0 node
> can be removed and the u-boot.dtsi filed completely deleted.

Can you take a stab at updating the pl01x driver?  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170509/34a88d09/attachment.sig>

  reply	other threads:[~2017-05-10  2:30 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-08 16:36 [U-Boot] Patchset v4 Poplar 96Boards EE Jorge Ramirez-Ortiz
2017-05-08 16:36 ` [U-Boot] [PATCHv4 1/3] ARM64: dts: hi3798cv200-poplar: add device tree bindings Jorge Ramirez-Ortiz
2017-05-08 16:36 ` [U-Boot] [PATCHv4 2/3] driver: mmc: update debug info Jorge Ramirez-Ortiz
2017-05-08 16:36 ` [U-Boot] [PATCHv4 3/3] ARM64: poplar: hi3798cv200: u-boot support for Poplar 96Boards Jorge Ramirez-Ortiz
2017-05-08 17:29   ` Tom Rini
2017-05-08 18:36     ` Jorge Ramirez
2017-05-08 21:37       ` Tom Rini
2017-05-09 15:27     ` Jorge Ramirez
2017-05-10  2:30       ` Tom Rini [this message]
2017-05-10  9:33         ` Jorge Ramirez
2017-05-10 14:49           ` Tom Rini
2017-05-10 16:33             ` Rob Herring
2017-05-10 17:45               ` Tom Rini
2017-05-10 18:09                 ` Simon Glass
2017-05-10 19:09                 ` Rob Herring
2017-05-10 19:42                   ` Simon Glass
2017-05-10 21:19                     ` Jorge Ramirez
2017-05-10 21:31                       ` Simon Glass
2017-05-11 11:45                         ` Jorge Ramirez
2017-05-11 12:35                     ` Tom Rini
2017-05-11 14:34                       ` Jorge Ramirez
2017-05-11 22:32                         ` Tom Rini
2017-05-12  8:16                           ` Jorge Ramirez
2017-05-12 12:35                             ` Tom Rini
2017-05-15 21:38                               ` Rob Herring
2017-05-17 13:33                                 ` Tom Rini
2017-05-17 14:38                                   ` Rob Herring
2017-05-17 22:13                                     ` Tom Rini
2017-05-17 22:06                         ` Tom Rini
2017-05-25 18:38                           ` Jorge Ramirez
2017-05-25 20:31                             ` Tom Rini
2017-05-25 20:55                               ` Jorge Ramirez
2017-05-25 20:58                                 ` Jorge Ramirez
2017-05-25 21:12                                   ` Tom Rini
2017-05-25 21:16                                     ` Jorge Ramirez
2017-05-25 22:08                                       ` Tom Rini
2017-05-26  7:28                                         ` Jorge Ramirez
2017-05-26  7:46                                           ` Jorge Ramirez
2017-05-26 12:46                                           ` Tom Rini
2017-05-26 12:58                                             ` Jorge Ramirez Ortiz
2017-05-26 16:09                                               ` Tom Rini
2017-05-29  9:00                                                 ` Jorge Ramirez
2017-05-29 11:57                                                   ` Tom Rini
2017-05-29 12:18                                                     ` Jorge Ramirez
2017-05-29 12:23                                                       ` Jorge Ramirez
2017-05-29 12:26                                                       ` Tom Rini
2017-05-29 12:28                                                         ` Jorge Ramirez
2017-05-25 21:21                                     ` Simon Glass
2017-05-25 22:09                                       ` Tom Rini
2017-05-10 17:49               ` Jorge Ramirez
2017-05-10 18:21                 ` Rob Herring
2017-05-10 18:37                   ` Jorge Ramirez
2017-05-25 16:08   ` Andreas Färber

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=20170510023000.GZ12511@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.