Lines Matching +full:chip +full:- +full:to +full:- +full:chip

3 ADI is the abbreviation of Anolog-Digital interface, which is used to access
4 analog chip (such as PMIC) from digital chip. ADI controller follows the SPI
5 framework for its hardware implementation is alike to SPI bus and its timing
6 is compatile to SPI timing.
9 48 hardware channels to access analog chip. For 2 software read/write channels,
10 users should set ADI registers to access analog chip. For hardware channels,
11 we can configure them to allow other hardware components to use it independently,
12 which means we can just link one analog chip address to one hardware channel,
13 then users can access the mapped analog chip address by this hardware channel
16 Thus we introduce one property named "sprd,hw-channels" to configure hardware
17 channels, the first value specifies the hardware channel id which is used to
19 the analog chip address where user want to access by hardware components.
21 Since we have multi-subsystems will use unique ADI to access analog chip, when
23 one hardware spinlock protection to prevent other systems from reading/writing
25 ADI registers will make ADI controller registers chaos to lead incorrect results.
26 Then we need one hardware spinlock to synchronize between the multiple subsystems.
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
34 - compatible: Should be "sprd,sc9860-adi".
35 - reg: Offset and length of ADI-SPI controller register space.
36 - #address-cells: Number of cells required to define a chip select address
37 on the ADI-SPI bus. Should be set to 1.
38 - #size-cells: Size of cells required to define a chip select address size
39 on the ADI-SPI bus. Should be set to 0.
42 - hwlocks: Reference to a phandle of a hwlock provider node.
43 - hwlock-names: Reference to hwlock name strings defined in the same order
45 - sprd,hw-channels: This is an array of channel values up to 49 channels.
46 The first value specifies the hardware channel id which is used to
48 value specifies the analog chip address where user want to access
52 properties described in Documentation/devicetree/bindings/spi/spi-bus.txt.
56 compatible = "sprd,sc9860-adi";
59 hwlock-names = "adi";
60 #address-cells = <1>;
61 #size-cells = <0>;
62 sprd,hw-channels = <30 0x8c20>;