diff options
| author | Jisheng Zhang <Jisheng.Zhang@synaptics.com> | 2018-07-12 09:59:40 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-12 17:07:26 +0200 |
| commit | 701c5e73b296f93e3d07af663f354e859be4f1f7 (patch) | |
| tree | 152431f209d951bfa387291087d7f1597d97a564 /tools/perf/scripts/python | |
| parent | serial: 8250: export serial8250_do_set_divisor() (diff) | |
| download | linux-701c5e73b296f93e3d07af663f354e859be4f1f7.tar.gz linux-701c5e73b296f93e3d07af663f354e859be4f1f7.zip | |
serial: 8250_dw: add fractional divisor support
For Synopsys DesignWare 8250 uart which version >= 4.00a, there's a
valid divisor latch fraction register. The fractional divisor width is
4bits ~ 6bits.
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 dw specific get_divisor() and set_divisor() hook.
Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
