From: Li Jun <b47624@xxxxxxxxxxxxx> This patchset has some improvements for interfaces of read and write some controller registers. Change for v4: Use one write for BSV irq status clear and enable in udc_id_switch_for_device(). Changes for v3: Remove special revert write for bits in OTGSC_INT_STATUS_BITS, and rename 2 API function names and parameters. Changes for v2: - Use one API for otgsc regiter write, and add mask as input parameter for otgsc register target bits read. - Add ci->is_otg condition check for otgsc register read. Li Jun (3): usb: chipidea: operate on otgsc register in a general way usb: chipidea: export interrupt enable and status register read functions. usb: chipidea: debug: add debug file for controller registers dump. drivers/usb/chipidea/ci.h | 4 ++++ drivers/usb/chipidea/core.c | 36 ++++++++++++++++++++++++----- drivers/usb/chipidea/debug.c | 51 ++++++++++++++++++++++++++++++++++++++++++ drivers/usb/chipidea/otg.c | 33 +++++++++++++++++++-------- drivers/usb/chipidea/otg.h | 18 ++------------- drivers/usb/chipidea/udc.c | 39 +++++++++----------------------- 6 files changed, 121 insertions(+), 60 deletions(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html