summaryrefslogtreecommitdiff
path: root/arch/x86/math-emu/reg_constant.c
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2020-04-23 21:10:27 +0300
committerRob Herring <robh@kernel.org>2020-04-25 01:53:57 +0300
commit4bc77b2d211e107fa54b1f39cd0d7dac5537b8cb (patch)
tree6f17c93aa6daa2b41bdbfce52150196e9ea76e15 /arch/x86/math-emu/reg_constant.c
parent2bdfd4fbcb857344939071b5883a7ff088ce16f6 (diff)
downloadlinux-4bc77b2d211e107fa54b1f39cd0d7dac5537b8cb.tar.xz
dt-bindings: phy: qcom-qusb2: Fix defaults
The defaults listed in the bindings don't match what the code is actually doing. Presumably existing users care more about keeping existing behavior the same, so change the bindings to match the code in Linux. The "qcom,preemphasis-level" default has been wrong for quite a long time (May 2018). The other two were recently added. As some evidence that these values are wrong, this is from the Linux driver: - qcom,preemphasis-level: sets "PORT_TUNE1", lower 2 bits. Driver programs PORT_TUNE1 to 0x30 by default and (0x30 & 0x3) = 0. - qcom,bias-ctrl-value: sets "PLL_BIAS_CONTROL_2", lower 6 bits. Driver programs PLL_BIAS_CONTROL_2 to 0x20 by default and (0x20 & 0x3f) = 0x20 = 32. - qcom,hsdisc-trim-value: sets "PORT_TUNE2", lower 2 bits. Driver programs PORT_TUNE2 to 0x29 by default and (0x29 & 0x3) = 1. Fixes: 1e6f134eb67a ("dt-bindings: phy: qcom-qusb2: Add support for overriding Phy tuning parameters") Fixes: a8b70ccf10e3 ("dt-bindings: phy-qcom-usb2: Add support to override tuning values") Signed-off-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'arch/x86/math-emu/reg_constant.c')
0 files changed, 0 insertions, 0 deletions