Skip to content

Commit 336a41c

Browse files
committed
arm64: dts: freescale: Add support for the GOcontroll Moduline Display
Merge series from Maud Spierings <maudspierings@gocontroll.com>: Add inital support for 2 variants of the Moduline Display controller module slot. This system is powered by the Ka-Ro Electronics tx8p-ml81 COM, which features an imx8mp SoC.
2 parents 3b2e1b8 + 10254a6 commit 336a41c

File tree

4 files changed

+97
-0
lines changed

4 files changed

+97
-0
lines changed
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/connector/gocontroll,moduline-module-slot.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: GOcontroll Moduline Module slot
8+
9+
maintainers:
10+
- Maud Spierings <maudspierings@gocontroll.com>
11+
12+
description:
13+
The GOcontroll Moduline module slot represents a connector that fullfills the
14+
Moduline slot specification, and can thus house any IO module that is also
15+
built to this spec.
16+
17+
properties:
18+
compatible:
19+
const: gocontroll,moduline-module-slot
20+
21+
reg:
22+
maxItems: 1
23+
24+
interrupts:
25+
description: indicates readiness, high means busy.
26+
maxItems: 1
27+
reset-gpios:
28+
description: resets the module, active low.
29+
maxItems: 1
30+
sync-gpios:
31+
description: sync line between all module slots.
32+
maxItems: 1
33+
34+
vdd-supply:
35+
description: low power 3v3 supply generally for the microcontroller.
36+
vddp-supply:
37+
description: medium power 5v0 supply for on module low power peripherals.
38+
vddhpp-supply:
39+
description: high power 6v-8v supply for on module high power peripherals.
40+
power-supply:
41+
description: high power 6v-30v supply for high power module circuits.
42+
43+
i2c-bus:
44+
description: i2c bus shared between module slots and the SoC
45+
$ref: /schemas/types.yaml#/definitions/phandle
46+
47+
slot-number:
48+
description:
49+
The number of the module slot representing the location of on the pcb.
50+
This enables access to the modules based on slot location.
51+
$ref: /schemas/types.yaml#/definitions/uint32
52+
53+
spi-max-frequency: true
54+
55+
required:
56+
- compatible
57+
- reg
58+
- reset-gpios
59+
- interrupts
60+
- sync-gpios
61+
- i2c-bus
62+
- slot-number
63+
64+
additionalProperties: false
65+
66+
examples:
67+
- |
68+
#include <dt-bindings/gpio/gpio.h>
69+
#include <dt-bindings/interrupt-controller/irq.h>
70+
71+
spi {
72+
#address-cells = <1>;
73+
#size-cells = <0>;
74+
75+
connector@0 {
76+
reg = <0>;
77+
compatible = "gocontroll,moduline-module-slot";
78+
reset-gpios = <&gpio5 10 GPIO_ACTIVE_LOW>;
79+
sync-gpios = <&gpio4 16 GPIO_ACTIVE_HIGH>;
80+
interrupt-parent = <&gpio4>;
81+
interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
82+
vdd-supply = <&reg_3v3_per>;
83+
vddp-supply = <&reg_5v0>;
84+
vddhpp-supply = <&reg_6v4>;
85+
i2c-bus = <&i2c2>;
86+
slot-number = <1>;
87+
};
88+
};

Documentation/devicetree/bindings/vendor-prefixes.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,8 @@ patternProperties:
593593
description: GlobalTop Technology, Inc.
594594
"^gmt,.*":
595595
description: Global Mixed-mode Technology, Inc.
596+
"^gocontroll,.*":
597+
description: GOcontroll Modular Embedded Electronics B.V.
596598
"^goldelico,.*":
597599
description: Golden Delicious Computers GmbH & Co. KG
598600
"^goodix,.*":

MAINTAINERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9820,6 +9820,11 @@ L: linux-media@vger.kernel.org
98209820
S: Maintained
98219821
F: drivers/media/usb/go7007/
98229822

9823+
GOCONTROLL MODULINE MODULE SLOT
9824+
M: Maud Spierings <maudspierings@gocontroll.com>
9825+
S: Maintained
9826+
F: Documentation/connector/gocontroll,moduline-module-slot.yaml
9827+
98239828
GOODIX TOUCHSCREEN
98249829
M: Bastien Nocera <hadess@hadess.net>
98259830
M: Hans de Goede <hdegoede@redhat.com>

drivers/spi/spidev.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,7 @@ static const struct spi_device_id spidev_spi_ids[] = {
706706
{ .name = /* cisco */ "spi-petra" },
707707
{ .name = /* dh */ "dhcom-board" },
708708
{ .name = /* elgin */ "jg10309-01" },
709+
{ .name = /* gocontroll */ "moduline-module-slot"},
709710
{ .name = /* lineartechnology */ "ltc2488" },
710711
{ .name = /* lwn */ "bk4" },
711712
{ .name = /* lwn */ "bk4-spi" },
@@ -737,6 +738,7 @@ static const struct of_device_id spidev_dt_ids[] = {
737738
{ .compatible = "cisco,spi-petra", .data = &spidev_of_check },
738739
{ .compatible = "dh,dhcom-board", .data = &spidev_of_check },
739740
{ .compatible = "elgin,jg10309-01", .data = &spidev_of_check },
741+
{ .compatible = "gocontroll,moduline-module-slot", .data = &spidev_of_check},
740742
{ .compatible = "lineartechnology,ltc2488", .data = &spidev_of_check },
741743
{ .compatible = "lwn,bk4", .data = &spidev_of_check },
742744
{ .compatible = "lwn,bk4-spi", .data = &spidev_of_check },

0 commit comments

Comments
 (0)