diff options
author | Kongyang Liu <seashell11234455@gmail.com> | 2025-01-10 21:55:20 +0800 |
---|---|---|
committer | Mattijs Korpershoek <mkorpershoek@kernel.org> | 2025-06-02 09:57:25 +0200 |
commit | 14f904130964f251e78349a2e370c5069f2af500 (patch) | |
tree | 3eac2c405a2833f0a16951a3c5d0e486f548d754 /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c | |
parent | 6e03ca240945ebf78d72e6839e9972c8e3893e54 (diff) |
usb: dwc2: Extract register definitions to common header file
The same registers are accessed in both the otg and gatet drivers of
dwc2, and these registers are repeatedly defined in these two parts.
Extract register definitions into a common header file to reduce
redundancy and make the code more maintainable.
Signed-off-by: Kongyang Liu <seashell11234455@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Junhui Liu <junhui.liu@pigmoral.tech>
Link: https://lore.kernel.org/r/20250110-dwc2-dev-v4-1-987f4fd6f8b2@pigmoral.tech
Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c')
0 files changed, 0 insertions, 0 deletions