[RFC] serial: 8250_dw of_earlycon support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I was in process of adding of_earlycon to the 8250_dw driver and found
the following:

1) At the early boot stage, i.e., when early_init_dt_scan_chosen_serial
is called, there's no support of parsing specific device tree properties
under a node

2) For more generic 8250 based serial controllers like 8250_dw that
supports various types of MMIO access including 8b MMIO, and 32b little
endian MMIO, and etc., there's no way to allow implementing a generic
OF_EARLYCON support since its device tree property "reg-io-width",
cannot be parsed at the early boot stage, and hardcoding the port iotype
to a specific type in the earlycon setup function will make it work only
for one particular type of IO

If both above statements are true, then does it make more sense to
continue to use boot parameter based earlycon support for this type of
serial controllers?

Thanks,

Ray
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux