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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pinctrl/qcom,ipq4019-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,ipq4019-pinctrl.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Qualcomm Technologies, Inc. IPQ4019 TLMM block
  8 
  9 maintainers:
 10   - Bjorn Andersson <bjorn.andersson@linaro.org>
 11 
 12 description: |
 13   Top Level Mode Multiplexer pin controller in Qualcomm IPQ4019 SoC.
 14 
 15 allOf:
 16   - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#
 17 
 18 properties:
 19   compatible:
 20     const: qcom,ipq4019-pinctrl
 21 
 22   reg:
 23     maxItems: 1
 24 
 25   interrupts:
 26     maxItems: 1
 27 
 28   gpio-reserved-ranges: true
 29 
 30 patternProperties:
 31   "-state$":
 32     oneOf:
 33       - $ref: "#/$defs/qcom-ipq4019-tlmm-state"
 34       - patternProperties:
 35           "-pins$":
 36             $ref: "#/$defs/qcom-ipq4019-tlmm-state"
 37         additionalProperties: false
 38 
 39   "-hog(-[0-9]+)?$":
 40     type: object
 41     required:
 42       - gpio-hog
 43 
 44 $defs:
 45   qcom-ipq4019-tlmm-state:
 46     type: object
 47     description:
 48       Pinctrl node's client devices use subnodes for desired pin configuration.
 49       Client device subnodes use below standard properties.
 50     $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state
 51     unevaluatedProperties: false
 52 
 53     properties:
 54       pins:
 55         description:
 56           List of gpio pins affected by the properties specified in this
 57           subnode.
 58         items:
 59           pattern: "^gpio([0-9]|[1-9][0-9])$"
 60         minItems: 1
 61         maxItems: 36
 62 
 63       function:
 64         description:
 65           Specify the alternative function to be configured for the specified
 66           pins.
 67         enum: [ aud_pin, audio_pwm, blsp_i2c0, blsp_i2c1, blsp_spi0,
 68                 blsp_spi1, blsp_uart0, blsp_uart1, chip_rst, gpio,
 69                 i2s_rx, i2s_spdif_in, i2s_spdif_out, i2s_td, i2s_tx,
 70                 jtag, led0, led1, led2, led3, led4, led5, led6, led7,
 71                 led8, led9, led10, led11, mdc, mdio, pcie, pmu,
 72                 prng_rosc, qpic, rgmii, rmii, sdio, smart0, smart1,
 73                 smart2, smart3, tm, wifi0, wifi1 ]
 74 
 75     required:
 76       - pins
 77 
 78 required:
 79   - compatible
 80   - reg
 81 
 82 unevaluatedProperties: false
 83 
 84 examples:
 85   - |
 86     #include <dt-bindings/interrupt-controller/arm-gic.h>
 87     tlmm: pinctrl@1000000 {
 88         compatible = "qcom,ipq4019-pinctrl";
 89         reg = <0x01000000 0x300000>;
 90 
 91         gpio-controller;
 92         #gpio-cells = <2>;
 93         gpio-ranges = <&tlmm 0 0 100>;
 94         interrupt-controller;
 95         #interrupt-cells = <2>;
 96         interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
 97 
 98         uart-state {
 99             pins = "gpio16", "gpio17";
100             function = "blsp_uart0";
101             bias-disable;
102         };
103     };

~ [ 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