From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-m15597.qiye.163.com (mail-m15597.qiye.163.com [101.71.155.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A24D4CDDE6; Mon, 19 Oct 2026 10:44:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=101.71.155.97 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792406650; cv=none; b=PlGGn9FDV5iChn9XD/IUAZmcCvAGJfUFvErTQWDNJEPzcazK0efiaJTPJZIYiHvHAz6elO9U9dtmoCRv8W8D6pL1nFprT7tAk1QQ4wQzkQDkzu+KkNYBwXSL0Jolj/1YTlHocFJTDRhYteRYLz06MMpwttGeuZ5RSSYz+50wW7s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792406650; c=relaxed/simple; bh=V//fyByUz0D0sXY8NlFGg1smxPDIVQcRElynbzq8xzE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=lisxyLzIJiPex3TY7DCpVlATuokQurKs0IR/qRo9ntas6VygqAsXcHdXYzha0aK2tuKSG0La47CngkzrAGNCtNqWzFwcwpHkR/azGna+Um4OPz8nctntXDXRw1ZtD71eigzLYBlc0GVFR0O7BYhn61bDhF9dD11N6LvumMVOS5g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com; spf=pass smtp.mailfrom=rock-chips.com; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b=dV8cVOQC; arc=none smtp.client-ip=101.71.155.97 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b="dV8cVOQC" Received: from zyb-HP-ProDesk-680-G2-MT.. (unknown [61.154.14.86]) by smtp.qiye.163.com (Hmail) with ESMTP id 518d3dd8a; Mon, 19 Oct 2026 18:28:43 +0800 (GMT+08:00) From: Damon Ding To: Sandy Huang , Heiko Stuebner , Andy Yan , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Andrzej Hajda , Robert Foss Cc: Neil Armstrong , Manivannan Sadhasivam , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Dave Jones , Dmitry Baryshkov , dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, Damon Ding Subject: [PATCH v2 1/6] dt-bindings: display: rockchip: analogix-dp: Add support for RK3568 Date: Mon, 19 Oct 2026 18:28:19 +0800 Message-Id: <20261019102824.3157044-2-damon.ding@rock-chips.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20261019102824.3157044-1-damon.ding@rock-chips.com> References: <20261019102824.3157044-1-damon.ding@rock-chips.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Tid: 0aa153b4d77b03a8kunme348c01b2f6c15 X-HM-MType: 1 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWRgWCB1ZQUpXWS1ZQUlXWQ8JGhUIEh9ZQVkZTRhCVk9OGE1ITxpNT0oYSFYVFA kWGhdVEwETFhoSFyQUDg9ZV1kYEgtZQVlNSlVKTk9VSk9VQ01ZV1kWGg8SFR0UWUFZT0tIVUpLSE pKQk1VSktLVUpCWQY+ DKIM-Signature: a=rsa-sha256; b=dV8cVOQCYInOa1uD6nK4OLQJK4otLedaLqwJpo19lKPdVI+2U6+v27GYkcrcQ/oWRJ0xP2vwfnVwl8ZVwjiO9ABNQHITXpj9jEo2hdBfEng38SpTbbYWdF2XNVSKmgmAysEWWJtMSyjGypTw84Dp3eyS6i2BWjhj5o2l65UcKcg=; c=relaxed/relaxed; s=default; d=rock-chips.com; v=1; bh=aqA05e3tEQzex5IV+W6xDQvoZ2RGk3y5IlP3Z09UWS0=; h=date:mime-version:subject:message-id:from; Document the "rockchip,rk3568-edp" compatible. Like RK3576/RK3588, the RK3568 eDP controller has the dp/pclk/hclk clocks and dp/apb resets, but unlike them it does not use GRF registers, so make the "rockchip,grf" property conditional on the SoC. Also document the optional avdd-0v9 and avdd-1v8 supplies, which are needed by the RK3568 eDP controller. Signed-off-by: Damon Ding --- .../rockchip/rockchip,analogix-dp.yaml | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml index 39dafe75a680..f8670a4e0430 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,analogix-dp.yaml @@ -15,6 +15,7 @@ properties: enum: - rockchip,rk3288-dp - rockchip,rk3399-edp + - rockchip,rk3568-edp - rockchip,rk3576-edp - rockchip,rk3588-edp @@ -47,6 +48,16 @@ properties: - const: dp - const: apb + avdd-0v9-supply: + description: + A 0.9V supply that powers up the SoC internal circuitry. The actual + supply source varies between different boards. + + avdd-1v8-supply: + description: + A 1.8V supply that powers up the SoC internal circuitry. The actual + supply source varies between different boards. + rockchip,grf: $ref: /schemas/types.yaml#/definitions/phandle description: @@ -61,11 +72,22 @@ required: - clock-names - resets - reset-names - - rockchip,grf allOf: - $ref: /schemas/display/bridge/analogix,dp.yaml# + - if: + properties: + compatible: + contains: + const: rockchip,rk3568-edp + then: + properties: + rockchip,grf: false + else: + required: + - rockchip,grf + - if: properties: compatible: @@ -100,6 +122,7 @@ allOf: compatible: contains: enum: + - rockchip,rk3568-edp - rockchip,rk3576-edp - rockchip,rk3588-edp then: -- 2.34.1