Samsung S3C/S5P/Exynos SoC pin controller - pins configuration

Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/samsung,pinctrl-pins-cfg.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"

This is a part of device tree bindings for Samsung S3C/S5P/Exynos SoC pin controller.

Pins configuration for Samsung S3C/S5P/Exynos SoC pin controller.

The values used for config properties should be derived from the hardware manual and these values are programmed as-is into the pin pull up/down and driver strength register of the pin-controller.

See also Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml for additional information and example.

Properties and child nodes (properties) #

samsung,pins — required here #

List of pins to configure. For initial and sleep states, the maximum number is one pin. In other cases there is no upper limit.

The pins should use lowercase names matching hardware manual, e.g. for GPA0 bank: gpa0-0, gpa0-1, gpa0-2.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string-array

samsung,pin-function — not listed as required here #

The pin function selection that should be applied on the pins listed in the child node is specified using the "samsung,pin-function" property. The value of this property that should be applied to each of the pins listed in the "samsung,pins" property should be picked from the hardware manual of the SoC for the specified pin group. This property is optional in the child node if no specific function selection is desired for the pins listed in the child node. The value of this property is used as-is to program the pin-controller function selector register of the pin-bank.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 15

samsung,pin-drv — not listed as required here #

Drive strength configuration.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 15

samsung,pin-pud — not listed as required here #

Pull up/down configuration.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 3

samsung,pin-val — not listed as required here #

Initial value of pin output buffer.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

samsung,pin-con-pdn — not listed as required here #

Function in power down mode.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 3

samsung,pin-pud-pdn — not listed as required here #

Pull up/down configuration in power down mode.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 3

Required in this object (required): "samsung,pins"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page