hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/Documentation/devicetree/bindings/spi/spi-sprd-adi.txt
....@@ -25,18 +25,23 @@
2525 ADI registers will make ADI controller registers chaos to lead incorrect results.
2626 Then we need one hardware spinlock to synchronize between the multiple subsystems.
2727
28
+The new version ADI controller supplies multiple master channels for different
29
+subsystem accessing, that means no need to add hardware spinlock to synchronize,
30
+thus change the hardware spinlock support to be optional to keep backward
31
+compatibility.
32
+
2833 Required properties:
2934 - compatible: Should be "sprd,sc9860-adi".
3035 - reg: Offset and length of ADI-SPI controller register space.
31
-- hwlocks: Reference to a phandle of a hwlock provider node.
32
-- hwlock-names: Reference to hwlock name strings defined in the same order
33
- as the hwlocks, should be "adi".
3436 - #address-cells: Number of cells required to define a chip select address
3537 on the ADI-SPI bus. Should be set to 1.
3638 - #size-cells: Size of cells required to define a chip select address size
3739 on the ADI-SPI bus. Should be set to 0.
3840
3941 Optional properties:
42
+- hwlocks: Reference to a phandle of a hwlock provider node.
43
+- hwlock-names: Reference to hwlock name strings defined in the same order
44
+ as the hwlocks, should be "adi".
4045 - sprd,hw-channels: This is an array of channel values up to 49 channels.
4146 The first value specifies the hardware channel id which is used to
4247 transfer data triggered by hardware automatically, and the second