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) GPIO driver for Maxim MAX3191x industrial serializer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  - compatible:		Must be one of:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 			"maxim,max31910"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 			"maxim,max31911"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 			"maxim,max31912"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 			"maxim,max31913"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 			"maxim,max31953"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 			"maxim,max31963"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)  - reg: 		Chip select number.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)  - gpio-controller:	Marks the device node as a GPIO controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)  - #gpio-cells: 	Should be two. For consumer use see gpio.txt.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)  - #daisy-chained-devices:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 			Number of chips in the daisy-chain (default is 1).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)  - maxim,modesel-gpios: GPIO pins to configure modesel of each chip.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 			The number of GPIOs must equal "#daisy-chained-devices"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 			(if each chip is driven by a separate pin) or 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 			(if all chips are wired to the same pin).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)  - maxim,fault-gpios: 	GPIO pins to read fault of each chip.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 			The number of GPIOs must equal "#daisy-chained-devices"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 			or 1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)  - maxim,db0-gpios:	GPIO pins to configure debounce of each chip.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 			The number of GPIOs must equal "#daisy-chained-devices"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 			or 1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)  - maxim,db1-gpios:	GPIO pins to configure debounce of each chip.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 			The number of GPIOs must equal "maxim,db0-gpios".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)  - maxim,modesel-8bit:	Boolean whether the modesel pin of the chips is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 			pulled high (8-bit mode).  Use this if the modesel pin
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 			is hardwired and consequently "maxim,modesel-gpios"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 			cannot be specified.  By default if neither this nor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 			"maxim,modesel-gpios" is given, the driver assumes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 			that modesel is pulled low (16-bit mode).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)  - maxim,ignore-undervoltage:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 			Boolean whether to ignore undervoltage alarms signaled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 			by the "maxim,fault-gpios" or by the status byte
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 			(in 16-bit mode).  Use this if the chips are powered
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 			through 5VOUT instead of VCC24V, in which case they
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 			will constantly signal undervoltage.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) For other required and optional properties of SPI slave nodes please refer to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) ../spi/spi-bus.txt.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 	gpio@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 		compatible = "maxim,max31913";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 		reg = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 		gpio-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 		#gpio-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) 		maxim,modesel-gpios = <&gpio2 23>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) 		maxim,fault-gpios   = <&gpio2 24 GPIO_ACTIVE_LOW>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 		maxim,db0-gpios     = <&gpio2 25>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) 		maxim,db1-gpios     = <&gpio2 26>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 		spi-max-frequency = <25000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) 	};