David Keitel | 8927ee4 | 2013-03-19 17:25:19 -0700 | [diff] [blame] | 1 | QPNP-MISC |
| 2 | |
| 3 | QPNP-MISC provides a way to read the PMIC part number and revision. |
| 4 | |
| 5 | Required properties: |
| 6 | - compatible : should be "qcom,qpnp-misc" |
| 7 | - reg : offset and length of the PMIC peripheral register map. |
| 8 | |
| 9 | Example: |
| 10 | qcom,spmi@fc4c0000 { |
| 11 | #address-cells = <1>; |
| 12 | #size-cells = <0>; |
| 13 | interrupt-controller; |
| 14 | #interrupt-cells = <3>; |
| 15 | |
| 16 | qcom,pm8941@0 { |
| 17 | spmi-slave-container; |
| 18 | reg = <0x0>; |
| 19 | #address-cells = <1>; |
| 20 | #size-cells = <1>; |
| 21 | |
| 22 | qcom,misc@900 { |
| 23 | compatible = "qcom,qpnp-misc"; |
| 24 | reg = <0x900 0x100>; |
| 25 | }; |
| 26 | } |
| 27 | }; |