From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 307DD14A90; Thu, 9 May 2024 12:07:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715256445; cv=none; b=oFODyez6yH2nFpSfj7t7SAQ1Sjd3l/POcYg/aojg+x09KlcQ8Q06rz8EniaZX8oRIE2rUnNmGSrqrcMlSZnqUWywSn04l5AJObpPEYGL4iOvS7tvtWe/AkfMxLQfPcm+Onb+MuNDSotcG4j1iJ1EnEZtEEXjKt6y9ZHeIyn75lU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715256445; c=relaxed/simple; bh=8rUSx8wLTQ0z1QSJtbAVIFlLK/E/zSFZyno6HqDh2Lk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lByPa1JsTNBIgv+Szube/2biQ+tYUJZzdasfmnWzbdmhKHBjEo1m96Ixs7e5wCexu4BYfeD5FUEC+0IN3BrTfyH0sLdV5InOfzdgS8hWJh8GAKBu9SXY+ORweD5eWhoIoxswoB1zo3f9Zp99KUV4rKLbavG2JaTjb6rioW7YiP4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nnHWkaUN; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nnHWkaUN" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-41e82b78387so5974595e9.0; Thu, 09 May 2024 05:07:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715256442; x=1715861242; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TAif8iJN8V1k3wa8UJdZQ5GifnX9nyDTgUZq5/d7HCc=; b=nnHWkaUN8GzO2r35V0WWQil33mYzjiu4jh6OYy9u54DqB4nQi8ahO11TRrAeEt00gI vsZGwI1nD9+LCsfsUtbWw7uUquh2BRxKjsvjtnB+senHtBkRCP+zgQ4LljsR4zV8/9aQ F+0lgDbcuIrYzQjOQ96PulSV+4GfOcJreVkplsb82Zq/MUWOrmdhxb3iISV4Fzm7sNxY wTT0CEMXUnBW4YBcNlDER8aIhTQX8HasTS9MD8we7ym0EEKN3bygqGcdpCakx2ltQOWd BzktPFZ2f6jNq1ZGlA6rP8Kxhh0K0BThljtU9xU9mplB9lmPBxVbKbA2Lf6VKm8LVLWx uu8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715256442; x=1715861242; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TAif8iJN8V1k3wa8UJdZQ5GifnX9nyDTgUZq5/d7HCc=; b=c6lEg3HHy5+eZb4YSH7M3Zt3rjx9t4Y/3gTTt3mu1E58dkVNVwH3tt6BUADwZLoAUu q85tGnyqSGgmcCoLLX8XQVV8BBJHm3lKAYK0xk+Rru3C/5i4gefJGDBIu+icfA06uxn8 lOlU87WO6ZfJkOdweN2g1OHCaHSDCZV+GVcjdwVgS7QnUhzBEY5yUiAQILqv0oIs3u5E VpT+dgrg2Dr7UWL23VYpDO2eUlmvpZvJTCKJsIo3YBzIFklnLGOlKlvo48d1UyxDni5B rjBle/tXP46No+1I+jiHywx5K/ThgdeNunrVFjoAP+SRfzsVFA58JK1E9BiSz6VZrugk 9w7g== X-Forwarded-Encrypted: i=1; AJvYcCWWUdBAQftEybe7ClAoqkSd+O8tYYcqZA3ehON7Yfm9O4erobHlvhIu78eG5/F0RnrrN6n97MWdq1AhHY/IgGilGuDzzDOGIZmuX316H3X4FR/nw7GUTAnuVCDg4fOvECNrKpExKqOK6fCgGwatNSZo0UDg9rKz4ztlwGE8/UxOGHOn+g== X-Gm-Message-State: AOJu0Yz5aHuFn9z4Z+ZZxp5f5pEqnwy+BenxgNCCm6gDI9Kaj38Om/D5 BLHGIbIFdN2TPJ5WPlIdUN2hC13T/QY2uGwKq9g3ranL0pAjlWY= X-Google-Smtp-Source: AGHT+IHTG1IHRUpJsEvbfsclIDD11n/Cn0Dv06smo6eYHnW+6ah5dzq6AfYFQdIT1VKgAJhmoFvavg== X-Received: by 2002:a05:600c:5128:b0:418:2b26:47a3 with SMTP id 5b1f17b1804b1-41f71ecb1fcmr44191365e9.32.1715256442507; Thu, 09 May 2024 05:07:22 -0700 (PDT) Received: from U4.lan ([2a02:810b:f40:4600:b44:d8c3:6fa8:c46f]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fccce1912sm24112005e9.11.2024.05.09.05.07.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 05:07:22 -0700 (PDT) From: Alex Bee To: Sandy Huang , =?UTF-8?q?Heiko=20St=C3=BCbner?= , Andy Yan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Alex Bee Subject: [PATCH v2 1/7] dt-bindings: display: rockchip,dw-mipi-dsi: Document RK3128 DSI Date: Thu, 9 May 2024 14:07:09 +0200 Message-ID: <20240509120715.86694-2-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240509120715.86694-1-knaerzche@gmail.com> References: <20240509120715.86694-1-knaerzche@gmail.com> Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Document the MIPI DSI controller for Rockchip RK3128. The integration is very similar to PX30, but it has an additional AHB clock. Signed-off-by: Alex Bee --- changes since v1: - added ahb clock .../rockchip/rockchip,dw-mipi-dsi.yaml | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml index ccf79e738fa1..fdd1c8ad6045 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml @@ -15,6 +15,7 @@ properties: items: - enum: - rockchip,px30-mipi-dsi + - rockchip,rk3128-mipi-dsi - rockchip,rk3288-mipi-dsi - rockchip,rk3399-mipi-dsi - rockchip,rk3568-mipi-dsi @@ -36,7 +37,10 @@ properties: - const: pclk - const: phy_cfg - const: grf - - const: pclk + - minItems: 1 + items: + - const: pclk + - const: ahb rockchip,grf: $ref: /schemas/types.yaml#/definitions/phandle @@ -120,6 +124,25 @@ allOf: clock-names: minItems: 4 + - if: + properties: + compatible: + contains: + enum: + - rockchip,rk3128-mipi-dsi + + then: + properties: + clocks: + minItems: 2 + + clock-names: + minItems: 2 + + required: + - phys + - phy-names + unevaluatedProperties: false examples: -- 2.43.2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3B667C25B4F for ; Thu, 9 May 2024 12:08:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5HfAvgCb3fhk/wniq8UNsdVcoCiRdH4iYw5jmqiRzKM=; b=UeZf8bKEPsSvdt Qo6jomkjl5YizEjucR9I+NvXPpaVcLVa8WRckV+3xm65smkHCPA1loG3CmZIIfGAfYt02v61zhr4B 8OYLv0dHYePC55lzq1xNXclNeV/XhmL7DFiozAPT2DGg2FR8fwlvEwB50s+rW7IQA2triP5x5D34V 8WJw8Ags/HM0XftYAPYuTb9YWjOm4/dD6NIvNMLXNyCchIqb/TM0HV9xHkeZ2qmBenk3yEA4i3dIj Kp7/psl3ZhYk2MkzDs4FxqidOhOt/V1Mw+bc73/nWIf6lxqtk/1Sgct2+E0IaVyzAj7cyg+2Qxgkx ymlPle/UrEp5dygtWIuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s52ZD-00000001MeW-0uwz; Thu, 09 May 2024 12:08:07 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s52Yb-00000001M4G-2qpp; Thu, 09 May 2024 12:07:31 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-41e82b78387so5974605e9.0; Thu, 09 May 2024 05:07:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715256442; x=1715861242; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TAif8iJN8V1k3wa8UJdZQ5GifnX9nyDTgUZq5/d7HCc=; b=XHJH5y/qsTYVZiESnyYYqy5I/Dnv3oEACP2lMk2mtAB35RywhnpPoeQFBDyrC+tQOW LPRXXd8+pgDPGHotxjTkDeUU7RUTa7YSrkBhyg2UfKs4VBlTb0LqA6QjPxMT7PinFrVt pDd/1Zxf79PoAsUAltUvSyFNakik2lmRw9MsxVxZzByCikUc6pykUTcolZlTLcH2Ztra hv/eOiz4BdPuoyHa8tFSDwRnuPNr8+gXKIGEHOEW5+oAR66Jt0/ECZ5C1gBjCP7404TE 3hTiMD48opvV6xg3r0bw9c/jKIE97cNVgKm3zGzGD9j94buK0X4uZzH4iLzIaNRbt6Ta CM8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715256442; x=1715861242; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TAif8iJN8V1k3wa8UJdZQ5GifnX9nyDTgUZq5/d7HCc=; b=TDXrAVKv0H8wq/voa3wSHtlNc0Tlms7ziQFxSGoYJfY657e0UpD1EsHDOHQpoq3Gsy +DSQNwshBVG5gbJ7e8KdMtu57S6AGHeLw9Tr7gyAeSyXN0KmyfxBmOY2gyQ2aHmgPHnT bbFFnjbFXAqwricDgrjRosWbxllKaD6JesHV0dtoqtNi5bHsCxWlpO+b2+/2INEDNblA mfKdPe951qdPFS0LqfgOENbQSbj7WbvSw8Mq5N2ZGlcZ2crNUytUXKItqpfSvlRZ3XAb pdVk/OrF6jQX0Twm7/GrGcd9AswoI7tK7zp7rlfhIdF7RUoaE86PPOcUNhUkF5HIl+0R pNNA== X-Forwarded-Encrypted: i=1; AJvYcCUoBzMNC1dPUX4te+iLaLzxqsvfcd6rITfw/O203v56hsuNU8ayN3HWgXV1hFjii55nBgGP25BWju7p+Oxqyn1byqK/919PGMnHgFXjREWrO1XQvgwmlvj8lIS7eds0dt7tP67Wi1KduGWe5gOD9kj4UP6Gpuq+QGA= X-Gm-Message-State: AOJu0Yx4JSH8cpDvUOD2GOnB+m8zEUonP+oB+oVpnAaZZgHVXaF6wn5F jgiiJYFsxG3UIS5qJlTymsw3VJh/rgc6UokTi4xiJPi6+Ls9HPQ= X-Google-Smtp-Source: AGHT+IHTG1IHRUpJsEvbfsclIDD11n/Cn0Dv06smo6eYHnW+6ah5dzq6AfYFQdIT1VKgAJhmoFvavg== X-Received: by 2002:a05:600c:5128:b0:418:2b26:47a3 with SMTP id 5b1f17b1804b1-41f71ecb1fcmr44191365e9.32.1715256442507; Thu, 09 May 2024 05:07:22 -0700 (PDT) Received: from U4.lan ([2a02:810b:f40:4600:b44:d8c3:6fa8:c46f]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fccce1912sm24112005e9.11.2024.05.09.05.07.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 05:07:22 -0700 (PDT) From: Alex Bee To: Sandy Huang , =?UTF-8?q?Heiko=20St=C3=BCbner?= , Andy Yan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Alex Bee Subject: [PATCH v2 1/7] dt-bindings: display: rockchip,dw-mipi-dsi: Document RK3128 DSI Date: Thu, 9 May 2024 14:07:09 +0200 Message-ID: <20240509120715.86694-2-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240509120715.86694-1-knaerzche@gmail.com> References: <20240509120715.86694-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240509_050729_786899_E9F6720D X-CRM114-Status: GOOD ( 10.40 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Document the MIPI DSI controller for Rockchip RK3128. The integration is very similar to PX30, but it has an additional AHB clock. Signed-off-by: Alex Bee --- changes since v1: - added ahb clock .../rockchip/rockchip,dw-mipi-dsi.yaml | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml index ccf79e738fa1..fdd1c8ad6045 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml @@ -15,6 +15,7 @@ properties: items: - enum: - rockchip,px30-mipi-dsi + - rockchip,rk3128-mipi-dsi - rockchip,rk3288-mipi-dsi - rockchip,rk3399-mipi-dsi - rockchip,rk3568-mipi-dsi @@ -36,7 +37,10 @@ properties: - const: pclk - const: phy_cfg - const: grf - - const: pclk + - minItems: 1 + items: + - const: pclk + - const: ahb rockchip,grf: $ref: /schemas/types.yaml#/definitions/phandle @@ -120,6 +124,25 @@ allOf: clock-names: minItems: 4 + - if: + properties: + compatible: + contains: + enum: + - rockchip,rk3128-mipi-dsi + + then: + properties: + clocks: + minItems: 2 + + clock-names: + minItems: 2 + + required: + - phys + - phy-names + unevaluatedProperties: false examples: -- 2.43.2 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 73C7BC25B10 for ; Thu, 9 May 2024 12:08:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eNSGufBDjoGWAKoMMA1ZHwe+pQJYM46jg9oMKzi9ao0=; b=Ih4ojxlbVuhAwx erXRL2d6qTLVANUJtWnumj2qyv6Y/80t6ypGBCZBkWwpY+jIRVi2QJWUHVL0p8rZxQRQoyJXlC/1G ftm0WKor/0/YBJDt4eb+/6lqK50YWHa1a9fr/taZcdmIymnOqGaeHVs6fxzTZtmZms9vTlQbz9Rud ax562rMwIH8tVKB9R73BrC/2bwd07eiKFXqOEBbgOECioUZ/k/Jt5PZPQFt/PqfuXsX7APktBNWGX Msevidr0IZtpAOSIlY3R5WNpNaE3oRf50ByG+1zrQzTWQvxbwK8ZUjZsUHq3XDIP08jdAKUTRrmFL Jq7UA242eqBY4CCMno3A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s52ZB-00000001Md0-0iPp; Thu, 09 May 2024 12:08:05 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s52Yb-00000001M4G-2qpp; Thu, 09 May 2024 12:07:31 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-41e82b78387so5974605e9.0; Thu, 09 May 2024 05:07:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715256442; x=1715861242; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TAif8iJN8V1k3wa8UJdZQ5GifnX9nyDTgUZq5/d7HCc=; b=XHJH5y/qsTYVZiESnyYYqy5I/Dnv3oEACP2lMk2mtAB35RywhnpPoeQFBDyrC+tQOW LPRXXd8+pgDPGHotxjTkDeUU7RUTa7YSrkBhyg2UfKs4VBlTb0LqA6QjPxMT7PinFrVt pDd/1Zxf79PoAsUAltUvSyFNakik2lmRw9MsxVxZzByCikUc6pykUTcolZlTLcH2Ztra hv/eOiz4BdPuoyHa8tFSDwRnuPNr8+gXKIGEHOEW5+oAR66Jt0/ECZ5C1gBjCP7404TE 3hTiMD48opvV6xg3r0bw9c/jKIE97cNVgKm3zGzGD9j94buK0X4uZzH4iLzIaNRbt6Ta CM8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715256442; x=1715861242; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TAif8iJN8V1k3wa8UJdZQ5GifnX9nyDTgUZq5/d7HCc=; b=TDXrAVKv0H8wq/voa3wSHtlNc0Tlms7ziQFxSGoYJfY657e0UpD1EsHDOHQpoq3Gsy +DSQNwshBVG5gbJ7e8KdMtu57S6AGHeLw9Tr7gyAeSyXN0KmyfxBmOY2gyQ2aHmgPHnT bbFFnjbFXAqwricDgrjRosWbxllKaD6JesHV0dtoqtNi5bHsCxWlpO+b2+/2INEDNblA mfKdPe951qdPFS0LqfgOENbQSbj7WbvSw8Mq5N2ZGlcZ2crNUytUXKItqpfSvlRZ3XAb pdVk/OrF6jQX0Twm7/GrGcd9AswoI7tK7zp7rlfhIdF7RUoaE86PPOcUNhUkF5HIl+0R pNNA== X-Forwarded-Encrypted: i=1; AJvYcCUoBzMNC1dPUX4te+iLaLzxqsvfcd6rITfw/O203v56hsuNU8ayN3HWgXV1hFjii55nBgGP25BWju7p+Oxqyn1byqK/919PGMnHgFXjREWrO1XQvgwmlvj8lIS7eds0dt7tP67Wi1KduGWe5gOD9kj4UP6Gpuq+QGA= X-Gm-Message-State: AOJu0Yx4JSH8cpDvUOD2GOnB+m8zEUonP+oB+oVpnAaZZgHVXaF6wn5F jgiiJYFsxG3UIS5qJlTymsw3VJh/rgc6UokTi4xiJPi6+Ls9HPQ= X-Google-Smtp-Source: AGHT+IHTG1IHRUpJsEvbfsclIDD11n/Cn0Dv06smo6eYHnW+6ah5dzq6AfYFQdIT1VKgAJhmoFvavg== X-Received: by 2002:a05:600c:5128:b0:418:2b26:47a3 with SMTP id 5b1f17b1804b1-41f71ecb1fcmr44191365e9.32.1715256442507; Thu, 09 May 2024 05:07:22 -0700 (PDT) Received: from U4.lan ([2a02:810b:f40:4600:b44:d8c3:6fa8:c46f]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fccce1912sm24112005e9.11.2024.05.09.05.07.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 05:07:22 -0700 (PDT) From: Alex Bee To: Sandy Huang , =?UTF-8?q?Heiko=20St=C3=BCbner?= , Andy Yan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Alex Bee Subject: [PATCH v2 1/7] dt-bindings: display: rockchip,dw-mipi-dsi: Document RK3128 DSI Date: Thu, 9 May 2024 14:07:09 +0200 Message-ID: <20240509120715.86694-2-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240509120715.86694-1-knaerzche@gmail.com> References: <20240509120715.86694-1-knaerzche@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240509_050729_786899_E9F6720D X-CRM114-Status: GOOD ( 10.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document the MIPI DSI controller for Rockchip RK3128. The integration is very similar to PX30, but it has an additional AHB clock. Signed-off-by: Alex Bee --- changes since v1: - added ahb clock .../rockchip/rockchip,dw-mipi-dsi.yaml | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml index ccf79e738fa1..fdd1c8ad6045 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml @@ -15,6 +15,7 @@ properties: items: - enum: - rockchip,px30-mipi-dsi + - rockchip,rk3128-mipi-dsi - rockchip,rk3288-mipi-dsi - rockchip,rk3399-mipi-dsi - rockchip,rk3568-mipi-dsi @@ -36,7 +37,10 @@ properties: - const: pclk - const: phy_cfg - const: grf - - const: pclk + - minItems: 1 + items: + - const: pclk + - const: ahb rockchip,grf: $ref: /schemas/types.yaml#/definitions/phandle @@ -120,6 +124,25 @@ allOf: clock-names: minItems: 4 + - if: + properties: + compatible: + contains: + enum: + - rockchip,rk3128-mipi-dsi + + then: + properties: + clocks: + minItems: 2 + + clock-names: + minItems: 2 + + required: + - phys + - phy-names + unevaluatedProperties: false examples: -- 2.43.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 44532C10F1A for ; Thu, 9 May 2024 12:07:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9492210E298; Thu, 9 May 2024 12:07:26 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="kWBKlAWW"; dkim-atps=neutral Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id 53D3F10E110 for ; Thu, 9 May 2024 12:07:24 +0000 (UTC) Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-41fd5dc0480so2781275e9.1 for ; Thu, 09 May 2024 05:07:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715256442; x=1715861242; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TAif8iJN8V1k3wa8UJdZQ5GifnX9nyDTgUZq5/d7HCc=; b=kWBKlAWWs25VtzZubCPysJyZLFl67RAjjPTtDGLXF+VcKsGjgC6zLsQZ2eHAx2WzVg aJ9i4BXtCVRJuYERikTZlDKPJv1C3HBhERurQwpCk22YPUWbs4MQXfwpDMm4K7SLfVbu RYtLKeTzWHEdWqmCvBPj18bc/iW+dgBEWXSgNjIYpEj/bCGVUd64TfQ61DF5HRLzapIQ W0nLWZQuTn4Lj6aA2lezybhMvWIX0LS5xGGfkEyDUv3Zbg6wrYYp4rHV5DQH8JUmUrkQ 2irDbhm+w+LqRH0usJbAMCSEF/xBFnYoxADigHyOEUzbrSX/ZAK3ppWz7GFI4bJJwYTX bd0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715256442; x=1715861242; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TAif8iJN8V1k3wa8UJdZQ5GifnX9nyDTgUZq5/d7HCc=; b=Sk2Wc2JK/d6rSEQxW7yA7b/ooaJfMYp5ey3G8vBaUJU+xBDgnWbdK1Z23cIXotkcMm eryHzc9ml5m5HhyKOiBKfCwGxc+3o3qEMG5r/RjvNiqpkyS9aoceGxIcM0RYtGqGzP+x WUxHjTQdXJDfr6rvS87jDlZdzwtP0dsGAH/nT1+TIptsEOjGPydPxH2a3dKb29WMB0Jq 8l0Ng4+hVb8trpENE9k1QtQ72KjzE8M9Z8xqndQTJL1hDurczAXzERBaj39RbZFDW7PJ MLhzNxG6zFMvfsycVmXTjqA6lUhZegWpHuc/UbsdmASIMby4ZBALJGOQQI3ulJAKPV8H 44fQ== X-Gm-Message-State: AOJu0YxOzcfzU5DWKy8HCaogyGqJGzw3Ii2xVfU3gquQ8/1eWgYKGsIB 47Tiqssc3Bo57IFBZLWJtFxVsQyI8TcPl4HVGNhLpcwtRlNhKfI= X-Google-Smtp-Source: AGHT+IHTG1IHRUpJsEvbfsclIDD11n/Cn0Dv06smo6eYHnW+6ah5dzq6AfYFQdIT1VKgAJhmoFvavg== X-Received: by 2002:a05:600c:5128:b0:418:2b26:47a3 with SMTP id 5b1f17b1804b1-41f71ecb1fcmr44191365e9.32.1715256442507; Thu, 09 May 2024 05:07:22 -0700 (PDT) Received: from U4.lan ([2a02:810b:f40:4600:b44:d8c3:6fa8:c46f]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fccce1912sm24112005e9.11.2024.05.09.05.07.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 05:07:22 -0700 (PDT) From: Alex Bee To: Sandy Huang , =?UTF-8?q?Heiko=20St=C3=BCbner?= , Andy Yan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Alex Bee Subject: [PATCH v2 1/7] dt-bindings: display: rockchip, dw-mipi-dsi: Document RK3128 DSI Date: Thu, 9 May 2024 14:07:09 +0200 Message-ID: <20240509120715.86694-2-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240509120715.86694-1-knaerzche@gmail.com> References: <20240509120715.86694-1-knaerzche@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Document the MIPI DSI controller for Rockchip RK3128. The integration is very similar to PX30, but it has an additional AHB clock. Signed-off-by: Alex Bee --- changes since v1: - added ahb clock .../rockchip/rockchip,dw-mipi-dsi.yaml | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml index ccf79e738fa1..fdd1c8ad6045 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-mipi-dsi.yaml @@ -15,6 +15,7 @@ properties: items: - enum: - rockchip,px30-mipi-dsi + - rockchip,rk3128-mipi-dsi - rockchip,rk3288-mipi-dsi - rockchip,rk3399-mipi-dsi - rockchip,rk3568-mipi-dsi @@ -36,7 +37,10 @@ properties: - const: pclk - const: phy_cfg - const: grf - - const: pclk + - minItems: 1 + items: + - const: pclk + - const: ahb rockchip,grf: $ref: /schemas/types.yaml#/definitions/phandle @@ -120,6 +124,25 @@ allOf: clock-names: minItems: 4 + - if: + properties: + compatible: + contains: + enum: + - rockchip,rk3128-mipi-dsi + + then: + properties: + clocks: + minItems: 2 + + clock-names: + minItems: 2 + + required: + - phys + - phy-names + unevaluatedProperties: false examples: -- 2.43.2