drm: bridge: add ssd2825 RGB/DSI bridge support
Subsystems (4)
v7 cover drm: bridge: add ssd2825 RGB/DSI bridge support
Solomon SSD2825 is a RGB to MIPI DSI bridge used in LG Optimus 4D P880 and LG Optimus Vu P895
---
Changes on switching from v6 to v7:
- removed enabled checks
- configuration complete quirk moved from host_transfer to atomic_enable
- switched to devm_drm_bridge_alloc
- removed redundant dev_set_drvdata use
Changes on switching from v5 to v6:
- set correct module name in Kconfig help
- return error if spi sync failed for reading
Changes on switching from v4 to v5:
- rebased on top of drm-misc-next with adjustments to fit
Changes on switching from v3 to v4:
- no changes, resend
Changes on switching from v2 to v3:
- added mutex guard
- configuration register flags parametrized using panel flags
- removed unneded debug messages
- removed unimplemented modes checks
- added check for maximum pixel row length
- use types header
- remove ssd2825_to_ns
- shift bridge setup into atomic pre-enable
- cleaned default values of hzd and hpd
Changes on switching from v1 to v2:
- added description for clock
- removed clock-names
- added boundries for hs-zero-delay-ns and hs-prep-delay-ns
- added mutex lock for host transfers
- converted to atomic ops
- get drm_display_mode mode with atomic helpers
- parameterized INTERFACE_CTRL_REG_6 configuration
- added video mode validation and fixup
- removed clock name
- switched to devm_regulator_bulk_get_const
- added default timings
---
Svyatoslav Ryhel (2):
dt-bindings: display: bridge: Document Solomon SSD2825
drm: bridge: Add support for Solomon SSD2825 RGB/DSI bridge
.../display/bridge/solomon,ssd2825.yaml | 141 ++++ drivers/gpu/drm/bridge/Kconfig | 13 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/ssd2825.c | 775 ++++++++++++++++++ 4 files changed, 930 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/solomon,ssd2825.yaml create mode 100644 drivers/gpu/drm/bridge/ssd2825.c
Signature · 1 line
2.48.1
PATCH v7 1/2 dt-bindings: display: bridge: Document Solomon SSD2825
Add bindings for Solomon SSD2825 MIPI master bridge chip that connects an application processor with traditional parallel LCD interface and an LCD driver with MIPI slave interface. The SSD2825 supports both parallel RGB interface and serial SPI interface.
--- .../display/bridge/solomon,ssd2825.yaml | 141 ++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/solomon,ssd2825.yaml
Documentation/devicetree/bindings/display/bridge/solomon,ssd2825.yaml new file +141 -0
@@ -0,0 +1,141 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/solomon,ssd2825.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Solomon SSD2825 RGB to MIPI-DSI bridge + +maintainers: + - Svyatoslav Ryhel <[email protected]> + +allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +properties: + compatible: + const: solomon,ssd2825 + + reg: + maxItems: 1 + + reset-gpios: true + + dvdd-supply: + description: Regulator for 1.2V digital power supply. + + avdd-supply: + description: Regulator for 1.2V analog power supply. + + vddio-supply: + description: Regulator for 1.8V IO power supply. + + spi-max-frequency: + maximum: 1000000 + + spi-cpha: true + spi-cpol: true + + clocks: + maxItems: 1 + description: Reference TX_CLK used before PLL is locked. + + solomon,hs-zero-delay-ns: + description: + HS zero delay period + minimum: 0 + maximum: 1700 + default: 133 + + solomon,hs-prep-delay-ns: + description: + HS prep delay period + minimum: 0 + maximum: 1728 + default: 40 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false + description: + Video port for RGB input + + properties: + endpoint: + $ref: /schemas/graph.yaml#/$defs/endpoint-base + unevaluatedProperties: false + + properties: + bus-width: + enum: [ 16, 18, 24 ] + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: + Video port for DSI output (panel or connector) + + required: + - port@0 + - port@1 + +required: + - compatible + - ports + +additionalProperties: false + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + + spi { + #address-cells = <1>; + #size-cells = <0>; + + dsi@2 { + compatible = "solomon,ssd2825"; + reg = <2>; + + spi-max-frequency = <1000000>; + + spi-cpha; + spi-cpol; + + reset-gpios = <&gpio 114 GPIO_ACTIVE_LOW>; + + dvdd-supply = <&vdd_1v2>; + avdd-supply = <&vdd_1v2>; + vddio-supply = <&vdd_1v8_io>; + + solomon,hs-zero-delay-ns = <300>; + solomon,hs-prep-delay-ns = <65>; + + clocks = <&ssd2825_tx_clk>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + bridge_input: endpoint { + remote-endpoint = <&dpi_output>; + bus-width = <24>; + }; + }; + + port@1 { + reg = <1>; + + bridge_output: endpoint { + remote-endpoint = <&panel_input>; + }; + }; + }; + }; + };
Signature · 1 line
2.48.1
PATCH v7 2/2 drm: bridge: Add support for Solomon SSD2825 RGB/DSI bridge
In reply to Svyatoslav RyhelSSD2825 is a cost-effective MIPI Bridge Chip solution targeting mainly smartphones. It can convert 24bit RGB interface into 4-lane MIPI-DSI interface to drive display modules of up to 800 x 1366, while supporting AMOLED, a-si LCD or LTPS panel technologies for smartphone applications.
--- drivers/gpu/drm/bridge/Kconfig | 13 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/ssd2825.c | 775 +++++++++++++++++++++++++++++++ 3 files changed, 789 insertions(+) create mode 100644 drivers/gpu/drm/bridge/ssd2825.c
drivers/gpu/drm/bridge/Kconfig +13 -0
@@ -316,6 +316,19 @@ config DRM_SIMPLE_BRIDGE Support for non-programmable DRM bridges, such as ADI ADV7123, TI THS8134 and THS8135 or passive resistor ladder DACs. +config DRM_SOLOMON_SSD2825 + tristate "SSD2825 RGB/DSI bridge" + depends on SPI_MASTER && OF + select DRM_MIPI_DSI + select DRM_KMS_HELPER + select DRM_PANEL + help + Say Y here if you want support for the Solomon SSD2825 RGB/DSI + SPI bridge driver. + + Say M here if you want to support this hardware as a module. + The module will be named "ssd2825". + config DRM_THINE_THC63LVD1024 tristate "Thine THC63LVD1024 LVDS decoder bridge" depends on OF
drivers/gpu/drm/bridge/Makefile +1 -0
@@ -27,6 +27,7 @@ obj-$(CONFIG_DRM_SIL_SII8620) += sil-sii8620.o obj-$(CONFIG_DRM_SII902X) += sii902x.o obj-$(CONFIG_DRM_SII9234) += sii9234.o obj-$(CONFIG_DRM_SIMPLE_BRIDGE) += simple-bridge.o +obj-$(CONFIG_DRM_SOLOMON_SSD2825) += ssd2825.o obj-$(CONFIG_DRM_THINE_THC63LVD1024) += thc63lvd1024.o obj-$(CONFIG_DRM_TOSHIBA_TC358762) += tc358762.o obj-$(CONFIG_DRM_TOSHIBA_TC358764) += tc358764.o
drivers/gpu/drm/bridge/ssd2825.c new file +775 -0
775 lines not on this page · raw message
Signature · 1 line
2.48.1
пн, 23 черв. 2025 р. о 11:15 Svyatoslav Ryhel <[email protected]> пише:
Quoted 59 lines
Solomon SSD2825 is a RGB to MIPI DSI bridge used in LG Optimus 4D P880 and LG Optimus Vu P895
---
Changes on switching from v6 to v7:
- removed enabled checks
- configuration complete quirk moved fromhost_transfertoatomic_enable
- switched todevm_drm_bridge_alloc
- removed redundantdev_set_drvdatauseChanges on switching from v5 to v6:
- set correct module name inKconfighelp
- return error if spi sync failed for readingChanges on switching from v4 to v5:
- rebased on top of drm-misc-next with adjustments to fitChanges on switching from v3 to v4:
- no changes, resendChanges on switching from v2 to v3:
- added mutex guard
- configuration register flags parametrized using panel flags
- removed unneded debug messages
- removed unimplemented modes checks
- added check for maximum pixel row length
- use types header
- removessd2825_to_ns
- shift bridge setup into atomic pre-enable
- cleaned default values of hzd and hpdChanges on switching from v1 to v2:
- added description for clock
- removed clock-names
- added boundries for hs-zero-delay-ns and hs-prep-delay-ns
- added mutex lock for host transfers
- converted to atomic ops
- getdrm_display_modemode with atomic helpers
- parameterizedINTERFACE_CTRL_REG_6configuration
- added video mode validation and fixup
- removed clock name
- switched todevm_regulator_bulk_get_const
- added default timings
---Svyatoslav Ryhel (2):
dt-bindings: display: bridge: Document Solomon SSD2825
drm: bridge: Add support for Solomon SSD2825 RGB/DSI bridge.../display/bridge/solomon,ssd2825.yaml | 141 ++++ drivers/gpu/drm/bridge/Kconfig | 13 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/ssd2825.c | 775 ++++++++++++++++++ 4 files changed, 930 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/solomon,ssd2825.yaml create mode 100644 drivers/gpu/drm/bridge/ssd2825.c
Quoted 3 lines
--
2.48.1
Greetings!
These patches had no activity/feedback from maintainers for almost a month, so, in case they got lost in the depths of email box, this is a friendly reminder that they are still relevant and I would like them to move on.
Best regards,
Svyatoslav R.
пн, 21 лип. 2025 р. о 19:38 Svyatoslav Ryhel <[email protected]> пише:
Quoted 67 lines
пн, 23 черв. 2025 р. о 11:15 Svyatoslav Ryhel <[email protected]> пише:
Quoted 59 lines
Solomon SSD2825 is a RGB to MIPI DSI bridge used in LG Optimus 4D P880 and LG Optimus Vu P895
---
Changes on switching from v6 to v7:
- removed enabled checks
- configuration complete quirk moved fromhost_transfertoatomic_enable
- switched todevm_drm_bridge_alloc
- removed redundantdev_set_drvdatauseChanges on switching from v5 to v6:
- set correct module name inKconfighelp
- return error if spi sync failed for readingChanges on switching from v4 to v5:
- rebased on top of drm-misc-next with adjustments to fitChanges on switching from v3 to v4:
- no changes, resendChanges on switching from v2 to v3:
- added mutex guard
- configuration register flags parametrized using panel flags
- removed unneded debug messages
- removed unimplemented modes checks
- added check for maximum pixel row length
- use types header
- removessd2825_to_ns
- shift bridge setup into atomic pre-enable
- cleaned default values of hzd and hpdChanges on switching from v1 to v2:
- added description for clock
- removed clock-names
- added boundries for hs-zero-delay-ns and hs-prep-delay-ns
- added mutex lock for host transfers
- converted to atomic ops
- getdrm_display_modemode with atomic helpers
- parameterizedINTERFACE_CTRL_REG_6configuration
- added video mode validation and fixup
- removed clock name
- switched todevm_regulator_bulk_get_const
- added default timings
---Svyatoslav Ryhel (2):
dt-bindings: display: bridge: Document Solomon SSD2825
drm: bridge: Add support for Solomon SSD2825 RGB/DSI bridge.../display/bridge/solomon,ssd2825.yaml | 141 ++++ drivers/gpu/drm/bridge/Kconfig | 13 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/ssd2825.c | 775 ++++++++++++++++++ 4 files changed, 930 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/solomon,ssd2825.yaml create mode 100644 drivers/gpu/drm/bridge/ssd2825.cQuoted 3 lines
--
2.48.1Greetings!
Quoted 7 lines
These patches had no activity/feedback from maintainers for almost a month, so, in case they got lost in the depths of email box, this is a friendly reminder that they are still relevant and I would like them to move on.
Best regards,
Svyatoslav R.
Hello there!
This is a friendly reminder that they are still relevant and I would like them to move on. Should I resent them?
Best regards,
Svyatoslav R.