linux/drivers/pinctrl/meson
Martin Blumenstingl e56088a137 pinctrl: meson: define the pull up/down resistor value as 60 kOhm
The public datasheets of the following Amlogic SoCs describe a typical
resistor value for the built-in pull up/down resistor:
- Meson8/8b/8m2: not documented
- GXBB (S905): 60 kOhm
- GXL (S905X): 60 kOhm
- GXM (S912): 60 kOhm
- G12B (S922X): 60 kOhm
- SM1 (S905D3): 60 kOhm

The public G12B and SM1 datasheets additionally state min and max
values:
- min value: 50 kOhm for both, pull-up and pull-down
- max value for the pull-up: 70 kOhm
- max value for the pull-down: 130 kOhm

Use 60 kOhm in the pinctrl-meson driver as well so it's shown in the
debugfs output. It may not be accurate for Meson8/8b/8m2 but in reality
60 kOhm is closer to the actual value than 1 Ohm.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/20250329190132.855196-1-martin.blumenstingl@googlemail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2025-04-15 09:47:37 +02:00
..
Kconfig pinctrl: Add driver support for Amlogic SoCs 2025-02-28 00:03:18 +01:00
Makefile pinctrl: Add driver support for Amlogic SoCs 2025-02-28 00:03:18 +01:00
pinctrl-amlogic-a4.c pinctrl: amlogic-a4: Drop surplus semicolon 2025-03-22 21:33:43 +01:00
pinctrl-amlogic-c3.c pinctrl: meson: Constify some structures 2024-08-23 18:01:42 +02:00
pinctrl-amlogic-t7.c pinctrl: meson: Constify some structures 2024-08-23 18:01:42 +02:00
pinctrl-meson-a1.c pinctrl: meson: Constify some structures 2024-08-23 18:01:42 +02:00
pinctrl-meson-axg-pmx.c pinctrl: meson: Constify some structures 2024-08-23 18:01:42 +02:00
pinctrl-meson-axg-pmx.h pinctrl: meson: Constify some structures 2024-08-23 18:01:42 +02:00
pinctrl-meson-axg.c pinctrl: meson: Constify some structures 2024-08-23 18:01:42 +02:00
pinctrl-meson-g12a.c pinctrl: meson: Constify some structures 2024-08-23 18:01:42 +02:00
pinctrl-meson-gxbb.c pinctrl: meson: Constify some structures 2024-08-23 18:01:42 +02:00
pinctrl-meson-gxl.c pinctrl: meson: Constify some structures 2024-08-23 18:01:42 +02:00
pinctrl-meson-s4.c pinctrl: meson: Constify some structures 2024-08-23 18:01:42 +02:00
pinctrl-meson.c pinctrl: meson: define the pull up/down resistor value as 60 kOhm 2025-04-15 09:47:37 +02:00
pinctrl-meson.h pinctrl: meson: Constify some structures 2024-08-23 18:01:42 +02:00
pinctrl-meson8-pmx.c pinctrl: meson: Constify some structures 2024-08-23 18:01:42 +02:00
pinctrl-meson8-pmx.h
pinctrl-meson8.c pinctrl: meson: Constify some structures 2024-08-23 18:01:42 +02:00
pinctrl-meson8b.c pinctrl: meson: Constify some structures 2024-08-23 18:01:42 +02:00