diff options
| author | Andy Shevchenko <[email protected]> | 2019-08-06 12:43:19 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-09-04 12:43:52 +0200 |
| commit | b4d0aac23e355933e963492bd71f98a36819137a (patch) | |
| tree | 2bb0d381c0b0e38d2897970f293ae16321ba7fe0 /tools/perf/scripts/python | |
| parent | bf414f5520ef856f6026bcd39942704d7004f7f0 (diff) | |
serial: 8250_lpss: add fractional divisor support
For Synopsys DesignWare 8250 uart which version >= 4.00a, there's a
valid divisor latch fraction register.
Now the preparation is done, it's easy to add the feature support.
This patch firstly tries to get the fractional divisor width during
probe, then setups specific get_divisor() and set_divisor() hook.
Among other changes the FIFO size is now retrieved from the hardware.
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions