diff options
author | 2024-10-09 16:01:12 +0200 | |
---|---|---|
committer | 2024-11-24 16:03:51 +0100 | |
commit | 4fb1b640d68dba271e6b580582ac5c1381c6157a (patch) | |
tree | 389e827225fe57fa7d2bbfcc87b536af758824d6 /scripts/generate_rust_analyzer.py | |
parent | i2c: nomadik: fix BRCR computation (diff) | |
download | wireguard-linux-4fb1b640d68dba271e6b580582ac5c1381c6157a.tar.xz wireguard-linux-4fb1b640d68dba271e6b580582ac5c1381c6157a.zip |
i2c: nomadik: support >=1MHz speed modes
- BRCR value must go into the BRCR1 field when in high-speed mode.
It goes into BRCR2 otherwise.
- Remove fallback to standard mode if priv->sm > I2C_FREQ_MODE_FAST.
- Set SM properly in probe; previously it only checked STANDARD versus
FAST. Now we set STANDARD, FAST, FAST_PLUS or HIGH_SPEED.
- Remove all comment sections saying we only support low-speeds.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions