| commit | 01ddccdf626a2d767d4b76b648fc9e520c35ded5 | [log] [tgz] |
|---|---|---|
| author | Khaoula Bidani <khaoula.bidani-ext@st.com> | Tue Mar 11 16:22:21 2025 +0100 |
| committer | Benjamin Cabé <kartben@gmail.com> | Thu Apr 03 08:43:29 2025 +0200 |
| tree | 2fa7c68da0749ce15015d44e35edb82297bb42e6 | |
| parent | e359cc6695bf20c190a071dec569362c1bfa2c91 [diff] |
drivers: usb: device: simplify code of maximum-speed Add defines to avoid magic values in the dtsi. Replace usb_dc_stm32_get_maximum_speed() with device tree property. - Use DT_INST_STRING_UPPER_TOKEN(0, maximum_speed) to set the USB speed. - Remove PCD_SPEED_FULL initialization. Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>