aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2021-05-20 19:54:39 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-27 15:18:52 +0200
commitf2b0fe4b121e25bacdcfebd8a9dfd307b87142e7 (patch)
tree6b5155d043ee4906bea85a6b108eb3ca4ad7d6c5
parentttyprintk: remove redundant initialization of variable i (diff)
downloadlinux-dev-f2b0fe4b121e25bacdcfebd8a9dfd307b87142e7.tar.xz
linux-dev-f2b0fe4b121e25bacdcfebd8a9dfd307b87142e7.zip
dt-bindings: serial: pl011: Delete an incorrect compatible string
The compatible strings "zte,zx296702-uart" and "arm,primecell" are a combination, but commit 89d4f98ae90d ("ARM: remove zte zx platform") removes only the former. It is incorrect to match driver pl011 based only on the remaining "arm,primecell". Delete it. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Reviewed-by: Rob Herring <robh@kernel.org> Documentation/devicetree/bindings/serial/pl011.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) Link: https://lore.kernel.org/r/20210520115440.8259-2-thunder.leizhen@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--Documentation/devicetree/bindings/serial/pl011.yaml9
1 files changed, 3 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/serial/pl011.yaml b/Documentation/devicetree/bindings/serial/pl011.yaml
index 142187337c76..5ea00f8a283d 100644
--- a/Documentation/devicetree/bindings/serial/pl011.yaml
+++ b/Documentation/devicetree/bindings/serial/pl011.yaml
@@ -24,12 +24,9 @@ select:
properties:
compatible:
- oneOf:
- - items:
- - const: arm,pl011
- - const: arm,primecell
- - items:
- - const: arm,primecell
+ items:
+ - const: arm,pl011
+ - const: arm,primecell
reg:
maxItems: 1