Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) Nokia modem client bindings
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) The Nokia modem HSI client follows the common HSI client binding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) and inherits all required properties. The following additional
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) properties are needed by the Nokia modem HSI client:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) - compatible:		Should be one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)       "nokia,n900-modem"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)       "nokia,n950-modem"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)       "nokia,n9-modem"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - hsi-channel-names:	Should contain the following strings
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)       "mcsaab-control"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)       "speech-control"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)       "speech-data"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)       "mcsaab-data"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) - gpios:		Should provide a GPIO handler for each GPIO listed in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)                         gpio-names
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) - gpio-names:		Should contain the following strings
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)       "cmt_apeslpx" (for n900, n950, n9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)       "cmt_rst_rq"  (for n900, n950, n9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)       "cmt_en"      (for n900, n950, n9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)       "cmt_rst"     (for n900)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)       "cmt_bsi"     (for n900)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) - interrupts:		Should be IRQ handle for modem's reset indication
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) &ssi_port {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	modem: hsi-client {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 		compatible = "nokia,n900-modem";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 		pinctrl-names = "default";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 		pinctrl-0 = <&modem_pins>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 		hsi-channel-ids = <0>, <1>, <2>, <3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 		hsi-channel-names = "mcsaab-control",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 				    "speech-control",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 				    "speech-data",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 				    "mcsaab-data";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 		hsi-speed-kbps = <55000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 		hsi-mode = "frame";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 		hsi-flow = "synchronized";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 		hsi-arb-mode = "round-robin";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 		interrupts-extended = <&gpio3 8 IRQ_TYPE_EDGE_FALLING>; /* 72 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 		gpios = <&gpio3  6 GPIO_ACTIVE_HIGH>, /* 70 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 			<&gpio3  9 GPIO_ACTIVE_HIGH>, /* 73 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 			<&gpio3 10 GPIO_ACTIVE_HIGH>, /* 74 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 			<&gpio3 11 GPIO_ACTIVE_HIGH>, /* 75 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 			<&gpio5 29 GPIO_ACTIVE_HIGH>; /* 157 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) 		gpio-names = "cmt_apeslpx",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) 			     "cmt_rst_rq",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 			     "cmt_en",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) 			     "cmt_rst",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) 			     "cmt_bsi";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 	};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) };