commit | da02d79452ea34e7ab22bd97d2fc7383bc00e16b | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Mon Aug 27 22:15:40 2018 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Aug 30 09:14:14 2018 +0200 |
tree | 44ce67fea5e491a724a370437998ec59ae742a9e | |
parent | 888263947cd9f14e3f83be5b3e73ccabb71834d1 [diff] |
gpio: ftgpio: Support optional silicon clock The GPIO silicon is clocked with a PCLK (peripheral clock) on all systems, however not all platforms model it and include it in e.g. the device tree, so add clock handling but make it optional so we bail out safely if it is e.g. always on. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>