[PATCH v7 1/9] dt-bindings: phy: Add PHY_DIRECTION_TX/RX definitions
Krzysztof Kozlowski
krzk at kernel.org
Wed Nov 18 00:16:22 PST 2026
On 18/11/2026 06:55, Jason Yang wrote:
> A MIPI D-PHY or C-PHY can be a transmitter or a receiver. Some PHY
> blocks have one of each and can use them at the same time, so one PHY
> node offers two PHYs. The existing cell, PHY_TYPE_DPHY or
> PHY_TYPE_CPHY, selects the mode of the whole block, not one of the two
> PHYs.
>
> Add PHY_DIRECTION_TX and PHY_DIRECTION_RX for a cell that selects the
> transmitter or the receiver. The first user is the Rockchip RK3588 MIPI
> DC-PHY, where the transmitter serves a DSI host and the receiver a CSI-2
> host.
>
> Suggested-by: Michael Riesch <michael.riesch at collabora.com>
> Link: https://lore.kernel.org/r/7425ac83-f6d8-4443-a26e-a47f9306aa24@collabora.com
> Signed-off-by: Jason Yang <jason98166 at gmail.com>
> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue at linaro.org>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
> Reviewed-by: Michael Riesch <michael.riesch at collabora.com>
> Tested-by: Quentin Schulz <quentin.schulz at cherry.de> # RK3588 Tiger CSI1 2-lane IMX219, CSI0 2-lane OV5675+DSI
Please drop the tag, this did not happen. In the future, please add only
applicable tags. Otherwise share how this code was executed and tested
on the actual hardware (make process, like building code, is obviously
not testing).
Best regards,
Krzysztof
More information about the Linux-rockchip
mailing list