On Wed, Sep 11, 2024 at 07:57:19PM +0530, Ayush Singh wrote:
Add DT bindings for mikroBUS interface. MikroBUS [0] is an open standardTypo in the subject...
developed by MikroElektronika for connecting add-on boards to
microcontrollers or microprocessors.
Isn't this v6? Where's the revision history?
MikroBUS connector node will optionally act as nexus nodes for routingCannot be true. You're schema must be complete. I don't understand what
GPIOs and PWM.
For GPIOs, the following pin numbering should be followed:
0: PWM
1: INT
2: RX
3: TX
4: SCL
5: SDA
6: MOSI
7: MISO
8: SCK
9: CS
10: RST
11: AN
For PWM, the PWM pin should be on channel 0.
I am not quite sure how to deal with the nexus node properties
(#gpio-cells, gpio-map, gpio-map-mask, gpio-map-pass-thru) since they
seem to conflict with upstream gpio schema (gpio-controller is a
dependency of #gpio-cells).
[0]: https://www.mikroe.com/
Signed-off-by: Ayush Singh <ayush@xxxxxxxxxxxxxxx>
---
.../bindings/connector/mikrobus-connector.yaml | 40 ++++++++++++++++++++++
MAINTAINERS | 5 +++
2 files changed, 45 insertions(+)
diff --git a/Documentation/devicetree/bindings/connector/mikrobus-connector.yaml b/Documentation/devicetree/bindings/connector/mikrobus-connector.yaml
new file mode 100644
index 000000000000..603e4627076c
--- /dev/null
+++ b/Documentation/devicetree/bindings/connector/mikrobus-connector.yaml
@@ -0,0 +1,40 @@
+# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
+#
+# Copyright (c) Ayush Singh <ayush@xxxxxxxxxxxxxxx>
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/connector/mikrobus-connector.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: mikroBUS add-on board socket
+
+maintainers:
+ - Ayush Singh <ayush@xxxxxxxxxxxxxxx>
+
+properties:
+ compatible:
+ const: mikrobus-connector
+
+required:
+ - compatible
+
+additionalProperties: true
happened to everything else in the binding.