pinctrl: bcm2835: Implement bcm2711_pinconf_get
authorStefan Wahren <wahrenst@gmx.net>
Thu, 7 Mar 2024 07:01:13 +0000 (08:01 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 28 Mar 2024 08:52:25 +0000 (09:52 +0100)
commitd54e4cda297241406bed37af3f836d242184ec84
tree915a21f842245959ce9eada72b01e69f2ae8d0ca
parent85b02bc0785b5e6326814af7e1b7528ce3a488ea
pinctrl: bcm2835: Implement bcm2711_pinconf_get

The BCM2711 allows to read the bias config. So implement pin_conf_get
accordingly. The pull resistor values has been taken from the
BCM2711/7211 datasheet.

This implementation assumes that BCM7211 behaves the same way.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Tested-by: Florian Fainelli <florian.fainelli@broadcom.com>
Message-ID: <20240307070113.4888-3-wahrenst@gmx.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-bcm2835.c