]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dt-bindings: pinctrl: Add pinctrl for Sophgo SG2042 series SoC
authorInochi Amaoto <inochiama@gmail.com>
Tue, 11 Feb 2025 05:17:53 +0000 (13:17 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Feb 2025 22:56:18 +0000 (23:56 +0100)
commit68ea8c87799e420b6073f0a1aea2d094dec684ce
treef43c38cedad3fc36e7fc5dab2d80e21e71a3cfac
parent2a85188c2f7a8176e328e86445c6c77613a2fa63
dt-bindings: pinctrl: Add pinctrl for Sophgo SG2042 series SoC

SG2042 introduces a simple pinctrl device for all configurable pins.
For the SG2042 pinctl register file, each register (32 bits) is
responsible for two pins, each occupying the upper 16 bits and lower
16 bits of the register. It supports setting pull up/down, drive
strength and input schmitt trigger.

Add support for SG2042 pinctrl device.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/20250211051801.470800-6-inochiama@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/sophgo,sg2042-pinctrl.yaml [new file with mode: 0644]
include/dt-bindings/pinctrl/pinctrl-sg2042.h [new file with mode: 0644]
include/dt-bindings/pinctrl/pinctrl-sg2044.h [new file with mode: 0644]