* [PATCH v2] serial: xuartps: Enable OF earlycon support
@ 2016-02-18 7:57 ` Michal Simek
0 siblings, 0 replies; 8+ messages in thread
From: Michal Simek @ 2016-02-18 7:57 UTC (permalink / raw)
To: Arnd Bergmann, peter
Cc: linux-arm-kernel, Sören Brinkmann, monstr, Jiri Slaby,
linux-kernel, linux-serial, Greg Kroah-Hartman
Support early console setup via DT for all listed compatible strings.
Remove EARLYCON_DECLARE which was done by:
"Use common framework for earlycon declarations"
(sha1: 2eaa790989e03900298ad24f77f1086dbbc1aebd)
when OF_EARLYCON_DECLARE is defined.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
Changes in v2:
- Separate serial patch from others
- Remove EARLYCON_DECLARE and use the same earlycon name with different
compatible string as was pointed by Peter Hurley
- Extend commit message
drivers/tty/serial/xilinx_uartps.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c
index 131a3117fbbb..cd46e64c4255 100644
--- a/drivers/tty/serial/xilinx_uartps.c
+++ b/drivers/tty/serial/xilinx_uartps.c
@@ -1077,7 +1077,9 @@ static int __init cdns_early_console_setup(struct earlycon_device *device,
return 0;
}
-EARLYCON_DECLARE(cdns, cdns_early_console_setup);
+OF_EARLYCON_DECLARE(cdns, "xlnx,xuartps", cdns_early_console_setup);
+OF_EARLYCON_DECLARE(cdns, "cdns,uart-r1p8", cdns_early_console_setup);
+OF_EARLYCON_DECLARE(cdns, "cdns,uart-r1p12", cdns_early_console_setup);
/**
* cdns_uart_console_write - perform write operation
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v2] serial: xuartps: Enable OF earlycon support
@ 2016-02-18 7:57 ` Michal Simek
0 siblings, 0 replies; 8+ messages in thread
From: Michal Simek @ 2016-02-18 7:57 UTC (permalink / raw)
To: linux-arm-kernel
Support early console setup via DT for all listed compatible strings.
Remove EARLYCON_DECLARE which was done by:
"Use common framework for earlycon declarations"
(sha1: 2eaa790989e03900298ad24f77f1086dbbc1aebd)
when OF_EARLYCON_DECLARE is defined.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
Changes in v2:
- Separate serial patch from others
- Remove EARLYCON_DECLARE and use the same earlycon name with different
compatible string as was pointed by Peter Hurley
- Extend commit message
drivers/tty/serial/xilinx_uartps.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c
index 131a3117fbbb..cd46e64c4255 100644
--- a/drivers/tty/serial/xilinx_uartps.c
+++ b/drivers/tty/serial/xilinx_uartps.c
@@ -1077,7 +1077,9 @@ static int __init cdns_early_console_setup(struct earlycon_device *device,
return 0;
}
-EARLYCON_DECLARE(cdns, cdns_early_console_setup);
+OF_EARLYCON_DECLARE(cdns, "xlnx,xuartps", cdns_early_console_setup);
+OF_EARLYCON_DECLARE(cdns, "cdns,uart-r1p8", cdns_early_console_setup);
+OF_EARLYCON_DECLARE(cdns, "cdns,uart-r1p12", cdns_early_console_setup);
/**
* cdns_uart_console_write - perform write operation
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v2] serial: xuartps: Enable OF earlycon support
2016-02-18 7:57 ` Michal Simek
@ 2016-02-18 16:50 ` Peter Hurley
-1 siblings, 0 replies; 8+ messages in thread
From: Peter Hurley @ 2016-02-18 16:50 UTC (permalink / raw)
To: Michal Simek, Arnd Bergmann
Cc: linux-arm-kernel, Sören Brinkmann, monstr, Jiri Slaby,
linux-kernel, linux-serial, Greg Kroah-Hartman
On 02/17/2016 11:57 PM, Michal Simek wrote:
> Support early console setup via DT for all listed compatible strings.
> Remove EARLYCON_DECLARE which was done by:
> "Use common framework for earlycon declarations"
> (sha1: 2eaa790989e03900298ad24f77f1086dbbc1aebd)
> when OF_EARLYCON_DECLARE is defined.
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] serial: xuartps: Enable OF earlycon support
@ 2016-02-18 16:50 ` Peter Hurley
0 siblings, 0 replies; 8+ messages in thread
From: Peter Hurley @ 2016-02-18 16:50 UTC (permalink / raw)
To: linux-arm-kernel
On 02/17/2016 11:57 PM, Michal Simek wrote:
> Support early console setup via DT for all listed compatible strings.
> Remove EARLYCON_DECLARE which was done by:
> "Use common framework for earlycon declarations"
> (sha1: 2eaa790989e03900298ad24f77f1086dbbc1aebd)
> when OF_EARLYCON_DECLARE is defined.
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2] serial: xuartps: Enable OF earlycon support
2016-02-18 16:50 ` Peter Hurley
@ 2016-02-25 13:04 ` Michal Simek
-1 siblings, 0 replies; 8+ messages in thread
From: Michal Simek @ 2016-02-25 13:04 UTC (permalink / raw)
To: Peter Hurley, Michal Simek, Arnd Bergmann, Greg Kroah-Hartman
Cc: linux-arm-kernel, Sören Brinkmann, Jiri Slaby, linux-kernel,
linux-serial
[-- Attachment #1.1: Type: text/plain, Size: 907 bytes --]
Hi Greg,
On 18.2.2016 17:50, Peter Hurley wrote:
> On 02/17/2016 11:57 PM, Michal Simek wrote:
>> Support early console setup via DT for all listed compatible strings.
>> Remove EARLYCON_DECLARE which was done by:
>> "Use common framework for earlycon declarations"
>> (sha1: 2eaa790989e03900298ad24f77f1086dbbc1aebd)
>> when OF_EARLYCON_DECLARE is defined.
>
> Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Can you please add it your queue for 4.6?
Or can we merge it via arm-soc tree as was suggested by Arnd here?
https://lkml.org/lkml/2016/2/16/315
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] serial: xuartps: Enable OF earlycon support
@ 2016-02-25 13:04 ` Michal Simek
0 siblings, 0 replies; 8+ messages in thread
From: Michal Simek @ 2016-02-25 13:04 UTC (permalink / raw)
To: linux-arm-kernel
Hi Greg,
On 18.2.2016 17:50, Peter Hurley wrote:
> On 02/17/2016 11:57 PM, Michal Simek wrote:
>> Support early console setup via DT for all listed compatible strings.
>> Remove EARLYCON_DECLARE which was done by:
>> "Use common framework for earlycon declarations"
>> (sha1: 2eaa790989e03900298ad24f77f1086dbbc1aebd)
>> when OF_EARLYCON_DECLARE is defined.
>
> Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Can you please add it your queue for 4.6?
Or can we merge it via arm-soc tree as was suggested by Arnd here?
https://lkml.org/lkml/2016/2/16/315
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160225/a8164c32/attachment.sig>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2] serial: xuartps: Enable OF earlycon support
2016-02-25 13:04 ` Michal Simek
@ 2016-03-05 22:19 ` Greg Kroah-Hartman
-1 siblings, 0 replies; 8+ messages in thread
From: Greg Kroah-Hartman @ 2016-03-05 22:19 UTC (permalink / raw)
To: Michal Simek
Cc: Peter Hurley, Michal Simek, Arnd Bergmann, linux-arm-kernel,
Sören Brinkmann, Jiri Slaby, linux-kernel, linux-serial
On Thu, Feb 25, 2016 at 02:04:23PM +0100, Michal Simek wrote:
> Hi Greg,
>
> On 18.2.2016 17:50, Peter Hurley wrote:
> > On 02/17/2016 11:57 PM, Michal Simek wrote:
> >> Support early console setup via DT for all listed compatible strings.
> >> Remove EARLYCON_DECLARE which was done by:
> >> "Use common framework for earlycon declarations"
> >> (sha1: 2eaa790989e03900298ad24f77f1086dbbc1aebd)
> >> when OF_EARLYCON_DECLARE is defined.
> >
> > Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
>
> Can you please add it your queue for 4.6?
> Or can we merge it via arm-soc tree as was suggested by Arnd here?
> https://lkml.org/lkml/2016/2/16/315
I can take it, thanks.
greg k-h
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] serial: xuartps: Enable OF earlycon support
@ 2016-03-05 22:19 ` Greg Kroah-Hartman
0 siblings, 0 replies; 8+ messages in thread
From: Greg Kroah-Hartman @ 2016-03-05 22:19 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Feb 25, 2016 at 02:04:23PM +0100, Michal Simek wrote:
> Hi Greg,
>
> On 18.2.2016 17:50, Peter Hurley wrote:
> > On 02/17/2016 11:57 PM, Michal Simek wrote:
> >> Support early console setup via DT for all listed compatible strings.
> >> Remove EARLYCON_DECLARE which was done by:
> >> "Use common framework for earlycon declarations"
> >> (sha1: 2eaa790989e03900298ad24f77f1086dbbc1aebd)
> >> when OF_EARLYCON_DECLARE is defined.
> >
> > Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
>
> Can you please add it your queue for 4.6?
> Or can we merge it via arm-soc tree as was suggested by Arnd here?
> https://lkml.org/lkml/2016/2/16/315
I can take it, thanks.
greg k-h
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-03-05 22:19 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-18 7:57 [PATCH v2] serial: xuartps: Enable OF earlycon support Michal Simek
2016-02-18 7:57 ` Michal Simek
2016-02-18 16:50 ` Peter Hurley
2016-02-18 16:50 ` Peter Hurley
2016-02-25 13:04 ` Michal Simek
2016-02-25 13:04 ` Michal Simek
2016-03-05 22:19 ` Greg Kroah-Hartman
2016-03-05 22:19 ` Greg Kroah-Hartman
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.