>> Can we add properties to indicate the common high-speed modes too?  
>> The
>> Natsemi baud-base thing could be autodetected by 8250.c if you'd  
>> let it,
>> but the SMSC trick just has to be set as a UPF_MAGIC_MULTIPLIER flag.
>
> Yes, that sounds good. I do not have enough understanding about the
> extra feature to know which ones should get detected with their own
> property, so I left that out for the next person that needs it...

Since these devices will work (just not with the extra-high
baudrates) when driven as a "standard" 16550, you can indeed
just add a property to declare the device supports this stuff.

But please also declare the device to be such a special device
in its "compatible" property.  So you end up with something like

        [EMAIL PROTECTED]
        {
                reg = <1 3f8>;
                device_type = "serial";
                compatible = "smsc,12345", "ns16550a", "pnpPNP,501";
                clock-frequency = 1843200;
                smsc-multipliers; # <--- there's the new thing
        }


Segher

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to