~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pinctrl/qcom,mdm9615-pinctrl.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/pinctrl/qcom,mdm9615-pinctrl.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Qualcomm Technologies, Inc. MDM9615 TLMM block
  8 
  9 maintainers:
 10   - Bjorn Andersson <andersson@kernel.org>
 11 
 12 description: Top Level Mode Multiplexer pin controller in Qualcomm MDM9615 SoC.
 13 
 14 $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#
 15 
 16 properties:
 17   compatible:
 18     const: qcom,mdm9615-pinctrl
 19 
 20   reg:
 21     maxItems: 1
 22 
 23   interrupts:
 24     maxItems: 1
 25 
 26 patternProperties:
 27   "-state$":
 28     oneOf:
 29       - $ref: "#/$defs/qcom-mdm9615-pinctrl-state"
 30       - patternProperties:
 31           "-pins$":
 32             $ref: "#/$defs/qcom-mdm9615-pinctrl-state"
 33         additionalProperties: false
 34 
 35 $defs:
 36   qcom-mdm9615-pinctrl-state:
 37     type: object
 38     description:
 39       Pinctrl node's client devices use subnodes for desired pin configuration.
 40       Client device subnodes use below standard properties.
 41     $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state
 42     unevaluatedProperties: false
 43 
 44     properties:
 45       pins:
 46         description:
 47           List of gpio pins affected by the properties specified in this
 48           subnode.
 49         items:
 50           pattern: "^gpio([0-9]|[1-7][0-9]|8[0-7])$"
 51         minItems: 1
 52         maxItems: 16
 53 
 54       function:
 55         description:
 56           Specify the alternative function to be configured for the specified
 57           pins.
 58 
 59         enum: [ gpio, gsbi2_i2c, gsbi3, gsbi4, gsbi5_i2c, gsbi5_uart,
 60                 sdc2, ebi2_lcdc, ps_hold, prim_audio, sec_audio, cdc_mclk, ]
 61 
 62     required:
 63       - pins
 64 
 65 required:
 66   - compatible
 67   - reg
 68 
 69 unevaluatedProperties: false
 70 
 71 examples:
 72   - |
 73     #include <dt-bindings/interrupt-controller/arm-gic.h>
 74     tlmm: pinctrl@1000000 {
 75       compatible = "qcom,mdm9615-pinctrl";
 76       reg = <0x01000000 0x300000>;
 77       interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
 78       gpio-controller;
 79       gpio-ranges = <&msmgpio 0 0 88>;
 80       #gpio-cells = <2>;
 81       interrupt-controller;
 82       #interrupt-cells = <2>;
 83 
 84       gsbi3-state {
 85         pins = "gpio8", "gpio9", "gpio10", "gpio11";
 86         function = "gsbi3";
 87         drive-strength = <8>;
 88         bias-disable;
 89       };
 90 
 91       gsbi5-i2c-state {
 92         sda-pins {
 93           pins = "gpio16";
 94           function = "gsbi5_i2c";
 95           drive-strength = <8>;
 96           bias-disable;
 97         };
 98 
 99         scl-pins {
100           pins = "gpio17";
101           function = "gsbi5_i2c";
102           drive-strength = <2>;
103           bias-disable;
104         };
105       };
106     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php