serial: bcm283x_mu: support disabling after initialization
authorFabian Vogt <fvogt@suse.com>
Mon, 26 Sep 2016 12:26:49 +0000 (14:26 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 29 Nov 2016 01:09:50 +0000 (20:09 -0500)
commitcb97ad47bfa365128927438b94065fa900838770
treed3d5011661ae6b1c798eacc64bdd9d5a50168d38
parentff5d7ae713ac6de37f3a93f3a4fed13ab4ffd154
serial: bcm283x_mu: support disabling after initialization

For the Raspberry Pi 3 it needs to be possible to disable the serial
device after initialization happens, as only after the GPIO device is available
it is known whether the mini uart is usable.

Signed-off-by: Fabian Vogt <fvogt@suse.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_bcm283x_mu.c