On Mon Dec 21 21:42, Scott Wood wrote:
> On Wed, 2015-11-25 at 10:46 -0800, Curt Brune wrote:
> > Currently for PowerPC systems using device tree, the legacy serial
> > ports are allocated in the order by which they are found in the device
> > tree structure.
> >
>
On Sun Dec 20 09:02, Segher Boessenkool wrote:
> On Wed, Nov 25, 2015 at 10:46:49AM -0800, Curt Brune wrote:
> > + /* Check if the ports have an ordering, defined by 'cell-index' */
> > + if (((indexp = (u32*)of_get_property(np, "cell-index", &len)) != N
sed in all the Freescale .dts files for PowerPC.
Signed-off-by: Curt Brune
---
arch/powerpc/kernel/legacy_serial.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/kernel/legacy_serial.c
b/arch/powerpc/kernel/legacy_serial.c
index 7b750c4..b717133 10
le I would follow up with additional
patches for Documentation/devicetree/ bindings and
Documentation/powerpc/.
Curt Brune (1):
powerpc: legacy serial port use device tree cell-index property
arch/powerpc/kernel/legacy_serial.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)