diff options
author | 2024-04-16 11:16:59 +0800 | |
---|---|---|
committer | 2024-04-17 13:14:30 +0200 | |
commit | 64c79dfbc45863821e172a606f453b39c8a8be6b (patch) | |
tree | d4a48e0336c765201baebb935c43d95388ea16a3 /scripts/recordmcount.h | |
parent | serial: port: Add support of PNP IRQ to __uart_read_properties() (diff) | |
download | linux-64c79dfbc45863821e172a606f453b39c8a8be6b.tar.gz linux-64c79dfbc45863821e172a606f453b39c8a8be6b.tar.bz2 linux-64c79dfbc45863821e172a606f453b39c8a8be6b.zip |
serial: 8250_pnp: Support configurable reg shift property
The 16550a serial port based on the ACPI table requires obtaining the
reg-shift attribute. In the ACPI scenario, If the reg-shift property
is not configured like in DTS, the 16550a serial driver cannot read or
write controller registers properly during initialization.
Signed-off-by: Guanbing Huang <albanhuang@tencent.com>
Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Bing Fan <tombinfan@tencent.com>
Tested-by: Linheng Du <dylanlhdu@tencent.com>
Link: https://lore.kernel.org/r/4726ecea8f7bfbfe42501b4f6ad9fe5b38994574.1713234515.git.albanhuang@tencent.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/recordmcount.h')
0 files changed, 0 insertions, 0 deletions