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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-pins-cfg.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/samsung,pinctrl-pins-cfg.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Samsung S3C/S5P/Exynos SoC pin controller - pins configuration
  8 
  9 maintainers:
 10   - Krzysztof Kozlowski <krzk@kernel.org>
 11   - Sylwester Nawrocki <s.nawrocki@samsung.com>
 12   - Tomasz Figa <tomasz.figa@gmail.com>
 13 
 14 description: |
 15   This is a part of device tree bindings for Samsung S3C/S5P/Exynos SoC pin
 16   controller.
 17 
 18   Pins configuration for Samsung S3C/S5P/Exynos SoC pin controller.
 19 
 20   The values used for config properties should be derived from the hardware
 21   manual and these values are programmed as-is into the pin pull up/down and
 22   driver strength register of the pin-controller.
 23 
 24   See also Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml for
 25   additional information and example.
 26 
 27 properties:
 28   samsung,pins:
 29     description: |
 30       List of pins to configure. For initial and sleep states, the maximum
 31       number is one pin. In other cases there is no upper limit.
 32 
 33       The pins should use lowercase names matching hardware manual, e.g. for
 34       GPA0 bank: gpa0-0, gpa0-1, gpa0-2.
 35     $ref: /schemas/types.yaml#/definitions/string-array
 36 
 37   samsung,pin-function:
 38     description: |
 39       The pin function selection that should be applied on the pins listed in the
 40       child node is specified using the "samsung,pin-function" property. The value
 41       of this property that should be applied to each of the pins listed in the
 42       "samsung,pins" property should be picked from the hardware manual of the SoC
 43       for the specified pin group. This property is optional in the child node if
 44       no specific function selection is desired for the pins listed in the child
 45       node. The value of this property is used as-is to program the pin-controller
 46       function selector register of the pin-bank.
 47     $ref: /schemas/types.yaml#/definitions/uint32
 48     minimum: 0
 49     maximum: 15
 50 
 51   samsung,pin-drv:
 52     description: Drive strength configuration.
 53     $ref: /schemas/types.yaml#/definitions/uint32
 54     minimum: 0
 55     maximum: 15
 56 
 57   samsung,pin-pud:
 58     description: Pull up/down configuration.
 59     $ref: /schemas/types.yaml#/definitions/uint32
 60     enum: [0, 1, 2, 3]
 61 
 62   samsung,pin-val:
 63     description: Initial value of pin output buffer.
 64     $ref: /schemas/types.yaml#/definitions/uint32
 65     enum: [0, 1]
 66 
 67   samsung,pin-con-pdn:
 68     description: Function in power down mode.
 69     $ref: /schemas/types.yaml#/definitions/uint32
 70     enum: [0, 1, 2, 3]
 71 
 72   samsung,pin-pud-pdn:
 73     description: Pull up/down configuration in power down mode.
 74     $ref: /schemas/types.yaml#/definitions/uint32
 75     enum: [0, 1, 2, 3]
 76 
 77 required:
 78   - samsung,pins
 79 
 80 additionalProperties: false

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