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) Rockchip HW Spinlock Device Binding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) ===================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) Required properties :
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) - compatible : shall contain only one of the following:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 	"rockchip,hwspinlock"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) - reg : the register address of hwspinlock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - #hwlock-cells : hwlock users only use the hwlock id to represent a specific
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 	hwlock, so the number of cells should be <1> here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Please look at the generic hwlock binding for usage information for consumers,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) "Documentation/devicetree/bindings/hwlock/hwlock.txt"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Example of hwlock provider:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	hwlock: hwspinlock@ff040000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 		compatible = "rockchip,hwspinlock";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 		reg = <0 0xff040000 0 0x10000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 		#hwlock-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Example of hwlock users:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	node {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 		...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 		hwlocks = <&hwlock 0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 		...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	};