From patchwork Tue May 21 15:37:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Nicoletta Puzzillo X-Patchwork-Id: 3107 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 574BA3F9C2 for ; Tue, 21 May 2024 17:38:30 +0200 (CEST) Received: by mail-lj1-f200.google.com with SMTP id 38308e7fff4ca-2e1c0468503sf91042211fa.1 for ; Tue, 21 May 2024 08:38:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716305909; cv=pass; d=google.com; s=arc-20160816; b=ShTx0Br5S8kKtEyGi+AclcTUQDnVDHt5IOt+xKRfQxiEW/KBbXAHjQEUxuIP8eUbTz CxV8uQRezpj+uycbvVC3WlWvOWDd+dwZqsI17mX+Fv9chOdfjMWkg6w9PUTU8YPNkww8 DEy12CuZVyZ1YkRTqknhpVfI0LI8ybAYY2yseJcKII3F5+4lFbxGSwDPLZ2wBVR8tacd lt5lIev0SLGeOvngqiI0sWIzHQjBoJg0W2tANvuZf9Nga5el47Es6w9Ay4lbKH3kqSbZ Eg4JLOm3+ZG0PXzraKm7ES3aONrjeGr1eWOosImFm2l4No/zOinFcqIFE8pgTJAKlNM5 HiAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=eHovzrJy5tmoj1oh86L9+FuyrJIwt968YJDCc9dEjnY=; fh=6vkjZtRQq0KzXiXBrcxorEDhtSwuwQdrZB7LR87xue4=; b=FQo3gszQddO/SxQdCK3c6RJ9/03/AcVp3z5TdliU3W03Bi+eXbSvzj4JrgUeUmT91M AjE/Zuvkf/c/nXCi+BQ0AQnH8i5THJudTjJ+DlkqDlfu094/0oQpwS/KQ9FJWIIyiG9m +46eD/tT0Y6Mjte/P2CWnpxAS1B/yKR626jpv0cMGU5qTypgltirHKGSI0hNCQVpn8g+ YKfJOW0Fk6JZCi4r6qsWOU1HDlND0W36DM+irGUIaPGh8HKx9AyejlwbK+vVWDRDOu7M LxvTM5IA0onQSE3EAciWymwCdjE7Z27IVwMVi11mpp13qJADLwk6HiFqiKnKQwNAg+tg NTEQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=DOKvOylq; spf=pass (google.com: domain of francesco.nicolettap@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=francesco.nicolettap@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1716305909; x=1716910709; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=eHovzrJy5tmoj1oh86L9+FuyrJIwt968YJDCc9dEjnY=; b=Jy3BKNDFRc0VXuo3eniHjsEXGxNJZpzP4bX6hbJRfrLVyYZylNpJVer+N21C9Gi+0S LeiVQiUICmGi11/qQMIrZBoUAXtxmPRKmUFtXk+wpvzm1c36QMlob6hR3E5TRyi1Wv/5 oL22Q7Z8is9emFChj8Yv7Gj8P1Dw9L4u2D5uQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716305909; x=1716910709; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eHovzrJy5tmoj1oh86L9+FuyrJIwt968YJDCc9dEjnY=; b=rIjKREf7MTHtudS1UQfXDoPJJSG77SjYGe4/xjSATt5iO6nm6OKJ86YSIzdgDSfLFN vqfGM+s6Diu4hStiKfotV1219kNZbgZnIzGRrBt2W2vuiVVVvs0frXM4RxSpJqS/PshN tfhzz7Omvcw/yG4vYl73MLAjQkcDtxBAJLUXGnR6yw93zRE1s8aLEj4sCGGsror6lSNv A3rVWe796s+9UvpYrSHmlug1veQtcLBp0LT9BMUxIwg87vXozrVCVsci8XmMjAxt07lw dDVaZ5EeFuLk248DKGYdnmk8XSvIvsOx0n6yCELgGhMG8L/OhRzGNSwjpLbxeQsExsui GefQ== X-Forwarded-Encrypted: i=2; AJvYcCXkealTzhIkZ2+8FDLGjoR3uX3KqQGDOh+n2l0kKwof7AojwC5x+FIrypnF9E3XQHoT5ElO4CXofvoC+LW/MqNtpb+mY3bRPe6vVZplPMrlHZ4zO9Vpx33K2EjQtA== X-Gm-Message-State: AOJu0Yx/8qk0642R5U5W3uZvb1OUC0hok+YmGM4EjjOVnhsPqunuNyTt +N2T6QmCHsrVDbCsSLeXFxqyJLgSAtMNTjbX0Y09YYX57IitUMQqRtIR3mXz9nLBnA== X-Google-Smtp-Source: AGHT+IHPCc283cYpiVC+4nuzrHsIoZuDUlFvPTb1Fcqt4M+37xv3bIM+u/SFp+fh+nzwbq8zOSto5A== X-Received: by 2002:a05:651c:2106:b0:2da:9ed:9b43 with SMTP id 38308e7fff4ca-2e52005da47mr239811121fa.31.1716305909068; Tue, 21 May 2024 08:38:29 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:4028:b0:578:2803:753f with SMTP id 4fb4d7f45d1cf-57828037604ls114320a12.2.-pod-prod-04-eu; Tue, 21 May 2024 08:38:27 -0700 (PDT) X-Received: by 2002:a17:906:2746:b0:a5a:84f9:df73 with SMTP id a640c23a62f3a-a5a84f9dfd2mr1352192166b.38.1716305907333; Tue, 21 May 2024 08:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1716305907; cv=none; d=google.com; s=arc-20160816; b=VtYLVy4u5ewlW8QeJVEtuy0GzfKh4emz933xzyiW1IS1aM9OdPCIU1F2u2BD1jMyrk ZFMNq322XAkrHpI/r2SzzodjOh8RGvrPKcog0278effL4ga9w8k3tTig+vfoBMVhK4Aw 008gjVG0htvGfiVRna4iWzOGJEjNeKqygNT3Z2eRVstx1XB1U4slTnPhZoCgGG5rcZL/ Nqld+oBfJA+Xx0jobVCKhIHOcghBeL32Rh1ibRjWBX9NiwCyhyhIhWLiVq+F/8kXxFZo lZvVrFS3ZPzwegZc2zANa3cyErhIGO21+2vpxkDZ0lQ+M7RnOOdvyj5Jiu/oC0RMU6Dr 8G4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=DeKm+AVk7065kA7AAe1MM7HDMbHfguVnb7H62t2RaQ8=; fh=5MpZ5qkjo7l4DCKQ/sUwpGuClUkZy44YZaiCBO58VMc=; b=xMbo+2Gybkz4iyEMHZWUGiuU76K6BztyL8vFJ2+F60/P88/ibg0uOmysnvuzA8tOUt HTuKxfOCCi/qmYOlPtd0Fye6eG01c9vfyPkOTMfculAe0ECn9Dt/uovQNyipEO1Hpvrz apSZePujY1LrIIpCPtB1B64rnfC0QKHDW8QMq/q0vn5yIN1Csvf8Dk+vAZQK5/CFcz/r G3ie3/YtR7HEbM4/OJpMEGo/V5rgVYXhxfUzJ1F+dIkpMUjsVmgRDh8ckZ/z4fRQYXdq 3MxzXY4tQs0P5/cTDLifdTP/PfYBeCaRUArt1KU+gpFzgW8fkovu5DCAXgy7U79zAznk Wjxg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=DOKvOylq; spf=pass (google.com: domain of francesco.nicolettap@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=francesco.nicolettap@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-a5cd6270c99sor379847366b.6.2024.05.21.08.38.27 for (Google Transport Security); Tue, 21 May 2024 08:38:27 -0700 (PDT) Received-SPF: pass (google.com: domain of francesco.nicolettap@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:906:db0a:b0:a5a:50e4:5738 with SMTP id a640c23a62f3a-a5a50e4586fmr2398760666b.73.1716305906938; Tue, 21 May 2024 08:38:26 -0700 (PDT) Received: from nomnp-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2001:b07:add:9f96:84a3:ea6:7aa2:bacd]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a1781d2dcsm1626379366b.44.2024.05.21.08.38.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 08:38:26 -0700 (PDT) From: Francesco Nicoletta Puzzillo To: linux-amarula@amarulasolutions.com Cc: michael@amarulasolutions.com, dario.binacchi@amarulasolutions.com , patrick.barsanti@amarulasolutions.com, margherita.milani@amarulasolutions.com, meena.murthy@amarulasolutions.com, andrea.calabrese@amarulasolutions.com, flavia.caforio@amarulasolutions.com, francesco.nicolettap@amarulasolutions.com Subject: [PATCH 2/3] arm64: dts: rockchip: Split px30-engicam-px30-core-ctouch2-of10 Date: Tue, 21 May 2024 17:37:59 +0200 Message-Id: <20240521153800.3478838-3-francesco.nicolettap@amarulasolutions.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240521153800.3478838-1-francesco.nicolettap@amarulasolutions.com> References: <20240521153800.3478838-1-francesco.nicolettap@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: francesco.nicolettap@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=DOKvOylq; spf=pass (google.com: domain of francesco.nicolettap@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=francesco.nicolettap@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add a new generic ctouch2-of file and move part of the ctouch2-of10 devicetree in preparation of the ctouch2-of7, which uses nearly the same bindings of the ctouch2-of10. Signed-off-by: Michael Trimarchi --- .../px30-engicam-px30-core-ctouch2-of.dtsi | 79 +++++++++++++++++++ .../px30-engicam-px30-core-ctouch2-of10.dts | 61 +------------- 2 files changed, 80 insertions(+), 60 deletions(-) create mode 100644 arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-ctouch2-of.dtsi diff --git a/arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-ctouch2-of.dtsi b/arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-ctouch2-of.dtsi new file mode 100644 index 000000000000..ab35ca02edd1 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-ctouch2-of.dtsi @@ -0,0 +1,79 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +/dts-v1/; +#include "px30.dtsi" +#include "px30-engicam-ctouch2.dtsi" +#include "px30-engicam-px30-core.dtsi" + +/ { + compatible = "engicam,px30-core", "rockchip,px30"; + + backlight: backlight { + compatible = "pwm-backlight"; + pwms = <&pwm0 0 25000 0>; + }; + + chosen { + stdout-path = "serial2:115200n8"; + }; + + panel { + backlight = <&backlight>; + power-supply = <&vcc3v3_lcd>; + data-mapping = "vesa-24"; + + port { + panel_in_lvds: endpoint { + remote-endpoint = <&lvds_out_panel>; + }; + }; + }; +}; + +&display_subsystem { + status = "okay"; +}; + +&dsi_dphy { + status = "okay"; +}; + +&lvds { + status = "okay"; + + ports { + port@1 { + reg = <1>; + + lvds_out_panel: endpoint { + remote-endpoint = <&panel_in_lvds>; + }; + }; + }; +}; + +&vopb { + status = "okay"; +}; + +&vopb_mmu { + status = "okay"; +}; + +&vopl { + status = "okay"; +}; + +&vopl_mmu { + status = "okay"; +}; + +&gpu { + mali-supply = <&vdd_log>; + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-ctouch2-of10.dts b/arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-ctouch2-of10.dts index 392147245ce7..e3040397dff1 100644 --- a/arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-ctouch2-of10.dts +++ b/arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-ctouch2-of10.dts @@ -9,74 +9,15 @@ #include "px30.dtsi" #include "px30-engicam-ctouch2.dtsi" #include "px30-engicam-px30-core.dtsi" +#include "px30-engicam-px30-core-ctouch2-of.dtsi" / { model = "Engicam PX30.Core C.TOUCH 2.0 10.1\" Open Frame"; compatible = "engicam,px30-core-ctouch2-of10", "engicam,px30-core", "rockchip,px30"; - backlight: backlight { - compatible = "pwm-backlight"; - pwms = <&pwm0 0 25000 0>; - }; - - chosen { - stdout-path = "serial2:115200n8"; - }; panel { compatible = "ampire,am-1280800n3tzqw-t00h"; - backlight = <&backlight>; - power-supply = <&vcc3v3_lcd>; - data-mapping = "vesa-24"; - - port { - panel_in_lvds: endpoint { - remote-endpoint = <&lvds_out_panel>; - }; - }; }; }; - -&display_subsystem { - status = "okay"; -}; - -&dsi_dphy { - status = "okay"; -}; - -&lvds { - status = "okay"; - - ports { - port@1 { - reg = <1>; - - lvds_out_panel: endpoint { - remote-endpoint = <&panel_in_lvds>; - }; - }; - }; -}; - -&vopb { - status = "okay"; -}; - -&vopb_mmu { - status = "okay"; -}; - -&vopl { - status = "okay"; -}; - -&vopl_mmu { - status = "okay"; -}; - -&gpu { - mali-supply = <&vdd_log>; - status = "okay"; -};