]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/bridge: ti-sn65dsi86: Implement AUX channel
authorSean Paul <seanpaul@chromium.org>
Mon, 13 Aug 2018 21:30:42 +0000 (17:30 -0400)
committerSean Paul <seanpaul@chromium.org>
Tue, 14 Aug 2018 18:05:19 +0000 (14:05 -0400)
commitb814ec6d453577727e4911331c4e182d80e9ad18
tree3aea5a8ac06c0093c6c7035fbc52dc0f54166437
parent6c76c0eb031f0a590c03da7381c0251ca783c585
drm/bridge: ti-sn65dsi86: Implement AUX channel

This was hand-rolled in the first version, and will surely be useful as
we expand the driver to support more varied use cases.

Changes in v2:
- Change subject prefix s/panel/bridge/
- Downgrade warning in poll function to error message
- Fix DP_EDP_CONFIGURATION_SET write value (Sandeep)
- Mask upper 8 bits of msg->address (Sandeep)
- Check aux cmd status for errors after completing the send (Sandeep)
- Remove length check since it's covered in the aux status
- Flip the READ check in transfer to WRITE check + early exit
Changes in v3:
- Added to the set
- Wrapped (x) in WDATA/RDATA #defines
- Replace readx_poll* with regmap_read_poll*

Cc: Sandeep Panda <spanda@codeaurora.org>
Reviewed-by: Sandeep Panda <spanda@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180813213058.184821-4-sean@poorly.run
drivers/gpu/drm/bridge/ti-sn65dsi86.c