From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-m49207.qiye.163.com (mail-m49207.qiye.163.com [45.254.49.207]) (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 D6CDD5172C2; Tue, 13 Oct 2026 16:19:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.254.49.207 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791908361; cv=none; b=Ck00OcwpbnbVBXWJux+TPUUa6GzA/j3L3U8aq6igdfI38BLUPTVJOxAzUAOqDO9VeYBULlBxiEE1Bg6ykScIjICMQi5yBN+iR5jHZC4Bz0eIT6j7cS+yXIt9xnP0Bp9Zexm7isbRkhN4O5zykNx4yC6g/HR+m5yh0f/IVo2Ilh4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791908361; c=relaxed/simple; bh=V//fyByUz0D0sXY8NlFGg1smxPDIVQcRElynbzq8xzE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Y6U0Z8gTwdUObovYhA6T2jYL58v+te9ncPQiZUnMs7Bl2qi1piCwzcxBwuenXLgKVryKAD6AYroqbT5mRlWLyPGFVsySDp516DO0E++c2gRFEIED/WAqoxSVGfdpo39k3QRotZ87AqvUWNW67M7t4gNpMUsfbvn34fTcxION/kY= 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=esBq9R/0; arc=none smtp.client-ip=45.254.49.207 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="esBq9R/0" Received: from zyb-HP-ProDesk-680-G2-MT.. (unknown [61.154.14.86]) by smtp.qiye.163.com (Hmail) with ESMTP id 50e2b940d; Tue, 13 Oct 2026 20:49:53 +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 , 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 v1 1/6] dt-bindings: display: rockchip: analogix-dp: Add support for RK3568 Date: Tue, 13 Oct 2026 20:49:41 +0800 Message-Id: <20261013124946.1807886-2-damon.ding@rock-chips.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20261013124946.1807886-1-damon.ding@rock-chips.com> References: <20261013124946.1807886-1-damon.ding@rock-chips.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Tid: 0aa1354ff06a03a8kunm2e7c128b3006 X-HM-MType: 1 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWRgWCB1ZQUpXWS1ZQUlXWQ8JGhUIEh9ZQVlDTEpNVkgZHkxNTENJGUgfT1YVFA kWGhdVEwETFhoSFyQUDg9ZV1kYEgtZQVlNSlVKTk9VSk9VQ01ZV1kWGg8SFR0UWUFZT0tIVUpLSE pKQk1VSktLVUpCWQY+ DKIM-Signature: a=rsa-sha256; b=esBq9R/0QwuJDYEtUDg/KknoEf7ksaQ6gizTruRkyCR2u10Wc22GMR33bSvqXmlMkjNtueJ7cE8cwrjHlLY2rslWcSTFtVpKvEdcaZcIXtZEaxocYkP0xempWqC3vjvhud7ANeDNZ0SFpMljUV3zVZ4fM5VKFGRE5yhXiW6CMBs=; 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