* [PATCH] ARM: dts: rockchip: add chosen node on veyron chromebooks @ 2019-02-15 11:51 Enric Balletbo i Serra 2019-02-15 23:08 ` Heiko Stübner 0 siblings, 1 reply; 5+ messages in thread From: Enric Balletbo i Serra @ 2019-02-15 11:51 UTC (permalink / raw) To: Heiko Stuebner Cc: mark.rutland, devicetree, linux-kernel, linux-rockchip, Rob Herring, kernel, linux-arm-kernel In order to use earlycon, the stdout-path property needs to be set in the chosen node. Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> --- arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi b/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi index b54746df3661..8890967ed572 100644 --- a/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi +++ b/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi @@ -62,6 +62,10 @@ pwm-off-delay-ms = <10>; }; + chosen { + stdout-path = "serial2:115200n8"; + }; + gpio-charger { compatible = "gpio-charger"; charger-type = "mains"; -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] ARM: dts: rockchip: add chosen node on veyron chromebooks 2019-02-15 11:51 [PATCH] ARM: dts: rockchip: add chosen node on veyron chromebooks Enric Balletbo i Serra @ 2019-02-15 23:08 ` Heiko Stübner 2019-02-16 1:13 ` Alexandru M Stan 0 siblings, 1 reply; 5+ messages in thread From: Heiko Stübner @ 2019-02-15 23:08 UTC (permalink / raw) To: Enric Balletbo i Serra, dianders Cc: mark.rutland, devicetree, linux-kernel, linux-rockchip, Rob Herring, kernel, linux-arm-kernel Hi Enric, Am Freitag, 15. Februar 2019, 12:51:50 CET schrieb Enric Balletbo i Serra: > In order to use earlycon, the stdout-path property needs to be set > in the chosen node. > > Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> What's the reason for adding this only for the Chromebook variants? Uart2 is pretty much the standard output for all devices, so I'd assume at least all veyron boards should use uart2 as well, making this ideally live in the rk3288-veyron.dtsi instead? Heiko > --- > > arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi > b/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi index > b54746df3661..8890967ed572 100644 > --- a/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi > +++ b/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi > @@ -62,6 +62,10 @@ > pwm-off-delay-ms = <10>; > }; > > + chosen { > + stdout-path = "serial2:115200n8"; > + }; > + > gpio-charger { > compatible = "gpio-charger"; > charger-type = "mains"; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ARM: dts: rockchip: add chosen node on veyron chromebooks 2019-02-15 23:08 ` Heiko Stübner @ 2019-02-16 1:13 ` Alexandru M Stan 2019-02-16 20:28 ` Heiko Stuebner 0 siblings, 1 reply; 5+ messages in thread From: Alexandru M Stan @ 2019-02-16 1:13 UTC (permalink / raw) To: Heiko Stübner Cc: Mark Rutland, devicetree, Doug Anderson, linux-kernel, open list:ARM/Rockchip SoC..., Rob Herring, Enric Balletbo i Serra, kernel, linux-arm-kernel On Fri, Feb 15, 2019 at 3:09 PM Heiko Stübner <heiko@sntech.de> wrote: > > Hi Enric, > > Am Freitag, 15. Februar 2019, 12:51:50 CET schrieb Enric Balletbo i Serra: > > In order to use earlycon, the stdout-path property needs to be set > > in the chosen node. > > > > Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> > > What's the reason for adding this only for the Chromebook variants? > Uart2 is pretty much the standard output for all devices, so I'd assume > at least all veyron boards should use uart2 as well, making this ideally > live in the rk3288-veyron.dtsi instead? Yep, all veyriants use uart 2, even when they're not chromebooks. Feel free to put it in the other file instead. Otherwise it'll make things like the Asus Chromebit (mickey), AOpen Chromebox mini (fievel), and AOpen Chromebase (tiger) unhappy while debugging. The rk3288-veyron-chromebook.dtsi file is more for things that make a chromebook portable. Ex: built in display, lid switch, cros-ec. Note how we have no uart2 references either in our tree in the chromebook specific dtsi: https://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-3.14/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi Alexandru Stan (amstan) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ARM: dts: rockchip: add chosen node on veyron chromebooks 2019-02-16 1:13 ` Alexandru M Stan @ 2019-02-16 20:28 ` Heiko Stuebner 2019-02-17 20:38 ` Enric Balletbo Serra 0 siblings, 1 reply; 5+ messages in thread From: Heiko Stuebner @ 2019-02-16 20:28 UTC (permalink / raw) To: Alexandru M Stan Cc: Mark Rutland, devicetree, Doug Anderson, linux-kernel, open list:ARM/Rockchip SoC..., Rob Herring, Enric Balletbo i Serra, kernel, linux-arm-kernel Am Samstag, 16. Februar 2019, 02:13:25 CET schrieb Alexandru M Stan: > On Fri, Feb 15, 2019 at 3:09 PM Heiko Stübner <heiko@sntech.de> wrote: > > > > Hi Enric, > > > > Am Freitag, 15. Februar 2019, 12:51:50 CET schrieb Enric Balletbo i Serra: > > > In order to use earlycon, the stdout-path property needs to be set > > > in the chosen node. > > > > > > Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> > > > > What's the reason for adding this only for the Chromebook variants? > > Uart2 is pretty much the standard output for all devices, so I'd assume > > at least all veyron boards should use uart2 as well, making this ideally > > live in the rk3288-veyron.dtsi instead? > > Yep, all veyriants use uart 2, even when they're not chromebooks. > Feel free to put it in the other file instead. > > Otherwise it'll make things like the Asus Chromebit (mickey), AOpen > Chromebox mini (fievel), and AOpen Chromebase (tiger) unhappy > while debugging. > > The rk3288-veyron-chromebook.dtsi file is more for things that make > a chromebook portable. Ex: built in display, lid switch, cros-ec. > > Note how we have no uart2 references either in our tree in the > chromebook specific dtsi: > https://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-3.14/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi thanks for the confirmation :-) . I've moved the choosen node over to veyron.dtsi and applied the result for 5.1 Thanks Heiko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ARM: dts: rockchip: add chosen node on veyron chromebooks 2019-02-16 20:28 ` Heiko Stuebner @ 2019-02-17 20:38 ` Enric Balletbo Serra 0 siblings, 0 replies; 5+ messages in thread From: Enric Balletbo Serra @ 2019-02-17 20:38 UTC (permalink / raw) To: Heiko Stuebner Cc: Mark Rutland, devicetree@vger.kernel.org, Alexandru M Stan, linux-kernel, Doug Anderson, open list:ARM/Rockchip SoC..., Rob Herring, Enric Balletbo i Serra, kernel, Linux ARM Hi, Missatge de Heiko Stuebner <heiko@sntech.de> del dia ds., 16 de febr. 2019 a les 21:28: > > Am Samstag, 16. Februar 2019, 02:13:25 CET schrieb Alexandru M Stan: > > On Fri, Feb 15, 2019 at 3:09 PM Heiko Stübner <heiko@sntech.de> wrote: > > > > > > Hi Enric, > > > > > > Am Freitag, 15. Februar 2019, 12:51:50 CET schrieb Enric Balletbo i Serra: > > > > In order to use earlycon, the stdout-path property needs to be set > > > > in the chosen node. > > > > > > > > Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> > > > > > > What's the reason for adding this only for the Chromebook variants? > > > Uart2 is pretty much the standard output for all devices, so I'd assume > > > at least all veyron boards should use uart2 as well, making this ideally > > > live in the rk3288-veyron.dtsi instead? > > > > Yep, all veyriants use uart 2, even when they're not chromebooks. > > Feel free to put it in the other file instead. > > > > Otherwise it'll make things like the Asus Chromebit (mickey), AOpen > > Chromebox mini (fievel), and AOpen Chromebase (tiger) unhappy > > while debugging. > > > > The rk3288-veyron-chromebook.dtsi file is more for things that make > > a chromebook portable. Ex: built in display, lid switch, cros-ec. > > > > Note how we have no uart2 references either in our tree in the > > chromebook specific dtsi: > > https://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-3.14/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi > > thanks for the confirmation :-) . > > I've moved the choosen node over to veyron.dtsi and applied the result > for 5.1 > Perfect thanks, I was unsure about the non-chromebooks devices. > Thanks > Heiko > > > > _______________________________________________ > Linux-rockchip mailing list > Linux-rockchip@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-02-17 20:38 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-02-15 11:51 [PATCH] ARM: dts: rockchip: add chosen node on veyron chromebooks Enric Balletbo i Serra 2019-02-15 23:08 ` Heiko Stübner 2019-02-16 1:13 ` Alexandru M Stan 2019-02-16 20:28 ` Heiko Stuebner 2019-02-17 20:38 ` Enric Balletbo Serra
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).