xref: /freebsd-src/sys/contrib/device-tree/Bindings/hsi/client-devices.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotEach HSI port is supposed to have one child node, which
2*c66ec88fSEmmanuel Vadotsymbols the remote device connected to the HSI port. The
3*c66ec88fSEmmanuel Vadotfollowing properties are standardized for HSI clients:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotRequired HSI configuration properties:
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadot- hsi-channel-ids:	A list of channel ids
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot- hsi-rx-mode:		Receiver Bit transmission mode ("stream" or "frame")
10*c66ec88fSEmmanuel Vadot- hsi-tx-mode:		Transmitter Bit transmission mode ("stream" or "frame")
11*c66ec88fSEmmanuel Vadot- hsi-mode:		May be used instead hsi-rx-mode and hsi-tx-mode if
12*c66ec88fSEmmanuel Vadot			the transmission mode is the same for receiver and
13*c66ec88fSEmmanuel Vadot			transmitter
14*c66ec88fSEmmanuel Vadot- hsi-speed-kbps:	Max bit transmission speed in kbit/s
15*c66ec88fSEmmanuel Vadot- hsi-flow:		RX flow type ("synchronized" or "pipeline")
16*c66ec88fSEmmanuel Vadot- hsi-arb-mode:		Arbitration mode for TX frame ("round-robin", "priority")
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotOptional HSI configuration properties:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot- hsi-channel-names:	A list with one name per channel specified in the
21*c66ec88fSEmmanuel Vadot			hsi-channel-ids property
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel VadotDevice Tree node example for an HSI client:
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadothsi-controller {
27*c66ec88fSEmmanuel Vadot	hsi-port {
28*c66ec88fSEmmanuel Vadot		modem: hsi-client {
29*c66ec88fSEmmanuel Vadot			compatible = "nokia,n900-modem";
30*c66ec88fSEmmanuel Vadot
31*c66ec88fSEmmanuel Vadot			hsi-channel-ids = <0>, <1>, <2>, <3>;
32*c66ec88fSEmmanuel Vadot			hsi-channel-names = "mcsaab-control",
33*c66ec88fSEmmanuel Vadot					    "speech-control",
34*c66ec88fSEmmanuel Vadot					    "speech-data",
35*c66ec88fSEmmanuel Vadot					    "mcsaab-data";
36*c66ec88fSEmmanuel Vadot			hsi-speed-kbps = <55000>;
37*c66ec88fSEmmanuel Vadot			hsi-mode = "frame";
38*c66ec88fSEmmanuel Vadot			hsi-flow = "synchronized";
39*c66ec88fSEmmanuel Vadot			hsi-arb-mode = "round-robin";
40*c66ec88fSEmmanuel Vadot
41*c66ec88fSEmmanuel Vadot			/* more client specific properties */
42*c66ec88fSEmmanuel Vadot		};
43*c66ec88fSEmmanuel Vadot	};
44*c66ec88fSEmmanuel Vadot};
45