Qualcomm Technologies, Inc. QCS615 TLMM block
Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/qcom,qcs615-tlmm.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lijuan Gao <quic_lijuang@quicinc.com>"
Top Level Mode Multiplexer pin controller in Qualcomm QCS615 SoC.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pinctrl/qcom,tlmm-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,qcs615-tlmm"
reg — required here #
Maximum number of items (maxItems): 3
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"east"
Item 2
Exact value (
const):"west"
Item 3
Exact value (
const):"south"
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): 62
gpio-line-names — not listed as required here #
Maximum number of items (maxItems): 123
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-qcs615-tlmm-state
Rule 2
Value type (
type):"object"Properties matching a name pattern (
patternProperties)
-pins$— name matches this regular expressionShared schema rule (
$ref):#/$defs/qcom-qcs615-tlmm-stateProperties not matched by properties or patternProperties in this schema (
additionalProperties)
falseNot allowed by this rule.
Reusable definitions ($defs) #
qcom-qcs615-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-1][0-9]|12[0-2])$"Rule 2
Allowed values (
enum):"sdc1_clk","sdc1_cmd","sdc1_data","sdc1_rclk","sdc2_clk","sdc2_cmd","sdc2_data","ufs_reset"
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", "adsp_ext", "agera_pll", "aoss_cti", "atest_char", "atest_tsens", "atest_usb", "cam_mclk", "cci_async", "cci_i2c", "cci_timer", "copy_gp", "copy_phase", "cri_trng", "dbg_out_clk", "ddr_bist", "ddr_pxi", "dp_hot", "edp_hot", "edp_lcd", "emac_gcc", "emac_phy_intr", "forced_usb", "gcc_gp", "gp_pdm", "gps_tx", "hs0_mi2s", "hs1_mi2s", "jitter_bist", "ldo_en", "ldo_update", "m_voc", "mclk1", "mclk2", "mdp_vsync", "mdp_vsync0_out", "mdp_vsync1_out", "mdp_vsync2_out", "mdp_vsync3_out", "mdp_vsync4_out", "mdp_vsync5_out", "mi2s_1", "mss_lte", "nav_pps_in", "nav_pps_out", "pa_indicator_or", "pcie_clk_req", "pcie_ep_rst", "phase_flag", "pll_bist", "pll_bypassnl", "pll_reset_n", "prng_rosc", "qdss_cti", "qdss_gpio", "qlink_enable", "qlink_request", "qspi", "qup0", "qup1", "rgmii", "sd_write_protect", "sp_cmu", "ter_mi2s", "tgu_ch", "uim1", "uim2", "usb0_hs", "usb1_hs", "usb_phy_ps", "vfr_1", "vsense_trigger_mirnat", "wlan", "wsa_clk", "wsa_data"
Required in this object (required): "pins"
Required in this object (required): "compatible", "reg", "reg-names"
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@3000000 {
compatible = "qcom,qcs615-tlmm";
reg = <0x03100000 0x300000>,
<0x03500000 0x300000>,
<0x03c00000 0x300000>;
reg-names = "east", "west", "south";
interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
gpio-ranges = <&tlmm 0 0 124>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
qup3-uart2-state {
pins ="gpio16", "gpio17";
function = "qup0";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)