Hi Krzysztof,
On 2025/5/9 17:21, Krzysztof Kozlowski wrote:
On 09/05/2025 09:34, Chaoyi Chen wrote:
Hi Krzysztof,
On 2025/5/9 15:11, Krzysztof Kozlowski wrote:
On 09/05/2025 09:02, Chaoyi Chen wrote:
+
+ clock-names:
+items:
+ - const: core-clk
+ - const: pclk
+ - const
Hi Krzysztof,
On 2025/5/9 15:11, Krzysztof Kozlowski wrote:
On 09/05/2025 09:02, Chaoyi Chen wrote:
+
+ clock-names:
+items:
+ - const: core-clk
+ - const: pclk
+ - const: spdif
+ - const: grf
+
+ extcon:
+$ref: /schemas/types.yaml#/definitions/phandle-array
From: Chaoyi Chen
Convert cdn-dp-rockchip.txt to yaml.
Tested with:
1. make ARCH=arm64 dt_binding_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/display/rockchip/rockchip,cdn-dp.yaml
2. make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/display/rockchip
From: Chaoyi Chen
Let's make the ports nodes of cdn_dp in the same style as the other
display interface, and match the style of ports's yaml.
Signed-off-by: Chaoyi Chen
---
arch/arm64/boot/dts/rockchip/rk3399-base.dtsi | 10 +-
1 file changed, 9 insertions(+), 1 deletio
From: Chaoyi Chen
This series convert cdn-dp-rockchip.txt to yaml.
PATCH 1 try to improve coding style on the existing rk3399 cdn-dp
node.
PATCH 2 try to convert cdn-dp-rockchip.txt to yaml.
Tested with:
1. make ARCH=arm64 dt_binding_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings
From: Chaoyi Chen
Convert cdn-dp-rockchip.txt to yaml.
Signed-off-by: Chaoyi Chen
---
Changes in v3:
- Add more description about phy/extcon
- Fix some coding style
Changes in v2:
- Rename binding file name to match compatible
- Add more description about grf/phy/extcon
- Fix coding style
From: Chaoyi Chen
Let's make the ports nodes of cdn_dp in the same style as the other
display interface, and match the style of ports's yaml.
Signed-off-by: Chaoyi Chen
---
(no changes since v1)
arch/arm64/boot/dts/rockchip/rk3399-base.dtsi | 10 +-
1 file changed, 9
From: Chaoyi Chen
This series convert cdn-dp-rockchip.txt to yaml.
PATCH 1 try to improve coding style on the existing rk3399 cdn-dp
node.
PATCH 2 try to convert cdn-dp-rockchip.txt to yaml.
Changes in v3:
- Link to V2:
https://lore.kernel.org/all/20250509070247.868-1-ker...@airkyi.com/
- Add
From: Chaoyi Chen
Convert cdn-dp-rockchip.txt to yaml.
Signed-off-by: Chaoyi Chen
---
Changes in v2:
- Rename binding file name to match compatible
- Add more description about grf/phy/extcon
- Fix coding style
.../display/rockchip/cdn-dp-rockchip.txt | 74
.../rockchip
From: Chaoyi Chen
This series convert cdn-dp-rockchip.txt to yaml.
PATCH 1 try to improve coding style on the existing rk3399 cdn-dp
node.
PATCH 2 try to convert cdn-dp-rockchip.txt to yaml.
Changes in v2:
- Link to V1:
https://lore.kernel.org/all/20250508064304.670-1-ker...@airkyi.com
From: Chaoyi Chen
Let's make the ports nodes of cdn_dp in the same style as the other
display interface, and match the style of ports's yaml.
Signed-off-by: Chaoyi Chen
---
(no changes since v1)
arch/arm64/boot/dts/rockchip/rk3399-base.dtsi | 10 +-
1 file changed, 9
Hi Krzysztof,
On 2025/5/8 15:16, Krzysztof Kozlowski wrote:
On 08/05/2025 08:43, Chaoyi Chen wrote:
From: Chaoyi Chen
Convert cdn-dp-rockchip.txt to yaml.
Tested with:
1. make ARCH=arm64 dt_binding_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/display/rockchip/rockchip,cdn
From: Chaoyi Chen
Convert it to drm bridge driver, it will be convenient for us to
migrate the connector part to the display driver later.
Tested with RK3399 EVB IND board.
Signed-off-by: Chaoyi Chen
---
drivers/gpu/drm/rockchip/cdn-dp-core.c | 163 +
drivers/gpu/drm
Hi Heiko,
On 2025/5/15 21:00, Heiko Stübner wrote:
Hi,
Am Dienstag, 13. Mai 2025, 03:19:04 Mitteleuropäische Sommerzeit schrieb Chaoyi
Chen:
From: Chaoyi Chen
+ ports:
+$ref: /schemas/graph.yaml#/properties/ports
+
+properties:
+ port@0:
+$ref: /schemas/graph.yaml
From: Chaoyi Chen
Let's make the ports nodes of cdn_dp in the same style as the other
display interface, and match the style of ports's yaml.
Signed-off-by: Chaoyi Chen
---
(no changes since v1)
arch/arm64/boot/dts/rockchip/rk3399-base.dtsi | 10 +-
1 file changed, 9
From: Chaoyi Chen
Convert cdn-dp-rockchip.txt to yaml.
Add port@1 which represents the CDN DP output to keep the same style
as the other display interfaces.
Signed-off-by: Chaoyi Chen
---
Changes in v4:
- Add commit about port@1 node
Changes in v3:
- Add more description about phy/extcon
Hi Krzysztof,
On 2025/5/19 14:16, Krzysztof Kozlowski wrote:
On 19/05/2025 03:26, Chaoyi Chen wrote:
+maintainers:
+ - Andy Yan
+ - Heiko Stuebner
+ - Sandy Huang
+
+allOf:
+ - $ref: /schemas/sound/dai-common.yaml#
+
+properties:
+ compatible:
+items:
+ - const: rockchip
Hi Krzysztof,
On 2025/5/19 16:23, Krzysztof Kozlowski wrote:
On Mon, May 19, 2025 at 02:56:03PM GMT, Chaoyi Chen wrote:
Hi Krzysztof,
On 2025/5/19 14:16, Krzysztof Kozlowski wrote:
On 19/05/2025 03:26, Chaoyi Chen wrote:
+maintainers:
+ - Andy Yan
+ - Heiko Stuebner
+ - Sandy Huang
From: Chaoyi Chen
Let's make the ports nodes of cdn_dp in the same style as the other
display interface, and match the style of ports's yaml.
Signed-off-by: Chaoyi Chen
---
(no changes since v1)
arch/arm64/boot/dts/rockchip/rk3399-base.dtsi | 10 +-
1 file changed, 9
From: Chaoyi Chen
This series convert cdn-dp-rockchip.txt to yaml.
PATCH 1 try to improve coding style on the existing rk3399 cdn-dp
node.
PATCH 2 try to convert cdn-dp-rockchip.txt to yaml. It changed the
constraints for the phys and extcon properties.
Both of them add new port@1 node that
From: Chaoyi Chen
Convert cdn-dp-rockchip.txt to yaml.
Add new "port@1" property which represents the CDN DP output to keep
the same style as the other display interfaces.
This patch also changes the constraints for "phys" and "extcon". For
the original
From: Chaoyi Chen
The bridge used in drm_connector_hdmi_audio_init() does not correctly
point to the required audio bridge, which lead to incorrect audio
configuration input.
Fixes: 231adeda9f67 ("drm/bridge-connector: hook DisplayPort audio support")
Signed-off-by: Chaoyi Chen
--
From: Chaoyi Chen
Convert it to drm bridge driver, it will be convenient for us to
migrate the connector part to the display driver later.
Signed-off-by: Chaoyi Chen
---
drivers/gpu/drm/rockchip/rockchip_lvds.c | 68 ++--
1 file changed, 29 insertions(+), 39 deletions
Hi Dmitry,
On 2025/5/24 6:17, Dmitry Baryshkov wrote:
On Fri, May 23, 2025 at 09:13:10AM +0800, Chaoyi Chen wrote:
From: Chaoyi Chen
Convert it to drm bridge driver, it will be convenient for us to
migrate the connector part to the display driver later.
Considering that some code depend on
From: Chaoyi Chen
Convert it to drm bridge driver, it will be convenient for us to
migrate the connector part to the display driver later.
Considering that some code depend on the connector, the following
changes have been made:
- Only process edid in &drm_bridge_funcs.edid_read(), so no nee
Hi Dmitry,
On 2025/5/28 4:25, Dmitry Baryshkov wrote:
On Tue, May 27, 2025 at 04:14:47PM +0800, Chaoyi Chen wrote:
From: Chaoyi Chen
Convert it to drm bridge driver, it will be convenient for us to
migrate the connector part to the display driver later.
Considering that some code depend on
Hi Andy,
On 2025/5/21 20:09, Andy Yan wrote:
Hi Chaoyi,
At 2025-05-07 11:51:48, "Chaoyi Chen" wrote:
From: Chaoyi Chen
Convert it to drm bridge driver, it will be convenient for us to
migrate the connector part to the display driver later.
Tested with RK3399 EVB IND board.
Sig
From: Chaoyi Chen
Convert it to drm bridge driver, it will be convenient for us to
migrate the connector part to the display driver later.
Considering that some code depend on the connector, the following
changes have been made:
- Do not get edid in cdn_dp_get_sink_capability() when connector
Hi Dmitry,
On 2025/5/29 0:09, Dmitry Baryshkov wrote:
@@ -595,16 +546,41 @@ static bool cdn_dp_check_link_status(struct cdn_dp_device
*dp)
static void cdn_dp_audio_handle_plugged_change(struct cdn_dp_device *dp,
bool plugged)
{
-if (dp->cod
From: Chaoyi Chen
Convert it to drm bridge driver, it will be convenient for us to
migrate the connector part to the display driver later.
Considering that some code depend on the connector, the following
changes have been made:
- Only process edid in &drm_bridge_funcs.edid_read(), so no nee
From: Chaoyi Chen
The bridge used in drm_connector_hdmi_audio_init() does not correctly
point to the required audio bridge, which lead to incorrect audio
configuration input.
Fixes: 231adeda9f67 ("drm/bridge-connector: hook DisplayPort audio support")
Signed-off-by: Chaoyi Chen
--
Hi Dmitry,
On 2025/7/15 20:05, Dmitry Baryshkov wrote:
On Tue, Jul 15, 2025 at 07:24:54PM +0800, Chaoyi Chen wrote:
From: Chaoyi Chen
This patch add support for Type-C Port Controller Manager.
The extcon device should still be supported.
Signed-off-by: Chaoyi Chen
---
drivers/phy
From: Chaoyi Chen
Add support for Type-C orientation and altmode switch.
The Type-C controller can be specified to handling switching.
Signed-off-by: Chaoyi Chen
---
.../bindings/phy/rockchip,rk3399-typec-phy.yaml| 14 ++
1 file changed, 14 insertions(+)
diff --git
a
From: Chaoyi Chen
This patch add support for Type-C Port Controller Manager.
The extcon device should still be supported.
Signed-off-by: Chaoyi Chen
---
drivers/phy/rockchip/phy-rockchip-typec.c | 335 --
1 file changed, 319 insertions(+), 16 deletions(-)
diff --git a
From: Chaoyi Chen
The USB Type-C DisplayPort alternate mode driver will find
"displayport" property for DRM hotplug event notify[0].
[0]: https://lore.kernel.org/all/20210817215201.795062-9-hdego...@redhat.com/
Signed-off-by: Chaoyi Chen
---
.../devicetree/bindings/con
From: Chaoyi Chen
This patch add support for Type-C Port Manager. If the Type-C
controller is present, the DP hot plug events can be notified with
the help of TCPM and without the need for extcon.
The extcon device should still be supported.
Signed-off-by: Chaoyi Chen
---
drivers/gpu/drm
From: Chaoyi Chen
The RK3399 EVB IND board has a Type-C interface DisplayPort.
It use fusb302 chip as Type-C controller.
Signed-off-by: Chaoyi Chen
---
.../boot/dts/rockchip/rk3399-evb-ind.dts | 119 ++
1 file changed, 119 insertions(+)
diff --git a/arch/arm64/boot/dts
On 2025/7/15 20:04, Dmitry Baryshkov wrote:
On Tue, Jul 15, 2025 at 07:24:52PM +0800, Chaoyi Chen wrote:
From: Chaoyi Chen
The USB Type-C DisplayPort alternate mode driver will find
"displayport" property for DRM hotplug event notify[0].
[0]: https://lore.kern
Hi Krzysztof,
On 2025/7/15 19:34, Krzysztof Kozlowski wrote:
On 15/07/2025 13:24, Chaoyi Chen wrote:
From: Chaoyi Chen
Add support for Type-C orientation and altmode switch.
The Type-C controller can be specified to handling switching.
Please describe the hardware in details. Above
Hi Krzysztof,
On 2025/7/15 19:37, Krzysztof Kozlowski wrote:
On 15/07/2025 13:24, Chaoyi Chen wrote:
/dts-v1/;
+#include
#include "rk3399.dtsi"
/ {
@@ -19,6 +20,16 @@ chosen {
stdout-path = "serial2:150n8";
};
+ vbus_typec: vbus-ty
Hi Krzysztof,
On 2025/7/18 16:14, Krzysztof Kozlowski wrote:
On 18/07/2025 08:26, Chaoyi Chen wrote:
+ altmodes {
+ displayport {
+ svid = /bits/ 16 <0xff01>;
+
From: Chaoyi Chen
The RK3399 has two USB/DP combo PHY and one CDN-DP controller. And
the CDN-DP can be switched to output to one of the PHYs. For USB
Type-C interfaces, an external chip assists the PHY in handling
altmode switching and orientation switching.
Their connection diagram is shown
From: Chaoyi Chen
This patch add support for get PHY lane info and handle HPD state
without help of extcon.
There is no extcon needed if the Type-C controller is present. In this
case, cdn_dp_hpd_notify() will handle HPD event from USB/DP combo PHY,
and the lane info can be get from PHY instead
From: Chaoyi Chen
Let's make the ports nodes of cdn_dp in the same style as the other
display interface, and match the style of ports's yaml.
Signed-off-by: Chaoyi Chen
---
arch/arm64/boot/dts/rockchip/rk3399-base.dtsi | 12 +++-
1 file changed, 11 insertions(+), 1 deletio
From: Chaoyi Chen
The RK3399 EVB IND board has a Type-C interface DisplayPort.
It use fusb302 chip as Type-C controller.
fusb302 chip ---> USB/DP PHY0 <> CDN-DP controller
Signed-off-by: Chaoyi Chen
---
Changes in v2:
- Add endpoint to link DP PHY and DP controller.
- Fix d
Hi Krzysztof,
On 2025/7/18 16:10, Krzysztof Kozlowski wrote:
On Fri, Jul 18, 2025 at 02:26:15PM +0800, Chaoyi Chen wrote:
From: Chaoyi Chen
The RK3399 has two USB/DP combo PHY. With the help of external Type-C
controller, the PHY can switch altmode between USB and DP.
Their connection
On 7/30/2025 3:59 AM, Diederik de Haas wrote:
On Tue Jul 29, 2025 at 11:00 AM CEST, Chaoyi Chen wrote:
From: Chaoyi Chen
Let's make the ports nodes of cdn_dp in the same style as the other
display interface, and match the style of ports's yaml.
Signed-off-by: Chaoyi Chen
---
From: Chaoyi Chen
The RK3399 SoC integrates two USB/DP combo PHYs, each of which
supports software-configurable pin mapping and DisplayPort lane
assignment. These capabilities enable the PHY itself to handle both
mode switching and orientation switching, based on the Type-C plug
orientation and
From: Chaoyi Chen
This patch add support for get PHY lane info and handle HPD state
without help of extcon.
There is no extcon needed if the Type-C controller is present. In this
case, cdn_dp_hpd_notify() will handle HPD event from USB/DP combo PHY,
and the lane info can be get from PHY instead
From: Chaoyi Chen
Let's make the ports nodes of cdn_dp in the same style as the other
display interface, and match the style of ports's yaml.
Signed-off-by: Chaoyi Chen
---
arch/arm64/boot/dts/rockchip/rk3399-base.dtsi | 12 +++-
1 file changed, 11 insertions(+), 1 deletio
From: Chaoyi Chen
This patch add support for Type-C Port Controller Manager. Each PHY
will register typec_mux and typec_switch when external Type-C
controller is present. Type-C events are handled by TCPM without
extcon.
The extcon device should still be supported.
Signed-off-by: Chaoyi Chen
From: Chaoyi Chen
This series focuses on adding Type-C DP support for USBDP PHY and DP
driver. The USBDP PHY and DP will perceive the changes in cable status
based on the USB PD and Type-C state machines provided by TCPM. Before
this, the USBDP PHY and DP controller of RK3399 sensed cable state
From: Chaoyi Chen
The RK3399 EVB IND board has a Type-C interface DisplayPort.
It use fusb302 chip as Type-C controller.
fusb302 chip ---> USB/DP PHY0 <> CDN-DP controller
Signed-off-by: Chaoyi Chen
---
Changes in v3:
- Fix wrong vdo value.
- Fix port node in usb-c-connector.
C
Hi Dmitry,
On 7/31/2025 3:13 AM, Dmitry Baryshkov wrote:
On Tue, Jul 29, 2025 at 05:00:27PM +0800, Chaoyi Chen wrote:
From: Chaoyi Chen
This series focuses on adding Type-C DP support for USBDP PHY and DP
driver. The USBDP PHY and DP will perceive the changes in cable status
based on the USB
54 matches
Mail list logo