Re: [PATCH 0/4] switch arc-uart to devicetree based probing
On Wednesday 16 January 2013 11:46 AM, Greg KH wrote: > On Fri, Jan 11, 2013 at 11:50:19AM +0530, Vineet Gupta wrote: >> Hi, >> >> As part of converting ARC Port to devicetree infrastructure, the following >> series converts the arc-uart driver to DT. >> >> * The first patch is a bug-fix which showed up in the process as DT based >> platform devices by default have -ve id >> * Next two prepare the driver for forthcoming DT changes. >> * Last one contains the DT bindings and driver using those. >> >> Couple of points worth mentioning: >> * The earlyprintk portion of driver still relies on static platform data >> we would need some earlyprintk handling in of_fdt_* to clean it up properly >> * Two of the three platform data instances are now retrieved from DT. >> However one still needs to be dynamically passed by platform (using >> of_dev_auxdata) as we want to run same image in simulator and hardware >> >> Tested on in-works ARC 3.8 port. >> >> P.S. Greg, can this be treated as a bug-fix for 3.8 > No, because it is not a bugfix, but a new feature, sorry. > > greg k-h NP. Thx a bunch for merging these. -Vineet -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 0/4] switch arc-uart to devicetree based probing
On Fri, Jan 11, 2013 at 11:50:19AM +0530, Vineet Gupta wrote: > Hi, > > As part of converting ARC Port to devicetree infrastructure, the following > series converts the arc-uart driver to DT. > > * The first patch is a bug-fix which showed up in the process as DT based > platform devices by default have -ve id > * Next two prepare the driver for forthcoming DT changes. > * Last one contains the DT bindings and driver using those. > > Couple of points worth mentioning: > * The earlyprintk portion of driver still relies on static platform data > we would need some earlyprintk handling in of_fdt_* to clean it up properly > * Two of the three platform data instances are now retrieved from DT. > However one still needs to be dynamically passed by platform (using > of_dev_auxdata) as we want to run same image in simulator and hardware > > Tested on in-works ARC 3.8 port. > > P.S. Greg, can this be treated as a bug-fix for 3.8 No, because it is not a bugfix, but a new feature, sorry. greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 0/4] switch arc-uart to devicetree based probing
On Fri, Jan 11, 2013 at 11:50:19AM +0530, Vineet Gupta wrote: Hi, As part of converting ARC Port to devicetree infrastructure, the following series converts the arc-uart driver to DT. * The first patch is a bug-fix which showed up in the process as DT based platform devices by default have -ve id * Next two prepare the driver for forthcoming DT changes. * Last one contains the DT bindings and driver using those. Couple of points worth mentioning: * The earlyprintk portion of driver still relies on static platform data we would need some earlyprintk handling in of_fdt_* to clean it up properly * Two of the three platform data instances are now retrieved from DT. However one still needs to be dynamically passed by platform (using of_dev_auxdata) as we want to run same image in simulator and hardware Tested on in-works ARC 3.8 port. P.S. Greg, can this be treated as a bug-fix for 3.8 No, because it is not a bugfix, but a new feature, sorry. greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 0/4] switch arc-uart to devicetree based probing
On Wednesday 16 January 2013 11:46 AM, Greg KH wrote: On Fri, Jan 11, 2013 at 11:50:19AM +0530, Vineet Gupta wrote: Hi, As part of converting ARC Port to devicetree infrastructure, the following series converts the arc-uart driver to DT. * The first patch is a bug-fix which showed up in the process as DT based platform devices by default have -ve id * Next two prepare the driver for forthcoming DT changes. * Last one contains the DT bindings and driver using those. Couple of points worth mentioning: * The earlyprintk portion of driver still relies on static platform data we would need some earlyprintk handling in of_fdt_* to clean it up properly * Two of the three platform data instances are now retrieved from DT. However one still needs to be dynamically passed by platform (using of_dev_auxdata) as we want to run same image in simulator and hardware Tested on in-works ARC 3.8 port. P.S. Greg, can this be treated as a bug-fix for 3.8 No, because it is not a bugfix, but a new feature, sorry. greg k-h NP. Thx a bunch for merging these. -Vineet -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 0/4] switch arc-uart to devicetree based probing
Hi, As part of converting ARC Port to devicetree infrastructure, the following series converts the arc-uart driver to DT. * The first patch is a bug-fix which showed up in the process as DT based platform devices by default have -ve id * Next two prepare the driver for forthcoming DT changes. * Last one contains the DT bindings and driver using those. Couple of points worth mentioning: * The earlyprintk portion of driver still relies on static platform data we would need some earlyprintk handling in of_fdt_* to clean it up properly * Two of the three platform data instances are now retrieved from DT. However one still needs to be dynamically passed by platform (using of_dev_auxdata) as we want to run same image in simulator and hardware Tested on in-works ARC 3.8 port. P.S. Greg, can this be treated as a bug-fix for 3.8 Thx, -Vineet Vineet Gupta (4): serial/arc-uart: Don't index with -ve platform_device->id serial/arc-uart: split probe from probe_earlyprintk serial/arc-uart: platform_data order changed serial/arc-uart: switch to devicetree based probing .../devicetree/bindings/tty/serial/arc-uart.txt| 26 ++ drivers/tty/serial/arc_uart.c | 95 ++-- 2 files changed, 94 insertions(+), 27 deletions(-) create mode 100644 Documentation/devicetree/bindings/tty/serial/arc-uart.txt -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 0/4] switch arc-uart to devicetree based probing
Hi, As part of converting ARC Port to devicetree infrastructure, the following series converts the arc-uart driver to DT. * The first patch is a bug-fix which showed up in the process as DT based platform devices by default have -ve id * Next two prepare the driver for forthcoming DT changes. * Last one contains the DT bindings and driver using those. Couple of points worth mentioning: * The earlyprintk portion of driver still relies on static platform data we would need some earlyprintk handling in of_fdt_* to clean it up properly * Two of the three platform data instances are now retrieved from DT. However one still needs to be dynamically passed by platform (using of_dev_auxdata) as we want to run same image in simulator and hardware Tested on in-works ARC 3.8 port. P.S. Greg, can this be treated as a bug-fix for 3.8 Thx, -Vineet Vineet Gupta (4): serial/arc-uart: Don't index with -ve platform_device-id serial/arc-uart: split probe from probe_earlyprintk serial/arc-uart: platform_data order changed serial/arc-uart: switch to devicetree based probing .../devicetree/bindings/tty/serial/arc-uart.txt| 26 ++ drivers/tty/serial/arc_uart.c | 95 ++-- 2 files changed, 94 insertions(+), 27 deletions(-) create mode 100644 Documentation/devicetree/bindings/tty/serial/arc-uart.txt -- 1.7.4.1 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/