hc
2023-02-14 0cc9b7c44253c93447ddf73e206fbdbb3d9f16b1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Maxim Integrated MAX2175 RF to Bits tuner
-----------------------------------------
 
The MAX2175 IC is an advanced analog/digital hybrid-radio receiver with
RF to Bits® front-end designed for software-defined radio solutions.
 
Required properties:
--------------------
- compatible: "maxim,max2175" for MAX2175 RF-to-bits tuner.
- clocks: clock specifier.
- port: child port node corresponding to the I2S output, in accordance with
   the video interface bindings defined in
   Documentation/devicetree/bindings/media/video-interfaces.txt. The port
   node must contain at least one endpoint.
 
Optional properties:
--------------------
- maxim,master          : phandle to the master tuner if it is a slave. This
           is used to define two tuners in diversity mode
           (1 master, 1 slave). By default each tuner is an
           individual master.
- maxim,refout-load   : load capacitance value (in picofarads) on reference
           output drive level. The possible load values are:
            0 (default - refout disabled)
           10
           20
           30
           40
           60
           70
- maxim,am-hiz-filter : empty property indicates the AM Hi-Z filter is used
           in this hardware for AM antenna input.
 
Example:
--------
 
Board specific DTS file
 
/* Fixed XTAL clock node */
maxim_xtal: clock {
   compatible = "fixed-clock";
   #clock-cells = <0>;
   clock-frequency = <36864000>;
};
 
/* A tuner device instance under i2c bus */
max2175_0: tuner@60 {
   compatible = "maxim,max2175";
   reg = <0x60>;
   clocks = <&maxim_xtal>;
   maxim,refout-load = <10>;
 
   port {
       max2175_0_ep: endpoint {
           remote-endpoint = <&slave_rx_device>;
       };
   };
 
};