Qualcomm MSM8660 TLMM pin controller
Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/qcom,msm8660-pinctrl.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Krzysztof Kozlowski <krzk@kernel.org>"
Top Level Mode Multiplexer pin controller in Qualcomm MSM8660 SoC.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,msm8660-pinctrl"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
gpio-reserved-ranges — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 86
gpio-line-names — not listed as required here #
Maximum number of items (maxItems): 173
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-msm8660-tlmm-state
Rule 2
Properties matching a name pattern (
patternProperties)
-pins$— name matches this regular expressionShared schema rule (
$ref):#/$defs/qcom-msm8660-tlmm-stateProperties not matched by properties or patternProperties in this schema (
additionalProperties)
falseNot allowed by this rule.
Reusable definitions ($defs) #
qcom-msm8660-tlmm-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)
Exactly one of these rules must match (
oneOf)Rule 1
String pattern (
pattern):"^gpio([0-9]|[1-9][0-9]|1[0-6][0-9]|17[0-2])$"Rule 2
Allowed values (
enum):"sdc3_clk","sdc3_cmd","sdc3_data","sdc4_clk","sdc4_cmd","sdc4_data"
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 36
function — not listed as required here
Specify the alternative function to be configured for the specified pins.
Allowed values (enum): "gpio", "cam_mclk", "dsub", "ext_gps", "gp_clk_0a", "gp_clk_0b", "gp_clk_1a", "gp_clk_1b", "gp_clk_2a", "gp_clk_2b", "gp_mn", "gsbi1", "gsbi1_spi_cs1_n", "gsbi1_spi_cs2a_n", "gsbi1_spi_cs2b_n", "gsbi1_spi_cs3_n", "gsbi2", "gsbi2_spi_cs1_n", "gsbi2_spi_cs2_n", "gsbi2_spi_cs3_n", "gsbi3", "gsbi3_spi_cs1_n", "gsbi3_spi_cs2_n", "gsbi3_spi_cs3_n", "gsbi4", "gsbi5", "gsbi6", "gsbi7", "gsbi8", "gsbi9", "gsbi10", "gsbi11", "gsbi12", "hdmi", "i2s", "lcdc", "mdp_vsync", "mi2s", "pcm", "ps_hold", "sdc1", "sdc2", "sdc5", "tsif1", "tsif2", "usb_fs1", "usb_fs1_oe_n", "usb_fs2", "usb_fs2_oe_n", "vfe", "vsens_alarm", "ebi2", "ebi2cs"
Required in this object (required): "pins"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pinctrl/qcom,tlmm-common.yaml#
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@800000 {
compatible = "qcom,msm8660-pinctrl";
reg = <0x800000 0x4000>;
gpio-controller;
gpio-ranges = <&tlmm 0 0 173>;
#gpio-cells = <2>;
interrupts = <0 16 0x4>;
interrupt-controller;
#interrupt-cells = <2>;
gsbi3-i2c-state {
pins = "gpio43", "gpio44";
function = "gsbi3";
drive-strength = <8>;
bias-disable;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)