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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pinctrl/intel,pinctrl-keembay.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 OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/pinctrl/intel,pinctrl-keembay.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Intel Keem Bay pin controller
  8 
  9 maintainers:
 10   - Lakshmi Sowjanya D <lakshmi.sowjanya.d@intel.com>
 11 
 12 description: |
 13   Intel Keem Bay SoC integrates a pin controller which enables control
 14   of pin directions, input/output values and configuration
 15   for a total of 80 pins.
 16 
 17 properties:
 18   compatible:
 19     const: intel,keembay-pinctrl
 20 
 21   reg:
 22     maxItems: 2
 23 
 24   gpio-controller: true
 25 
 26   '#gpio-cells':
 27     const: 2
 28 
 29   ngpios:
 30     description: The number of GPIOs exposed.
 31     const: 80
 32 
 33   interrupts:
 34     description:
 35       Specifies the interrupt lines to be used by the controller.
 36       Each interrupt line is shared by upto 4 GPIO lines.
 37     maxItems: 8
 38 
 39   interrupt-controller: true
 40 
 41   '#interrupt-cells':
 42     const: 2
 43 
 44 patternProperties:
 45   '^gpio@[0-9a-f]*$':
 46     type: object
 47     additionalProperties: false
 48 
 49     description:
 50       Child nodes can be specified to contain pin configuration information,
 51       which can then be utilized by pinctrl client devices.
 52       The following properties are supported.
 53 
 54     properties:
 55       pins:
 56         description: |
 57           The name(s) of the pins to be configured in the child node.
 58           Supported pin names are "GPIO0" up to "GPIO79".
 59 
 60       bias-disable: true
 61 
 62       bias-pull-down: true
 63 
 64       bias-pull-up: true
 65 
 66       drive-strength:
 67         description: IO pads drive strength in milli Ampere.
 68         enum: [2, 4, 8, 12]
 69 
 70       bias-bus-hold:
 71         type: boolean
 72 
 73       input-schmitt-enable:
 74         type: boolean
 75 
 76       slew-rate:
 77         description: GPIO slew rate control.
 78                       0 - Fast(~100MHz)
 79                       1 - Slow(~50MHz)
 80         enum: [0, 1]
 81 
 82 additionalProperties: false
 83 
 84 required:
 85   - compatible
 86   - reg
 87   - gpio-controller
 88   - ngpios
 89   - '#gpio-cells'
 90   - interrupts
 91   - interrupt-controller
 92   - '#interrupt-cells'
 93 
 94 examples:
 95   - |
 96     #include <dt-bindings/interrupt-controller/arm-gic.h>
 97     #include <dt-bindings/interrupt-controller/irq.h>
 98     // Example 1
 99     gpio@0 {
100         compatible = "intel,keembay-pinctrl";
101         reg = <0x600b0000 0x88>,
102               <0x600b0190 0x1ac>;
103         gpio-controller;
104         ngpios = <0x50>;
105         #gpio-cells = <0x2>;
106         interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
107                      <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
108                      <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
109                      <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
110                      <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
111                      <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
112                      <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
113                      <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
114         interrupt-controller;
115         #interrupt-cells = <2>;
116     };
117 
118     // Example 2
119     gpio@1 {
120         compatible = "intel,keembay-pinctrl";
121         reg = <0x600c0000 0x88>,
122               <0x600c0190 0x1ac>;
123         gpio-controller;
124         ngpios = <0x50>;
125         #gpio-cells = <0x2>;
126         interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
127                      <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
128                      <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
129                      <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
130                      <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
131                      <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
132                      <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
133                      <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
134         interrupt-controller;
135         #interrupt-cells = <2>;
136     };

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