| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | PDC Global | 
 | 2 | ====================================== | 
 | 3 |  | 
 | 4 | This binding describes a reset-controller found on PDC-Global (Power Domain | 
 | 5 | Controller) block for Qualcomm Technologies Inc SDM845 SoCs. | 
 | 6 |  | 
 | 7 | Required properties: | 
 | 8 | - compatible: | 
 | 9 | 	Usage: required | 
 | 10 | 	Value type: <string> | 
 | 11 | 	Definition: must be: | 
 | 12 | 		    "qcom,sdm845-pdc-global" | 
 | 13 |  | 
 | 14 | - reg: | 
 | 15 | 	Usage: required | 
 | 16 | 	Value type: <prop-encoded-array> | 
 | 17 | 	Definition: must specify the base address and size of the register | 
 | 18 | 	            space. | 
 | 19 |  | 
 | 20 | - #reset-cells: | 
 | 21 | 	Usage: required | 
 | 22 | 	Value type: <uint> | 
 | 23 | 	Definition: must be 1; cell entry represents the reset index. | 
 | 24 |  | 
 | 25 | Example: | 
 | 26 |  | 
 | 27 | pdc_reset: reset-controller@b2e0000 { | 
 | 28 | 	compatible = "qcom,sdm845-pdc-global"; | 
 | 29 | 	reg = <0xb2e0000 0x20000>; | 
 | 30 | 	#reset-cells = <1>; | 
 | 31 | }; | 
 | 32 |  | 
 | 33 | PDC reset clients | 
 | 34 | ====================================== | 
 | 35 |  | 
 | 36 | Device nodes that need access to reset lines should | 
 | 37 | specify them as a reset phandle in their corresponding node as | 
 | 38 | specified in reset.txt. | 
 | 39 |  | 
 | 40 | For a list of all valid reset indices see | 
 | 41 | <dt-bindings/reset/qcom,sdm845-pdc.h> | 
 | 42 |  | 
 | 43 | Example: | 
 | 44 |  | 
 | 45 | modem-pil@4080000 { | 
 | 46 | 	... | 
 | 47 |  | 
 | 48 | 	resets = <&pdc_reset PDC_MODEM_SYNC_RESET>; | 
 | 49 | 	reset-names = "pdc_reset"; | 
 | 50 |  | 
 | 51 | 	... | 
 | 52 | }; |