summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2025-08-13 23:43:04 +0200
committerJakub Kicinski <kuba@kernel.org>2025-08-18 17:26:09 -0700
commitccf29cb84972f97c98ac31f7d6fb1680dc5d3816 (patch)
tree65e35acbe75158d0dd930c9a78864ed6c078f977 /rust/helpers/helpers.c
parent60cbe71fdba16d39de24bd71e1638810da5ae7ee (diff)
net: dsa: ks8995: Add proper RESET delay
According to the datasheet we need to wait 100us before accessing any registers in the KS8995 after a reset de-assertion. Add this delay, if and only if we obtained a GPIO descriptor, otherwise it is just a pointless delay. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20250813-ks8995-to-dsa-v1-2-75c359ede3a5@linaro.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions