Qualcomm Technologies, Inc. SDX55 TLMM block

Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/qcom,sdx55-pinctrl.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"

Top Level Mode Multiplexer pin controller in Qualcomm SDX55 SoC.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,sdx55-pinctrl"

reg — required here #

Specifies the base address and size of the TLMM register space

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 #

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-sdx55-tlmm-state

Rule 2

Properties matching a name pattern (patternProperties)

-pins$ — name matches this regular expression

Shared schema rule ($ref): #/$defs/qcom-sdx55-tlmm-state

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Reusable definitions ($defs) #

qcom-sdx55-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]|10[0-7])$"

Rule 2

Allowed values (enum): "sdc1_clk", "sdc1_cmd", "sdc1_data", "sdc2_clk", "sdc2_cmd", "sdc2_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. Functions are only valid for gpio pins.

Allowed values (enum): "adsp_ext", "atest", "audio_ref", "bimc_dte0", "bimc_dte1", "blsp_i2c1", "blsp_i2c2", "blsp_i2c3", "blsp_i2c4", "blsp_spi1", "blsp_spi2", "blsp_spi3", "blsp_spi4", "blsp_uart1", "blsp_uart2", "blsp_uart3", "blsp_uart4", "char_exec", "coex_uart", "coex_uart2", "cri_trng", "cri_trng0", "cri_trng1", "dbg_out", "ddr_bist", "ddr_pxi0", "ebi0_wrcdc", "ebi2_a", "ebi2_lcd", "emac_gcc0", "emac_gcc1", "emac_pps0", "emac_pps1", "ext_dbg", "gcc_gp1", "gcc_gp2", "gcc_gp3", "gcc_plltest", "gpio", "i2s_mclk", "jitter_bist", "ldo_en", "ldo_update", "mgpi_clk", "m_voc", "native_char", "native_char0", "native_char1", "native_char2", "native_char3", "native_tsens", "native_tsense", "nav_gpio", "pa_indicator", "pcie_clkreq", "pci_e", "pll_bist", "pll_ref", "pll_test", "pri_mi2s", "prng_rosc", "qdss_cti", "qdss_gpio", "qdss_gpio0", "qdss_gpio1", "qdss_gpio2", "qdss_gpio3", "qdss_gpio4", "qdss_gpio5", "qdss_gpio6", "qdss_gpio7", "qdss_gpio8", "qdss_gpio9", "qdss_gpio10", "qdss_gpio11", "qdss_gpio12", "qdss_gpio13", "qdss_gpio14", "qdss_gpio15", "qdss_stm0", "qdss_stm1", "qdss_stm2", "qdss_stm3", "qdss_stm4", "qdss_stm5", "qdss_stm6", "qdss_stm7", "qdss_stm8", "qdss_stm9", "qdss_stm10", "qdss_stm11", "qdss_stm12", "qdss_stm13", "qdss_stm14", "qdss_stm15", "qdss_stm16", "qdss_stm17", "qdss_stm18", "qdss_stm19", "qdss_stm20", "qdss_stm21", "qdss_stm22", "qdss_stm23", "qdss_stm24", "qdss_stm25", "qdss_stm26", "qdss_stm27", "qdss_stm28", "qdss_stm29", "qdss_stm30", "qdss_stm31", "qlink0_en", "qlink0_req", "qlink0_wmss", "qlink1_en", "qlink1_req", "qlink1_wmss", "spmi_coex", "sec_mi2s", "spmi_vgi", "tgu_ch0", "uim1_clk", "uim1_data", "uim1_present", "uim1_reset", "uim2_clk", "uim2_data", "uim2_present", "uim2_reset", "usb2phy_ac", "vsense_trigger"

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@1f00000 {
    compatible = "qcom,sdx55-pinctrl";
    reg = <0x0f100000 0x300000>;
    gpio-controller;
    #gpio-cells = <2>;
    gpio-ranges = <&tlmm 0 0 108>;
    interrupt-controller;
    #interrupt-cells = <2>;
    interrupts = <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>;

    serial-state {
        pins = "gpio8", "gpio9";
        function = "blsp_uart3";
        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)

Edit this page