Lines Matching +full:sc9860 +full:- +full:adi

1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: "http://devicetree.org/schemas/spi/sprd,spi-adi.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Spreadtrum ADI controller
11 - Orson Zhai <orsonzhai@gmail.com>
12 - Baolin Wang <baolin.wang7@gmail.com>
13 - Chunyan Zhang <zhang.lyra@gmail.com>
16 ADI is the abbreviation of Anolog-Digital interface, which is used to access
17 analog chip (such as PMIC) from digital chip. ADI controller follows the SPI
21 ADI controller has 50 channels including 2 software read/write channels and
23 users should set ADI registers to access analog chip. For hardware channels,
27 triggered by hardware components instead of ADI software channels.
29 Thus we introduce one property named "sprd,hw-channels" to configure hardware
34 Since we have multi-subsystems will use unique ADI to access analog chip, when
35 one system is reading/writing data by ADI software channels, that should be under
37 data by ADI software channels at the same time, or two parallel routine of setting
38 ADI registers will make ADI controller registers chaos to lead incorrect results.
41 The new version ADI controller supplies multiple master channels for different
47 - $ref: /schemas/spi/spi-controller.yaml#
52 - sprd,sc9860-adi
53 - sprd,sc9863-adi
54 - sprd,ums512-adi
62 hwlock-names:
63 const: adi
65 sprd,hw-channels:
66 $ref: /schemas/types.yaml#/definitions/uint32-matrix
72 - description: The hardware channel id which is used to transfer data
73 triggered by hardware automatically, channel id 0-1 are for software
74 use, 2-49 are hardware channels.
77 - description: The analog chip address where user want to access by
81 - compatible
82 - reg
83 - '#address-cells'
84 - '#size-cells'
89 - |
91 #address-cells = <2>;
92 #size-cells = <2>;
95 compatible = "sprd,sc9860-adi";
98 hwlock-names = "adi";
99 #address-cells = <1>;
100 #size-cells = <0>;
101 sprd,hw-channels = <30 0x8c20>;