Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp106152lqh; Mon, 6 May 2024 12:45:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW2N7H7ddjAljVlVHpoV6Qy8tX5fEOZ65arDDV6jxtyELi4ccOP7uwhmU/IihJza7ApunRcPPpBD/qMnt/Gq+GB65K4aHVlYcGBTuSs2w== X-Google-Smtp-Source: AGHT+IEb+3tMKjMCzONGfRD6/TmgTpn0+6VQwd0U46f02BlP6eIrccU/Y5lvlpIzNOLLmjA62Woe X-Received: by 2002:a05:6122:1dab:b0:4d4:1a1a:6db7 with SMTP id gg43-20020a0561221dab00b004d41a1a6db7mr10157445vkb.2.1715024743328; Mon, 06 May 2024 12:45:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715024743; cv=pass; d=google.com; s=arc-20160816; b=SukQpWLXQ+NnXYjmzbG3e+L0tvtLQbK9Vi0RzI3Rk8vMjArUpybvRekfvEoBj/RtgE Z4z+paNXBPteYQuRByJDZe1RlK2O341ooCMCOybm4+SQanwN7a1CEPpChxawi02bfMN/ 6ALmU13ISx+CWZ6weN0JJpds7jE1N1Gzf/mLFA3ykWNf1kokpweyy7pkNYezk4Xk9qGH ArginTFEBOOf56GDDXqDnZSn8xsSbNTvzSuqbFQYr1mjLJdxUGVFAmlxX2cVvZgPmOx9 ij2g9B9AoMSDevXTqnLEUHj+AJ5/pviT1UA338u+ZJvwZM3A2TO+GfPbNreK0OsI1qEk Q43g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=oPo30HLErisAcogmRAQBmaHjRdsPf6mxSQ2qeztK2Sw=; fh=fKmA2IVNv7lQtNBsJMh02W039TZb8NVQt5SqoQij7tM=; b=VaggXGalcfd+VIVutmvTv+lSTHAT/Ua7epyrRF1UgX4qipKKMfPAcnltTeqAgYZexp Rmw8sJWuSe4CqjS/oNB3ZUnIUelG9Nc5D9ETWtbcuppQSKGPJrVx6IBk6NKpaRQzIKd6 rmy4rEHl/ZPtXL6nVTVCw8Ch8wcexpECKmNnhw0f+vr7IKMt3GSKIhydrlHk7rbFv4SR KUFfQ4s30bA56OXiv09bVlMOYXUZjSwSPitIeYHLMMY0u5gcZ1yJr/ze4CUyOrhWJPRP 6qAYA+iIMSL7692C6Ea8prkqDaVrKRZmvpSyJSrpvzBShwMgPLUlgCyU4Z2oOZQOGpeC hyJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CRrVckZY; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-170362-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170362-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id k12-20020a05622a03cc00b0043af98ee711si5908165qtx.38.2024.05.06.12.45.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 12:45:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170362-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CRrVckZY; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-170362-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170362-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id F2A8D1C20F6D for ; Mon, 6 May 2024 19:45:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A37BE15B0F0; Mon, 6 May 2024 19:44:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CRrVckZY" Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 2D14215B54F; Mon, 6 May 2024 19:44:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715024646; cv=none; b=DKSVOZBJ03xDU17dX8LVJqKH0cUJuoqf3NxldfDnxBkkIQ1nQZpwN0OfhCVmRH0HoeIRs0JGTO7XjQ6rq/tIGLqKLKPrD/Fv2D7W/1MWeuoWA3QgeAupzq4wR6E5v4Dlv+aCnMYxYl6ZLIDRmEyERsbWUz/yDlYr4o1sV+poFCg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715024646; c=relaxed/simple; bh=wjlH4Lt5S7mcx5jnJNpBQbgACYP+Lvxy1N0d55tJixs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Fo2z62Qgc+GQlREe9NZBIM0Ly/SNgzrH+dnpXp7sxolxjyMCNv0VcsEVrurjy3Q+56Hs62WLFZQwZolCm5atXAtk5xvbzvr+Flo348g4m5cGxPdDbL99l/B9yiClnSYcaCdOHtCipN7QHiolWNRWYHxg36ONxbXS+zwODUNxpIQ= 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=CRrVckZY; arc=none smtp.client-ip=209.85.218.43 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 Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a59ad344f7dso434099566b.0; Mon, 06 May 2024 12:44:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715024643; x=1715629443; 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=oPo30HLErisAcogmRAQBmaHjRdsPf6mxSQ2qeztK2Sw=; b=CRrVckZYvWMRFB+7wj0wLjfATPj6wWMI5TKwM2GCO/FiHm52/gn9bA5T+ms4dGa0db DU8TR/Ca6z8SyK+TODW3UiDV5k1ECNspInbj/yt3+ry/XxsFVDH10c3okf6i3QoHV2q+ ULFJIlbg+QSBzKieT755z/ekY9be7QXoI7MvHQmZOaRmEG+w8VERoK7JGnab33vfin8a 41YXDWlcIUjtOGT5TEkeLbKxrHuGpos5SrJybjBerU9PiE/8QHg0FqabZwyyOHqCwkkU AoGQo05EJ4uZR191/y/zZ3y83rRwggrfKoEho2R4IlpBApc6wkshh6VLhAveIkTyne9T P44A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715024643; x=1715629443; 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=oPo30HLErisAcogmRAQBmaHjRdsPf6mxSQ2qeztK2Sw=; b=QxsLDWb97JkaxtenVreuWzQDNTZu+ee6ENgkqENRzL4q0qHlGg2rCyQ/Tqee9iSeXg u9LkVYDyPYbGOXhSEi/QWkvi6xLwtyrtzIhyWICPlrDVdeLpyFrB0xE0DjFgV+SSZMxo 4hLI8ywaayWoTu8dhJNV7n4yyGxQWmSils0XIA9E57pDR2p5XN0mnpZIZf6aSho4wYHg UuKd+d4Qfs1Zup0NHCD3OVaivZPhwyjRFPeh4XQKP71UF+iKMOGAnls38ecauBhII2KC O32CBbXiInxoQAIAXBh4N2BRYaeuKZKCRvPJ1AjckWa3d1Fw1+Tk7DMj9A3p6+x8Tspt +VyQ== X-Forwarded-Encrypted: i=1; AJvYcCWJitviFKZoQWFM8VjKQvyrQAb/16Xn+kaTddenYqhxbRe/CRgU39r5Jk4UkN8VXIY+uCnNXcsENZeX9Ssi7SnAImsxR7KM83HzrJC+dzyuBm4PL8RhXnNadRT1DN4x9V1avO9h5oc/38+TufKsExDj365UwKvTplnuft7cvUYIGj7wbg== X-Gm-Message-State: AOJu0Yxbbdbt1p6Y66hhGv8zsRzD0KHBlhSxyaEl2MTrM//M+UIjfDl7 IaYJ1DhoW3i5NlbmGfhOfPWmimdvEJe3Syiul7X6rgNZR3ImMig= X-Received: by 2002:a17:907:97d2:b0:a59:c9ad:bd26 with SMTP id js18-20020a17090797d200b00a59c9adbd26mr2965779ejc.12.1715024643508; Mon, 06 May 2024 12:44:03 -0700 (PDT) Received: from U4.lan ([2a02:810b:f40:4600:1c62:e77:6753:5729]) by smtp.gmail.com with ESMTPSA id f13-20020a1709067f8d00b00a59d146f034sm1367321ejr.132.2024.05.06.12.44.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 12:44:03 -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 7/7] ARM: dts: rockchip: Add DSI for RK3128 Date: Mon, 6 May 2024 21:43:42 +0200 Message-ID: <20240506194343.282119-8-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240506194343.282119-1-knaerzche@gmail.com> References: <20240506194343.282119-1-knaerzche@gmail.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 Add the Designware MIPI DSI controller and it's port nodes. Signed-off-by: Alex Bee --- arch/arm/boot/dts/rockchip/rk3128.dtsi | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi index d16a9d03ba2b..93885338a80b 100644 --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi @@ -276,6 +276,42 @@ vop_out_hdmi: endpoint@0 { reg = <0>; remote-endpoint = <&hdmi_in_vop>; }; + + vop_out_dsi: endpoint@1 { + reg = <1>; + remote-endpoint = <&dsi_in_vop>; + }; + }; + }; + + dsi: dsi@10110000 { + compatible = "rockchip,rk3128-mipi-dsi", "snps,dw-mipi-dsi"; + reg = <0x10110000 0x4000>; + interrupts = ; + clocks = <&cru PCLK_MIPI>; + clock-names = "pclk"; + phys = <&dphy>; + phy-names = "dphy"; + resets = <&cru SRST_VIO_MIPI_DSI>; + reset-names = "apb"; + rockchip,grf = <&grf>; + power-domains = <&power RK3128_PD_VIO>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + dsi_in: port@0 { + reg = <0>; + dsi_in_vop: endpoint { + remote-endpoint = <&vop_out_dsi>; + }; + }; + + dsi_out: port@1 { + reg = <1>; + }; }; }; -- 2.43.2