Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: reset: aoss: Convert AOSS reset bindings to yaml

Convert AOSS reset bindings to yaml and add SC7180 AOSS reset to the list
of possible bindings.

Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

authored by

Sibi Sankar and committed by
Philipp Zabel
b76b4e1d b89a8da9

+47 -52
-52
Documentation/devicetree/bindings/reset/qcom,aoss-reset.txt
··· 1 - Qualcomm AOSS Reset Controller 2 - ====================================== 3 - 4 - This binding describes a reset-controller found on AOSS-CC (always on subsystem) 5 - for Qualcomm SDM845 SoCs. 6 - 7 - Required properties: 8 - - compatible: 9 - Usage: required 10 - Value type: <string> 11 - Definition: must be: 12 - "qcom,sdm845-aoss-cc" 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 - aoss_reset: reset-controller@c2a0000 { 28 - compatible = "qcom,sdm845-aoss-cc"; 29 - reg = <0xc2a0000 0x31000>; 30 - #reset-cells = <1>; 31 - }; 32 - 33 - Specifying reset lines connected to IP modules 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 list of all valid reset indicies see 41 - <dt-bindings/reset/qcom,sdm845-aoss.h> 42 - 43 - Example: 44 - 45 - modem-pil@4080000 { 46 - ... 47 - 48 - resets = <&aoss_reset AOSS_CC_MSS_RESTART>; 49 - reset-names = "mss_restart"; 50 - 51 - ... 52 - };
+47
Documentation/devicetree/bindings/reset/qcom,aoss-reset.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/reset/qcom,aoss-reset.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm AOSS Reset Controller 8 + 9 + maintainers: 10 + - Sibi Sankar <sibis@codeaurora.org> 11 + 12 + description: 13 + The bindings describe the reset-controller found on AOSS-CC (always on 14 + subsystem) for Qualcomm Technologies Inc SoCs. 15 + 16 + properties: 17 + compatible: 18 + oneOf: 19 + - description: on SC7180 SoCs the following compatibles must be specified 20 + items: 21 + - const: "qcom,sc7180-aoss-cc" 22 + - const: "qcom,sdm845-aoss-cc" 23 + 24 + - description: on SDM845 SoCs the following compatibles must be specified 25 + items: 26 + - const: "qcom,sdm845-aoss-cc" 27 + 28 + reg: 29 + maxItems: 1 30 + 31 + '#reset-cells': 32 + const: 1 33 + 34 + required: 35 + - compatible 36 + - reg 37 + - '#reset-cells' 38 + 39 + additionalProperties: false 40 + 41 + examples: 42 + - | 43 + aoss_reset: reset-controller@c2a0000 { 44 + compatible = "qcom,sdm845-aoss-cc"; 45 + reg = <0xc2a0000 0x31000>; 46 + #reset-cells = <1>; 47 + };