serial: sc16is7xx: Enable use on ACPI-enabled platforms
Subsystems (2)
v2 cover serial: sc16is7xx: Enable use on ACPI-enabled platforms
Enable SC16IS7xx to be usable on ACPI-enabled platforms.
In v2:
- rebase on top of latest linux-next
- fix typo in title of patch 1
- explain when the new property can be used
- append Tested-by tags
Cc Rob Herring <[email protected]>,
Andy Shevchenko (4):
dt-bindings: sc16is7xx: Add alternative clock-frequency property
serial: sc16is7xx: Respect clock-frequency property
serial: sc16is7xx: Switch to use device_get_match_data()
serial: sc16is7xx: Drop of_match_ptr() use
.../bindings/serial/nxp,sc16is7xx.txt | 2 ++ drivers/tty/serial/sc16is7xx.c | 34 +++++++++---------- 2 files changed, 19 insertions(+), 17 deletions(-)
Signature · 1 line
2.20.1
PATCH v2 1/4 dt-bindings: sc16is7xx: Add alternative clock-frequency property
For the platforms which have no clock provider for the sc16is7xx type of UART, introduce an alternative clock-frequency property which would be used instead.
Cc Rob Herring <[email protected]>
Signed-off-by Andy Shevchenko <[email protected]>
--- Documentation/devicetree/bindings/serial/nxp,sc16is7xx.txt | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/serial/nxp,sc16is7xx.txt +2 -0
@@ -12,6 +12,8 @@ Required properties: - reg: I2C address of the SC16IS7xx device. - interrupts: Should contain the UART interrupt - clocks: Reference to the IC source clock. + OR (when there is no clock provider visible to the platform) +- clock-frequency: The source clock frequency for the IC. Optional properties: - gpio-controller: Marks the device node as a GPIO controller.
Signature · 1 line
2.20.1