From: Sunyun Yang <[email protected]> The LT7911EXC is an I2C-controlled bridge that receives eDP1.4 and output mipi dsi. This series introduces:
- A device tree binding YAML file describing the hardware - A new DRM bridge driver implementing the basic functionality Signed-off-by: Sunyun Yang<[email protected]> --- Change in v7: - dt-binding: 1. fix commit message typos(Receiver、signal) [sashiko-bot] 2. remove the ambiguity caused by "signal/dual". - drm/bridge: 1. using devm_regulator_get_enable avoids power leaks. [sashiko-bot] 2. set reset gpio is low after cutting off power in lt7911exc_remove function, avoid backpowering. 3. synchronous request_firmware() call cause a permanent probe failure if the driver is built-in, probe executes before the root filesystem is mounted, which would cause this to fail with -ENOENT, we have removed this functionality. Use trigger to upgrade. 4. add `depends on I2C` and `select REGMAP_I2C` in Kconfig. 5. add return value of `devm_drm_bridge_add()` in `probe()`. 6. add directly header files (linux/slab.h, linux/delay.h, linux/regulator/consumer.h) - Link to v6: https://lore.kernel.org/lkml/[email protected]/ Change in v6: - dt-binding: - drm/bridge: 1. use #define FW_FILE "Lontium/lt7911exc_fw.bin" to match linux-firmware - Link to v5: https://lore.kernel.org/lkml/[email protected]/ Change in v5: - dt-binding: - drm/bridge: 1. Change "mipi" to "mipi dsi" in the commit message. [Dmitry] 2. Change "eDP/MIPI" to "eDP/MIPI DSI" in Kconfig. - Link to v4: https://lore.kernel.org/lkml/[email protected]/ Change in v4: - dt-binding: 1. Fix the missing spaces on the "subject". [Krzysztof] 2. Fix the error descriptions for port@0 and port@1. - drm/bridge: - Link to v3: https://lore.kernel.org/lkml/[email protected]/ Change in v3: - dt-binding: - drm/bridge: 1. already submit lt7911exc_fw.bin to linux-firmware. [Dmitry] 2. remove lt7911exc_remove function. 3. drop the "lontium, " in lt7911exc_i2c_table. - Link to v2: https://lore.kernel.org/lkml/[email protected]/ Change in v2: - dt-binding: 1. reset pins use active low. [Dmitry] - drm/bridge: 1. use atomic_* callbacks. [Quentin] 2. fix the incorrect formatting and spaces. 3. add the required header files. [Dmitry] 4. remove "enabled" flag. 5. remove *fw from the lt7911exc struct. 6. .max_register and .range_max use actual range. 7. regulator use bulk interface. 8. use dev_err_probe, devm_mutex_init and devm_drm_bridge_add. 9. Replace GPL v2 with GPL. - Link to v1: https://lore.kernel.org/lkml/[email protected]/ --- Sunyun Yang (2): dt-bindings: bridge: Add Lontium LT7911EXC eDP to MIPI DSI bridge drm/bridge: Add Lontium LT7911EXC eDP to MIPI DSI bridge .../display/bridge/lontium,lt7911exc.yaml | 89 +++ drivers/gpu/drm/bridge/Kconfig | 15 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/lontium-lt7911exc.c | 514 ++++++++++++++++++ 4 files changed, 619 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/lontium,lt7911exc.yaml create mode 100644 drivers/gpu/drm/bridge/lontium-lt7911exc.c -- 2.34.1
