Skip to contentSkip to conversation

PowerPC legacy serial console / device tree

RFC New Curt Brune 1 participant 1 message Nov 25, 2015

lore
Share & tools
lore

Curt Brune

author
#0 lore raw

cover PowerPC legacy serial console / device tree

Proposing to use the 'cell-index' property to map device tree serial nodes to legacy serial port number. For example this allows the device to explicity specify which serial device to use for ttyS0.

The basic idea is outlined in the following patch.

If this approach seems reasonable 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(-)
Signature · 1 line
1.9.1