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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: spmi: split out common QCOM SPMI PMIC arbiter properties

Split out the common SPMI PMIC arbiter properties for QCOM devices into a
separate file so that it can be included as a reference for devices
using them. This will be needed for the upcoming PMIC v8 arbiter
support patch, as the v8 arbiter also uses these common properties.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://patch.msgid.link/20260123182039.224314-8-sboyd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jishnu Prakash and committed by
Greg Kroah-Hartman
e9ae440c 6c54b0a8

+40 -33
+35
Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb-common.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/spmi/qcom,spmi-pmic-arb-common.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm Technologies, Inc. SPMI Controller (common) 8 + 9 + maintainers: 10 + - David Collins <david.collins@oss.qualcomm.com> 11 + 12 + description: | 13 + This defines some common properties used to define Qualcomm SPMI controllers 14 + for PMIC arbiter. 15 + 16 + properties: 17 + qcom,ee: 18 + $ref: /schemas/types.yaml#/definitions/uint32 19 + minimum: 0 20 + maximum: 5 21 + description: 22 + indicates the active Execution Environment identifier 23 + 24 + qcom,channel: 25 + $ref: /schemas/types.yaml#/definitions/uint32 26 + minimum: 0 27 + maximum: 5 28 + description: 29 + which of the PMIC Arb provided channels to use for accesses 30 + 31 + required: 32 + - qcom,ee 33 + - qcom,channel 34 + 35 + additionalProperties: true
+1 -16
Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.yaml
··· 19 19 20 20 allOf: 21 21 - $ref: spmi.yaml 22 + - $ref: qcom,spmi-pmic-arb-common.yaml 22 23 23 24 properties: 24 25 compatible: ··· 72 71 73 72 '#size-cells': true 74 73 75 - qcom,ee: 76 - $ref: /schemas/types.yaml#/definitions/uint32 77 - minimum: 0 78 - maximum: 5 79 - description: > 80 - indicates the active Execution Environment identifier 81 - 82 - qcom,channel: 83 - $ref: /schemas/types.yaml#/definitions/uint32 84 - minimum: 0 85 - maximum: 5 86 - description: > 87 - which of the PMIC Arb provided channels to use for accesses 88 - 89 74 qcom,bus-id: 90 75 $ref: /schemas/types.yaml#/definitions/uint32 91 76 minimum: 0 ··· 84 97 required: 85 98 - compatible 86 99 - reg-names 87 - - qcom,ee 88 - - qcom,channel 89 100 90 101 unevaluatedProperties: false 91 102
+4 -17
Documentation/devicetree/bindings/spmi/qcom,x1e80100-spmi-pmic-arb.yaml
··· 17 17 The PMIC Arbiter can also act as an interrupt controller, providing interrupts 18 18 to slave devices. 19 19 20 + allOf: 21 + - $ref: qcom,spmi-pmic-arb-common.yaml 22 + 20 23 properties: 21 24 compatible: 22 25 oneOf: ··· 47 44 48 45 '#size-cells': 49 46 const: 2 50 - 51 - qcom,ee: 52 - $ref: /schemas/types.yaml#/definitions/uint32 53 - minimum: 0 54 - maximum: 5 55 - description: > 56 - indicates the active Execution Environment identifier 57 - 58 - qcom,channel: 59 - $ref: /schemas/types.yaml#/definitions/uint32 60 - minimum: 0 61 - maximum: 5 62 - description: > 63 - which of the PMIC Arb provided channels to use for accesses 64 47 65 48 patternProperties: 66 49 "^spmi@[a-f0-9]+$": ··· 85 96 required: 86 97 - compatible 87 98 - reg-names 88 - - qcom,ee 89 - - qcom,channel 90 99 91 - additionalProperties: false 100 + unevaluatedProperties: false 92 101 93 102 examples: 94 103 - |