Qualcomm Technologies, Inc. MDM9615 TLMM block
Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/qcom,mdm9615-pinctrl.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"
Top Level Mode Multiplexer pin controller in Qualcomm MDM9615 SoC.
Shared schema rule ($ref): /schemas/pinctrl/qcom,tlmm-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,mdm9615-pinctrl"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
-state$ — name matches this regular expression #
Exactly one of these rules must match (oneOf) #
Rule 1
Shared schema rule (
$ref):#/$defs/qcom-mdm9615-pinctrl-state
Rule 2
Properties matching a name pattern (
patternProperties)
-pins$— name matches this regular expressionShared schema rule (
$ref):#/$defs/qcom-mdm9615-pinctrl-stateProperties not matched by properties or patternProperties in this schema (
additionalProperties)
falseNot allowed by this rule.
Reusable definitions ($defs) #
qcom-mdm9615-pinctrl-state #
Value type (type): "object"
Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties.
Shared schema rule ($ref): qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
pins — required here
List of gpio pins affected by the properties specified in this subnode.
Array item rules (items)
String pattern (
pattern):"^gpio([0-9]|[1-7][0-9]|8[0-7])$"
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 16
function — not listed as required here
Specify the alternative function to be configured for the specified pins.
Allowed values (enum): "gpio", "gsbi2_i2c", "gsbi3", "gsbi4", "gsbi5_i2c", "gsbi5_uart", "sdc2", "ebi2_lcdc", "ps_hold", "prim_audio", "sec_audio", "cdc_mclk"
Required in this object (required): "pins"
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
tlmm: pinctrl@1000000 {
compatible = "qcom,mdm9615-pinctrl";
reg = <0x01000000 0x300000>;
interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
gpio-controller;
gpio-ranges = <&msmgpio 0 0 88>;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
gsbi3-state {
pins = "gpio8", "gpio9", "gpio10", "gpio11";
function = "gsbi3";
drive-strength = <8>;
bias-disable;
};
gsbi5-i2c-state {
sda-pins {
pins = "gpio16";
function = "gsbi5_i2c";
drive-strength = <8>;
bias-disable;
};
scl-pins {
pins = "gpio17";
function = "gsbi5_i2c";
drive-strength = <2>;
bias-disable;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)