Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/nvmem/qcom,spmi-sdam.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Qualcomm Technologies, Inc. SPMI SDAM DT bindings
0008 
0009 maintainers:
0010   - Shyam Kumar Thella <sthella@codeaurora.org>
0011 
0012 description: |
0013   The SDAM provides scratch register space for the PMIC clients. This
0014   memory can be used by software to store information or communicate
0015   to/from the PBUS.
0016 
0017 allOf:
0018   - $ref: "nvmem.yaml#"
0019 
0020 properties:
0021   compatible:
0022     enum:
0023       - qcom,spmi-sdam
0024 
0025   reg:
0026     maxItems: 1
0027 
0028   "#address-cells":
0029     const: 1
0030 
0031   "#size-cells":
0032     const: 1
0033 
0034   ranges: true
0035 
0036 required:
0037   - compatible
0038   - reg
0039   - ranges
0040 
0041 unevaluatedProperties: false
0042 
0043 examples:
0044   - |
0045       sdam_1: nvram@b000 {
0046           #address-cells = <1>;
0047           #size-cells = <1>;
0048           compatible = "qcom,spmi-sdam";
0049           reg = <0xb000 0x100>;
0050           ranges = <0 0xb000 0x100>;
0051 
0052           /* Data cells */
0053           restart_reason: restart@50 {
0054               reg = <0x50 0x1>;
0055               bits = <6 2>;
0056           };
0057       };
0058 ...