new file mode 100644
@@ -0,0 +1,25 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/oneplus/oneplus-boards.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: OnePlus based boards
+
+maintainers:
+ - Caleb Connolly <caleb@connolly.tech>
+
+properties:
+ $nodename:
+ const: '/'
+ compatible:
+ oneOf:
+ - description: SDM845 based boards
+ items:
+ - enum:
+ - oneplus,enchilada # OnePlus 6
+ - oneplus,fajita # OnePlus 6T
+ - const: oneplus,oneplus6 # OnePlus 6 and derivatives
+
+required:
+ - compatible
@@ -754,6 +754,8 @@ patternProperties:
description: OLIMEX Ltd.
"^olpc,.*":
description: One Laptop Per Child
+ "^oneplus,.*":
+ description: One Plus Technology (Shenzhen) Co., Ltd..
"^onion,.*":
description: Onion Corporation
"^onnn,.*":
Used by the OnePlus 6/T device trees Signed-off-by: Caleb Connolly <caleb@connolly.tech> --- .../bindings/arm/oneplus/oneplus-boards.yaml | 25 +++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/oneplus/oneplus-boards.yaml