diff options
| author | Martin Blumenstingl <[email protected]> | 2025-03-29 19:01:32 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2025-04-15 07:47:37 +0000 |
| commit | e56088a13708757da68ad035269d69b93ac8c389 (patch) | |
| tree | 9ef0fd1dc0b90816a98415652a13461ffd9f5169 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | pinctrl: imx: Return NULL if no group is matched and found (diff) | |
| download | kernel-e56088a13708757da68ad035269d69b93ac8c389.tar.gz kernel-e56088a13708757da68ad035269d69b93ac8c389.zip | |
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 <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
