Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1062731lqo; Thu, 9 May 2024 03:50:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU0CCYuckrqIY5A5wShDasGqoBuEtj4cqAgnf3nu2a9jJ1l8tcBVq6Yp/tOxFI4LFQgl0klZgX+Jkd7AfpFbksB5WtSx8ow2P3y8WZO1Q== X-Google-Smtp-Source: AGHT+IGpn3vX4cNb3OdDphWtZDsZ4e9BARO+4caszGfoTd3ZdJH29Bx5SBnIx+OQ5Syk04H5gph6 X-Received: by 2002:a17:902:c3d1:b0:1ef:9b6:d03d with SMTP id d9443c01a7336-1ef09b6d05emr13188645ad.57.1715251803925; Thu, 09 May 2024 03:50:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715251803; cv=pass; d=google.com; s=arc-20160816; b=fO3/HzMHE1INSEEAt9ZqjETk9F+KL20FV/BqpuXpIJImMwBrajS97dvjP36WsaEh69 ACt4Pamh1763QyQKfh8UoKaknP9Nju8r4PhFLYhSJuIKPQZpgaHscjWypseMNmuz3/6G auNPGF2HhsOKYbQfn7jw5zFTmzz7spR5FHturX98H9VA1tSab8Z9CdYaiFqVdbBdSdCr mD2H9WdYyiG8AuqZA95+CrR4sX6/FowsNug01k7lwlG7Z/4DT7Gv8BnLusrM5jji9VUB Xqoq8Xi2J9pxXklrkOspCCXa7/UWqBLfj1AJftaOPlerLM64XnrTBA1FnGsFXyb4Oz9w /Mdw== 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=QnzQs4M8STg8v5mtXmoZjumL7kiGXFglN5V5NIOcQXY=; fh=0c9W+TvWSCKaUjEzZ0nuyeAd25zLNS8DZR1yckQdyzw=; b=JQOTxVvGoLMs+OeMn/sdF7l2RAhp0EtfNjZhLi6SHwb1+6DJDGeeIuyIMansGHZm84 7IDKgAr4SOiIgKOrnh7fIeuOSc0Pa9Di1a5bbLi5z1Rg7V1M/9CRli89L9POTudU7FR1 rwuboPAvT+WI2zyPDq66t57mMcCV+JqKu4zgV+a/HV+5RZsC7uvPmyfVZhjV0HCvdP// 7Ls8TWRzrvm2KoenqY0F1UTRuhGjZqvyso0I4r9YJHhXEJeBQ0ReKNKdtc6jIj9J/38Z 9mnLU14Wk2jWKvDnxnmMmgLqKqEen/qnR9cuoS939BTmyJFvgj+wJdO7u51oUA8Zv9J/ f2aw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sDjbA+k8; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-174423-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174423-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0bf3161csi12352325ad.202.2024.05.09.03.50.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 03:50:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174423-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sDjbA+k8; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-174423-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174423-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 687B628113E for ; Thu, 9 May 2024 10:50:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1112313119B; Thu, 9 May 2024 10:48:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sDjbA+k8" Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (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 388CB130487 for ; Thu, 9 May 2024 10:48:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715251728; cv=none; b=kMwmmGNeQ2u/imT9tMyZYo1bJrYje1GeLwdwk9gjDLeNohmvCZfT+qBdG2qsuFjBHm5IO2Mgb7W7hTGplKML/qxeJx3sJJ3ZHDyDfgGCeJGM86EkN88RvrHJQvHqf1E3IchXi6JT3nR1eRD4fLn7/HcxXo1v/wZ0Z8OI+SWdI4E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715251728; c=relaxed/simple; bh=gcpdIFHr8ER34Z3GWGDwVi8dmpRY0WZC3XvZC+2j07g=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Aac+si/DPQZOju8JSrEjMVme5eNGfpYv5BLspr+l+uNnTdoD7ekXQ7jneFoCWsdXMWkg25h5iaS66GwttSNGWOMMrtqApjK3kFHXxiPMjj5f62m4IHDyyT0/Am+XTF/KdMUPUDRbIj9FYxFGM1+a7q0AokAuYE6bE+iJHYZ+Xiw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=sDjbA+k8; arc=none smtp.client-ip=209.85.218.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a59cf8140d0so163782566b.3 for ; Thu, 09 May 2024 03:48:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715251724; x=1715856524; 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=QnzQs4M8STg8v5mtXmoZjumL7kiGXFglN5V5NIOcQXY=; b=sDjbA+k8EdKzEaw9SXcZO7tbWFoeYXGVbtOdO9+oiOkf/6zFj09tF1z77WGHF0aKKk PlZbk7jC9Fy9W2soNYc62vLn1YmSS+sZ5flB6purxzLYabjX4rL8UzFdbxSfnKn9+F1j rJuLNsERkHncd7hK7420xHwiR3Ut6DZ529C/6M+wQvuy0sOTJWW6hrjag0LObHjUHsyv uhW2YvN/U5Grhi6q00nyKbn9UfyOcQHVoqN8za4vetihv6yBRaDkEdC4Jvu/xp/JxYE1 OdEKWXYbaltrio15qfP1ussHtFubS00oxspqprFml/woOPIGrOD2xV9xTBo25w4RQT6B dM+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715251724; x=1715856524; 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=QnzQs4M8STg8v5mtXmoZjumL7kiGXFglN5V5NIOcQXY=; b=IKkbzTYJ4F3NLIXCiAeEwQdgvAZnLJY2UnhJp+SMho13gTNh88u0jI0+0PS/3Oi1Ef xDB8oOm72EkI/6kO22NAvT0p5UlOFwoGcnEbOjc/w7VqQrF5LArowUBEfgRsinrb3qAe +AZlBBjtuQmAkl0HgtYZx0hydR7hs/oayqKqjVsnfqlXoK7S9YWVJLlT5grmU61Frhps kh8oS/8p++ODA4JJMF1PHSp7ADw64ATbQuAJ75IjLu4VE22WtRzvioGrTz5gHllZ4zW6 037pUzPLjHnhKto30KqAsH1ol1gbbklnd5fVcFwkk591ugG80Gh2rGeIr3KGZX7FEaDW 9e3g== X-Forwarded-Encrypted: i=1; AJvYcCV0/C94svyTOqB6/Zi78r7eJNdijOrlTp0JbaytBlNynObt5rGcABbF0fcM2+ZNnWo1lIgxirPy/YME25WbyyVi2xvLX8S9R0/E2oFu X-Gm-Message-State: AOJu0YyHlsIHDk0257LsuX8ib3+65ak1xXuRyJLFFECjE6CMDn32X3+O 5ftZt23fkMzpwoAKV3jqRpVjdcUw1B+bgdFHfBfgXNS33Se6gR/+gqZB1ROBxpUPeoeoTUyUinV 2 X-Received: by 2002:a17:906:61a:b0:a59:9ef3:f6df with SMTP id a640c23a62f3a-a59fb941d7bmr290673566b.22.1715251724582; Thu, 09 May 2024 03:48:44 -0700 (PDT) Received: from krzk-bin.. ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17894d85sm60195966b.72.2024.05.09.03.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 03:48:43 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/5] ARM: dts: imx: correct choice of panel native mode Date: Thu, 9 May 2024 12:48:35 +0200 Message-ID: <20240509104838.216773-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240509104838.216773-1-krzysztof.kozlowski@linaro.org> References: <20240509104838.216773-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Bindings and Linux driver expect native-mode to be a phandle to one of the timings node, not a boolean property. Correct the DTS to fix dtbs_check warnings like: imx53-m53evk.dtb: display-timings: timing-800x480p60: 'native-mode' does not match any of the regexes: 'pinctrl-[0-9]+' This should not have actual effect for Linux kernel (no real bug affecting choice of native-mode), because the first timing node is chosen in absence of proper native-mode property. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/nxp/imx/imx51-apf51dev.dts | 2 +- arch/arm/boot/dts/nxp/imx/imx51-ts4800.dts | 2 +- arch/arm/boot/dts/nxp/imx/imx53-m53evk.dts | 2 +- arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos2_4.dts | 2 +- arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_4.dts | 2 +- arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_7.dts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx51-apf51dev.dts b/arch/arm/boot/dts/nxp/imx/imx51-apf51dev.dts index f72e109342bc..de6b7607510a 100644 --- a/arch/arm/boot/dts/nxp/imx/imx51-apf51dev.dts +++ b/arch/arm/boot/dts/nxp/imx/imx51-apf51dev.dts @@ -25,8 +25,8 @@ disp1 { pinctrl-0 = <&pinctrl_ipu_disp1>; display-timings { + native-mode = <&timing0>; timing0: timing-lw700 { - native-mode; clock-frequency = <33000033>; hactive = <800>; vactive = <480>; diff --git a/arch/arm/boot/dts/nxp/imx/imx51-ts4800.dts b/arch/arm/boot/dts/nxp/imx/imx51-ts4800.dts index 87a34cbdf233..079bd3d14999 100644 --- a/arch/arm/boot/dts/nxp/imx/imx51-ts4800.dts +++ b/arch/arm/boot/dts/nxp/imx/imx51-ts4800.dts @@ -58,8 +58,8 @@ display1: disp1 { pinctrl-0 = <&pinctrl_lcd>; display-timings { + native-mode = <&timing0>; timing0: timing-800x480p60 { - native-mode; clock-frequency = <30066000>; hactive = <800>; vactive = <480>; diff --git a/arch/arm/boot/dts/nxp/imx/imx53-m53evk.dts b/arch/arm/boot/dts/nxp/imx/imx53-m53evk.dts index f0f92ee7ba95..ba0c62994f75 100644 --- a/arch/arm/boot/dts/nxp/imx/imx53-m53evk.dts +++ b/arch/arm/boot/dts/nxp/imx/imx53-m53evk.dts @@ -17,8 +17,8 @@ display1: disp1 { pinctrl-0 = <&pinctrl_ipu_disp1>; display-timings { + native-mode = <&timing0>; timing0: timing-800x480p60 { - native-mode; clock-frequency = <31500000>; hactive = <800>; vactive = <480>; diff --git a/arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos2_4.dts b/arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos2_4.dts index c75606fc4abd..ec806b8d503a 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos2_4.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos2_4.dts @@ -85,8 +85,8 @@ lcd_panel: display@0 { power-on-delay = <10>; display-timings { + native-mode = <&timing0>; timing0: timing-480x800p57 { - native-mode; clock-frequency = <27000027>; hactive = <480>; vactive = <800>; diff --git a/arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_4.dts b/arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_4.dts index 0d86927819c2..9ec038f1d0ff 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_4.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_4.dts @@ -36,8 +36,8 @@ display0: disp0 { status = "okay"; display-timings { + native-mode = <&timing0>; timing0: timing-480x800p60 { - native-mode; clock-frequency = <30000000>; hactive = <480>; vactive = <800>; diff --git a/arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_7.dts b/arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_7.dts index 66271daf97d9..b3129832f471 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_7.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_7.dts @@ -25,8 +25,8 @@ display0: disp0 { status = "okay"; display-timings { + native-mode = <&timing0>; timing0: timing-800x480p60 { - native-mode; clock-frequency = <33246000>; hactive = <800>; vactive = <480>; -- 2.43.0