* [PATCH] ARM: dts: sun6i: Add serial0 alias and stdout-path to a31s-primo81.dts @ 2016-03-16 14:19 Hans de Goede [not found] ` <1458137962-27714-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Hans de Goede @ 2016-03-16 14:19 UTC (permalink / raw) To: Maxime Ripard, Chen-Yu Tsai Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Hans de Goede u-boot uses the kernel as the canonical source for its sunxi dts files and u-boot needs these. Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> --- arch/arm/boot/dts/sun6i-a31s-primo81.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31s-primo81.dts b/arch/arm/boot/dts/sun6i-a31s-primo81.dts index 68b479b..379746a 100644 --- a/arch/arm/boot/dts/sun6i-a31s-primo81.dts +++ b/arch/arm/boot/dts/sun6i-a31s-primo81.dts @@ -53,6 +53,14 @@ / { model = "MSI Primo81 tablet"; compatible = "msi,primo81", "allwinner,sun6i-a31s"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; }; &cpu0 { -- 2.7.2 ^ permalink raw reply related [flat|nested] 5+ messages in thread
[parent not found: <1458137962-27714-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH] ARM: dts: sun6i: Add serial0 alias and stdout-path to a31s-primo81.dts [not found] ` <1458137962-27714-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> @ 2016-03-17 6:28 ` Chen-Yu Tsai [not found] ` <CAGb2v67+V1JdaG2ypgj5sXyzxiwZhYC_z_1sye5HpnMvcE_QfA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Chen-Yu Tsai @ 2016-03-17 6:28 UTC (permalink / raw) To: Hans de Goede Cc: Maxime Ripard, Chen-Yu Tsai, linux-arm-kernel, devicetree, linux-sunxi On Wed, Mar 16, 2016 at 10:19 PM, Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote: > u-boot uses the kernel as the canonical source for its sunxi dts files > and u-boot needs these. > > Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Acked-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org> ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <CAGb2v67+V1JdaG2ypgj5sXyzxiwZhYC_z_1sye5HpnMvcE_QfA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [PATCH] ARM: dts: sun6i: Add serial0 alias and stdout-path to a31s-primo81.dts [not found] ` <CAGb2v67+V1JdaG2ypgj5sXyzxiwZhYC_z_1sye5HpnMvcE_QfA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2016-03-18 17:48 ` Maxime Ripard 2016-03-19 9:13 ` [linux-sunxi] " Hans de Goede 0 siblings, 1 reply; 5+ messages in thread From: Maxime Ripard @ 2016-03-18 17:48 UTC (permalink / raw) To: Chen-Yu Tsai; +Cc: Hans de Goede, linux-arm-kernel, devicetree, linux-sunxi [-- Attachment #1: Type: text/plain, Size: 556 bytes --] On Thu, Mar 17, 2016 at 02:28:03PM +0800, Chen-Yu Tsai wrote: > On Wed, Mar 16, 2016 at 10:19 PM, Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote: > > u-boot uses the kernel as the canonical source for its sunxi dts files > > and u-boot needs these. > > > > Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> > > Acked-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org> Queued, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-sunxi] Re: [PATCH] ARM: dts: sun6i: Add serial0 alias and stdout-path to a31s-primo81.dts 2016-03-18 17:48 ` Maxime Ripard @ 2016-03-19 9:13 ` Hans de Goede [not found] ` <56ED184B.9000609-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Hans de Goede @ 2016-03-19 9:13 UTC (permalink / raw) To: Maxime Ripard, Chen-Yu Tsai Cc: linux-arm-kernel, devicetree, linux-sunxi, Karsten Merker Hi, On 18-03-16 18:48, Maxime Ripard wrote: > On Thu, Mar 17, 2016 at 02:28:03PM +0800, Chen-Yu Tsai wrote: >> On Wed, Mar 16, 2016 at 10:19 PM, Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote: >>> u-boot uses the kernel as the canonical source for its sunxi dts files >>> and u-boot needs these. >>> >>> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> >> >> Acked-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org> > > Queued, thanks! I just got an of-list mail from Karsten Merker that you nacked the addition if this during the initial submission, because there are no accessible uart test pads on this tablet. In that case the proper fix would be to change the u-boot defconfig to have: # CONFIG_REQUIRE_SERIAL_CONSOLE is not set Which will stop u-boot from panicking (with nowhere to print the panic msg) when it has no stdout-path. Can you unqueue this one until we've figured out what the best fix is ? Thanks & Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <56ED184B.9000609-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: Re: [PATCH] ARM: dts: sun6i: Add serial0 alias and stdout-path to a31s-primo81.dts [not found] ` <56ED184B.9000609-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> @ 2016-03-21 7:50 ` Maxime Ripard 0 siblings, 0 replies; 5+ messages in thread From: Maxime Ripard @ 2016-03-21 7:50 UTC (permalink / raw) To: Hans de Goede Cc: Chen-Yu Tsai, linux-arm-kernel, devicetree, linux-sunxi, Karsten Merker [-- Attachment #1: Type: text/plain, Size: 1210 bytes --] On Sat, Mar 19, 2016 at 10:13:47AM +0100, Hans de Goede wrote: > Hi, > > On 18-03-16 18:48, Maxime Ripard wrote: > >On Thu, Mar 17, 2016 at 02:28:03PM +0800, Chen-Yu Tsai wrote: > >>On Wed, Mar 16, 2016 at 10:19 PM, Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote: > >>>u-boot uses the kernel as the canonical source for its sunxi dts files > >>>and u-boot needs these. > >>> > >>>Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> > >> > >>Acked-by: Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org> > > > >Queued, thanks! > > I just got an of-list mail from Karsten Merker that you nacked the addition > if this during the initial submission, because there are no accessible uart > test pads on this tablet. > > In that case the proper fix would be to change the u-boot defconfig to have: > > # CONFIG_REQUIRE_SERIAL_CONSOLE is not set > > Which will stop u-boot from panicking (with nowhere to print the panic msg) > when it has no stdout-path. > > Can you unqueue this one until we've figured out what the best fix is ? Done, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-03-21 7:50 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-03-16 14:19 [PATCH] ARM: dts: sun6i: Add serial0 alias and stdout-path to a31s-primo81.dts Hans de Goede [not found] ` <1458137962-27714-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2016-03-17 6:28 ` Chen-Yu Tsai [not found] ` <CAGb2v67+V1JdaG2ypgj5sXyzxiwZhYC_z_1sye5HpnMvcE_QfA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2016-03-18 17:48 ` Maxime Ripard 2016-03-19 9:13 ` [linux-sunxi] " Hans de Goede [not found] ` <56ED184B.9000609-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2016-03-21 7:50 ` Maxime Ripard
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).