syna,sr100-pinctrl

Description

Synaptics SR100 Pin controller Node
Based on pincfg-node.yaml binding.

Note: `bias-disable` and `input-enable` are default pin configurations.
       They will be applied in case no `bias-foo` or `input-bar` properties
       are set.

Properties

Top level properties

These property descriptions apply to “syna,sr100-pinctrl” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

(None)

Child node properties

Name

Type

Details

pincfg

int

Register offset of pin configuration (drive strength, slew-rate etc.).

port

int

Port control configuration (input pin routing). The following macro is
available to define this part of the configuration:
- SRXXX_PORT_PINMUX(reg, bit, mode, mask)

pinmux

int

Pin muxing configuration. The bitfield contains the following fields:
- ctrl [ 0.. 2]: Pinmux controller (0..3): in Global, AON, LPS, SWIRE
- bit  [ 3.. 7]: Bit offset in register for pinmux configuration
- mode [ 8..10]: Alternate function
- mask [11..14]: Mask for mode/alternate function setting
- reg  [16..23]: Register offset for pinmux configuration
- cfg  [24..31]: Register offset for pin configuration

To simplify the usage, macros are available to generate the "pinmux"
field:
- SRXXX_GLOBAL_PINMUX(reg, bit, mode, cfg)
- SRXXX_AON_PINMUX(reg, bit, mode, cfg)
- SRXXX_LPS_PINMUX(reg, bit, mode, cfg)
- SRXXX_SWIRE_PINMUX(bit, mode)
- SRXXX_FIXED_PINMUX(cfg) (for pins with fixed mode/function)

This property is required.

bias-disable

boolean

disable any pin bias

bias-bus-hold

boolean

latch weakly

bias-pull-up

boolean

enable pull-up resistor

bias-pull-down

boolean

enable pull-down resistor

drive-strength

int

maximum sink or source current in mA

input-enable

boolean

enable input on pin (e.g. enable an input buffer, no effect on output)

input-disable

boolean

disable input on pin (e.g. disable an input buffer, no effect on output)

input-schmitt-enable

boolean

enable schmitt-trigger mode

input-schmitt-disable

boolean

disable schmitt-trigger mode

slew-rate

int

set the slew rate