Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp120542lqe; Fri, 5 Apr 2024 15:02:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVddfTpalj73A30zLhi1+G3e7UApFZg6cVXwBtLB5GU0DHoJnWIrbyvSyo5QFxw3pXKwjeVxXU/NUrTznfDgDDY+Z9KCn96fmqq+YkZAw== X-Google-Smtp-Source: AGHT+IFmffulK71QHjb9WTaC2G58iuEolJbLn6IUKwIjfoNHE4E3CalUsjmGBXMZRWgWyywxhSZ6 X-Received: by 2002:a17:906:88d:b0:a51:7234:6957 with SMTP id n13-20020a170906088d00b00a5172346957mr1625107eje.68.1712354536810; Fri, 05 Apr 2024 15:02:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712354536; cv=pass; d=google.com; s=arc-20160816; b=VMJYmzqr1uK7wDOEAu3AeJguJPoUJEViGYyKSCQQ5ULBmesG5rgNptPR7WHd1BpI9i 3b+adOHScFV/6+G/JyDpbxa8FWnNWpkWhBIYqI7l+CFpzeUJA19VM5vGdm2DaEAn433f 3IIgm2i8/Gm+vhqyBg61e5msfwSO2r4YJdjc00vdTlOwxtIKZLsYRx7QsY+qfGotsLSS E+wGAwBtMD4GcjAuR8VRutJKa4Zy/V+4f/DTUk7EQe25uEUnqdsoZDJaaXusCkQ+Yr1G YyTJ/IbWzmoKPkuYn3Ydx7BX/u3wD7SH9q2icxtSIDzH/Hii6ofo3DNOM5185xSs65P6 7L6w== 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; bh=PYyWPhI0bzIGWEM0R4yAGAFAw6yjRIaDYU/j9gIDvzk=; fh=Fo2C7ASTJ8wxdli2kAV/XOy3D1a/k/ze9wag6hb85T4=; b=CXsI2f++9EqwsxyGsa/65cCJNBG7LmOUaBEgHixxlXKb/5IFCDfFL+CwWCk+XKYVPG Wko+zFB3AKwYUlmQclT/Orpn3T21c2p3h+8/BuJCjhNtaeB8YFC91e9V+zH0iKxO9iL+ 93ecapVFZr+r9W4WbsJPLeRX7sQBgNB1L8Ic0Z9ksc7aWZmKzNrKC4DKO9D76vWeiJeO ATvJFvqVe/7kK8GED5SSwsTzGvQMUPn80N2gMfAszkILmjpS9e6aYqkBvSZeQdFXvNo2 sFgzljyfbbMNst3RcQJOjukzFKILRs+aRr62Bc42SOKx2UTz0aIQlrioxOBdWO0o9TAJ GhHQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-133632-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133632-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t9-20020a17090616c900b00a518c43187asi1091161ejd.148.2024.04.05.15.02.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 15:02:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133632-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-133632-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133632-linux.lists.archive=gmail.com@vger.kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id A85D81F2623E for ; Fri, 5 Apr 2024 21:53:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D373A17AFB5; Fri, 5 Apr 2024 21:47:23 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 E57F6175558 for ; Fri, 5 Apr 2024 21:47:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712353634; cv=none; b=Vs7pz48BbTixkAx1qLF59u05JTkSTIBX+/1pa6VYKk8f9g6ZeIEqLP1Wmk8zeINfSgFw9zVubHcbJJwY5NmOSQUQrZy9uTPgkYWMu+wuCSh80pxkOLVTlXatnJCsMNWEOLmThT1UlUpbhf/epdDhb26kbomnOM8jLweEkygeHyM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712353634; c=relaxed/simple; bh=8Xl4P5/1GH8FI8kCESNv6sB0+XjI1iKUeHM8MUF+3xs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=T6zu4frwUS+2TIyAXRuTVX/5HOzSyzWFUatCCe66utYuyoN/ArqHuUzmbjlStLaoX/DQGIejQtzut4Rsu8lMP/Xp0SffqbUIjWrYTtFvYKcrTcohOSiddJ+Ive6sFPANWNNyuThhCvzLx5PtTA4zSqRNYBHHwhJJb5U59xqQj20= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rsrOa-0003NL-Qy; Fri, 05 Apr 2024 23:46:48 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rsrOa-00Ad4p-Db; Fri, 05 Apr 2024 23:46:48 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOa-00FZpy-15; Fri, 05 Apr 2024 23:46:48 +0200 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexander Stein Subject: [PATCH v1 24/49] ARM: dts: imx6qdl-nitrogen6_som2: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:11 +0200 Message-ID: <9ef51c6766a6167a7ee005ea09a9dc05cfd3e0e6.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=2148; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=8Xl4P5/1GH8FI8kCESNv6sB0+XjI1iKUeHM8MUF+3xs=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHBzcCkv5dIgEWG0n1yAziuj6fS8WqARLZTsI ayok+1L1omJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwcwAKCRCPgPtYfRL+ TnaWCACIwJqYPqXEpOnJ7S2T9845Gg4tWreiTWMXVo0AXI2rIeEDu2pmzKRsHbf4ROuRia2HbwT nQNR2j1KLnCtaJgX53A/4u4NchP2SGvHHfvsnyOjMYM5JdesCsq5opP/heYG6VNzBm7P3yEPPoo 8DeOHJ1EH4aryeEnWn9rF9pz7nep+ZMxK13FqWEqIs15mJ+AhbG0Ms+2WN4c07q4SKeQfMVXnuy uPhuNYl8o4HManBYJrftGSKZOo6QbVJ2DnhregJdTTClez1mlzbPBvU0Dl/NTv05VuI6h37kcII EDiGvYdY137Gk2rxV0ey2YoHZrAaEI8d+vY64kE3Wkfehtlp X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6q-nitrogen6_som2.dtb: pwm@2080000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6q-nitrogen6_som2.dtb: pwm@208c000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6qp-nitrogen6_som2.dtb: pwm@2080000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6qp-nitrogen6_som2.dtb: pwm@208c000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# Signed-off-by: Uwe Kleine-König --- arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6_som2.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6_som2.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6_som2.dtsi index 414196b75991..8e64314fa8b2 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6_som2.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6_som2.dtsi @@ -17,7 +17,7 @@ memory@10000000 { backlight_lcd: backlight-lcd { compatible = "pwm-backlight"; - pwms = <&pwm1 0 5000000>; + pwms = <&pwm1 0 5000000 0>; brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <7>; power-supply = <®_3p3v>; @@ -26,7 +26,7 @@ backlight_lcd: backlight-lcd { backlight_lvds0: backlight-lvds0 { compatible = "pwm-backlight"; - pwms = <&pwm4 0 5000000>; + pwms = <&pwm4 0 5000000 0>; brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <7>; power-supply = <®_3p3v>; @@ -641,7 +641,6 @@ &pcie { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; @@ -654,7 +653,6 @@ &pwm3 { }; &pwm4 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm4>; status = "okay"; -- 2.43.0