summaryrefslogtreecommitdiff
path: root/include/linux/maple.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2016-07-08 12:00:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-31 16:24:23 +0300
commit2426fbc77faef57c80a573303af6543531e2efa3 (patch)
treec86998c69689e206090d843d04aa6690b2ddd552 /include/linux/maple.h
parent9c267ddb41a6108761c82bf7444ea5e6eacc8222 (diff)
downloadlinux-2426fbc77faef57c80a573303af6543531e2efa3.tar.xz
tty: amba-pl011: probe ZTE device from AMBA bus with a pseudo-ID
There is no Peripheral Identification Registers on ZTE PL011 device, so although the driver amba-pl011 is ready to work for ZTE device, the device cannot be probed by the driver at all. With arm,primecell-periphid DT bindings (bindings/arm/primecell.txt) in place, it should be the cleanest the way to use a pseudo-ID to probe the device from AMBA bus. We create an unofficial vendor number AMBA_VENDOR_LINUX, which will practically never become an official vendor ID, and takes Configuration, Revision number, and Part number as input to compose a pseudo-ID for ZTE device. Also, since we start using vendor_zte to probe ZTE device, the __maybe_unused for vendor_zte is removed. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/maple.h')
0 files changed, 0 insertions, 0 deletions