Qualcomm Technologies, Inc. Milos TLMM block
Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/qcom,milos-tlmm.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Luca Weiss <luca.weiss@fairphone.com>"
Top Level Mode Multiplexer pin controller in Qualcomm Milos 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,milos-tlmm"
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): 84
gpio-line-names — not listed as required here #
Maximum number of items (maxItems): 167
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-milos-tlmm-state
Rule 2
Properties matching a name pattern (
patternProperties)
-pins$— name matches this regular expressionShared schema rule (
$ref):#/$defs/qcom-milos-tlmm-stateProperties not matched by properties or patternProperties in this schema (
additionalProperties)
falseNot allowed by this rule.
Reusable definitions ($defs) #
qcom-milos-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-5][0-9]|16[0-7])$"Rule 2
Allowed values (
enum):"ufs_reset","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.
Allowed values (enum): "gpio", "aoss_cti", "atest_char", "atest_usb", "audio_ext_mclk0", "audio_ext_mclk1", "audio_ref_clk", "cam_mclk", "cci_async_in0", "cci_i2c_scl", "cci_i2c_sda", "cci_timer", "coex_uart1_rx", "coex_uart1_tx", "dbg_out_clk", "ddr_bist_complete", "ddr_bist_fail", "ddr_bist_start", "ddr_bist_stop", "ddr_pxi0", "ddr_pxi1", "dp0_hot", "egpio", "gcc_gp1", "gcc_gp2", "gcc_gp3", "host2wlan_sol", "i2s0_data0", "i2s0_data1", "i2s0_sck", "i2s0_ws", "ibi_i3c", "jitter_bist", "mdp_vsync", "mdp_vsync0_out", "mdp_vsync1_out", "mdp_vsync2_out", "mdp_vsync3_out", "mdp_vsync_e", "nav_gpio0", "nav_gpio1", "nav_gpio2", "pcie0_clk_req_n", "pcie1_clk_req_n", "phase_flag", "pll_bist_sync", "pll_clk_aux", "prng_rosc0", "prng_rosc1", "prng_rosc2", "prng_rosc3", "qdss_cti", "qdss_gpio", "qlink0_enable", "qlink0_request", "qlink0_wmss", "qlink1_enable", "qlink1_request", "qlink1_wmss", "qspi0", "qup0_se0", "qup0_se1", "qup0_se2", "qup0_se3", "qup0_se4", "qup0_se5", "qup0_se6", "qup1_se0", "qup1_se1", "qup1_se2", "qup1_se3", "qup1_se4", "qup1_se5", "qup1_se6", "resout_gpio_n", "sd_write_protect", "sdc1_clk", "sdc1_cmd", "sdc1_data", "sdc1_rclk", "sdc2_clk", "sdc2_cmd", "sdc2_data", "sdc2_fb_clk", "tb_trig_sdc1", "tb_trig_sdc2", "tgu_ch0_trigout", "tgu_ch1_trigout", "tmess_prng0", "tmess_prng1", "tmess_prng2", "tmess_prng3", "tsense_pwm1", "tsense_pwm2", "uim0_clk", "uim0_data", "uim0_present", "uim0_reset", "uim1_clk_mira", "uim1_clk_mirb", "uim1_data_mira", "uim1_data_mirb", "uim1_present_mira", "uim1_present_mirb", "uim1_reset_mira", "uim1_reset_mirb", "usb0_hs", "usb0_phy_ps", "vfr_0", "vfr_1", "vsense_trigger_mirnat", "wcn_sw", "wcn_sw_ctrl"
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@f100000 {
compatible = "qcom,milos-tlmm";
reg = <0x0f100000 0x300000>;
interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
gpio-ranges = <&tlmm 0 0 168>;
gpio-wo-state {
pins = "gpio1";
function = "gpio";
};
qup-uart5-default-state {
pins = "gpio25", "gpio26";
function = "qup0_se5";
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)