From patchwork Fri Apr 5 21:41:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619496 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 4D191CD1299 for ; Fri, 5 Apr 2024 21:47:28 +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=IbYXufnXVrWg8d92XdL6KDAl39KOrFggDhM/e7B9UQg=; b=0AZg/pB28SlDma 7Gmp/kccd82k9LjQONEM+Djv91vVSDXBTMVtzZvhIaPqONtUJd7PEIe4PzwdNAtL/8Spo2Wle65lS ONZurKDxA2dWphX90YnLm9RC76MpvsJe7/GAUs39QUwWgjxxgx2NU5XOFY5hq9bW9mjOTWGFcyfGz onKZvJerkpq8SIjVB27ZG5njLnlFms/dQbT0YEyZKBt2UFgoEPT6BqqHjJW1nMskQaCb3sANQ5so1 OOUNSbM8n3CMzvIDJp81dboP51bEiu+gbca0tEkCzfcxm+x849YSzSc/K5KOpwsDnicYKAHQczRf5 HdJVDV5PjsQ7DeqVknjQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrP0-00000008uQH-1Z6k; Fri, 05 Apr 2024 21:47:14 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOl-00000008uCB-03aU for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:02 +0000 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 1rsrOW-0002yr-D8; Fri, 05 Apr 2024 23:46:44 +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 1rsrOV-00Ad3N-Gd; Fri, 05 Apr 2024 23:46:43 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOV-00FZoU-1N; Fri, 05 Apr 2024 23:46:43 +0200 From: =?utf-8?q?Uwe_Kleine-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 01/49] ARM: dts: imx51-ts4800: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:41:48 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1156; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=+WbW32YtS+hL3osIvG0GYz3KZQt08kEjTVfW0mrOoLc=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHAiSYg19nzGlxI6EAhR5Q07agiQLW5oxO39S HEzhI/jXDeJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwIgAKCRCPgPtYfRL+ Tn/5CACeLu1XcbqTpWiUrId7nRbfwsU12+r9eWSaB+PSh+l7zyJRsV4lSwOt7s11DBu/Qvb6mxx JCWWFRVyzs/Y8ZB9aHXbNaq+zhbldpPrXTQH8SOAjV4eDzc9k3dO4QwgXvKRGXxplfMw1XLVZ5O tb6TzvCtG2J/zdjRoGYm2s92hIZuKg0t6G88LIMnsVlYNA+B7+LyJRUq8aunXnlTPOx9d3zaarA EZMvJMk6NRYgwyOemAOPnRbcN920tFXmB5Km9ZITFj4ahNowWE6fx/V0CPb5iXSkCkvKGQjdAAO ndkTYl/xO0YY7T0YetHwleN17QmKrOw0tAMMBOXW5HEiT6b7 X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144659_075894_622F4986 X-CRM114-Status: GOOD ( 11.37 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx51-ts4800.dtb: pwm@73fb4000: #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/imx51-ts4800.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx51-ts4800.dts b/arch/arm/boot/dts/nxp/imx/imx51-ts4800.dts index f7408722d68a..2bd0761c7e90 100644 --- a/arch/arm/boot/dts/nxp/imx/imx51-ts4800.dts +++ b/arch/arm/boot/dts/nxp/imx/imx51-ts4800.dts @@ -45,7 +45,7 @@ backlight_reg: regulator-backlight { backlight: backlight { compatible = "pwm-backlight"; - pwms = <&pwm1 0 78770>; + pwms = <&pwm1 0 78770 0>; brightness-levels = <0 150 200 255>; default-brightness-level = <1>; power-supply = <&backlight_reg>; @@ -113,7 +113,6 @@ &ipu_di0_disp1 { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm_backlight>; status = "okay"; From patchwork Fri Apr 5 21:41:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619495 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 2188AC67861 for ; Fri, 5 Apr 2024 21:47:27 +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=kbDAoAlUDenBdvBX12LWrwM6jqTaKQRua6E4vZ/h7Xw=; b=UF+0eGE7e+21aw miZCDO1gtGmzWFSG0DbDSLQUnDAgmNyeSwf4Fq51BDIz3GmKVbEuXsdZEYRkbmvRL8icaz2YryRNm bYO7Ocx03+/HAdwhUYFHWZMcEyGxs2SqpquduJWZJsHHz6n/1KQgolRK9kYhBb8lJAjSOQJKQQwY1 m5SyFb7eqcHNCuySu3/naj+072+QZj1tdSj62i76LmmXSNackrbEdI79hZoaAtmybyjCyxXkTzpHF oLlCWhyuuvP19mKBnAtzDDh3kCSIEkVMJE24XKy9a9QNbF1rzoVCDcBieg9tOWal+9oFNFI38Ln5o EjBj1/ZZ07d5bFqccliQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOz-00000008uPp-30oj; Fri, 05 Apr 2024 21:47:13 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOk-00000008uBt-334s for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:02 +0000 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 1rsrOW-0002ys-D8; Fri, 05 Apr 2024 23:46:44 +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 1rsrOV-00Ad3Q-Ot; Fri, 05 Apr 2024 23:46:43 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOV-00FZoY-2C; Fri, 05 Apr 2024 23:46:43 +0200 From: =?utf-8?q?Uwe_Kleine-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 02/49] ARM: dts: imx53-m53evk: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:41:49 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1130; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=a6D2cDo8eD1xMPrb39ce0nzsrSEAcJUs1DRjc54sFX4=; b=owGbwMvMwMXY3/A7olbonx/jabUkhjSBAuWIrZWrUlxuPfRoO26WXn528zeddeuXrtxk67GwY rrSLeX5nYzGLAyMXAyyYoos9o1rMq2q5CI71/67DDOIlQlkCgMXpwBMxOEWB8O0Ff0cp5v6FiZ7 soQ3HfF+1XlWdE3PVgNrKe7U67rqNSERH37M/9By6vmWApkofWXWvMlGz5skuNJMV+zrKbx1k2t LQjVj91TTNve+mIcbK1uuu0u92bTPPPGrh9LkSc6m6sYXiu30zdel7HRSXi9laWOqXvcsz9/Xw3 f/EsfKorcuJ70nXWDPKmATrJ/Avu/gzA3Xih6r53faZcaWxYVrmtuuqpbQdv34fEJ7deRrM8ugs rdXIuU3+qsY+4qJKhxm/NPVYGrZpcu8/IUrR/jRMEONTZvnHlKPtF3qf2Oz4rzSreVMjEfqq1zd A7weuhr1zg/M0YnsYhfLnipUF/Ntjx3X48y1euGM2gA= X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144658_830756_8D58E3EC X-CRM114-Status: GOOD ( 11.18 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx53-m53evk.dtb: pwm@53fb4000: #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/imx53-m53evk.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx53-m53evk.dts b/arch/arm/boot/dts/nxp/imx/imx53-m53evk.dts index c323b4dbe9f0..1353d985969c 100644 --- a/arch/arm/boot/dts/nxp/imx/imx53-m53evk.dts +++ b/arch/arm/boot/dts/nxp/imx/imx53-m53evk.dts @@ -41,7 +41,7 @@ display1_in: endpoint { backlight { compatible = "pwm-backlight"; - pwms = <&pwm1 0 3000>; + pwms = <&pwm1 0 3000 0>; brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <6>; power-supply = <®_backlight>; @@ -313,7 +313,6 @@ &ipu_di1_disp1 { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; From patchwork Fri Apr 5 21:41:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619508 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 74F74C67861 for ; Fri, 5 Apr 2024 21:48:56 +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=3GnHOxMCptRX1AecJ4xub9D+pZFQnlh4BZVTIg8LoBg=; b=Jg2EJCA5aPlvQ/ AJLoaxr65jQotHHRq7LS9b61oZLasAkGSRe704ek7s03GnJ11dn99di+U1n+DWsAb1pNf8tHqS2x1 7oGMZWDrpGndmO+SGcVUpwtRVL/AGE2Xp6bLo+6j1KdQdO7YfS8kHo+KRaWQLhrOa4OTLVRrhTC8e jNm0/ZIeHIeigAImbCe8ovhqr1sN/xwTqfwwvzlnWVdP9E1L1CsyQGgYiTScRWxGsPzaHCgGdMkeq w/sidXhqyEqdwG7HBQQw+tW5Ab1hRUomuppiqtl/nmyQsFliqpF6oGvPbRxNEOC65cH63ys3bDmtN zbUBhldNquhoCYUPwULA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrQS-00000008vZI-2BTa; Fri, 05 Apr 2024 21:48:44 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOs-00000008uJ8-3KIJ for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=Ba5TfEMBfvmmNREeEHzuhADy5U5EjMfJlG268EXHaoQ=; b=c9rDhutS/ec0P5ODavz/z+XYcp +hGW1hEH4OqZzVilaI9ipwr/BPl+yMcy0wV/B9K3nTUew5NhVSxzIt7YEi9VW4hOOhSsf56/Gm2du MRrlzDFQU6xa9Y0j5l0V7XfdfQC6Ri9V8VZ002hqQz7lPifQf5rEaSEvLDU7qAzWs9sK04w8bsmQM niZ5tiTjue3LvxmRw30PezsI2rNsI0HiJ7QoPhUckKJ1Giw1Imv4xNdtNxRlIltfjFATEFhDRdd9c LZ4888vc0YqpjErEJjZ2rtmNu5YrIyYp3pjlcKI+LQMTzuLQYPlVq3zcHMVp5fl2L0FGaN8pUjzq8 zEW1TyKQ==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOm-00000005rut-43n5 for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:04 +0000 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 1rsrOW-0002yt-Ec; Fri, 05 Apr 2024 23:46:44 +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 1rsrOW-00Ad3T-1O; Fri, 05 Apr 2024 23:46:44 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOV-00FZoc-34; Fri, 05 Apr 2024 23:46:43 +0200 From: =?utf-8?q?Uwe_Kleine-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 03/49] ARM: dts: imx53-ppd: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:41:50 +0200 Message-ID: <1ebd22d44eb7db1975a22b8ac7108f406cf070f2.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1644; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=rJ4YY4QFJn+ifTArMHIAeiROsDo8grNaRijlD9TGpqk=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHAkCZsNg6wBLvXP3BEFbIMjuzMeSIPfTEJBW NJ2IwQt5IOJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwJAAKCRCPgPtYfRL+ TnYVB/0SGb0aNrpqqb3jWw5LkWLaa6jf0fbGIVzAkZuWG4QIxCUANRzhoW3NN9FfcBSBb/xzOSk wWjRn/lsBfZ1l51T/lt5GmnKgvMc6XMFbsS7dTZTGR0TDmI+m9Z8sNTCQ8uf4DFbrqBwiogDoN8 XtjOE618ow1TEEFjualN3yMCzNY/btDHarlkIlgnqtV6RWtcGGGHRZmWVTMARSg66MC3NLoLc8L B4b1TLAGTuxE4P+dr/oL+DF2tGTVtnFKQFeEfNiO+eitJCS576q6O/iWWpxlKh1A2r+lx+c8LtF bapLukcRWUV10GGkJXe0nvEbBOG2iSwry50ikUEAC6Qa++8k X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224701_415390_95A17FED X-CRM114-Status: GOOD ( 10.69 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx53-ppd.dtb: pwm@53fb4000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx53-ppd.dtb: pwm@53fb8000: #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/imx53-ppd.dts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx53-ppd.dts b/arch/arm/boot/dts/nxp/imx/imx53-ppd.dts index 70c4a4852256..e939acc1c88b 100644 --- a/arch/arm/boot/dts/nxp/imx/imx53-ppd.dts +++ b/arch/arm/boot/dts/nxp/imx/imx53-ppd.dts @@ -167,7 +167,7 @@ reg_3v3_lcd: regulator-3v3-lcd { pwm_bl: backlight { compatible = "pwm-backlight"; - pwms = <&pwm2 0 50000>; + pwms = <&pwm2 0 50000 0>; brightness-levels = <0 2 5 7 10 12 15 17 20 22 25 28 30 33 35 38 40 43 45 48 51 53 56 58 61 63 66 68 71 73 76 79 81 84 86 89 91 94 96 99 102 104 @@ -187,7 +187,7 @@ led-controller-1 { led-1 { label = "alarm-brightness"; - pwms = <&pwm1 0 100000>; + pwms = <&pwm1 0 100000 0>; max-brightness = <255>; }; }; @@ -628,14 +628,12 @@ &pmu { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; }; &pwm2 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm2>; status = "okay"; From patchwork Fri Apr 5 21:41:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619493 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 42635CD1296 for ; Fri, 5 Apr 2024 21:47:23 +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=hoqLmeg8ccDFxzEdHoj5AA/GKv6BnTl0WLRlYt3AkZg=; b=t4RckZmbM8cJ3z CRFp03Cjp0QPH98iC47LoU1azMReZLtKyEj+rubdPGYLLGmwJG+PFQacPYSmcleYwyPtEcM4tzU4f w5Iuxg6togebFcj5NcarPFqG09VBxar3l5JeJSeDQSTGsAn4aUGes5Osxc2g3+T2lqTD5W43iKQhS 8f1TRnKZm3QE+yZbDxfEWcb1NobpTjbolUqmZ0nON9+lQivl2k+7n74C6WSXSizrpEkmyrkqelBUc ob57AwWawY41Bj8DmO6hQjay7VSX+1MHYHMro1XigD3WglOc92lYAPRZDZIDfyFaE3qFyjnaos7c2 9xfzK1yYX1q4/ObYdWxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOy-00000008uOr-3SbR; Fri, 05 Apr 2024 21:47:12 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOk-00000008uBw-30FW for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:02 +0000 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 1rsrOW-0002z7-Kv; Fri, 05 Apr 2024 23:46:44 +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 1rsrOW-00Ad3W-7o; Fri, 05 Apr 2024 23:46:44 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOW-00FZog-0V; Fri, 05 Apr 2024 23:46:44 +0200 From: =?utf-8?q?Uwe_Kleine-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 04/49] ARM: dts: imx53-kp: Drop redundant settings in pwm nodes Date: Fri, 5 Apr 2024 23:41:51 +0200 Message-ID: <1372abe78864ff2e3f0bbaa1c0c833b30e17c17a.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=771; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=RCRD7PBZK+IYMkYhekf2AM7vOGwui0gNYYlkCH05Ask=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHAmAaE8sqmgp/JrEF2xOp+KXhOwVa8nhEEQY oWwaYOo0kWJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwJgAKCRCPgPtYfRL+ TkgBB/9TRqBIuyUK7A3e438KA4qd8qXhISkUetFnOFemiQtiC5bD1xmr62eo8ew87NoyTT9v1fq 4kEJYeW/0JCfVS/yP1ZwIMPxtp1CGL32+2D4AArdwEZe7rVgx1Yp72NXL5Pj122NPn0aIGn0iDz 7JrfCipODyaH54psH5A4ilXWQ0ajIPdlm0ln84U1towSbV9JNeyc+uh0/344vQYVHOWdMKuq7tP wdHCIVjlXXepEftTrVA5z1T5rdZmIqtlfZUBWAOvL8QRMiUtkT3ON+QLfRQx6x0WtQeDiFYHhIr UkSC7Y2+KGsPn7Lsme8rqta/wcWwkMoaC0GHlHl2huim0gOQ X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144658_796232_5F2AE831 X-CRM114-Status: GOOD ( 10.53 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org imx53-kp.dtsi includes imx53-tqma53.dtsi which already sets #pwm-cells to 2. So the two nodes can be dropped without resulting in any changes in the compiled device tree blobs. Signed-off-by: Uwe Kleine-König --- arch/arm/boot/dts/nxp/imx/imx53-kp.dtsi | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx53-kp.dtsi b/arch/arm/boot/dts/nxp/imx/imx53-kp.dtsi index 4508f34139a0..8b25416a5303 100644 --- a/arch/arm/boot/dts/nxp/imx/imx53-kp.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx53-kp.dtsi @@ -162,14 +162,6 @@ MX53_PAD_EIM_D20__GPIO3_20 0x1e4 >; }; -&pwm1 { - #pwm-cells = <2>; -}; - -&pwm2 { - #pwm-cells = <2>; -}; - &uart1 { status = "okay"; }; From patchwork Fri Apr 5 21:41:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619516 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 6F2C0CD1297 for ; Fri, 5 Apr 2024 21:49: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=qHeex/nmMJYBpmAmj3s3auDlAR7nEHvzZt4FkgtI9fQ=; b=2A1ZQn1n2Um2V6 rI8kmq+nAV8DvIhae+L4xdWzLPwgzWcepfB82bABWfCAjf9f0gzWLieAB9g7U0yjU9iiqqlxy0Qfx lsw+tXWjDTU/4mUNWv2bImzc50Ms5EhIk3mV88oIdTbf6g9EViypgfdfqslrHSZ9LbjhgQT5CoZfQ XlkSp47w+nilcxMtfZxbcNv+W9chmGw3syvxElhiHMWyEdHdT53Bwzc8waQAU73npVlOC8SSYXRzf D3ZmBxOucz71EZKVr3jorw0NRAnBICdTszcdw16H4lc5YMdKiCsC0txMG02e/VkVSYdMn/19yzUB0 S9lX6CyA5jYDRD8WE6FA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrQp-00000008vtz-2RFl; Fri, 05 Apr 2024 21:49:07 +0000 Received: from metis.whiteo.stw.pengutronix.de ([185.203.201.7]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOq-00000008uHY-0BsJ for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:07 +0000 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 1rsrOW-000306-T0; Fri, 05 Apr 2024 23:46:44 +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 1rsrOW-00Ad3Z-GI; Fri, 05 Apr 2024 23:46:44 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOW-00FZok-1L; Fri, 05 Apr 2024 23:46:44 +0200 From: =?utf-8?q?Uwe_Kleine-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 05/49] ARM: dts: imx53-tqma: Use #pwm-cells = <3> for imx27-pwm devices Date: Fri, 5 Apr 2024 23:41:52 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3349; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=qFhhzrzNyvdbGV96Sy0qnlUxztcx7Vy/l2xFVuwb0bo=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHAnJGvL7CP4sRCUvncp3dj3Cba5v0of6hlS1 xTtArDssmWJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwJwAKCRCPgPtYfRL+ ThViB/9+OMvVGcc7wocjE3Z2d7CwGY2TpvtI/EaM3pbkzvQq7l6TWmUGtkgkykxGEdoJAGrKURP y21U2kAeKQdS1k1ZBQ1XeY45sNframW22IRNxMaq7nZ2Zf3XX2tCktbc7zbSHXsyDtx8TCerS2Y jkc8MHayeki8b+IF+VWhHRxLSkX4HAGo6Sx414/uO0mzNrGz+g/zAWkhqLLvMEvriJem5oPpFgz NMyYiccF9jea1DTBuDaJGxErFja+thryYA8oFjL96X8HpBcV4Z3xNesyzg7UN57i/N6MVWTblhU V+qS4gg1hRLDgDj0Tq1ermvHKYYiaQ3K1OKSh5ZUY8lLcQ6t X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144704_123969_AEF5B8E0 X-CRM114-Status: GOOD ( 12.64 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx53-kp-ddc.dtb: pwm@53fb4000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx53-kp-ddc.dtb: pwm@53fb8000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx53-kp-hsc.dtb: pwm@53fb4000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx53-kp-hsc.dtb: pwm@53fb8000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx53-mba53.dtb: pwm@53fb4000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx53-mba53.dtb: pwm@53fb8000: #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/imx53-kp-ddc.dts | 2 +- arch/arm/boot/dts/nxp/imx/imx53-kp.dtsi | 2 +- arch/arm/boot/dts/nxp/imx/imx53-mba53.dts | 2 +- arch/arm/boot/dts/nxp/imx/imx53-tqma53.dtsi | 8 -------- 4 files changed, 3 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx53-kp-ddc.dts b/arch/arm/boot/dts/nxp/imx/imx53-kp-ddc.dts index 0e7f071fd10e..f6f116366643 100644 --- a/arch/arm/boot/dts/nxp/imx/imx53-kp-ddc.dts +++ b/arch/arm/boot/dts/nxp/imx/imx53-kp-ddc.dts @@ -13,7 +13,7 @@ / { backlight_lcd: backlight { compatible = "pwm-backlight"; - pwms = <&pwm2 0 50000>; + pwms = <&pwm2 0 50000 0>; power-supply = <®_backlight>; brightness-levels = <0 24 28 32 36 40 44 48 52 56 diff --git a/arch/arm/boot/dts/nxp/imx/imx53-kp.dtsi b/arch/arm/boot/dts/nxp/imx/imx53-kp.dtsi index 8b25416a5303..ae5f87b8612d 100644 --- a/arch/arm/boot/dts/nxp/imx/imx53-kp.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx53-kp.dtsi @@ -13,7 +13,7 @@ buzzer { compatible = "pwm-beeper"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_buzzer>; - pwms = <&pwm1 0 500000>; + pwms = <&pwm1 0 500000 0>; }; gpio-buttons { diff --git a/arch/arm/boot/dts/nxp/imx/imx53-mba53.dts b/arch/arm/boot/dts/nxp/imx/imx53-mba53.dts index 6a37616cef1c..2117de872703 100644 --- a/arch/arm/boot/dts/nxp/imx/imx53-mba53.dts +++ b/arch/arm/boot/dts/nxp/imx/imx53-mba53.dts @@ -17,7 +17,7 @@ chosen { backlight { compatible = "pwm-backlight"; - pwms = <&pwm2 0 50000>; + pwms = <&pwm2 0 50000 0>; brightness-levels = <0 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100>; default-brightness-level = <10>; enable-gpios = <&gpio7 7 0>; diff --git a/arch/arm/boot/dts/nxp/imx/imx53-tqma53.dtsi b/arch/arm/boot/dts/nxp/imx/imx53-tqma53.dtsi index 294811bfc8d2..b2d7271d1d24 100644 --- a/arch/arm/boot/dts/nxp/imx/imx53-tqma53.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx53-tqma53.dtsi @@ -202,14 +202,6 @@ MX53_PAD_PATA_CS_1__UART3_RXD_MUX 0x1e4 }; }; -&pwm1 { - #pwm-cells = <2>; -}; - -&pwm2 { - #pwm-cells = <2>; -}; - &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; From patchwork Fri Apr 5 21:41:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619497 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 3495FCD129B for ; Fri, 5 Apr 2024 21:47:29 +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=FOnz6xMhxl+wSED+xT4UjC91UYUlyBfsAfn2HXAdX38=; b=g1teUY9tKCWY8n 1ohB+rmGFHTUoqIIybLVoXwa0vZmc5qY3O9oK5l7Zkuga2C9Hsaosj9RuUheuzd+Svyg4txCGbl7r HeWuxlm1LZvoJOZoI7Vdk9NxBilRA38mrPYlWPYy/fRg3icAQlmfZy64HG+ZBHe8PfEXLcA809zMr J9tdCTfPd9UOyHYjelv8rQRPw3fNi6C1Bx01RBRGKhM8hS3pBsrNsLgGwhKcy2WW+XVFIz2MbIZ0N QfXX76BQSd3CAl9hQ+t//O9/4T50bHiAaO+AjmNBJFPgTmjgV32TMtf17wAjaL29rCVJGyAD5DQDM w6+fu6qJFKEt+RXiJS3A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrP1-00000008uQn-07uF; Fri, 05 Apr 2024 21:47:15 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOk-00000008uBs-37Sx for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:02 +0000 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 1rsrOX-00030X-4w; Fri, 05 Apr 2024 23:46:45 +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 1rsrOW-00Ad3g-NM; Fri, 05 Apr 2024 23:46:44 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOW-00FZoo-23; Fri, 05 Apr 2024 23:46:44 +0200 From: =?utf-8?q?Uwe_Kleine-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 06/49] ARM: dts: imx6dl-aristainetos_4: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:41:53 +0200 Message-ID: <0c7ac88b2b121841dee7bbae0ee3f9ebd7a00551.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1122; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=5WQXbchr2+pcgHmnAk+za+jAZgPFVam2B/+DHZzH6iE=; b=owGbwMvMwMXY3/A7olbonx/jabUkhjSBAo242Vtjfh8y1hISmmsTJ9Y36agn0+vESUcuBIS/C ax7+o6/k9GYhYGRi0FWTJHFvnFNplWVXGTn2n+XYQaxMoFMYeDiFICJBJ9m/8NZvshkpfoG5hcT hFkc18yOOlhaYXP/3e5JXrNEvpYUN62WsA7l+dtQON+I93m++6vpnekcL9LWvT3bFarfohMZt3K PHG/gAdan8tZ7mmpXe69mdEsqUVlTc+tN+hERiQl+2zmU+PcnrTw4tcS5TmVH4ISb7XtyDiXKNN 75fXJj1ZnKZZ7nhPaJ2ac+4BVJkg9M6OzlsQ2ec/b234TQhUpmL1qVLwcFO6h16qvPyqi5/nLq5 mbf1M3TJ/AXx2dcPpYZprr3+U+lKB9nKRVtJsEFP8rfC7TefG7t/Xxju0xfHE+cWqCf6Lmzc5Oj Cucf4N5rvV3k7ob2/btsdnpnnPHQ+vNVp/PB9Q3BH9sZAA== X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144658_816857_DA840F65 X-CRM114-Status: GOOD ( 11.44 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_4.dtb: pwm@2080000: #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/imx6dl-aristainetos_4.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 cc861a43eb58..a5ac79346854 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_4.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_4.dts @@ -14,7 +14,7 @@ / { backlight { 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>; enable-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; @@ -79,6 +79,5 @@ &ipu1_di0_disp0 { }; &pwm1 { - #pwm-cells = <2>; status = "okay"; }; From patchwork Fri Apr 5 21:41:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619514 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 87503C67861 for ; Fri, 5 Apr 2024 21:49:13 +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=M7ECWU8BIX3DyUs0y/IWnJjw4u0cUTKbA8XLeIQEOEM=; b=e8pSI+V0tSayFP HwhETimGiXQcf7PY7/6xKVAD+jdYrP5ut0+AQWh14pn+Ztwj6cO9Dzm2oeUs8/fE9cVxvfgAULzW+ sWwiNRz5bXOWvI/6u8v7wvduzZySIfD24KrYURiuUxveoJSwyspPMwyL9x1E8XZma6dYMGivFAWs+ tbFcEAGu/wAdNidcbhmUwJTmMYw5/Q3AEZoOGZx1YXYW/IJk8W7WTDr7AtLeY/d/U9zTZNQcX4ZP6 ByF0gd42Fmc6QQjEU0eipz0yycrPOlxHO2FpNVRk8oPf/iorWrGbkhvWZCAMcCscXo5RG7ucK9I1e cPLabRlqqqIMPqTp9o4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrQf-00000008vkl-2w3e; Fri, 05 Apr 2024 21:48:57 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOt-00000008uJb-0oBW for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=bNpd1uQky4ZaUFqMCmeMID/HjrsbHJ9pbKZaPeKbaDI=; b=XJGod5dEpz9sN0LfosAfLEH+mi +vocyngT2sdnAR7S7SA3OoTUCCCwpBCpkXeM4yrZJ2h/TA/mwGSQxHEyODXo6pWNv9r7IF6fQlV1h q5q3bn9y113ylxqXpTHVcmZPT5C0QRksiJZQvvdf5vkcbsAouypQuW1fI0/dG46vtC8j95tyefpsA s1V5/ZOdsIQNEMXRLziabq82qGEg1mqv03KpDpVyWNCwIgLd37CZvIQY+Ch9uUYe8ibhI+EHrzk5l gyMWL9N6GJQivtPRd0PhlZHbwIIbAr2mT2GcKZacyOlQ4j8TwbaHmF9WmtOKmMTjI83m7i/pIvZiU Wd6nXjAA==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOn-00000005ruw-1tE5 for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:05 +0000 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 1rsrOX-00032h-FH; Fri, 05 Apr 2024 23:46:45 +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 1rsrOX-00Ad3l-1F; Fri, 05 Apr 2024 23:46:45 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOW-00FZos-34; Fri, 05 Apr 2024 23:46:44 +0200 From: =?utf-8?q?Uwe_Kleine-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 07/49] ARM: dts: imx6dl-aristainetos_7: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:41:54 +0200 Message-ID: <294ea3bf4e4f83a1e0eb57d0b8d1e62b391c125e.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1119; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=ZEQXObPQXoyWJWVJ7xSA6J3JN5kiGs6xoYaG09Zv8JQ=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHApdzojAMb9UzxsORix42d8dxwOGAaHLTFb5 CY9qwnS4ByJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwKQAKCRCPgPtYfRL+ TuClB/9X0Wl4uU7u3YUQLYPiXsKk6UKjW/kz0P7fZe6koSCe6lZaCQsHngthZZu/m8EFyfKPA86 C+nFHBrvXLEDUnJbxY2kx5FukXVOYEoiPuySNa9VY3JS7qYBR5wFDXRd1vN2gF8hXgeOuUwVUEr ElitDtj3IRelANiNM4x8J88Z64sE978weY3Cwn62uxLy+gVwRr4wk1zVTOl6+9IoL+CmG0/6mV2 t1nMe1mR1JAEA1kaFarZAVD1HaQTmSV9W/OGypsk6LAk3QM8EwLzRna6pOVVIuAQrlypcf3DHSn cZlS2iA4eRQt/nF2PJU5tjeHYNUKr2A4iXh5E5QgPOxSs3l9 X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224702_128545_98A85D44 X-CRM114-Status: GOOD ( 11.52 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_7.dtb: pwm@2088000: #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/imx6dl-aristainetos_7.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 b6cb78870cd5..5a25bdbbeb68 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_7.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos_7.dts @@ -49,7 +49,7 @@ display0_in: endpoint { backlight { compatible = "pwm-backlight"; - pwms = <&pwm3 0 3000>; + pwms = <&pwm3 0 3000 0>; brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <6>; pinctrl-names = "default"; @@ -69,6 +69,5 @@ &ipu1_di0_disp0 { }; &pwm3 { - #pwm-cells = <2>; status = "okay"; }; From patchwork Fri Apr 5 21:41:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619500 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 6E889C67861 for ; Fri, 5 Apr 2024 21:47:32 +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=dUgJzSOLFAA73vz+sMhoQYX7ygfhRAPQ1Kl//PytusU=; b=hD4Ij6vMAIv7mL Eq2zUU2BspyFqjNMrKXq7qPRoTdTcHraT+LUzwxVp3apfRUz4iyIL3SJy+v/qUV1PgKJgGPna3KaF 0xvDxQEgGsQplYzyYR5JZAUJWE0gPDBTUB5hkshc9wtC1g5wCvpDIR1DRm4H67ual6WP/HVeyVWep eCjqSup1uHgjVtMrru/KMGNlIDSB4k+VS1hmd2Z4sONGL617YgMHKJpDDNOUDoS5BYJ2oBYSp7F6n Mwlv83uBbSGNJBvTtlZJWy8Jy3x6JWisjSsbCuaeCfLdEwvuAWzCsdnjMYv6YDt3XxnbHEQsZZd/H tgGbjH8dgVvR56y3oSwg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrP7-00000008uW1-1KBF; Fri, 05 Apr 2024 21:47:21 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOl-00000008uCH-1dLO for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:04 +0000 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 1rsrOX-00032r-LA; Fri, 05 Apr 2024 23:46:45 +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 1rsrOX-00Ad3o-7W; Fri, 05 Apr 2024 23:46:45 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOX-00FZow-0T; Fri, 05 Apr 2024 23:46:45 +0200 From: =?utf-8?q?Uwe_Kleine-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 08/49] ARM: dts: imx6dl-mamoj: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:41:55 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1172; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=FDBg1/kYWrZOpNgh5yzTpsHty7CsIasXETFXT8ZiTLM=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHAq7MtcFDGG1PBtJKsukn6P6f1oxIKYt3//n IX5u3DvX96JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwKgAKCRCPgPtYfRL+ ToeyB/0ZFwIpRboCCSTA6rRchrdyJp1TxIpWwhyIv7yFlGKiylAqzkBLt2uM1yqoNMROjr/vpO9 kXFnextnED4dNw7Sn3djkpwqDkW5gqvWFVieTozd2j6B/ajl2oQmbJ1d+OTXk7eT3I/m9HJBPPv Y+ezE0tr5dS1MSISSQ4E5paD4DveFUp5sAsjbYmJiOQjpN7nnfSnwP6WjPNuSYuHwj1n9Puyhw4 YDyQZ3t6KuBgKZKSkXg8wZ+meI42Xs7n0rOWfSb2T52npQ2JDZjCx3toaW/cxFVIG2/HiugoY90 RV8XGNPiISGxe0axa4741LaKSsM1n2nFE4QZ/PEOc3WbG+8i X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144659_471057_26B00E2F X-CRM114-Status: GOOD ( 11.24 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx6dl-mamoj.dtb: pwm@2088000: #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/imx6dl-mamoj.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6dl-mamoj.dts b/arch/arm/boot/dts/nxp/imx/imx6dl-mamoj.dts index 028951955bde..72ee236d2f5e 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6dl-mamoj.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6dl-mamoj.dts @@ -21,7 +21,7 @@ memory@10000000 { backlight_lcd: backlight-lcd { compatible = "pwm-backlight"; - pwms = <&pwm3 0 25000>; /* 25000ns -> 40kHz */ + pwms = <&pwm3 0 25000 0>; /* 25000ns -> 40kHz */ brightness-levels = <0 4 8 16 32 64 128 160 192 224 255>; default-brightness-level = <7>; }; @@ -303,7 +303,6 @@ &ipu1_di0_disp0 { }; &pwm3 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm3>; status = "okay"; From patchwork Fri Apr 5 21:41:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619498 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 7089FCD1297 for ; Fri, 5 Apr 2024 21:47:30 +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=Dq0oTqKZClYGXzvaafUFC+N2ycf5lwB1cqqCdM4Btx8=; b=iuEnmCJlCvu54m Hj9jiFt86pzxgMipJtCVVpdsu2UpVDEFWuLh1825cAribmRWDlkJtTjTPLxYi3BRuhI/v0qDMdAwL Vn0taO+3mztquY6DDVLJSvADt+tdENOp9eryYRnWSjqsxiAEjVPJMqWCMX7S2GYUgjr/yZ7unrlMl 3+GLB96+xoT1+gTtZEEcT19I+pn+OpME7drKZKjuqCX8lnqJ21k7bFlAr4wx7fqgVkirvb52q/S8y nlT1iqOTfi1htysvq970madbbkQubPNGnc25+FhG2+dOXEbqci7Be48iGUI321Hkmmeyu++mX955j yqxEAgk4bwj544b0dZUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrP4-00000008uTV-2t3Y; Fri, 05 Apr 2024 21:47:18 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOl-00000008uCF-1E0i for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:04 +0000 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 1rsrOX-00033v-ST; Fri, 05 Apr 2024 23:46:45 +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 1rsrOX-00Ad3s-FM; Fri, 05 Apr 2024 23:46:45 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOX-00FZp0-1G; Fri, 05 Apr 2024 23:46:45 +0200 From: =?utf-8?q?Uwe_Kleine-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 09/49] ARM: dts: imx6q-ba16: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:41:56 +0200 Message-ID: <022001ac0069b3062b372956d6db674729d3355f.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1686; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=bCgfT/Ht5GNeGrJtomRot9OOIVVS8qOXIjJYLeCSbFM=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHAxRDvBm1w6GIMw5MSXBDTl8MexGeIWMrjj2 tymiEUwMe2JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwMQAKCRCPgPtYfRL+ TmgqCACyktgqmpF2eTlMZv+2ZSjNCtCp7qQdcXVmTb0JO/bDbY2+rnU6lfvTuF4vU4Ys3t9mph6 qOHD0irGA6z5Ks/Wl6u+T3P+iTO5k4rUc7caf0gYNL6dwlCHxaVhYII54j482X/rPWIkvG0l7AR OSCrO3Kg2asC6uddEmT+icrDo8LWsSdjUeL8KPSH+34V89Zl6XOfcyltAzBJ0di/GIs0KhnYCGI lomW2T/ro7Vkkl03KzMvl+bj+jF5cEL7ZcI3x+LFH9wysJYza4kKmW2X4PC+yzuA/cBDYb0QeT3 HWxymF739f3XhiiuN8bvd5j/NhFYK8MhI0zP3ZNeaiqn75K/ X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144659_378707_F0860955 X-CRM114-Status: GOOD ( 11.18 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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-b450v3.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-b650v3.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-b850v3.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-dms-ba16.dtb: pwm@2080000: #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/imx6q-ba16.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6q-ba16.dtsi b/arch/arm/boot/dts/nxp/imx/imx6q-ba16.dtsi index f266f1b7e0cf..09d9ca0cb332 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6q-ba16.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6q-ba16.dtsi @@ -55,7 +55,7 @@ backlight_lvds: backlight { compatible = "pwm-backlight"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_display>; - pwms = <&pwm1 0 5000000>; + pwms = <&pwm1 0 5000000 0>; brightness-levels = < 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 @@ -349,7 +349,6 @@ &pcie { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; From patchwork Fri Apr 5 21:41:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619511 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 B8847CD1296 for ; Fri, 5 Apr 2024 21:49:01 +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=9Znq4UnQi2wXS6xwFHs1tqN34RS1upLQUkx8ANU0dxs=; b=gpIlXt2kBh4jUb chEBRQt2ch0M+is1JDRoHkK4n+xDE6LTgnpdXSvLvSbwr6Sp4t8tNrCJqR4E8rzWOrqzJzY7/P9cq 45QPIsLNJCKcecDWnkoRybi2R9Rcs3tQ8ra/RHWmba5Go5YhpR7TIhaK1Su+FtY0IV0JGLk2X0wd4 3I32lTvjej2jR2ZtHFIhQ5w985Tw055INMn7zbuq+K6Oa48zegAmjwop6iJviDjU6NJSqeykOTWj+ MKnPw9eSXf0hcg381QKqhNkEF2EkbC7CCj9PM3h3ND49cxJAJnQTFeI54nTEfiX6MzjL+FQn5cG/z f+UefcTBfXI3StS5+C5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrQX-00000008vdm-3oPp; Fri, 05 Apr 2024 21:48:49 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOo-00000008uGI-1UHz for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:07 +0000 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 1rsrOY-00034P-3z; Fri, 05 Apr 2024 23:46:46 +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 1rsrOX-00Ad3w-My; Fri, 05 Apr 2024 23:46:45 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOX-00FZp4-20; Fri, 05 Apr 2024 23:46:45 +0200 From: =?utf-8?q?Uwe_Kleine-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 10/49] ARM: dts: imx6q-bosch-acc: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:41:57 +0200 Message-ID: <3cdc316fba84588bd11ebb5cd565f582edafc323.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2484; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=DEnSJA3VDTM3CD8+5ySPJWAhctx6ItqFAOifFwrYS98=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHAyXXrDtWTyoXfnSzPRb1kEdBaHfWZVvDCJ6 NKlSfvN0AyJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwMgAKCRCPgPtYfRL+ TisfB/9abV7YFKOHs+rT8DB6DdJhAWDKbcKg4/pB/Bi3WpRiJ4qXs499H9T+agUtz6lh3Dutiig mrxIY9+Fa2XaGXKw196CTgDIkN64fVOzxcya/ggxpbUrFocOtN7cXXXeP/7i3NiH+Y5Q1DTEJii tNP/sSVyjbbLr7+mBxBFpIN4ZXzTR2LsE5sdG8hXbiK1LWKq+uU/5BYUB+oBZRanjfbjBikW7IJ 2M+EW3ltAVT+PW9FdROx61SgkefgbSvpLHd30RtO667OazvQDUuAOVNQl8v9PVi3ObzJ1cn/os2 AOYrLTUN+l0qZRF0oIsDtjvRa5Q93tjC0h2onkGXHuVLyQ2t X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144702_441240_18F7997D X-CRM114-Status: GOOD ( 11.34 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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-bosch-acc.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-bosch-acc.dtb: pwm@2084000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6q-bosch-acc.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6q-bosch-acc.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/imx6q-bosch-acc.dts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6q-bosch-acc.dts b/arch/arm/boot/dts/nxp/imx/imx6q-bosch-acc.dts index 02648806c275..d3f14b4d3b51 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6q-bosch-acc.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6q-bosch-acc.dts @@ -36,7 +36,7 @@ memory@10000000 { backlight_lvds: backlight-lvds { compatible = "pwm-backlight"; - pwms = <&pwm1 0 200000>; + pwms = <&pwm1 0 200000 0>; brightness-levels = <0 61 499 1706 4079 8022 13938 22237 33328 47623 65535>; num-interpolated-steps = <10>; default-brightness-level = <60>; @@ -117,14 +117,14 @@ led_red: led-0 { color = ; max-brightness = <248>; default-state = "off"; - pwms = <&pwm2 0 500000>; + pwms = <&pwm2 0 500000 0>; }; led_white: led-1 { color = ; max-brightness = <248>; default-state = "off"; - pwms = <&pwm3 0 500000>; + pwms = <&pwm3 0 500000 0>; linux,default-trigger = "heartbeat"; }; }; @@ -484,28 +484,24 @@ lvds0_out: endpoint { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; }; &pwm2 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm2>; status = "okay"; }; &pwm3 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm3>; status = "okay"; }; &pwm4 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm4>; status = "okay"; From patchwork Fri Apr 5 21:41:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619530 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 9333DCD1296 for ; Fri, 5 Apr 2024 21:50:46 +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=rA64F8rKezEwcGZgPYmkBSDyEtqnu5J+Y6sCoLxZOcc=; b=N49ZM6J4qARLi1 Gkw28ynQ5KWD/pQHF7qmaMMfHyXtFgYiZTo5pAMIxzlVd1Qiwo0svj0DDpTjrd/PkKMz60NpJnRMO 4+wj+zTyjsrhhn9eJ2ECRN890ZQHMLvmlQ0DLm7j3KTe0BMQcoac4yk3ZXlZ0nXfwsN+ANPF8Lk9Y /P67J+fBXFwEC3ecGWF3UqLJrfU7toStbmejSkbeRPk4yGlqn4K4xYPxvHckSKyWq27TDCVIIOVCp l4OkdeDD00k+aN+o0kCxW89oQ6DmoXzjAUY2L1VonoeVo8Am3V6SboNYs9Vh5wR/Tx7mkxUuwQvsM XRp10071S4l/9RUrDN+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrSB-00000008x5S-0u14; Fri, 05 Apr 2024 21:50:31 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOy-00000008uO2-2JfD for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=0yopZVva0aBKvEJ5DIyqAxYRd9vYjHAT89YkXIxEHIA=; b=j5ncwgZoGjoyEt/IEod2XtzLBD xibIT1UW9qH92psJwhk0OM510atun2ujmlEFF4FK/W24MNqERHG0f+VzE3922AuKZLCeMEytaXWNR 5GN/k4uCxRP7EoWyBTOgVN61B1TtGyNJCJD9r3jImYruHlREFfqDekHJmNi8VBwVm690/iw7Z3BUs 4tJ6RhTamgiLZuN2YNxlNHT8ic0jTWmWw/RdG66b6jZQwIW7I62Bty6XhzyPN9oG0EBgeLcyxHh7I mXowLGibNQP/3Bf9B7ep+Z8+E7NOnNIO82sgRfKuj5fCRp44Uie+49Qak8WAB3SPCiILzzl0gTkQv ldFmyFzg==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOs-00000005ryn-2ZXP for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:11 +0000 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 1rsrOY-00035H-BO; Fri, 05 Apr 2024 23:46:46 +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 1rsrOX-00Ad40-Tp; Fri, 05 Apr 2024 23:46:45 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOX-00FZp8-2i; Fri, 05 Apr 2024 23:46:45 +0200 From: =?utf-8?q?Uwe_Kleine-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 11/49] ARM: dts: imx6qdl-apf6dev: Use #pwm-cells = <3> for imx27-pwm devices Date: Fri, 5 Apr 2024 23:41:58 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1292; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=sML4yTkaHvLtKgoITIAUmIwRs5N5w/UFVDgdAATlPnQ=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHA4MFvgDjOzeByaZUbQ4OfSClS6FWkvup0ms tdqViPtd5eJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwOAAKCRCPgPtYfRL+ Tm5eB/9V4g4Z1XPufI1V4xPBL0wDLOgq6+8dIQWHRq+jJWqgyPMq7Y2z1LzwDntTGcZREoOHXlS AR16L6f0qH3tLni86zGrhABxkJuHIt7Kb3yhgFFvxIafTGlGFtOa5hG02HE9gi4c2iID0WpqPk/ KWSQLK5hf/fWtWTxXA3KVhMBYWakmUJQ5BIKGF9kwmVFq3QNXQBKKS4b479WThwsKg67FNY/y37 FOrg8RH6x3Ns+vDf3WTGSuYb1YsJ6mB1Mo30RI1N9PSE+in3uxEnVi2uUO97dirLvKLBZBCbFPz uouwTj+1WfAETpVHrJ1QZohnbzP1chkoGEy5pJDweLzHggt4 X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224707_987096_3375CADD X-CRM114-Status: GOOD ( 11.15 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-apf6dev.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6q-apf6dev.dtb: pwm@2088000: #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-apf6dev.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-apf6dev.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-apf6dev.dtsi index 338d292553ad..3a46ade3b6bd 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-apf6dev.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-apf6dev.dtsi @@ -13,7 +13,7 @@ chosen { backlight: backlight { compatible = "pwm-backlight"; - pwms = <&pwm3 0 191000>; + pwms = <&pwm3 0 191000 0>; brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <0>; power-supply = <®_5v>; @@ -212,7 +212,6 @@ &pcie { }; &pwm3 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm3>; status = "okay"; From patchwork Fri Apr 5 21:41:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619494 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 E4E3BCD1296 for ; Fri, 5 Apr 2024 21:47:26 +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=KBa8YO5YMAKjpFxvBogv3RQvWiZCwRWMx7JSVPjk5MU=; b=qIaIgfPwFasYj4 u104n/x3TskbsqpirGe70GueyP9O+R3KfPnEe7XKwjcR/eIVe5fvkLn9Nbs5RgknUkGdcfG4qyndH pnI54IFeuTSqCnBYeGxSIOvwZnLY9193I2DWpY5qfdAhkpjRHahqfpXsNl87dOsXl/3LU3/3GHxGM mRxDpw7Cq9ZTQOPd6c8B0VmqNd8tLhWME2JXlqsXEbe/eaeetWx46QrTajEnK2PY1nRLPkJZuXxoB QHHbtsNPBI4lqXvpId39hC0wLyX/2lik+BM45V/34t54Sj2AUWT6QAQCWUqhxDpCgSf/YKRVnKlCS YAVydVdeg4gUsqV+aRiA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrP1-00000008uRc-3nvQ; Fri, 05 Apr 2024 21:47:16 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOl-00000008uCA-0SAT for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:02 +0000 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 1rsrOY-00037l-MO; Fri, 05 Apr 2024 23:46:46 +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 1rsrOY-00Ad44-4P; Fri, 05 Apr 2024 23:46:46 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOY-00FZpC-0A; Fri, 05 Apr 2024 23:46:46 +0200 From: =?utf-8?q?Uwe_Kleine-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 12/49] ARM: dts: imx6qdl-aristainetos2: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:41:59 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1354; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=tNVm2qnMqxZ5N2xcWEJgM0z3c/Fs9KxblzBupPfgF+c=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHA5GpeP3lgF1CvcNlwwOVW17Q49pkOfUYLGs Xgk2gUOlHSJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwOQAKCRCPgPtYfRL+ Tkq8B/94Id9YXOv5mJR6LDwB5wOMzOjF/gmuRswq/SXQ8onWokH9Tie3ZldxUTpQLNPEF0b5EZC Le55bykFJuSrMg/Bp1iTuYJ04xzkqqofgXZ1ZXvFxdHkbRT1yvgCRV8bjQLS4aMsjKQuzpSqw6e dfhTpYI+QpncZILsAI+6L2fi33WNZB/Vy6Bm01/1cTQPr38D4wUvQzlOt/Dq/orq8G2SGFEUW1T kj7ZQZmVXhBumB+QVTI6BY8Frrj3dHM+SWWo+m3mtZSZkA3Qsn+xX5ZMPxQwXU1O6HAUaHKMJj3 FIFAwY+5kUW/ONK/XrX7kqO87gk2q9iEZGaxZGmPJN+D9tYq X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144659_165817_6839BD0E X-CRM114-Status: GOOD ( 11.11 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-aristainetos2_4.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/imx6dl-aristainetos2_7.dtb: pwm@2080000: #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-aristainetos2.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-aristainetos2.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-aristainetos2.dtsi index db1bc511e71f..758eaf9d93d2 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-aristainetos2.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-aristainetos2.dtsi @@ -46,7 +46,7 @@ / { backlight: backlight { 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>; enable-gpios = <&gpio6 31 GPIO_ACTIVE_HIGH>; @@ -346,7 +346,6 @@ &pcie { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; From patchwork Fri Apr 5 21:42:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619535 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 D024BCD1296 for ; Fri, 5 Apr 2024 21:51:13 +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=wA8fNWkdEgn2u8lxoXH1I9adDZaoHIa2NX3HB2Q52Zg=; b=cxE7SYlVmjW7Gm TFQ0BokCJQp5Ri7hK0V3yZbk5IAGrQ9Rv+Lhc8DOtDRkWC61xwH80Tdq7O5lElsriVL8J/Cqnt6WE 4bMPbmUHJxSzy9Fv36k+r94QQUX3MZ3HawiT2++Y3mxUqJlymXJ9Y9u3OnpJsZ7jfQmindexnAO/Y BnkLL1LsKMLA8hksnPGiBMxn5i35dE8pWz1U1yp7uBvAEoI4MrU6JqHPxvMNFnWynRU321j0NtcTT XG/ZCMyednlIh8GAadUyUN7SC0kCLLJOhFAK5nrt6YwGLkmoO/rMCxaaEyvekK7bkSZLEN8IV+luv 2aIzkSBfTxO2sCsBS4sA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrSe-00000008xaq-48W6; Fri, 05 Apr 2024 21:51:01 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrP2-00000008uRa-3Erb for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=gO945a8iXgZ793aUbp0PjvaOOtQo5TmR0JeqIRc+soo=; b=gBMSEUpVTMOWviQQWDEU3PUT6y LOG0ljiXmG2XrQQLWnEZzEo+d46MCPqp9f+ZnAijlqg38uv0cKlENMi10iLVbvqxKnlEkbukAND7J oPgU7tgBTXOJU1zGmVdfEezXCfuW5gkNIFyQrevpSvPOo/FWA33EJkhN6TLj1HI6CUMwe/nOIr9Jr YW6/CzJmre9bY+FHM6JRVzQaVvsqZfEMcaK3hChhdPyAsG6rfLJoJPOzJiZ5+SeoKMBwYLar1FEo/ 2/fuNm875Ln75dA3Duuef0vPfG0ludi3+0+yF8ADhUFULNdDUaHISGRGQMan2yvPmhmkU54y9JADi NbMn0ClA==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOy-00000005s1q-1cBe for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:15 +0000 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 1rsrOZ-0003A6-4a; Fri, 05 Apr 2024 23:46:47 +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 1rsrOY-00Ad48-Bx; Fri, 05 Apr 2024 23:46:46 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOY-00FZpG-0u; Fri, 05 Apr 2024 23:46:46 +0200 From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= To: Russell King , 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 13/49] ARM: dts: imx6qdl-cubox-i: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:00 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1850; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=4KFhFnLwo4rwGj1k1G/6oOe1MuD3QLGh917tQ7919mk=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHA6R7VrgPN3/Tty7W5jHAvS2pK7gsf0zCYV6 vAT7EBsbLqJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwOgAKCRCPgPtYfRL+ TlN3B/9Yq7mRTN3Z0/Bk3CdccDs41nCTm3aCUfgds6QI0muXD2QT278zCtazuBRqVwxZZJFR4kZ wBEp2yEniLKNhvg48q6hSFOH3KgUSACU1VDJxymn/pbn+wH80/FAY3lml7WF2A/Gx77zhBBWCQG aHfCgI0swh8TOn4fXGz904O6E/rBH/I5LmsHAQ5nlipHq5WzXffunxQ+jFlFOxBIfaqIJB5uwK2 HRInYsV3u7152bu1cTmsBzWnrg5xreX7Eca900j1DpwtSaKjBJT0faBTTh/U5wbcIAHTQMc+AER /Uh8BsZjTpI0IrTUOkBATu2M//6bpz7mj3buAHTaGNGpSbH/ X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224713_107936_329188DB X-CRM114-Status: GOOD ( 11.67 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-cubox-i.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/imx6dl-cubox-i-emmc-som-v15.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/imx6dl-cubox-i-som-v15.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-cubox-i.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-cubox-i-emmc-som-v15.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-cubox-i-som-v15.dtb: pwm@2080000: #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-cubox-i.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-cubox-i.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-cubox-i.dtsi index 1e530d892b76..761566ae3cf5 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-cubox-i.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-cubox-i.dtsi @@ -64,7 +64,7 @@ led-1 { active-low; label = "imx6:red:front"; max-brightness = <248>; - pwms = <&pwm1 0 50000>; + pwms = <&pwm1 0 50000 0>; }; }; @@ -233,7 +233,6 @@ MX6QDL_PAD_EIM_DA8__GPIO3_IO08 0x17059 }; &pwm1 { - #pwm-cells = <2>; status = "okay"; }; From patchwork Fri Apr 5 21:42:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619499 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 0126CCD1296 for ; Fri, 5 Apr 2024 21:47:31 +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=Pzm7j0Ge0LW/Af/U3j2JTraNQQbm7vcE+84wo5Rb2jc=; b=3znmJLoFHxDZxL DJ8EGCo7MZOawGAkw5MAMBB9IBDQDzCP97vSkbYtv6zxdj/VXd73Nr972vabHRsd2czmNQIgNaht1 x1apOZpZfpR+k1sZDTQGKM7nkr66MsNfMDAcbeDj2ybl/M/M4WTWp9KGHAgs7eNcis8humNjZss5N Murp5+tk2BL2jj/vFEs/N02Cgcfa9tDQIdTTVMWxP7KLN+VJjTs77x8HdhAx5Hbl+8FeNQSzxBikY ay2HiQKmLvgaXfw3SLn9fBQ8LyR7STh/2hij09MJEs4kcZBpM8JspVWF1nfV16fJaHYwg+iOgSQcW HKXJK9adJZ9nJNbtrhsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrP3-00000008uSw-3Ut8; Fri, 05 Apr 2024 21:47:17 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOl-00000008uCC-0cyE for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:04 +0000 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 1rsrOZ-0003Ap-69; Fri, 05 Apr 2024 23:46:47 +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 1rsrOY-00Ad4C-HO; Fri, 05 Apr 2024 23:46:46 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOY-00FZpK-1T; Fri, 05 Apr 2024 23:46:46 +0200 From: =?utf-8?q?Uwe_Kleine-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 14/49] ARM: dts: imx6qdl-emcon: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:01 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2612; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=JhTSmh4zzQ5wEHoLiy4/dCfRWQEsg0BhNPg7zLHCge8=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHBA+NQOEd7Cr1WSGTHtaZpF+dKCEJ5yze7/Q FvsRHH3JXWJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwQAAKCRCPgPtYfRL+ Tr6TB/4sJjl+Lk8BTneTVI0m+hnyO2Ui+576DvYFm9IGZbsVyGLih49XgLsQew+FB5D/9E0xFuv qab27BGIMNQNAzhDMXiMbqBoYdQlezELrMZE1ofbFVTN6izTbexHlKY0+suiq7WFiT26zMJ96+t +a6x+aS1ZcmLpPuFI0Xlchkp4Ly1GgO9fhu8W049zmdJNDmZQpx5EEAzYqSEIDhVKcpV2+R3xvs KjSkebGih7MqLrChgCNTH67iyaRSlEVubW1ZDfmXJNyUzA8Gce36CjBXZ2K15Timkazkz/V6Qcu IS3sfXxz2WiNSomV7d4vDp1Jwzz85FG8YhQNSdhYZx0mRdl0 X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144659_220904_77594312 X-CRM114-Status: GOOD ( 10.72 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-emcon-avari.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/imx6dl-emcon-avari.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6dl-emcon-avari.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/imx6q-emcon-avari.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-emcon-avari.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6q-emcon-avari.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-emcon.dtsi | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-emcon.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-emcon.dtsi index 42b2ba23aefc..a308a3584b62 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-emcon.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-emcon.dtsi @@ -66,7 +66,7 @@ lvds_backlight: lvds-backlight { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lvds_bl>; enable-gpios = <&gpio6 9 GPIO_ACTIVE_HIGH>; - pwms = <&pwm1 0 50000>; + pwms = <&pwm1 0 50000 0>; brightness-levels = < 0 4 8 16 32 64 80 96 112 128 144 160 176 250 @@ -78,7 +78,7 @@ lvds_backlight: lvds-backlight { pwm_fan: pwm-fan { compatible = "pwm-fan"; #cooling-cells = <2>; - pwms = <&pwm4 0 50000>; + pwms = <&pwm4 0 50000 0>; cooling-levels = <0 64 127 191 255>; status = "disabled"; }; @@ -145,7 +145,7 @@ rgb_backlight: rgb-backlight { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_rgb_bl>; enable-gpios = <&gpio6 8 GPIO_ACTIVE_HIGH>; - pwms = <&pwm3 0 5000000>; + pwms = <&pwm3 0 5000000 0>; brightness-levels = < 250 176 160 144 128 112 96 80 64 48 32 16 8 1 @@ -736,17 +736,14 @@ &pcie { }; &pwm1 { - #pwm-cells = <2>; status = "okay"; }; &pwm3 { - #pwm-cells = <2>; status = "okay"; }; &pwm4 { - #pwm-cells = <2>; status = "okay"; }; From patchwork Fri Apr 5 21:42:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619519 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 48C48C67861 for ; Fri, 5 Apr 2024 21:49:29 +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=waJVXnnlbb/MXpBCemyFIhwAu1UOG7YNF/N7rSVnj0E=; b=WLRhRZTUCpgOu/ 3jkuGAllKLtcyo/WLIBjIPLxbkP3joYbuzF7LzZZlDf7ycGm0wDAuKCKxMfUYR8eI4p83f+dUwjee gyD8Ya9+LiPj27H+WGLnttlGLs+u4toaqr6W3oiqhxBVKLid4qy/oMnctpxZKdezjKpt0Xf2Uko32 5IAGqh6X4nkeeKslcBzQetl8HGBFVrjo+Y7baUk5Y66Nf52zc/4lH8rJ8wI5qScV3Uj1VIWoTBXOp FyA7oYYAMFFs+05YgE3YayG6PVFv+c3TSDGxtKs+yjt2PknKSF+NKqEpOO8aHnp7m4VdS4/076d/+ 2P/uoDLJDG9T35ZWtLvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrQx-00000008w1h-3fdz; Fri, 05 Apr 2024 21:49:15 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOv-00000008uMg-2gT1 for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=LgwPi040sQaiGdj356QTxOD39j/S4i9oin+66d87wyw=; b=K97vSxiVqfkg7K2Mvg7U5i2iWc LJsGFH1PpUzPvSOx3svThOQk50wD64f0nnMiRA2sdC2lnEyftVHPIn1pkX3mjJQM45l1r9hFqZF5A UHbCY2ciccXlqCDNrj/+zW9V+nFokqn6XHboDLBfccHWg1S7pqccrg1usQrlEyq6Kj1bBhkrHmbPa TlgsNPpBFS+3mXjCs36smWTNUdHpqpvQ/noi1nqkCSHx7oRZyHb2LcPN6RJMnpSZc4zivcY3eQVEZ v0F1Q/Emx3P5v4Qfw9r4SPUPQVUb75Tzl9Duh/2nWcwjhJ13sgJee+j69KuxrWE3wh52vXsvt48mB Gtv7yJ5A==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOo-00000005rx5-3eCN for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:07 +0000 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 1rsrOZ-0003Br-Bl; Fri, 05 Apr 2024 23:46:47 +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 1rsrOY-00Ad4F-Mu; Fri, 05 Apr 2024 23:46:46 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOY-00FZpO-20; Fri, 05 Apr 2024 23:46:46 +0200 From: =?utf-8?q?Uwe_Kleine-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 15/49] ARM: dts: imx6qdl-gw52xx: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:02 +0200 Message-ID: <381ec16b4616ffae0d7adcf36a251f1107d7ca1f.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1252; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=GZvUtXzU2tewU6FPGPjsH3vEMVSncLLSweZKUQW1vBc=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHBHo/ltKKZ8cuQAt8zSBcAeTlnCDPdrZv4wX MRihcn1/ZOJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwRwAKCRCPgPtYfRL+ TjF6B/0fVBuclEskRuOavL7hhhwMMK6jyb20ttZxlSGZ0qvvjoQ7Jm+Hu15guD8GIlhs3R4FAcR 5EdZx0hMhkRuJyS9apNDyOc/CDZrpyVQ47zV2NigGs/zgcUiIyczbBHtKIn8YDAfKniD5jpGeIq LFyQt+XOoWlYjnwlBqqDWXwoCLEpklEnurTJ6radcuo8qGDhP/MIT9teG5wwOOVGZ7ha1xuPGfG PUfwCL5AsFBZ7GV7ujQGALsK4CddL7K9TAVFCfLEW04q9NPB0E8eq8DqFlTuAkp7bKMqgfeDA1e rg2HdjP1Wcb9iJer4YjyexB6w7BOijnXD1Tn85UpC6OrtPhR X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224703_002843_3CE92142 X-CRM114-Status: GOOD ( 11.23 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-gw52xx.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/imx6q-gw52xx.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-gw52xx.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-gw52xx.dtsi index 535679c27d6f..48ffb3ee01bd 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-gw52xx.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-gw52xx.dtsi @@ -25,7 +25,7 @@ chosen { backlight { 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>; }; @@ -520,7 +520,6 @@ &pwm3 { }; &pwm4 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm4>; status = "okay"; From patchwork Fri Apr 5 21:42:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619506 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 B0E5CCD1296 for ; Fri, 5 Apr 2024 21:48:53 +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=QhYcegY0L60zEZydegyS95wU1TSFTtr3HR+Ux2Wrbz4=; b=qwdRT6buRoB7dT eir/RdbyAHbd+lU75b4etfPLh8TcaZQqIKFd3nZ2nxwLdutiW49/mBhU1qpC7MCVD0Wzut9CAWozF 9i7wscNYiCVOWi8oNLNmn2IJDPKXlJpp8rtO4kqPxFA1eqa2VTNWE2+Jm9gsnm3PAfjB52cjUsvlI hXR5AGrX6FG2pBZhtOpDQ/19c9jDHm1JKO1U/ihMa4lUsz7qJT1qd6WgdBVSv0i4BoXQ4dbdWcFAy tAaQVJZx/+mSaBFQ9Z7QodOKv11Z7LjarPnMxYKXnPXrVIOwUO7FiIKP33FdnpAbsbCNXX7q+u2u1 gHdBmtRmkIom2vLjOcAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrQR-00000008vYe-0j7s; Fri, 05 Apr 2024 21:48:43 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOt-00000008uJV-01Rt for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=8hIZB6e80I1jB+vKBGba/Bie6oi8/vSSPWbzQHjBbLM=; b=T/fEkLMEYrDens2JBY68RPcGzH jnTWVPFcGxLwyCqy+X4+sr7dL1aLqhklZPXxm453TAnxgMmVfLB2LjRYihrpKNPVy622DOe7yvhjp VgKGejw9uNdu8NLjWCnPKY7HY4/IA6BLEl4D9uHFjksDlQLFgLJrJ0RwyvKhwdoB6ktnQhn/SCCWa VWmlt5154KR8jb8P2DZSR4QU6ZYqvsRUFOCvcFEDb7VhHYb52X+rLmsgMJZTa19V5Z26SZQ0+tIsD e0Z38QtTraiB5J0mNjg+9oro46xD5m4M11vzwmxfSrqCvibekNFfVZNeCoexM+vQoGXt/T3wYQFV0 U/PcS90Q==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOn-00000005rux-1W0s for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:05 +0000 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 1rsrOZ-0003D5-M9; Fri, 05 Apr 2024 23:46:47 +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 1rsrOY-00Ad4J-SU; Fri, 05 Apr 2024 23:46:46 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOY-00FZpS-2a; Fri, 05 Apr 2024 23:46:46 +0200 From: =?utf-8?q?Uwe_Kleine-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 16/49] ARM: dts: imx6qdl-gw53xx: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:03 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1252; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=30psb+S4V7FjJS25DROKIz+ZZYeAqHR+oUO9+pEdl+Y=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHBR4d/AuceaRZbLcbdWUs7RtbF70EKk3/PW/ 1e8Q7P2qFCJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwUQAKCRCPgPtYfRL+ Tt08CACWekyxId93006OIB8wRAWK8X244pUSLalAEc5XZ/eaOekrkQYOJr2sz9uw+Q1uQEaOyC6 DSS2oth15b4kjCeZbroG17N7uGbbX4+mvSGOPm5hrJtESlHI8/JhPsEm6gghwf6lxMMk+ciREot lJbHG42b1vZUAwUXqIwrPVOhOf8zVjrPk6VSNVbSuYtA1VPl2qZghWRV/O99mV20h6BEdRnesti frz1BN5YmIKtCa1rO5u46TUxIlYJXjNG7KbOmbwDEJkAazSXc+eGwzMnBaVpcRZAUgiZOHbI3By AL+y5eHsw5FmGsW17F7G8nyRz9Za0L9Fs0CmAQkPsDCQ2iV0 X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224702_172324_13E6FC43 X-CRM114-Status: GOOD ( 11.23 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-gw53xx.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/imx6q-gw53xx.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-gw53xx.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-gw53xx.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-gw53xx.dtsi index 3e1c572af582..1eae438fbdae 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-gw53xx.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-gw53xx.dtsi @@ -25,7 +25,7 @@ chosen { backlight { 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>; }; @@ -517,7 +517,6 @@ &pwm3 { }; &pwm4 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm4>; status = "okay"; From patchwork Fri Apr 5 21:42:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619517 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 3A0CAC67861 for ; Fri, 5 Apr 2024 21:49:24 +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=HCATdFYoxRFKZbbQTj13ezqxGzxpDAl9gXZNxk84+BA=; b=R13XesKnq3Wl+s +3SA2NE7FlGyS061bBf65O+NBg0+aQCstoaagycHNV9tlISA/rB4nbBXYZlvXDBNCTpfWRzTod0CP +hwVUe6HEySO9thD9qVhL0b/ORbTop5yQ2pKL08WRMuFiEKJHo2vzA1WzGygSZYjogh/PuVfu4eS0 XvR0l1azNGo1nlyd+e2oGXs9kHrTsth3aQLO0PtptGDzUZvmIsX59w8Jdz28d9yfGCgsX7C+UL4F0 RZdDPoymdc9XH7RCLvQNbgQA7JgikDNzXwdNE5bB7/67R72U18j6GUWuv4S7J76KVuSiKqwV6nKIo ixbHdFu1F4MzZ6L9PE8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrQr-00000008vw4-2Rxb; Fri, 05 Apr 2024 21:49:09 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOs-00000008uIu-1Tsd for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:09 +0000 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 1rsrOZ-0003Ei-Oa; Fri, 05 Apr 2024 23:46:47 +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 1rsrOZ-00Ad4M-59; Fri, 05 Apr 2024 23:46:47 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOZ-00FZpW-0F; Fri, 05 Apr 2024 23:46:47 +0200 From: =?utf-8?q?Uwe_Kleine-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 17/49] ARM: dts: imx6qdl-gw54xx: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:04 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1291; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=PKs0TWh/nCG0Y/HsFJTzq2v2doFjVohgVuSuzqRSQOk=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHBXdLpWcJJRi8fh6lNKNJTrUhWZvHlV9qyZv 08rNXV3K4WJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwVwAKCRCPgPtYfRL+ TvYVB/0Vsu+qq2MAOVsk+2coo9Ng67TZQJUnwDJ8huOgNUs654qBHsplgxShu/f50KPByKDjlCf EpoLLt7891iJYzx98JeaT3JzhHs88IGUPpsGyrh5RMhxg1ZGnKlPEG7ACUvbILPO0N2HS7eXb7i qfpe0ShV+UeehJoxmfvzC/ZpR92I/w6b8SqB9yhBpeuWC3wxqv1ZQ7sFoU6DajsSFHigmX4WPAC rS2D+LjhmOm/r2/Y5WKHuk8xPQcWqud/Zbsucg8RoEv/1KMNXGdWqVH8YTJ+HhXHUAhbGgcXjGo sinwsehU6ykoZqJ73n9aedMwhSOL5wkj5AkTNIXKEc08CXH8 X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144706_588936_78C5CC56 X-CRM114-Status: GOOD ( 11.18 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-gw54xx.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/imx6q-gw54xx.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-gw54xx.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-gw54xx.dtsi index 0ffa0357a6fa..c2ec8572c8a5 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-gw54xx.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-gw54xx.dtsi @@ -26,7 +26,7 @@ chosen { backlight { 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>; }; @@ -570,7 +570,6 @@ &pwm3 { }; &pwm4 { - #pwm-cells = <2>; pinctrl-names = "default", "state_dio"; pinctrl-0 = <&pinctrl_pwm4_backlight>; pinctrl-1 = <&pinctrl_pwm4_dio>; From patchwork Fri Apr 5 21:42:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619565 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 83798C3A59D for ; Fri, 5 Apr 2024 22:50:13 +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=FTygTeuybIXDjvTuGyX2EQoELZM959KQm+G9EieEVAM=; b=yeyclgDG0kNpUJ f/PRU6E7q23W2tbjeXMMZC36tLLI2fcsnbrJWfKMmz/fnzRdCD7Kpnthdf6lxtVnXUQexgdcLvwfY JzmC7MzoxpIrbJ05037Yrvqwd7KkXwUntq+mVs9+7FCjbWang7KJkdaNYR3Zsh+f51+VAj15nz11Q AlsUl8c+HrWoev1BHDgclC56VGgNxIfdTlfHndcU/Rb+P5B7QZLaOV2JpPIaXHorhvQlAndWAY4Dk lP3VoHVJUfQBd3JxDbCppmrvIwdlQDHtNfIYIRYlNrwZTRBEUqX7k/seC5SZRinnLn6vwfwcjbdom rLtO0rztJ/s3qD5mD7QA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rssNm-000000098bq-1Auq; Fri, 05 Apr 2024 22:50:02 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOk-00000008uCO-2n0s for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:00 +0000 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 1rsrOZ-0003GN-Vs; Fri, 05 Apr 2024 23:46:47 +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 1rsrOZ-00Ad4R-Aj; Fri, 05 Apr 2024 23:46:47 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOZ-00FZpa-0n; Fri, 05 Apr 2024 23:46:47 +0200 From: =?utf-8?q?Uwe_Kleine-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 18/49] ARM: dts: imx6qdl-gw560x: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:05 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1263; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=RKudxVR+D76BRS6pwHJp4fZWRIARjdwawH+torR/KEg=; b=owGbwMvMwMXY3/A7olbonx/jabUkhjSBgoictEYpDm2Bw1NuxapcKymKPnGtdrNa5nxWb1eBe 9Ok23k7GY1ZGBi5GGTFFFnsG9dkWlXJRXau/XcZZhArE8gUBi5OAZiI+zn2v1Kmqfu/ToxK2B3F re9+RObTCbMMNm6DeKOs2Atp11k+iror7mR9o6Fyrim+z3H2qj6bFeq2jU0XK0ubzsjs5307468 euwD7zqI3QpFnzf4XKaUbSBi7hnYY1s7cdL1PqUNkEsvF87uyZGQTzT/0LeS2PMpr4y5UIXJKdP 3z/7oT4uabuzz7ELF9r8dVr9nbmH/+MOjTavBtbvxyb9LdS7NZtbgjD7hVtPMbMU3lYpSrWznL5 976tDNzRb1/uqzia1qxTZc1sit23tv2fLu2hVscp2jOZLmwUStszhT7P5nXzm71nR3WKRCwbFkF 07SpmezCT/7eOqhkPjXIInRe00zp/jiTqS0Fao4nfgYAAA== X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144658_736855_0D191B6A X-CRM114-Status: GOOD ( 11.35 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-gw560x.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/imx6q-gw560x.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-gw560x.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-gw560x.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-gw560x.dtsi index 46cf4080fec3..7cee983da669 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-gw560x.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-gw560x.dtsi @@ -66,7 +66,7 @@ chosen { backlight-display { compatible = "pwm-backlight"; - pwms = <&pwm4 0 5000000>; + pwms = <&pwm4 0 5000000 0>; brightness-levels = < 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 @@ -619,7 +619,6 @@ &pwm3 { }; &pwm4 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm4>; status = "okay"; From patchwork Fri Apr 5 21:42:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619536 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 74E42CD1296 for ; Fri, 5 Apr 2024 21:51:17 +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=2nIdXdxcgb2LGcXG2CnEqJkVY03vuf5TcHITxB5yztA=; b=M74zfkvXmsFqS4 p9YrT0tjAepg+4Zr5NuFF+RFkxXYGDVlxHs3dSE4RyB5FhNwuBaMYzFUKJ/v4J6HUWj0C6wdPLs+e tNdXc54tRAWCKnE8WDL+G8ZsWL34+GHqFZAUzqCthaz8jaWJYVwSzvh36IHBg4DnUBYc33FGPY+HX 4p3bBMOZD/hv2bfN3Kr/KoAUivqFkdV4cWp6/R09S8QeHRzrkLTf6t26mDdyMLGFl2172bU527MF8 otyQrhrIjb/Oh0R9ZEYzxgmUgjfBPX5sRhrfN276Iewp5AtSw2tey95O+bFV4hXQP+XDj4+SWZ/7e bDlh5/KvYF7AFAaLxzIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrSj-00000008xet-0SFL; Fri, 05 Apr 2024 21:51:05 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrP3-00000008uSL-1Z3y for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description; bh=ZKTOHj21PlZWTyVqptlgxh6QyKsnnig9/CPskq5EXBk=; b=TZhB6jjR3DHRvZBqvI4BgePzsI sazUElKKCggtANovzwKSnJBb/QibRZtzCwk6FRfKoISHabpM6eMkpaXwi2t9eu0yewDKiF5sMq6dC EECTv+6CfagrUnEjcQw17mjSnt+2ehkPrEBde51rtkgWPSO18qdDlhm54QizePeIJ/TQoUWyaOzeg qje0WL/K4umt88ANhaF8vn3tSrySCTFDw+uUc9KyEsMEkCUZo29ddOcIpHg2k/tskycQrqgDsrkEc Bolhy06IAwoERZc2IW+QPn0CN0OzdCGhajmrnTOvjBFZ58bmhpVbJ/zsiCr0VIIxQDWc4leKXihPg VTbwuEkw==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by casper.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOz-0000000BM72-3izi for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:16 +0000 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 1rsrOZ-0003H3-Us; Fri, 05 Apr 2024 23:46:47 +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 1rsrOZ-00Ad4V-GY; Fri, 05 Apr 2024 23:46:47 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOZ-00FZpe-1N; Fri, 05 Apr 2024 23:46:47 +0200 From: =?utf-8?q?Uwe_Kleine-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 19/49] ARM: dts: imx6qdl-gw5903: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:06 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1269; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=1OYSF06d5TIhc6A7R1nQSIWp7YGWGjSxOpQ3PlpLjvc=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHBfhyVUQsBrz0bHx/XcO3ip6/CN3Ls5Lkewh BY3tdoprcKJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwXwAKCRCPgPtYfRL+ ThAQB/9LlS/oWREcl2yKDcOcMiGwq0RgPNsxfFJaQASPLRFa5txIBqL4fVt9eM70ROm0CHzqzoG NgVeTisMmFJi6KKjyPIS1n1Qziw2lAtZw9TlBm6GCIerhpjDZmVSZzlAC84S8nykCbiz1vIKqHd VMb3DpopqXMpKtOM5qEq0nnM3DzpfXbqXMITsJR43CX0+B8v0uEzI/rGD4oQS9Y6o0YPm8xqwlM knyh7hmNxn/6P5xDwTZmAU43ZW75ydZXGVZesjR7rQzpZSpwhYURLSwlCYh1wotz3DAdN1GQKDp ZgE9Gc4S8HeBPP3bKN8bfeeGZhte0vDNdZivkoA5xpor5UXt X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224714_052232_5977F797 X-CRM114-Status: GOOD ( 12.10 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-gw5903.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-gw5903.dtb: pwm@2080000: #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-gw5903.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-gw5903.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-gw5903.dtsi index a74cde050158..fbc704c064b6 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-gw5903.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-gw5903.dtsi @@ -56,7 +56,7 @@ chosen { backlight { compatible = "pwm-backlight"; - pwms = <&pwm1 0 5000000>; + pwms = <&pwm1 0 5000000 0>; brightness-levels = < 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 @@ -502,7 +502,6 @@ timing0: g101evn010 { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; From patchwork Fri Apr 5 21:42:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619512 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 CDFF0CD1297 for ; Fri, 5 Apr 2024 21:49:02 +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=s4HKh42s8BkZnrT0ZLXXJt4bs3b6tfstnpEP2LbLdaU=; b=W8BZWMvFfklvXX Yg87e6/gc/rwaIkZZNPLNXYgFAW95qGamDTSzOWWYTQwDgemqIFoDfLWQWSlXjnb4ckxXk4keMCs3 DXfV3cNQlwzbcDsWa8H3sjbws1qjTB/lBVykJHdx1Q9yf4abO4m+2IRyaADZUi8+OpPZQ/AUyy3z1 tEDFIzMje1B+uipWh5i6bFCXEDX+HGvBoDMH7Q4btLawwUwDfPSXEgi1wgERptwYyOQPvKky0q/7r mqBG29w1EZxJx66vGem1mtT93V6CXUSLDERsau4BWV9tNAq0gK4d6nxyDrYOQLB1gARpn28L/pXFc D4CyNODFw4z/YkNtQhow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrQW-00000008vcd-2dA6; Fri, 05 Apr 2024 21:48:48 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOo-00000008uFg-0Iaq for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:06 +0000 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-0003I2-8x; 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 1rsrOZ-00Ad4Y-Mh; Fri, 05 Apr 2024 23:46:47 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOZ-00FZpi-1x; Fri, 05 Apr 2024 23:46:47 +0200 From: =?utf-8?q?Uwe_Kleine-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 20/49] ARM: dts: imx6qdl-gw5904: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:07 +0200 Message-ID: <8b77075bb53543af8d1cc0d30c746381e1386b34.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1252; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=r8HxkqV2gZXa2CGefAk5z2mUvLGXYmlh5HjspcpwSMo=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHBgKMQ8av1wQn1A41xka65vL9G3G25FEjYIF IYP5WyMasaJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwYAAKCRCPgPtYfRL+ Tuz1B/4mkZzl+Y1OrFltg6u02d6Bw8J1LfCXr820Q3/i6ybfSkYutW7JnCBPRz0S2WCXvUIVV/z zBksCJ8T7q8DmXO5LjLOGTE+9k+6x2V3x4c0kWT9ZV2Ge1LW2ol5MvRCe6eRgaCvVbcKGyjBfp1 wXnUr+VRzbgo/3q/WUrpf74C4Lv+BWmhKoChRHHCQ5eni8IHW/X8889bEYDm5fm5MlKn7rAOq4X nV5GBicZe8hRt7tXF/qYcXK1fwV6JFI5A/xhQzitj0VzkIm/VzhFy4EKA57F4U2RTYXbDzVhLTN 4OnoJc58qg7stw2iETPz139FERz7HCR6qfkoqo4xOE+kd+kO X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144702_129220_A6424CAE X-CRM114-Status: GOOD ( 12.04 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-gw5904.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/imx6q-gw5904.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-gw5904.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-gw5904.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-gw5904.dtsi index 1e723807ab4c..070506279186 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-gw5904.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-gw5904.dtsi @@ -70,7 +70,7 @@ chosen { backlight { 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>; }; @@ -586,7 +586,6 @@ &pwm3 { }; &pwm4 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm4>; status = "okay"; From patchwork Fri Apr 5 21:42:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619523 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 9A068CD1296 for ; Fri, 5 Apr 2024 21:49:56 +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=YET/B1UJo808vRtFyEKNgR90EtmT5s1cf05ujN0iJno=; b=fRZxttg+IFmhun wceTIKilhrlXPHOesD633LD+LgehI8o7/5lpWi1mKOBOJQ7RR3FQc0DBVmlvB9TxtF5Gz3lXWdwS7 bj4g8jeYOU7gZBuIl5Ptwj0pjiQCDPDNcirqKEfofogsIyoLkRTk+10QB+IxVF+0Q6fCzmSdpSPyQ hNsE/PW5sLKakKlnnCWlRMbjbUYXJLit2R982c8pq6Ejo5XdDGLtr5E6NflElCDWAPSQFzKGbWEEd rTenUsKNWNDzeOczNgtx5JaSD9RXavpZuBip/mJUQZaz9xSl4YIbTSVsp45s8h+ivnwmzkeW0lhb/ WkKybQRZFGwKStEfb/UQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrRG-00000008wK2-3nFH; Fri, 05 Apr 2024 21:49:34 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOv-00000008uMh-2n8L for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=RfvgswpEsfmkKdLmZHh8jkdmmiEveId3LO2W5J6f/v4=; b=NyFVGV9Fq6SqV0rCNTJGnv/yJt UnShnuzz/hrtDGZuR5LUfiHrTr3HqzYgsG+W+5NavgJcUSC1EoM3B3MQnhP+XhTJJFWwvwxG2fKjz hytnPEYbl34JRiOte1en/ZlUq9FMiB2qMp2nCeaoYzn+UVsgtdXljCuIFl8Jl1mSPJ29GNqX2eEIR BYUqMjcEMOThN1w21vms6Zu9ISCmxfW8z5Xi1LF7WoSPm30n/wisPjNo09p1lT2rC0BpdMIu93web wN89xtXtNSZrOr5Gr1N8/FArriXxjrmV4ubTA+6NF6EAi6KdWFdSeC6G82bewMCo1Z+85dskuve5Y vANqEvfg==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOo-00000005rx4-2CN1 for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:07 +0000 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-0003J8-DH; 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 1rsrOZ-00Ad4c-Ru; Fri, 05 Apr 2024 23:46:47 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOZ-00FZpm-2V; Fri, 05 Apr 2024 23:46:47 +0200 From: =?utf-8?q?Uwe_Kleine-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 21/49] ARM: dts: imx6qdl-icore: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:08 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1924; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=RA0gsmy4pk7ensHNQr/1YApXSkTFkNCDQBBCwBlgrPM=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHBmM/+hEhwKa8hyeoV3p+K2+1lIRakOlqplv aHFERvpO1WJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwZgAKCRCPgPtYfRL+ TilUCACg6S/GZOd6lVwpMiWWjuhpQNPP+158m+6uTEnirpWCXkagtIRo5liKUrjl1qydCMVzwAB CJnl09Otr3/DJ/KRZZifbaY5pyl7aQha2XX78y716tJRmRchhbeycDsAmhhEiFEk0JX2VgBYwPb UgqaUBf9zzvnw+bj/K/YmrX7OjrXBR4Ynqe+QR2K7gbde7/XPrbYz1HoEtwOkmHn/zyk/pHvyo5 x0oNuPpwRLextMU3pk0koXmLHtEyuWQZa3AOL5ghbpg561KgLjhwfEj0FWfHkIkQycNspTf04Bl j4bF3O0yaU1KGUnA/bxrbcZOmfA5p/u0nz+LRr8k7JRRb70h X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224702_914373_38D137C0 X-CRM114-Status: GOOD ( 11.14 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-icore.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6dl-icore-mipi.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6q-icore.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6q-icore-mipi.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6q-icore-ofcap10.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6q-icore-ofcap12.dtb: pwm@2088000: #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-icore.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-icore.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-icore.dtsi index efe11524b885..9975b6ee433d 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-icore.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-icore.dtsi @@ -20,7 +20,7 @@ chosen { backlight_lvds: backlight-lvds { compatible = "pwm-backlight"; - pwms = <&pwm3 0 100000>; + pwms = <&pwm3 0 100000 0>; brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <7>; }; @@ -245,7 +245,6 @@ mipi_csi2_in: endpoint { }; &pwm3 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm3>; status = "okay"; From patchwork Fri Apr 5 21:42:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619566 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 92140C67861 for ; Fri, 5 Apr 2024 22:50:13 +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=mzKMISmDcVo7RujoctedHBNOmFF/+BZo++jaq3gMkUg=; b=PzBL8tktnLmmVe Q6JhUhBA2iUq3SMVpqYTbvV9KbNHOpfut1Nb1Rq1kg9PYj6dCAgIwi/Ax8770YYYIihWgzOMk6m9v 5X8SQ26ETAMH13MCpg448Uc5LqoK/l9ftuETVazfnukJ3Fk1O889Iw+LGxlHm2MsLgbIEPXZIXSmX rgOVRhFLZVaWe6zQj04x8vEbn7OPApB9fXnfk/WlnspfS0oEKftURC0u5ar/13rv/TjkakNZvbL2s gBGQBksGXiDbxbuiJEZ8JUdjsIn5cF1b4KR6Bqp2SFroSk9LfBdUhSPIBdRHZh2MK54DKxE8MP7nS LggKXFcWtDOeG8iXEEvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rssNm-000000098bx-3pnS; Fri, 05 Apr 2024 22:50:02 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOs-00000008uJ0-2s2h for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:09 +0000 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-0003KU-GR; 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-00Ad4g-1g; 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 1rsrOZ-00FZpq-37; Fri, 05 Apr 2024 23:46:47 +0200 From: =?utf-8?q?Uwe_Kleine-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 22/49] ARM: dts: imx6qdl-nit6xlite: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:09 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1758; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=0VSmB2CEsOD5lHKuDMcdo/tWm3UBeB8pQLyKiuGzXZc=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHBsy3oz+SpZr06sHR1df0iPzYWN+moGbDGZ2 1OUqUBIgYaJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwbAAKCRCPgPtYfRL+ Tv31B/9IlYPHpju9QZTAkLXKEyzSObBX3NN7xwKcI8hkxd/IywPo8nrsfcabU/1+vPXj1EPnc81 iBI5A4QGhhaxCS6I47OcTMZZpsRl/nyAv5RWXswHBagLotYHfDRr6nuROxhQTMvcNIEe30SXTEK Ra17U+U+XGEPTsF28FW5VE3El7OQvU/fdq9NR0+EJ6kvRSaLlqWaXgTm4G2XxVldbkw8B+kEtX9 dWPKaphmej3IILOxkTEqidX2NFIqrlQbP+0rkFHeuwX87yYV1unWlUxBneRzxelBvnlpq3Aha3H XoZUsBj4foh31AyeQKvhOhL8ccoDKTfKWlJ/kZkZv1cRRc0L X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144706_776496_04532136 X-CRM114-Status: GOOD ( 10.67 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-nit6xlite.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/imx6dl-nit6xlite.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-nit6xlite.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-nit6xlite.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-nit6xlite.dtsi index f2542d725ce7..a30cf0d06206 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-nit6xlite.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-nit6xlite.dtsi @@ -108,7 +108,7 @@ led-j46-pin3 { 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>; @@ -117,7 +117,7 @@ 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>; @@ -499,7 +499,6 @@ &pcie { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; @@ -512,7 +511,6 @@ &pwm3 { }; &pwm4 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm4>; status = "okay"; From patchwork Fri Apr 5 21:42:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619532 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 2313EC67861 for ; Fri, 5 Apr 2024 21:50:58 +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=UoQx2oQ29vkys171WQcAn7RfOoISq+2faeOHKbONkKs=; b=rdPWPR8pJQqngF a26tZiRPT+M3Dhh17j/RY4m8mSDB0ScmcOGphEqbIXLFqEnSXsltRVt369VuzHyrVy2NPF8No+Dyz R6pd6Q3liAPXLoP5/ETf3aHv86biqQIchqGEMgl9/A7rUYFHkYRmiozoARBQJvYj8Ef1GGB7qnX3e NpemAdW1LNYe4Hjiv2gHkKBnFkSMMg23UmkqbsIR2fZ803Qv67vSVE0upR1c28z7/2/vTvs00IY9F Z3nQS9JJmJwlBMKd/IR+udRHDUEX1TMHSrbrPmkZq/xGrzMUYeukM96HSUvX1b1TiY0sQd7VBK88h gmEuf58iHtjs8EDwxLVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrSQ-00000008xMA-3p38; Fri, 05 Apr 2024 21:50:46 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOz-00000008uP1-1uLF for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=O1ssPu0w6XLaXIuh4wPqnzJhqZuB4tYf8+hj8E7Tj7c=; b=DOOdjW1IR1j3i23OGERxjVxfz3 wFDczb9rzNo717mXhgCI1TKoZVLcQVIbh2L4Qay+/Vr6GsOL44XTTPgzkGzt9A0kft/+3VEIxPsMI UC7HK1tPyt5tFUcyovsX8W5nSvO3MU038sQ+tP/9JZWq5eHu3B9+tApuW/idl/PJEyafO+N6dp24t i4Cd9vyZLRWiQ2eOaa5OnpIBBRKIccW9jA3jpzGVTt8KfyQJqHXgLyy15zTCrcQb7VOR/bnXxgthU ZlwMkm2sZsJJh6VwcEzyulhZE37zCqLsS9Ixe+QH2UG2MF5kqPdmDuJWKA/6mGCoaR58/EUPMhOiZ VEgKGH9Q==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOs-00000005ryl-2DVt for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:11 +0000 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-0003Lf-Lb; 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-00Ad4l-7K; 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-00FZpu-0S; Fri, 05 Apr 2024 23:46:48 +0200 From: =?utf-8?q?Uwe_Kleine-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 23/49] ARM: dts: imx6qdl-nitrogen6_max: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:10 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2907; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=bUeL4ct2uYaulUWWr4XfDohjZDNlbjBRArHIb9PzWXY=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHBycr/7431AUEbWULUOAmBkY/X0HoauF30VO S/Smk1a+zWJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwcgAKCRCPgPtYfRL+ TgvmB/9As4WfT2lbhtnk+XAf7m3V6khJXqiWZF+8o1/lssSeCfR7ppajQSs+jMrrF3g1A4CWNcX vRiwlGYdpvV0g7q4CZg20grrMYnXom90oS3/iJJHk58gB++TYZT+qILQvZXr59s00taDRv4eYhs sTglDdl845UGzK8iXBaPsWsIvH1KQ0mvEboTycudCrC88UyGCEdCruWyf/4Nou+cTh6lSrTgTWB +pbdpmHixyPAVUb3zmQZ9VJcguBictFSZ1JEpX0nqZB+REDbk1wPHBXyCJdHGd6pPNIwbmbg/3I S4HvQCKRiCSCN3EBuheNISLwYVturzTLzIPVQWAfM4tINmxv X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224708_212835_B7BBC9E0 X-CRM114-Status: GOOD ( 10.84 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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_max.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_max.dtb: pwm@2084000: #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_max.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_max.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_max.dtb: pwm@2084000: #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_max.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_max.dtsi | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6_max.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6_max.dtsi index 32a110a35b02..33174febf410 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6_max.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6_max.dtsi @@ -183,7 +183,7 @@ led-ttymxc4-rs232 { 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>; @@ -192,7 +192,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>; @@ -201,7 +201,7 @@ backlight_lvds0: backlight-lvds0 { backlight_lvds1: backlight-lvds1 { compatible = "pwm-backlight"; - pwms = <&pwm2 0 5000000>; + pwms = <&pwm2 0 5000000 0>; brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <7>; power-supply = <®_3p3v>; @@ -735,14 +735,12 @@ &pcie { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; }; &pwm2 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm2>; status = "okay"; @@ -755,7 +753,6 @@ &pwm3 { }; &pwm4 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm4>; status = "okay"; From patchwork Fri Apr 5 21:42:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619521 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 3235CCD1296 for ; Fri, 5 Apr 2024 21:49:39 +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=skBavZ4JKdowgGz5v9XtegGWTUAfeT3rNygExP2EiZE=; b=AOk1DT0S+wBr3D KjzyrdhegVFeu9Pgigm5fN3/8U9EWO5JO60n7+e0Zers3L/xcEzdxZCZ5D93pLpG7fUKbhY28kykf gthbU9MnF3mxfteTqo0gnk2gGvlu5+1+DBtZCS9esURYpwob4bBrvYmm9rn3guNh6iBdTG96xHNrn VyA5tVj3w+ylhR21SUOAF35l92ZOJWRRi43TXTP+tv5FS78CJ5OvTBsJcyaUh1VjGDRLTGDWnxTw8 sK0LWhyA3eEyJFwTUmi7TGq/Dq5DFAci0ZU02kQ0R+PGfxLGlSsvQJ6kKMOE3C55oV2X6Q7H2ELvk IGhc76cHhl7yRpjoifpA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrR4-00000008w7j-2t6y; Fri, 05 Apr 2024 21:49:22 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOv-00000008uMa-2MvE for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=PYyWPhI0bzIGWEM0R4yAGAFAw6yjRIaDYU/j9gIDvzk=; b=qC+jM95+EvBjmdjcK0/Ix1WCvW 0asEwuCcMLkmtL4qd/RfVdSUPSJEGr/1kRdVBU5hnEuLGa1ye42SAbcgstI7ZRuzQsKU3mQFSVZeR hSDNxl3O+jed3nTCDXwi4dHW/l8Z/0tfu0qXvoLdu5ZamXXFhx52FMimc7FspHFrxVyYxN0KsZ4vi J1R9LG8qIDGACSm6d+M3PBFTt6cKQvl8anvBkUAXLQAIRZc/TH9KUJqlu4xl3oImgpKOW3TD+CJ9T 4QzeklABeoFkS5QT4W37o0SLqS99m338Z/1oFwV/lNfx4O5O1JgluXwTR6AynoMWsVzHhnei+3Zf4 SwnXTIuw==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOn-00000005rvG-466z for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:07 +0000 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_Kleine-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: MIME-Version: 1.0 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 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224702_214187_BE556352 X-CRM114-Status: GOOD ( 10.55 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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"; From patchwork Fri Apr 5 21:42:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619515 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 5780CC67861 for ; Fri, 5 Apr 2024 21:49:16 +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=0tvmdOsDPMv4YzfoC5iHcS0DcZ+biODzexSiv81WlA4=; b=NUFqjtM27yBVlh HzLSiLP306+iBJ7tl+xGdAlRskrFOupBxILQTUUIN6D0DFkA1gz59i6P/liIZWMCtyyE38+1c59Vq GBN7AIP+06HLA+deW9uhk+VMGF2r+6sSQx4rjZvOGxXIYuO4oNk8+oG6ct1xACxK+YqT+az8ZEd82 APp+if6jhoUMgN4Ak5KW0yBamC/H9p1dwoAXZGAPBzsPShB5aZaP4lgvywUdbQ8GlxA+i0pSdBfBH b/PrHZsr2LgyGRF8gCwb7bFyv4HiY66rNJqLBbiGp50DoE6icmii667c8nYKX7Y3IqqQDb1Ak9bSR dPEVjq37Aohha2Tp7Mtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrQk-00000008vpm-43VR; Fri, 05 Apr 2024 21:49:02 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOt-00000008uJa-0IbE for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=elkxCRp4hLyvfTZS1DvhLwkvhyFr3oaWSLl20p7WHtk=; b=Zx9BEOQbH6JMnPWhtcu2WshjDR xXH/DdCj0lUPhsmS8WLI68V98tv46+de1VJ+jHNJewoTrICgf2yIYKgkKJqb5pDZFez33sNNPH4A0 5SXrYeHc8QRxdFjJqg/Qi5pJw7CLzxJhKn/Tg1bl6U2g0jZMQdWs6igvBCk7Rgxp4yPgRIv3ANa/J xR5tBoVeJJ6rUbZTjGKf5YZbb17pTQLN+NbieK8JautvZuxhWhjeX3EffadpuX5ZG+xIGvpIY+G8y YwBoYploz5aZk1pPccTMobiC+oumk3+ybNDqIa4yP/s9Dy2YpYuTBLyS5Q8GBjSxmf0fMA9Sbx7Qz WHc21qbg==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOn-00000005ruz-1tKA for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:05 +0000 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 1rsrOb-0003On-0l; Fri, 05 Apr 2024 23:46:49 +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-00Ad4t-J5; 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-00FZq2-1d; Fri, 05 Apr 2024 23:46:48 +0200 From: =?utf-8?q?Uwe_Kleine-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 25/49] ARM: dts: imx6qdl-nitrogen6x: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:12 +0200 Message-ID: <4c4a3c0d6d08b3a8e7f1d60a43fdcfc78e0310a4.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2104; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=0HPlApQd5xmVcpUksqiEibbqJjXNjL7rp0X/7qOqYbs=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHB1QpV0w4BcoFh6varDP4J8N9j5cPEbFJpLA uXQqxV+ZdCJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwdQAKCRCPgPtYfRL+ TtkUCACVKru2x1En0bGMWwYcdnY3b05qGF4gxA7NM5Ru+SwsS/v0ieW3cW4GFoeV6YifxaW27DZ c7dv3BEg3QHAw0yYsNEF6HcYthORpr0BpEkLXAkWP7wAWOSNAeIf8N8yExMhpnvw9wYqU2NN/AS xUv9VKvlVakBEm/RVLRzWw6Oz2HOS+7TQB+Hi57R696w/oIn7cpWWBDqddktwCx2AsEsPqUEnYs dQ9tKDTcp19FzqfYL6dp4XL3Zu9BbTj5whwes9fiCsAWn5ByS48Yz22eoIsNvaLv6rk0KwyiwmD nqgi0VBBRtI/z91uCZbpd0p4mDKpsjewlglxShleTBs/cYuK X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224702_128545_61C5A07B X-CRM114-Status: GOOD ( 10.55 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-nitrogen6x.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/imx6dl-nitrogen6x.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/imx6q-nitrogen6x.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-nitrogen6x.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-nitrogen6x.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6x.dtsi index f278b14911ce..121177273dd0 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6x.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6x.dtsi @@ -134,7 +134,7 @@ sound { 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>; @@ -143,7 +143,7 @@ backlight_lcd: backlight-lcd { backlight_lvds: backlight-lvds { 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>; @@ -596,7 +596,6 @@ &pcie { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; @@ -609,7 +608,6 @@ &pwm3 { }; &pwm4 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm4>; status = "okay"; From patchwork Fri Apr 5 21:42:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619525 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 C20FCCD1297 for ; Fri, 5 Apr 2024 21:50:09 +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=Y822cMmUPk2HBaQP+XzWVtpMDWPyLlQrcZC/ZpSkxTs=; b=famoJKuiKMCdW1 4R+vza7u6g7nya1sFzDnS0GPAIhZ4x6KVgQIXtD5W1Ex7Rt9OwgzPdkDYQGpI75zkxyN2hieawRkJ 617JcsU2P9fmvzKEkqcyThkhobMbGAnYEk5cqnSAChMVd/XBbF4Sb7AcqQMQo9IjnLR8trREusEGp qsUJz6rVEjifCUM6ZqUbCsa4nag/Aktp4rSVSaFblJ4mixBCzE8IMsXuyQT6RDlvCm6X1UtOjx4ns fjmtnDfAYZ3FvXoRmjQl77EhOah4LQWjTEtFzO9XESvb4iLTs5Z/ktQ624M2WoQUiOouK11xjPwlZ Hi4PIBrQCuRkSuRrpEnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrRb-00000008wZo-0VlW; Fri, 05 Apr 2024 21:49:55 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOy-00000008uNr-09ZN for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=RR0pTy487lg98uzlkzo3T3B4HOufpU8ZeN/tPAXtg2s=; b=I9dcCBXSsujnG6TEipkYIpnn1K 4Bg9H8YuRGxsj1MIF8DTJJccxzxdQtgBbyT0okZgYml/rx5FaEkXbsAZB6cD5BvxFmx4vEEpuek8h bl+67feJbKQLQRc70B4SQ1PusVHD/rZ9lSEYnBIoyzFEsV1WvJ5qeDL4WGlLytjeVp7vIfFuAnZFK zvRG+I1HHfLmOAxxD8+EFhPd85ZgIeK9vKmhvlvXkh45PiKjMdPAL0czfMR3KovQagM+zvCPTVbuo 6vWKh8UbWZMLjpVAOIPmOTqtE6J7LPrHbQFK0rmSRQDOb3mgjfdHuFaVtWyc1fUuNF2ZyWh2+Brmb fQEudTAA==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOs-00000005rye-17vI for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:09 +0000 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 1rsrOb-0003Qm-6E; Fri, 05 Apr 2024 23:46:49 +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-00Ad4y-PD; 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-00FZq6-2F; Fri, 05 Apr 2024 23:46:48 +0200 From: =?utf-8?q?Uwe_Kleine-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 26/49] ARM: dts: imx6qdl-phytec-mira: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:13 +0200 Message-ID: <01e20d2f1577b3f03d054464ae98b3737ae2f2be.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1667; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=azW5d1c9c1SMfjZxxLBbE+Rp944OCIGDJ585Ws6AHjw=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHB7bTzQmgxFOyyl2yCaQMEyUwqGVpDSfSKVc RQkbYY27/eJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwewAKCRCPgPtYfRL+ Tqz1B/9OcZiUBN0AoKJuuqaixENfQJ3FHEjFPuvNeEYaheJ5obP8MKBkmJHaQC/8nwsyNBQwz7d OTSci1J0sDE4QjKOOq2MliLgtFxNUQF3Q5b0YfRVF5CtpcGKXQm9wyg8cM9ChVUCn7zkm8eE9VL Mxg/xgKJXF77/JXBa3tDrvouchYRV2zINElVFKPMUAbLyKqCWvGbzyvNCMltF5QjT+aLi1SY82o +Q0JPuXusjqSQgD2UkstZcdbdZphfELtzijly0l47qudcKlGLEFiZ4zb+3r3OpnRo7Nj1L7iPdE rTE0wU3L6CG+9GgpCPlaos0ztq0fishcdQtF5e9dRPi4n7pA X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224706_600551_7633E538 X-CRM114-Status: GOOD ( 11.17 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-phytec-mira-rdk-nand.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-phytec-mira-rdk-emmc.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-phytec-mira-rdk-nand.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-phytec-mira-rdk-nand.dtb: pwm@2080000: #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-phytec-mira.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi index 1ca4d219609f..0b4c09b09c03 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira.dtsi @@ -15,7 +15,7 @@ backlight: backlight { brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <7>; power-supply = <®_backlight>; - pwms = <&pwm1 0 5000000>; + pwms = <&pwm1 0 5000000 0>; status = "okay"; }; @@ -224,7 +224,6 @@ &pcie { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; From patchwork Fri Apr 5 21:42:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619520 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 E8552CD1296 for ; Fri, 5 Apr 2024 21:49:33 +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=i+fx7tvNhUNsiHqBBaX0kE+H4HxqRjbulDZM/2aKLIE=; b=y1WtMD5mGBGAeh MO1RUK1c5475sJxzzGeurj6ChSCU7JDPjdztNmaJCvndc4GAvt25cwtP39i5KTjXKWIPWZemZGzA6 KZG2FVd8G6iH1fry0+1aT2nP337jfzABRtJOoXt8X9CoH+cndebO9OGODDjd22epRsWNiSmSla83I UUtbDGtN7YCRaulY00HtY3mJrpdpYpmzxl9yl/3zpwzniVAzTZJ04thvCwplIPyyj438DFHavKNJS dZvewE0IFv8VhHCkoSwVNKDM+5K16BuxpGm7hBGhexwMU3C0lilQlqQXBWpalcJ5qqLbN2Jq89ItG IfO5kgnzd9FaizPHjIxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrR0-00000008w48-2BZZ; Fri, 05 Apr 2024 21:49:18 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOs-00000008uJ4-3SaP for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:09 +0000 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 1rsrOb-0003Sm-Dg; Fri, 05 Apr 2024 23:46:49 +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 1rsrOb-00Ad52-0u; Fri, 05 Apr 2024 23:46:49 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOa-00FZqA-31; Fri, 05 Apr 2024 23:46:48 +0200 From: =?utf-8?q?Uwe_Kleine-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 27/49] ARM: dts: imx6qdl-sabreauto: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:14 +0200 Message-ID: <1be8a339d582fc3a7630b11d13241a562156d224.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1468; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=13BAPCXVbkLz2Va39iEUUCkxXjsyp5n63H6RQTEGuKo=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHB8+XJRvgYvBwS+suWxFdasSjT3IvWPYILor sYP7U0I6pOJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwfAAKCRCPgPtYfRL+ TuybCAChZLhooWH1lrzz/btTpv+DHn8jKVdM+aRf5PY7isnijPD/9AqIV10P+Y5zR4NQVuoJwHj NujRRBijeyNK3amqX/0jrKb8Bt9kAGtl9tnVQYgo6mSUgFGJK22VG5PBq/FvHs4wC+W7jmsmWQB hs7JYBSFCjEpjXWtZfexJz8/rCyNDoez7zuoSgptvg/oDZ9mKi1XmPuejs+TOGP6PWfhpzUQmhM OLpZDbYhf4y7Z8PkVCV4hQgRECpxl4wOc9Iyz3eOOiDEJ3IbwK4ClMQr9K8w7jxiJwaNmyTJd9F BhHgEeHjlitqG7+MdbUR1O+Xu6FoD1DcSxgsk/oyYRvSDkFY X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144707_186182_938D10CD X-CRM114-Status: GOOD ( 11.56 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-sabreauto.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6q-sabreauto.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6qp-sabreauto.dtb: pwm@2088000: #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-sabreauto.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-sabreauto.dtsi index 68e97180d33e..69b9d7a4bcef 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-sabreauto.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-sabreauto.dtsi @@ -153,7 +153,7 @@ sound-spdif { backlight { compatible = "pwm-backlight"; - pwms = <&pwm3 0 5000000>; + pwms = <&pwm3 0 5000000 0>; brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <7>; status = "okay"; @@ -802,7 +802,6 @@ timing0: hsd100pxn1 { }; &pwm3 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm3>; status = "okay"; From patchwork Fri Apr 5 21:42:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619538 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 7F551CD1297 for ; Fri, 5 Apr 2024 21:51:24 +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=9HvijZZdPQp6MXbYLcUvblSve/vT9QjivY70IYOmIOo=; b=oLovzEdBVWFnm3 LkJP1pOmnxUzzNpxM7czrFcgQAvskKqf61Lz2mn5Flzo4KZDvEeIUMdOBDhP7yDm6ViUQOuKR7UD+ tVz3aS5LL2RtqKytemGeOxFjnR/WJjxezJ8L+oEq94MKH3Gx11kNXt4uS6OZlWGOZJWU3RHwpcPvK yPJqW0DEnY2F87ZY2tEO9CT+uEs/JdWtkNLEWpni7k3H5BJWGSi9HQAowQpkZg24ik5Ao19C/EEnq GRsJfQ2Vho+5lpzYd+FH5jMm4akoBQKWYvLjrFXHq4HteZTeAph16PiFXFEf1A5EUz3ko83NUL5DP sP3/EXTj2IX9XwzfvdVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrSp-00000008xl6-2Czi; Fri, 05 Apr 2024 21:51:11 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrP5-00000008uTX-24vB for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description; bh=36grRu/U0TcM20fRz/IZzD8Uj4nTXjG8PpKXy15+shY=; b=rJqRJP1y0cjn0ZwT5TLAbV7KSg 3MLKIYnRNqN2WoGS3edekBhhhdlXPE2qSvhnK9vTX8yLHOYOTwf1wW2yEPxLG0Z/aXwIWN0H078xI 0jSATYX0RxEksBjI/9lGxST25HNwWfAD8lKgpVPHs2oojGIpwihpXHVTdvopio+meWbzM9Ym0hsSI kHnuCh6NYI7F7gvlQhSFvfST/oZgay8o63/X7XAPzmLNsxUqL1ECJfvewObiDpMhkEANUXRCqoxxr MEkmGH2B3PEqrcLX8UZ8iSjm84uhc9pARRFdqZK/f9tFw0n61/bTP61qElx6R3yFASYVu8CtNFl9a ICwL2xig==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by casper.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrP0-0000000BM74-0Rk2 for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:18 +0000 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 1rsrOb-0003T1-Ji; Fri, 05 Apr 2024 23:46:49 +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 1rsrOb-00Ad56-6i; Fri, 05 Apr 2024 23:46:49 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOb-00FZqE-0O; Fri, 05 Apr 2024 23:46:49 +0200 From: =?utf-8?q?Uwe_Kleine-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 28/49] ARM: dts: imx6qdl-sabrelite: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:15 +0200 Message-ID: <3f8efd3b904a272b0a5b6df5d4314df2bcd43e7b.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2779; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=ldLC1iIMHcgBNmvUSXQuQfYEQNQn79OqYKy2TjZvs/0=; b=owGbwMvMwMXY3/A7olbonx/jabUkhjSBgtoVVxIEuer5llX86Lcpm5de78g+UbK2tm0W28spL 3fLy+7pZDRmYWDkYpAVU2Sxb1yTaVUlF9m59t9lmEGsTCBTGLg4BWAiU45xMKwUD7m+VostdaXG i90/Ot+WWm/f6ZTNWl43N79CsGgt20Sn9Y9Z2tncTPp8ol3it5U27Fw+Y8/2xFq+oM3r/FrvaAl Vc6bxFfv6um64brTPQDBPSfP9s5lLIiIcf/8KDTuplOyZ3JP0lUNm3f3a4jW9LtnHPr57o+2ZPl 9UM+3hwj3pRl6/ulj/Whi98E29Jv6bceEVM63FSpo5jc29t50evjTMKd6+OHZ90JHwxeo7/iTPS nYIk3dM1fv7qmSr77VrlyY5zuG8KJgbJ9oiEHbUv3i53wVdoVJ3TYdpS0xuRlqU/rXKN7tu9lLf LGmz0jZp1oR7Wx9cuBXjvlHZ5EvKo0vC71JyJ9xT3/ABAA== X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224714_230577_9A845BA4 X-CRM114-Status: GOOD ( 10.77 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-sabrelite.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/imx6dl-sabrelite.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6dl-sabrelite.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/imx6q-sabrelite.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-sabrelite.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6q-sabrelite.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-sabrelite.dtsi | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-sabrelite.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-sabrelite.dtsi index 84c8a9531e18..9c502bf77d0b 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-sabrelite.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-sabrelite.dtsi @@ -99,7 +99,7 @@ mipi_xclk: mipi_xclk { #clock-cells = <0>; clock-frequency = <22000000>; clock-output-names = "mipi_pwm3"; - pwms = <&pwm3 0 45>; /* 1 / 45 ns = 22 MHz */ + pwms = <&pwm3 0 45 0>; /* 1 / 45 ns = 22 MHz */ status = "okay"; }; @@ -162,7 +162,7 @@ sound { 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>; @@ -171,7 +171,7 @@ backlight_lcd: backlight-lcd { backlight_lvds: backlight-lvds { 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>; @@ -654,21 +654,18 @@ &pcie { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; }; &pwm3 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm3>; status = "okay"; }; &pwm4 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm4>; status = "okay"; From patchwork Fri Apr 5 21:42:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619533 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 56CFBCD1296 for ; Fri, 5 Apr 2024 21:51:05 +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=mmom8UMn2SqZpq8punsb42B1OiYq3U1DhiQPFU2g95M=; b=SNJHGlJW9gSJHa KSQzQ4E0hdUo+MZM1GL54GPk91Ib3NP7oVX74n27FwWfW7yqaCMEgv34H7myYsYH/Q2oYMXLAsV7d SAStx/PR8GVDJTWRlV1TSodJ9vXOTMK3XRJNblLYK9kz3RPPVQXHZj4RuKpu7WWjCzgQNUPeLbzms 7HQY5W8HCKo7BCmqrdpue3kX7Xf4p8oTxKGIiuXGrAh5p9xhD/e1K1VHNhEUxSuNpXsKD6q8zEU6A E14TFPUiKkMoaBWH16iZzO8CHpEjVSSH4D3BAsTpP6sOSVBG+w4hlqpV3O54xlEpe6Dpm7WsP+dqr iMyyFfjl/UX0J8VG/vPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrSW-00000008xR6-0Auf; Fri, 05 Apr 2024 21:50:52 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOz-00000008uOz-1hWv for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=Fpz+qZjadqvfC7k1sYR2J/JOlPfwlvSGJ8Qs4iJj+YQ=; b=EPjAXRdv6EqQP3GB7Aub0s1f1F jUoo5K6Wcuq0QLx7ccyXXZ8+/uq+b9j9CDi4GAzG+Ji/oSz/rBUlmFVdPlgbbAwev9j3w0iGrRnSj /7lnbrzc1qHtZPsiHZOJGsha9aB6j3N0TpBriGcb5P44UfcD4zZ6LCT8zLI3H3l4JzaMQTd7lwpRD G6cgpK3s0fIagjrvAquGSdHdNNrnR3PJiWtDyPTt4REJE9ysmJ3I5pv1Bb6+iTZvKb/7i8D1AzHMf Yv4vU9QqJh2z6r5tduGW1ZlkDfCA0VH+0EROCrRRm4cKNPY3wDvlFjG90ET4YcjZBOEewEQgsTXnf fhhqNeqw==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOs-00000005ryo-2bly for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:11 +0000 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 1rsrOb-0003TO-QP; Fri, 05 Apr 2024 23:46:49 +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 1rsrOb-00Ad5A-DD; Fri, 05 Apr 2024 23:46:49 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOb-00FZqI-13; Fri, 05 Apr 2024 23:46:49 +0200 From: =?utf-8?q?Uwe_Kleine-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 29/49] ARM: dts: imx6qdl-sabresd: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:16 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1453; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=pUrmbnsO39uDudkgwHlbYq8Fln9Bb2kMMcwnyBhi5Fs=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHB+F2ONHZ4/O6Jwxfq3Dqfuf51ZJxIw82cnq aPosF/i21WJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwfgAKCRCPgPtYfRL+ TshlCACne49JOO0Ib+pyzEOy/ZoZLk6eKzkf5Mdng5xGlyrvg64Sydmpe6tp5Y1F/hKrVWec2sV w/quLNa1ZB0OgXPsKiFpJx4GSyh2V08Fu8E0TwOhA5xhpy+HXw3IL8VePck1BLuXvh59VXmG3R+ +4DE0bPmMW276Oy3cHd8qRnJKh0eBNwgpPABUOIUoIsE5yA+DGq/Lx0/fzpH5Ac4P0QgVrDh25g mBDsu5/8Ih19UfL14vrKrBccw4MWkCiU+4voDc6fhOPRfpui+FuEUK2MPDO+K7gDDhZFXtoy9Fj 1J6No/acMejois3MCyy8+eCGllRWALs9UhldAjaZTGe61klZ X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224708_227504_9FFDB570 X-CRM114-Status: GOOD ( 10.95 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-sabresd.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-sabresd.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-sabresd.dtb: pwm@2080000: #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-sabresd.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-sabresd.dtsi index 4fe58764b929..8f4f5fba68cc 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-sabresd.dtsi @@ -119,7 +119,7 @@ sound { backlight_lvds: backlight-lvds { 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>; status = "okay"; @@ -755,7 +755,6 @@ &pcie { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; From patchwork Fri Apr 5 21:42:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619503 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 0C3C1C67861 for ; Fri, 5 Apr 2024 21:47:39 +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=GN4EVViML4AH2F0vJ4oozoCg2L4u6+ADEFYXWvc+BoE=; b=SK9vTBQywqn9qa 5IJ+JWnp7D/60NB82EOSYhkmV7c7h/o5MyAAK32FBM+YshUeRUuezTZEH2Ko4btHzeZG4pIjWCwat PiXzTijS/6Mtfa/O19AgYad92vqJTgA+cJ7YrMlKvWiVfka+lwvwkHaUyWzByjy2qCoeg1Sbq/Zqy 1ItwpnfJKsBLplhwma7ju8aIGtrkgLIJMl1hOj5ndjWnhtlTAoCjvWjeD2BDChSQKikYEvwj8+x99 mK0GCA1ALEUFK+yreZCJH6FhKqbYCMFtC9VWmK6d+DL5xGqwRucqLIt3+SDKKXdgzyviJ7MzTl+bH kGjskrNNqUZ4G4IscdVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrPD-00000008ub5-1sbU; Fri, 05 Apr 2024 21:47:27 +0000 Received: from metis.whiteo.stw.pengutronix.de ([185.203.201.7]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOm-00000008uF7-3mCh for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:05 +0000 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 1rsrOc-0003Tt-1H; Fri, 05 Apr 2024 23:46:50 +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 1rsrOb-00Ad5E-Kx; Fri, 05 Apr 2024 23:46:49 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOb-00FZqM-1p; Fri, 05 Apr 2024 23:46:49 +0200 From: =?utf-8?q?Uwe_Kleine-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 30/49] ARM: dts: imx6qdl-savageboard: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:17 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1323; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=oUwq1y556z0MRvdH8lAKP9CHoVog8+lz6yxpoavu2xc=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHB/4dBtJ7RUCvP8g3BlcYaR/ZjS/v2hzWX9q n/S2xRduvyJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwfwAKCRCPgPtYfRL+ TieEB/491ZEm8HVZeOD3xmaS6wygoZJ1R8+DrWTByaEFwrQYFP+WEWLeqlonL5N2+aHsBHYea1I piRKsKdgp75sEVJ5kxWOohK6E2QGZH8hq97Mja+sUhuF6l9IAqCUsvtkpS364EpeJHb6knQwNzt +luKoSVY9QwdhbSTUXjOLzUGfwQyAS9DtEAB10/bkI4eP9IkVnXQGJ+vHf71SiCmGNvrQctMXmP T7Z72xN4JsAfNOzjFy47MAbcknN+/PmVw4JbgrvlcGuXJSIfSwiEnk2kw92M7X5D39KpJum8TKW xN02+fWqOP2U3LPeVwb8K2mYRFT49QdYGMKcKqJ2cbF3IYDs X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144701_023436_49B23701 X-CRM114-Status: GOOD ( 11.08 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-savageboard.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-savageboard.dtb: pwm@2080000: #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-savageboard.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-savageboard.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-savageboard.dtsi index 02e6d36e85fa..6823a639ed2f 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-savageboard.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-savageboard.dtsi @@ -83,7 +83,7 @@ panel_bl: backlight { brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <4>; power-supply = <®_3p3v>; - pwms = <&pwm1 0 10000>; + pwms = <&pwm1 0 10000 0>; }; reg_3p3v: regulator-3p3v { @@ -140,7 +140,6 @@ lvds0_out: endpoint { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; From patchwork Fri Apr 5 21:42:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619510 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 E1D99CD1296 for ; Fri, 5 Apr 2024 21:48:58 +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=kU6lBiYFBtRoHyMz5ez/Sj4/iE+93dc6YuB8kfhyxuY=; b=0KorN0XFYVFcA0 wqDbS8/GBgXKcx5NFlpzm8vXjHgNFN2lPv2zH3oQ9Yz2J6nTf/UuyF1LD8JpGv/uNZskaTyIiUzV0 FgHEf+n66XNv9nWghybVcx1aHaxjZnD985lwfgsRYin0rxnUhwL3lyx1MS/VF1+EuJ1BYFk4iWanR EWuM3xy4p505hnl/eDLa+GomTl5qCBOPOWECtinbFfhJX8xy9BeYQVfQ+vQ9UOpJSLgpt3asz5JqP 6RjE8o0rK9mcNwPDSsKrYBDX3zcCuTyjcz8pqNnaoq+pryMtMJquBGaweG4hgRqnggQkwoczsc9GW SJm74LSHMkYy3bi046Zg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrQU-00000008vam-1ROg; Fri, 05 Apr 2024 21:48:46 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOt-00000008uJe-0wlC for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=rLPeBGuihxDzy7IZRlZjGtjBnHwWSrG3zLYI8E8mTvs=; b=PZ/kFpJznlafNR0PFu2y04GdZS 6odjoIyXXbb0s/NfmctYH9MCbodiRwmvcc12eEQMlq9MfMbcoLWKjJ6UyyyGX6VCth6U4GH0NetDv CN0uBGY6pU6LUHuVh4QkcEmfKZyurF5kwiDIGjKk91TcwW6DwMAQYb0zgHlqlF3LVwcJglgHlikk2 A/XNdbgE/ZWu7vgSsf4dz92L1CT25wYIXhHxrPVsWe0NIn46gfJuX0DbArGo7hBDybyMDzQm9E5si snpiOK6HJChlEXcCkaAh7/w8ZYB5ZZiLNA5rkdZYF1wElDrO99dFbpWKQ7M3CotwYW9NH/KjcBvYN x+lJyHNQ==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOn-00000005rv0-22Ik for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:05 +0000 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 1rsrOc-0003UK-Ap; Fri, 05 Apr 2024 23:46:50 +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 1rsrOb-00Ad5J-U0; Fri, 05 Apr 2024 23:46:49 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOb-00FZqQ-2k; Fri, 05 Apr 2024 23:46:49 +0200 From: =?utf-8?q?Uwe_Kleine-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 31/49] ARM: dts: imx6qdl-skov-cpu: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:18 +0200 Message-ID: <492484649c1cacd874a2110d3f6ca48b028846cb.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1531; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=+9PTGxWmr+eTAeWWxaedtE/sNqrPdWonG/X3qZvE/qI=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHCGGsOnhZmYb5h1USwSEuzA+CNJ8RDXI+lzz QUgag4Xr2qJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwhgAKCRCPgPtYfRL+ TsXJB/93TgQRMxYE/XFwoG3W6T1ybLZUXFfP8KGktF5KpSXInrSSOP/GTib1ptj5MpV+O1yrzpL cJHUS9EHBfKZ0w0l7D++iO5vH+C830X1fkU1TxNgrRrQe3OzYqhG8gWbQmDBRASxT4sKZu0oYMG ACf+giathsIXeWgvCpVoI3UWuyR+gbfwYQXqeMdPHh4JSUjVTeEUpK0pp46Ks/2U2OOchuYO5oU H8ORaoa4SGEcI33tSvXQtmLWIAel3JQUZnuqZxhfxk057Gnr/vGrf+vmLn07GOR9O0za8g3R1fi XKfVnwqEknPX7gxcWtfXAxlkJ9DvQJLJsA//g2O7Rdj+v87w X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224702_210971_EF946AD9 X-CRM114-Status: GOOD ( 10.89 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6dl-skov-revc-lt2.dtb: pwm@2084000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6dl-skov-revc-lt6.dtb: pwm@2084000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6q-skov-revc-lt2.dtb: pwm@2084000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6q-skov-revc-lt6.dtb: pwm@2084000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6q-skov-reve-mi1010ait-1cp1.dtb: pwm@2084000: #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-skov-cpu.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-skov-cpu.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-skov-cpu.dtsi index d59d5d0e1d19..6ab71a729fd8 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-skov-cpu.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-skov-cpu.dtsi @@ -282,7 +282,6 @@ i2c_rtc: rtc@51 { &pwm2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm2>; - #pwm-cells = <2>; status = "okay"; }; From patchwork Fri Apr 5 21:42:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619524 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 4A0B1CD1296 for ; Fri, 5 Apr 2024 21:50:07 +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=iyYK+ECsFNs4wmPevGO4/6HnbMxKgbXJzyFA28whZFU=; b=OX4B4WzCOt24gi EjW6DAttsmXdpAkJ6ULg4ZFX964aEDe9b/9S2WYS3X2E8wWbPo/XX6E9bTMopeaNGQXTJvCWow5OR 0d+P81zWX6ILXY866b4qKerz2eKZx3vWwmC96eHj6/8ufdS/ivXckIwG9BEeoRnniE9FxxDKJHBau Mr2NihLQ6goF2iBffqotUrsrwiUit4UmQPFT9PtnF8k2JruEtBj7XxI12EdcJAglBBQRUWUZD/WYj 1JYEqgbzgwiNWkeAWOC9mn/o0qa9lAncWd5Nu+kh14uDW6+lKXh8NqtI6DeEmeXKR5UPW8/mHsOg5 qcB3nfz9cMCyn8WKecaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrRT-00000008wTI-3nzz; Fri, 05 Apr 2024 21:49:47 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOs-00000008uJ2-3Xzv for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:10 +0000 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 1rsrOc-0003US-Hw; Fri, 05 Apr 2024 23:46:50 +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 1rsrOc-00Ad5M-4I; Fri, 05 Apr 2024 23:46:50 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOc-00FZqU-09; Fri, 05 Apr 2024 23:46:50 +0200 From: =?utf-8?q?Uwe_Kleine-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 32/49] ARM: dts: imx6q-kp: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:19 +0200 Message-ID: <1cd7b694e61c5dc0e3723ba3c8123126204fe4d4.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1599; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=IgGnx0U5jXERscrzFX9q1Tjj/+pa8Pq80jJJZOrH4Qc=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHCMCu6Bdv0csWFfLjC2tcU3lx/fvIyCHxa/f tfYjJI3y5mJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwjAAKCRCPgPtYfRL+ TjqHCACtcui0vPKypqpXzhnR/zQ6jPB246m0zbDLX1OxOYMU9wdmmmTHbcHw9IatqIE5mJkWkvw WDYiCV6s29tur5YSkk85xr8UCQ5boUWsenYoeU5iznbncP21CCb8z/Xnkxip4jxGxB293vWpB5+ j2NVyOIkvKH8AiKUOvDeYGWKkhgMrWoKcBAtE7Bv5IzvEFrQwgqf/34cEruqdEjXZT2MLPl7sVm duv/E5l/kaM15nJp4Jkm80uYmr7mu7x4whwNHAG/2ZjotdgIC9cqzlOYJg+7WsUKOvmgfbCkRh3 OnCL7Iuro6n1e2AkNnOfPkpzVlBL4WUJmh5hZWvfJe946HGY X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144707_233369_0D8DD2C1 X-CRM114-Status: GOOD ( 11.60 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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-kp-tpc.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-kp-tpc.dtb: pwm@2084000: #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/imx6q-kp.dtsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6q-kp.dtsi b/arch/arm/boot/dts/nxp/imx/imx6q-kp.dtsi index 091903f53a56..c425d427663d 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6q-kp.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6q-kp.dtsi @@ -15,7 +15,7 @@ / { backlight_lcd: backlight-lcd { compatible = "pwm-backlight"; - pwms = <&pwm1 0 5000000>; + pwms = <&pwm1 0 5000000 0>; brightness-levels = <0 255>; num-interpolated-steps = <255>; default-brightness-level = <250>; @@ -23,7 +23,7 @@ backlight_lcd: backlight-lcd { beeper { compatible = "pwm-beeper"; - pwms = <&pwm2 0 500000>; + pwms = <&pwm2 0 500000 0>; }; lcd_display: display { @@ -378,14 +378,12 @@ MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x17059 }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; }; &pwm2 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm2>; status = "okay"; From patchwork Fri Apr 5 21:42:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619513 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 EA150C67861 for ; Fri, 5 Apr 2024 21:49:06 +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=tlwvparNrGqC9L07gDedEDbBN8sFATcxmGaq6YdRk94=; b=wlHv5oscjfpUPk x6APhJDXLFwLcEFVTV3Vun5c3yLsOTPbzmR4g6iSOIXGkt8FpzRgwoqFT4pdz6iaNROKQ4LgenmLi uK39IICOZ+QHf+iX2TogLjPXAH+3wuBDFfFHqqVQ2BElYXDnNMrbrsHrKMALQOcdOwWp794WfX9pC eIxdiT2mf5Reo4Vwau6E1u6eR4nAUZNNRPbVQGxblQYYxP32GhQgIn6IQOLJ6QxEAfwMrtmOHNfKU +n35MieDpxPeZvtRInodhlfrr8vC85Agtz2Q+L1vLUGn8r04euhAMhhSmdjYjthAECRfkZvy9O+s0 UoR++/DCFNDuEVz6xx+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrQZ-00000008vfF-430t; Fri, 05 Apr 2024 21:48:51 +0000 Received: from metis.whiteo.stw.pengutronix.de ([185.203.201.7]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOm-00000008uF8-3fyx for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:07 +0000 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 1rsrOc-0003VH-R9; Fri, 05 Apr 2024 23:46:50 +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 1rsrOc-00Ad5Q-CL; Fri, 05 Apr 2024 23:46:50 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOc-00FZqY-0y; Fri, 05 Apr 2024 23:46:50 +0200 From: =?utf-8?q?Uwe_Kleine-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 33/49] ARM: dts: imx6q-novena: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:20 +0200 Message-ID: <229236fb30b2dc8c02cb29dfe47104f64763535e.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1059; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=QCnp8/vcTEF5DWmKmqdD8OEXRdntgjrsEClGAbtgngU=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHCS8cFap7V2+i85mzaKgxZ+YmyTjh6vdQ9CG TBhR896IMuJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwkgAKCRCPgPtYfRL+ Tu28CACoWpj35l2psQpjRFpAqDPyoXcXWStOePCbm8dGJU8Su88pF4bohnF1ojHupaXLUVrgIRt D6Wah7hR74R3DRV/LfwD4+5a/e9B4LCzb+5J3kZr9QAFZpR2L4qlyUM+zlEM8whflPBOKdsZxwx RKQYICtsA6PkTTPZGXR/u3/DhXIm1ntkTfcO38siQh4LraVBLmY62VXt/CEpaedS2itTMjq2XnF 5SEK/9vfHSOXZJAd7PVHG1sRKZvtx/lPSPbfTMU8eGD3TSVkG6EFGQf6SWD813q/gunA0qOXr9m RzH65qUxFSp+W4acnPlejhdkJ6t5QiOkqzLhI7WhGKOE1SUg X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144701_032594_F670FF6E X-CRM114-Status: GOOD ( 11.45 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx6q-novena.dtb: pwm@2080000: #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/imx6q-novena.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6q-novena.dts b/arch/arm/boot/dts/nxp/imx/imx6q-novena.dts index a7d5a68110fc..d392b5bd2eea 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6q-novena.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6q-novena.dts @@ -67,7 +67,7 @@ chosen { backlight: backlight { compatible = "pwm-backlight"; - pwms = <&pwm1 0 10000000>; + pwms = <&pwm1 0 10000000 0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_backlight_novena>; power-supply = <®_lvds_lcd>; @@ -465,7 +465,6 @@ &pcie { }; &pwm1 { - #pwm-cells = <2>; status = "okay"; }; From patchwork Fri Apr 5 21:42:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619567 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 99CC3CD1297 for ; Fri, 5 Apr 2024 22:50:14 +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=BMw+mw7n6KWlh7Iyl7KzCAIt72jO2Lg1PCo0sOmT8Kk=; b=M23p847yebmNJM +lEcyBU2jg4mywm6nT8NYZjD0E9jMTh5G4lcg+q/+amOF9ClXJyd+XloUKEvg9QJ498GP5G4Ra45Z WTPZeRnHcRxve9T/rvCOk63RpVr5u50bxn4OPvI1zfbvF+QJz5GGLo9PNpRtnR8hXytANGBJ/Lgpz LwYpiMqJNdUT2Q22XPz01IeYIaZpd8nIF7l9T4bulsrfp01ZwopbhPrzn75bCZMFeqw0sdU9h4SzJ CWqQM3R0mc8rsZEhZx7kN7rt5vGGtvUwcmqIH+2yjNh0oBm+WEydBFzfzpohoCKAm6wnczSNKHOfb w0vpMiFAzf/6TUiZEfVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rssNl-000000098bT-2GHE; Fri, 05 Apr 2024 22:50:01 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOk-00000008uC3-2j5C for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:00 +0000 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 1rsrOd-0003Xx-B0; Fri, 05 Apr 2024 23:46:51 +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 1rsrOc-00Ad5U-Ko; Fri, 05 Apr 2024 23:46:50 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOc-00FZqc-1l; Fri, 05 Apr 2024 23:46:50 +0200 From: =?utf-8?q?Uwe_Kleine-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 34/49] ARM: dts: imx6q-pistachio: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:21 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1137; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=oSEa2gyMcGIfhQwmaPV347eueIBz6gl9/RjTI336w9c=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHCYHojXZwL3pxLiEyWyfajKznlUe/hWL7DxZ Tvw4XI0PZeJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwmAAKCRCPgPtYfRL+ TlfCB/9oMJZCZJLaeRFIc2hdhidMhFFoZGge/qwrAbqejvsYiywWcf8rJxtmOSghFdwhcILCdoV B1tu8UqnH915aKKe29GrzmkNnFjC00cEqHS4JowK2Z4+9N+z7RkDh4WQdcMkZAb6BvEm20j1zt+ bL0rxe9be5T9osBPsG8Zd9lyvjyqqiytRAnEnaIEaZtNiLw0Dar0r7CWQI2sK+lYGnIGylbRYNM 4D3Ex5iTl+RqgBiM8yiwZUuaq1fJziKI4SJDRD+4zRStGbemMLpX9kBx96AA9ymxnSQ0owuj+qa isgBhvNd6JxUe4Wu2ASRXveI9wanBqX9u9ybbQxfgFa9Ncma X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144658_714569_826BB0D2 X-CRM114-Status: GOOD ( 11.47 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx6q-pistachio.dtb: pwm@2080000: #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/imx6q-pistachio.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6q-pistachio.dts b/arch/arm/boot/dts/nxp/imx/imx6q-pistachio.dts index 46c6b96d8073..56b77cc0af2b 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6q-pistachio.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6q-pistachio.dts @@ -124,7 +124,7 @@ sound { backlight_lvds: backlight-lvds { compatible = "pwm-backlight"; - pwms = <&pwm1 0 50000>; + pwms = <&pwm1 0 50000 0>; brightness-levels = < 0 /*1 2 3 4 5 6*/ 7 8 9 10 11 12 13 14 15 16 17 18 19 @@ -571,7 +571,6 @@ lvds0_out: endpoint { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; From patchwork Fri Apr 5 21:42:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619522 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 1AA35C67861 for ; Fri, 5 Apr 2024 21:49:43 +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=yxsKqmwBBxgDQO+OF8hzxi0B/xDqhxNIkPzxnOnSMEQ=; b=b3kxzfr6PRA9ux I5dbmkE4m36ZPKmZmeukvEvQEp/LFyy5Bpm//xmctu2YLj7O0n/AYEPjh2jPbS3rZhku096WOApdt 74Uty2T7QRV08dzGT0uUGJr3lzGwOTeXjf+AxnRLbJn/9b0u0DUeF/Z9RFXd5Pw7UlESF+bXOqbgP ab9x64Xb945SZ14PQcr5BUEYKw+BnMlxvLoz/DyMGAVfG+bg2hH0wP7waAGtVweJ4EeEJ0TnNRAhV b6gLvb+05120hWF1NYVH5tBBsuAdDLNlSrmMdNTDEA65TqPgBrMbxA5Ktf/P+Uqw18YU9qQMD2hHI 5zehcC6qTxX2KySTU05g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrR9-00000008wCL-3UyL; Fri, 05 Apr 2024 21:49:27 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOv-00000008uMb-2NAy for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=8uEkjY0ahZpbCGXxDCJEIqsRgK1pGctkzVqbyGaAuMw=; b=JJsMST+srxsTXO1fuU5M3t6IvZ 9HTgHMWph1jghhBuffJHQx1TKXH9CU0dfKmUFBuWRmL12T/DBgBb7K+N7UE3l3tggQY2Fnw8DUDNE Ja4ELHT19UZD3cCx63kXD+cIQD5FKZCW0R8P6HR7IxJ9WzIq206lQYmmYZ4ucfWHQU7f3WFIjJYzx Vi6H3tGDXW+e5LBQp5sLuObamnE+sbMMbsDxhP0gYzA0wQdcOFmnXUaSkuVYQzZrKTRpDSxQSyBGR tUw0hoUafDWLHkxoWooOc0i7UVjCiCt6Rw0oROsfd3V4Ic+6VSrchW+eByS3+3DPjpej0gLfhnnnw 8exB+fLw==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOn-00000005ruy-1tPB for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:07 +0000 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 1rsrOd-0003aV-OP; Fri, 05 Apr 2024 23:46:51 +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 1rsrOc-00Ad5Y-Ug; Fri, 05 Apr 2024 23:46:50 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOc-00FZqg-2m; Fri, 05 Apr 2024 23:46:50 +0200 From: =?utf-8?q?Uwe_Kleine-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 35/49] ARM: dts: imx6q-prti6q: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:22 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1171; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=bH++HWYMNHgTpSByhI5slzIbvvBkJazh4l+4PdaJ7FI=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHCejX5ULtsmgO5r/1BWt6yq5sj6vSMcJ3yXf pJXS4hSDemJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwngAKCRCPgPtYfRL+ TmJ7CAC6kN0n1vz4Xza/btjMaWoZgmzT5OAzFh5Q+kshhzyjIP7m9FoBhV4R7p6mioZO8UlH+tF k2PWUcT/IulGSXGGBkjR8IOdp8PrCgAfFalfJBfqWkb8JAXzD2WKDBRoYHIyx8ETTJu8Hr4ZqyM IRyVdNkR8QPsALHG4DWRvVKpgyMrOj97G0HWEQRGA7Pq2SSox+wrmCogy//8RP7C+qZ+DkgAwZ/ n2QeWPvWH6CX1DqEyOB3JCfaeZEQzGN/IhsIjcrwFcBXxdgH9qfneXIuYcf3Xlwp8n54X4cDG6G PKLyRyDpw5gnygZmUat8JYfycd0r5tyEKIJG0pjRt+SLI9GD X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224702_227408_DAE23988 X-CRM114-Status: GOOD ( 11.32 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx6q-prti6q.dtb: pwm@2080000: #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/imx6q-prti6q.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6q-prti6q.dts b/arch/arm/boot/dts/nxp/imx/imx6q-prti6q.dts index 3508a2cd928a..a7d5693c5ab7 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6q-prti6q.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6q-prti6q.dts @@ -22,7 +22,7 @@ backlight_lcd: backlight-lcd { compatible = "pwm-backlight"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_backlight>; - pwms = <&pwm1 0 5000000>; + pwms = <&pwm1 0 5000000 0>; brightness-levels = <0 16 64 255>; num-interpolated-steps = <16>; default-brightness-level = <1>; @@ -292,7 +292,6 @@ &pcie { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; From patchwork Fri Apr 5 21:42:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619531 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 D18FCCD1296 for ; Fri, 5 Apr 2024 21:50:55 +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=ViX8t/x0tbwX1pTfIKpkyo56OzjrqKrFmH5Qco3uY9E=; b=c0IiFF7qhpjTDs jpQuI3cg2rjHIr4R+Vt6OiDO1XSrLsCcnqpxxTpND+iudCfVUEJQGQpVd/WyVl3pL6UDPJNqPYAld sY4fezKmYp29A3lQjZEQ8kKMJ0pnYNqauels1p7Qw4T8swrkjDdsm9JpsChyaNG4uHd3Eu/0zO5Oz LGjdpp3Mq6+Xq3IARjDwKOvtxzBDce3O8/yzRJgIBe9WIrNlfGtHSAQF0Yn23pwBaLjAkBFCjPO/7 6CPr4wVrcdRiq+m5AaekBs71RS6Ln9fXF8QZ/aEweLLmjmFmzhRXwq8/XAGX+hQucVtld/+UF+qUh EwJC7vKvfQyIy8wWF18Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrSL-00000008xFc-1yqx; Fri, 05 Apr 2024 21:50:41 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOz-00000008uP2-1nkI for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=JnVFP1URsc+AxSqIKkk0+HdCeCbwYPdjx4iTNC2PREA=; b=I2JMlkDWDuzz874u3QCTrwrGT8 /CVOWn5MJAOis2igg5+ep9dT25+Kxk+upxi2kMsql//7lLtD4/9V5+BI+ANMQg+bTrfXe2WrvtRfn sHIJAMPJkMNvuf7UEN2k02a1uSSNcQCI85nMTvDQxgA4eNxOa5povYZOynkXAkvGL/9mCJLm9uOky lm0jXhNs7c6JgL/JnTNfs66wF3CNY81NlF6r1k53Wxz8T06ir5VA8mFLHoP38EklwRZ1bkF6atWS4 KDr1cQbPB+O+57LUMSeDpqr21X0np8V0APWdIS2vdxKHlkkEYzrhay9MTzqn99zbNnR5/FGH2D/+K FOvtUaJw==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOs-00000005ryk-2Dhp for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:11 +0000 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 1rsrOe-0003cv-6A; Fri, 05 Apr 2024 23:46:52 +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 1rsrOd-00Ad5c-6B; Fri, 05 Apr 2024 23:46:51 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOd-00FZqk-0M; Fri, 05 Apr 2024 23:46:51 +0200 From: =?utf-8?q?Uwe_Kleine-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 36/49] ARM: dts: imx6q-var-dt6customboard: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:23 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1134; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=y6eVsjv5f+50I1RD+pxV3joqQI5JN5tMCmsNYdVXcrQ=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHCfme+Hxj5ztDWgKjJgySGNtpbDqqRCO9UqO PLSLHKF2IeJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwnwAKCRCPgPtYfRL+ Tsp2CACaQH3cqdAyFuw/WqPxvdxbpUc1aKKU/aTEwJPKv1mfzD5ISfh1EpuhnRIao8x6EIDoEN6 XdZ0Omi4HGMzo9GsHIBj3ggV6ntqxg+GPFgnwTbtPQK6KnU/R7yfgnn+znLwrNwQWQv9+3Ex98M 4TTPXonZTtgdD6+4rvnO39RBeJryheVcDU6/dxV1/fIGWMQaFiKgAapG+L03/i06Ja2JFbQNvNN 2sb7rkVzAOkjVfRTGslFF5ItiZb0CEf1kVqkBDlkVvij7enRWGBSItCeG8aU/kmKr0+60BNgf1U Vm9VWH+7uaxO22Cwwwl79urgJepVxQ8YWnw+DATqvOK4HSnr X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224708_364115_8D8F2E89 X-CRM114-Status: GOOD ( 11.45 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx6q-var-dt6customboard.dtb: pwm@2084000: #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/imx6q-var-dt6customboard.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6q-var-dt6customboard.dts b/arch/arm/boot/dts/nxp/imx/imx6q-var-dt6customboard.dts index 2290c1237634..0225a621ec7a 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6q-var-dt6customboard.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6q-var-dt6customboard.dts @@ -18,7 +18,7 @@ / { backlight_lvds: backlight { compatible = "pwm-backlight"; - pwms = <&pwm2 0 50000>; + pwms = <&pwm2 0 50000 0>; brightness-levels = <0 4 8 16 32 64 128 248>; default-brightness-level = <7>; status = "okay"; @@ -203,7 +203,6 @@ lvds1_out: endpoint { }; &pwm2 { - #pwm-cells = <2>; status = "okay"; }; From patchwork Fri Apr 5 21:42:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619502 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 B0925CD1296 for ; Fri, 5 Apr 2024 21:47:38 +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=tLWPMYoyl2gPGOQLRAp8FCl5RTu7yGe38wwe7r2hXOw=; b=oQ5KYPVKQaGSYQ dPDoaLcDW1cHcNM9TFkVGyoIxDkI6YoU0fZAM5VHhgprSepy4tI6keJqE9VaI9mGobEiw16LEMRjD mEWt0eLwahi0cm+haDo+WPXkJsmnerbcSfQvsuQ0q+jeNYjcfXqXYfnHAs6oCfg8nte6gTwCXs9tv fBBZis5eCsfIfi/HpMYchkTUXne1sc0nsv6sWdrWW5TfdWAuO6FkdsZOANrUuB3fxh/ah+M0P/ibP eTGxDPPCdP+Mt6WbzTgb18GMkbFn32VsrNbC34S/M8k4uDjuycOz7lChXZOseremwGNSnUxgEHd/z N93zYARLyxr4is6CYGpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrP9-00000008uYZ-44up; Fri, 05 Apr 2024 21:47:23 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOl-00000008uCG-0gat for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:04 +0000 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 1rsrOe-0003f5-CR; Fri, 05 Apr 2024 23:46:52 +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 1rsrOd-00Ad5f-Dr; Fri, 05 Apr 2024 23:46:51 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOd-00FZqo-16; Fri, 05 Apr 2024 23:46:51 +0200 From: =?utf-8?q?Uwe_Kleine-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 37/49] ARM: dts: imx6sl-evk: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:24 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1287; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=yZmDSTPhZOvaL6jQ+Hu5V62mzOUAeZvk6Y8wqKAZzdo=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHCmg9NAV7PtBonIgi2/BnIiec2Oknlvz233X VksSbkb6n+JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwpgAKCRCPgPtYfRL+ Tl7DB/43uULPHapISVDYRKOMCAXfOEp6VRmKdE7njMICQpNi+XVFjulQ20QFe1TG+yr6y/Dc+L0 xq/YUIi0ALPXFDgrrZQqS7t3Gyffq4B2mSlTvyPSQGtCDcU+uv6pFKJso4/BT7loCcL4yLRkBrM mYkNeEGDnLd+BDlJtw9ERqRaqaLeOiiG5WXcowiRfZA7dfBnDkD4+i31Ni31RPt663XBH/sTTwQ WjbIK/Nx6s4utLsRHG3Lozsqg5V0Hc6FybnvEolesIQjLokI8OIMVThnS/VUZKUBD0X9GPeItAm ETtZXlKFERLfb+4fTX0GPhavG2+Zuo7Lsz7l1kfHws4Ugem6 X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144659_236286_8A97CF05 X-CRM114-Status: GOOD ( 11.13 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx6sl-evk.dtb: pwm@2080000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# There is no need for an explicit status = "okay" in the pwm node as the soc dtsi doesn't disable these devices. Drop this property, too. Signed-off-by: Uwe Kleine-König --- arch/arm/boot/dts/nxp/imx/imx6sl-evk.dts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6sl-evk.dts b/arch/arm/boot/dts/nxp/imx/imx6sl-evk.dts index 239bc6dfc584..31eee0419af7 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sl-evk.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6sl-evk.dts @@ -23,7 +23,7 @@ memory@80000000 { backlight_display: backlight_display { 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 = <6>; }; @@ -584,10 +584,8 @@ display_out: endpoint { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; - status = "okay"; }; ®_vdd1p1 { From patchwork Fri Apr 5 21:42:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619574 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 C8E24C3A59D for ; Fri, 5 Apr 2024 23:05:03 +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=BRRNGfPfHEzOQIR/6Xv0+d0PMwNONmcCwN4eMuCPhkw=; b=y7Y+Id6b6+nAsd 5SC6NnoVxLzA65eE1TmwpE4sc8nObFisVhbPI1QacjfnAqbPv074lNFRgm37XJejlKf7lylMcvqo7 biAuyatyU7CZFIxBLPZ0uXPy7tm8N/JB8eoOyhgJJykPvDE3rvFD7U8cvycj33CqBac1gZwdC9DHx Roe3pZ0ICCzAwQYEcHM0ZQRpIOd+XZeqszGRmJzi73FAoDOVsH92LhVcfGOcz+q9wo6KfWwZZxcL+ bNJOg8/sXhgAyimPCbDUDqR8zLunIkFv52uoIPLp8tkvAXbcO9C3fW2hhkwANMbATNdnoNX5+r1Bv dLT2XqM7EGeyhkw/gM0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsscI-00000009Arq-03aP; Fri, 05 Apr 2024 23:05:02 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOz-00000008uP0-1gJ6 for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=Bu9FjsiHwV/IQsRcyQhnTSSxHaJ7Ny/kC/Q2i8OBrQU=; b=Hp4mTeYWfbmRvY3QaBVs2kqXRM 0MCi6SFJj+vByi7QwXcVyWlPxtaoAB1mbIhsXAYapyLRdPU9ioROZ0DkhsKi/OIWWM/hMtBQyTqmW C+KmElwq964UOW93jTgBAfDZLtbugXWMeociS30VTwHvP/c9ypmJIBAheFqnvVqjutYqWHl+9BXq0 1cwtgxQLfK9MWoDa/q+LOFqP64tUU1+wJlhnlM2Kpcp0JpAcQiyETcydmvgaFvL1cUAxgcTDHMc/9 CdPcYLyAnkxgwK2/6FwEEObdy4hGpNHqVDK9aevpwzXU/m6NNvH4QVEIyXpMI+7uZdunoslZ/Fo8N bfYU4xhw==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOs-00000005rym-2ba0 for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:11 +0000 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 1rsrOe-0003hO-Jl; Fri, 05 Apr 2024 23:46:52 +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 1rsrOd-00Ad5j-Lu; Fri, 05 Apr 2024 23:46:51 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOd-00FZqs-1u; Fri, 05 Apr 2024 23:46:51 +0200 From: =?utf-8?q?Uwe_Kleine-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 38/49] ARM: dts: imx6sll-evk: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:25 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1309; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=0dYl1SyOidFE2v7fVyYEZ+EClZfh/dUkxtDv1eKQvQo=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHCsMqZnBgKoCLHGXu+yPPXh7yVtYkJ8JSMoe SYXvaXyo0CJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwrAAKCRCPgPtYfRL+ Tq6SB/wLgWKq0+7sflyws74XETZIvf1enpRx4hzC5MHWdPiqlxQhzVhjsOcOxjwulq91EbObC+O phCLAzNvaTAbD8BPjDKyHhCdcR2lnVmdBlgpT1X4sZYN3iXxQDjmk8f+9+bm8d82pq96L+c9sUw svio6j8voHLFAggyumpW9WBDrEkqd6rO+pzaDufzQd2j0vb+mMBZ/8wYqbl32WVnio8Nqxo2MBt HaqWL8tJ9phw1agvUYzjuvvgKarEBy6UARe96vK9loo55m5VsLtmBVe5TI6T22HFQPnwKD4GqXO ywRLFjqRzf3XDEvrDUaBFnptbXNDFWUPxibSvD29yMlqz+xj X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224708_343082_C92A7409 X-CRM114-Status: GOOD ( 11.10 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx6sll-evk.dtb: pwm@2080000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# There is no need for an explicit status = "okay" in the pwm node as the soc dtsi doesn't disable this device. Drop this property, too. Signed-off-by: Uwe Kleine-König --- arch/arm/boot/dts/nxp/imx/imx6sll-evk.dts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6sll-evk.dts b/arch/arm/boot/dts/nxp/imx/imx6sll-evk.dts index e3e9b0ec4f73..febc2dd9967d 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sll-evk.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6sll-evk.dts @@ -26,7 +26,7 @@ memory@80000000 { backlight_display: backlight-display { 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 = <6>; status = "okay"; @@ -314,10 +314,8 @@ display_out: endpoint { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; - status = "okay"; }; &snvs_poweroff { From patchwork Fri Apr 5 21:42:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619518 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 5F16BCD1297 for ; Fri, 5 Apr 2024 21:49:24 +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=Dq0qeCKCpAzJ7CgGqONiKYSxDOEofsdJWicqSY+ws4E=; b=sRApmAGDjRY5nk 8h4g6MnrHuH6TBXZjO1sPkumUbb7EMfW/Ezhz/9nY3qWHrl7LmDgg1DdDvHfiUIk7CnE4O+4kvQ8j N6SDOuVxBsnQImspsp2OkKZ0KlLSEXBZBbUUEXVBCYDWSXHkxZRWBhRvERdUNVEFSYQuD+DQA59qE Vr9RFsIbtTVUiX+/w3co+1nRCcS357IF+goWJ9f7jPKd+qjG23d60QO1OtrBEs1gq6FRCT6BK57GT V8FRDeIa0lyZFWEAfWzT/gq0ewYUX21x7yo3BRtPkOjJyQwQ97vkmt8PD62x4dFgv9oHajtmmFroY BdpmLyonKdsdQZSThoGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrQu-00000008vz8-47Il; Fri, 05 Apr 2024 21:49:13 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOv-00000008uMc-2TRb for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=amLLCmqwRKK8zQtqZklOM3/VjVi36UUTsXW7OarZUTc=; b=mDB/ZSYiJ7jmRj2LegGEyitMq1 gshTaLMA8Tisiull2jaPp7Py8Zx+Xq0QI+AIQU77BYsvf1GRyogt4ek5S3ATIEHGwFN4JTTnwRsBb 4Em16Rt//gwkBJOacHvloWSSBTP/bGOGMNGRMcwtiL7lMgqsvjCgntPC84wmMPceHvrC8yfTrwnq0 aF4OjZZWIEcFewvZ/dSdBqkZjuD93F+77aSslJturxP02snfvMztVQHBWO4IgPLxgy5IyWb+qrkoM AnMcXumkeVqQwK1UQs/u6SN+RsIUk7RMQOLJep6MoMGHdtL6K3pAVe+xcx1sZlXDgehSMpmxJJL84 58rZ7yUQ==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOp-00000005rxX-1Mop for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:07 +0000 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 1rsrOf-0003km-QN; Fri, 05 Apr 2024 23:46:53 +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 1rsrOe-00Ad5n-0U; Fri, 05 Apr 2024 23:46:52 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOd-00FZqw-2z; Fri, 05 Apr 2024 23:46:51 +0200 From: =?utf-8?q?Uwe_Kleine-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 39/49] ARM: dts: imx6sx-nitrogen6sx: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:26 +0200 Message-ID: <8e5f111b623d3bcbfc8db7aee5093869ae156e8d.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1315; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=yTQyp79k9Cxy3P51p6QbIbBiRFavo6CkKPDMxUm+pM4=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHCyWnhNrpxQ8gB2pIDjcwuH8iRw9K+30vvu9 iOLgQvhtVyJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwsgAKCRCPgPtYfRL+ TlVoB/0eLmeRNdjqJAUEj3XCuIRwtKkRYg2Q2HCZMJAPpf6e5Ei4lUR0zgb9gp5BM0CyVDLKFKE iW2xgmEU5TZYpmWdWUWgunVf0uJYI39hZrCfQuGEp6maboOaen377nGarkmcV6jh4spDgE55kv3 MAiKgUJHDx2SEq7MzJbircFB7Hrbew9Q15a8zlBc0PZaGlk1iheZXyqsujM6qLsmOnagKE2/8Ij OGkOgTi/kPBFwMeS1upEseYDYjRaF/8QR+3LFk68YO397zvGit1+5q5wq8sp0xI4RfaMheW8aUK +EHi9UcSHHSwFa197RIxV5g0rDhmQcICMIUuWAmSpHVnzt8B X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224703_573881_0DD2DE65 X-CRM114-Status: GOOD ( 11.08 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx6sx-nitrogen6sx.dtb: pwm@208c000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# There is no need for an explicit status = "okay" in the pwm node as the soc dtsi doesn't disable this device. Drop this property, too. Signed-off-by: Uwe Kleine-König --- arch/arm/boot/dts/nxp/imx/imx6sx-nitrogen6sx.dts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6sx-nitrogen6sx.dts b/arch/arm/boot/dts/nxp/imx/imx6sx-nitrogen6sx.dts index cd9cbc9ccc9e..8adc2b362ab2 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sx-nitrogen6sx.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6sx-nitrogen6sx.dts @@ -18,7 +18,7 @@ memory@80000000 { backlight-lvds { 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 = <6>; power-supply = <®_3p3v>; @@ -229,10 +229,8 @@ &pcie { }; &pwm4 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm4>; - status = "okay"; }; &ssi1 { From patchwork Fri Apr 5 21:42:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619528 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 36128CD1296 for ; Fri, 5 Apr 2024 21:50:34 +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=VEa26B07MZ1e+lag42JKyrv/EetVHPcsEYcCn+Qj6kM=; b=H1GtzTL9/r54Fy nUS9DtQTU0hbLIkiOQhj2hLptqD6/FaQF4VxJuXGHmNNJ9iHVRI62nwktq+KqNGsUArALLfcxb+mN 2J7E7c+VyzqhdaZf/dGTQUaZYzKXWyPyUi9SAnvtaeXB5n0khRbALDnC/2duamz9Q8Ro9cLxXsXTL oM9Txb3SJkAdvjhYrkYBuFgz8+LnQfWQGv5+SLMsLNw0ZhWLMXGIgILC/bitzf3sPLrne8mNvDQ1F 7PHJgYSNQi3UjaMdMtvzK6JSh0O7+5Jj861dukgVeBOWETj9LBr2jug1k9/6w34mBYdlEw1jFJ9QM 5y8d2T7LWthSRl2iNxew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrRy-00000008wt4-0o1d; Fri, 05 Apr 2024 21:50:18 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOy-00000008uNv-18LO for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=1Wpw3M5hJ8BHOzO9hcnvtfv+Z9GjVhOKUT93yVH/Kjc=; b=o2lC/q0c6lfFfpjRC/5grdjHHb MF2sG8L+oIM8GT2XI1i290lVtOeyzQiDDzoHUG1ENr+jGM8oI+IIMJjBjZfTgkjsZNakNnURofHMz jE66MkDwy0B+tnhnytPpYtN3FhFmyGcR5o6e41pR63VfoKHkvWVvI8Umzi5pAvwXhxClXInLEePtR 9eD9x0jzEME22gP8iTJGKDHe5SCx7uMBrQBPirI661hzKxD2ryWvwQGunPEbBRnb8RNLKsyAZsmX1 Rqf4ffinl30VBsiSquym4wvhTt1E7ZUvsxcESUJEiWtS2JoBaBL/vtEP9WBwewh681Zx1fW48e2HY +xtaySLQ==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOs-00000005ryi-1dvD for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:10 +0000 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 1rsrOf-0003mT-Vp; Fri, 05 Apr 2024 23:46:53 +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 1rsrOe-00Ad5q-7C; Fri, 05 Apr 2024 23:46:52 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOe-00FZr0-0R; Fri, 05 Apr 2024 23:46:52 +0200 From: =?utf-8?q?Uwe_Kleine-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 40/49] ARM: dts: imx6sx-sdb: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:27 +0200 Message-ID: <29bc6a51cd97332841aa0b9440a9f5a9d0f9e192.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1766; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=Kqd243GyUTduLX/W7h4QzRsNdBvL5rd9rAK4JCl0gqA=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHCzeMGMW7AB3hDtN20qqOUnVBQTm59cc6IZV x2j7Ss7fkWJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwswAKCRCPgPtYfRL+ Trm4B/sE4cwxSe4CZQsAHm7U8j/dSVWdROqQIIYh6mG0XjgFHQhX36TApmkXqPO6lmRPXCY8dFP j0D8TJWnyhTadM79lK6Frb4Kxp1AR4vLUTfXK3faB7rwWRFZ5LSh/53gvK4HaJg7mVqWNHptnjX hxZyVpBzqdlqcmgd2PjXyFu6AMFFiD4jvl0FhFbeeOSfChTp3uuHUJDPonsYS4ABDrDJvnxrDao q+chRbiSmWUy4uhCCuMTBP2pxgy0G5X4a19LDeaID6NGZzvXTiLoxyS7tB+qOC3iA+I83jRlIrJ lDZsGakfITKbIO1lxeNQU71B+zH3bAA/QtWTnvfft8O4pt0g X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224706_772796_2B986A3F X-CRM114-Status: GOOD ( 11.41 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6sx-sdb-reva.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6sx-sdb-sai.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6sx-sdb-mqs.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# There is no need for an explicit status = "okay" in the pwm node as the soc dtsi doesn't disable this device. Drop this property, too. Signed-off-by: Uwe Kleine-König --- arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtsi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtsi index c6e85e4a0883..0c6ed5f988c2 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6sx-sdb.dtsi @@ -23,7 +23,7 @@ memory@80000000 { backlight_display: backlight-display { compatible = "pwm-backlight"; - pwms = <&pwm3 0 5000000>; + pwms = <&pwm3 0 5000000 0>; brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <6>; }; @@ -295,10 +295,8 @@ display_out: endpoint { }; &pwm3 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm3>; - status = "okay"; }; &snvs_poweroff { From patchwork Fri Apr 5 21:42:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619527 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 6B3B1CD1296 for ; Fri, 5 Apr 2024 21:50:25 +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=cnztXUFeYmSUvMJtcB6t2/udcUJnPsZ29o0RkXPN6fg=; b=tgl6Cu5qy+eAqL xsTxwzoyiS8Us75YywW2qGJ/kBEqAhraH6ruF9ynqRLk/Xi7kN6Rq3Tq7VJOsQXOs6Rf36P/nng/J n941BfzzjwQYHPvu/+s8e0p4/TZkjQUwVzvbfkjrtkZ0rtcLp+w/dX4Shqvgwbd9MdHkkKL1+eGHj qIIL1wZAYAykjG2JezVy//vrBwM1nTr3lDwE04jq5lxpS6H2spuRGVSJa61EqwKTw9SyTi+bzLs8a LeWEvfYB65r7adjPH4wuTue7R+Ge2BLNNUuXn7JPq6nlU2B3xZp5lQgXShNi/BsP4oQIJZElfgDHt /ZKvTfsOXePByjrByqPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrRt-00000008woF-2RCz; Fri, 05 Apr 2024 21:50:13 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOy-00000008uNt-0QT1 for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=Q1MGY3/BVLwQi9jgLR+91M7A1uSplnwQEOHglWDT+Og=; b=eWd5TY0Wd9CKrMLjRggtUdI8hh fZ0Yo1uofMPVD0BDGN2P7t+QXmI6tbw1O74xRUseYJEb21pok/pW1WTUeej6NWbDCFkDUOpZVULgJ HHddXlA3jkURIwjMYD4TdasdMuBmp1NfOPPXmxN55aRw5xd2ajS1OAkbU8S4wmA7I5HSGpA73lIa0 om0wTCpX08OMgn/DyiNqHEso/CM4UcT7L0fhtHIZoWg/ScE+YkVipJbAWP8cIz9g83yWfIf2aVQgY rlzx29I2iAYHSB0WGIqkDjWH5Q805MHwEVdCpxyXT9FoQOsXC7H2ziN0BH8lY5QKw3xNI1Cxet+OL KHkfaMgg==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOq-00000005rxu-3biG for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:09 +0000 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 1rsrOg-0003oY-7H; Fri, 05 Apr 2024 23:46:54 +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 1rsrOe-00Ad5u-FP; Fri, 05 Apr 2024 23:46:52 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOe-00FZr4-1F; Fri, 05 Apr 2024 23:46:52 +0200 From: =?utf-8?q?Uwe_Kleine-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 41/49] ARM: dts: imx6sx-softing-vining-2000: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:28 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2128; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=nw193+vf566OaE/3JDS5rzzOEVEK4nyP+06hhuGjURY=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHC01G1Ovr0LB17uuGi7rWYMMmt54YkyFDMvb sLMydVdtjyJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwtAAKCRCPgPtYfRL+ TtHyB/98XthPebADVvQLDoFDPKEhSM40AW1027VcKKztJoA78UMWu+4SdIdqeIrGBJR1sYJhR2L Jyo9RDYb6FhXomkPbAoL29UVCvpOwe58CJhUZBcVRenN/dHboS5LFGiScPOOyOOQrOwr58byjD7 TJxSJX0wPKKBbS3ib1Ras1X5EvcJtMl5oS5DLRySX8d7MFo3698vB0iKLVVEtUUeoi/peEIMJVt fTjmWw0r9hKEKqvd6Gh8OPXPlCUsCn9278LIxNxyCfo521KL3LH1SJu+PA1htw0o//sUJ2m769F c5MVJx6O4GDFk7IGo92Hssiq08Spzhtshzl/ThTc71VC/EXA X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224705_525182_9304B8C0 X-CRM114-Status: GOOD ( 11.00 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6sx-softing-vining-2000.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/imx6sx-softing-vining-2000.dtb: pwm@2084000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6sx-softing-vining-2000.dtb: pwm@22a8000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# There is no need for an explicit status = "okay" in the pwm nodes as the soc dtsi doesn't disable these devices. Drop these properties, too. Signed-off-by: Uwe Kleine-König --- .../boot/dts/nxp/imx/imx6sx-softing-vining-2000.dts | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6sx-softing-vining-2000.dts b/arch/arm/boot/dts/nxp/imx/imx6sx-softing-vining-2000.dts index bfcd8f7d86dd..f999eb244373 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sx-softing-vining-2000.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6sx-softing-vining-2000.dts @@ -46,19 +46,19 @@ led-controller { led-1 { label = "red"; max-brightness = <255>; - pwms = <&pwm6 0 50000>; + pwms = <&pwm6 0 50000 0>; }; led-2 { label = "green"; max-brightness = <255>; - pwms = <&pwm2 0 50000>; + pwms = <&pwm2 0 50000 0>; }; led-3 { label = "blue"; max-brightness = <255>; - pwms = <&pwm1 0 50000>; + pwms = <&pwm1 0 50000 0>; }; }; }; @@ -505,24 +505,18 @@ &pcie { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; - status = "okay"; }; &pwm2 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm2>; - status = "okay"; }; &pwm6 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm6>; - status = "okay"; }; ®_arm { From patchwork Fri Apr 5 21:42:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619501 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 52BD2C67861 for ; Fri, 5 Apr 2024 21:47:35 +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=SelJYPQnYBNBecJ/WjetDs6B6NTabg5W/wrv00H4db0=; b=UhKg2JQaKhDNvU XEYh6zPT7yEXv3K4mRQ3d+/HZKp48BNWaqgPucXnvLhjHI1XL9r6PeKVbI4lcmVccmq8XHFxgn6Ed g89awSUSSIR9Q9fjCEjvIeRz7oRbi6fq9dzGSW3k1y8irSnUNDggC89fUQ2FI8zuc4ihh38CIHnQ3 rH5eU3NyUt1l8mHZujMIwh9cowdsKQ+5rUbkGR60NGfIkgTQxNafvj5sE4JDeGGcB/hW8+gqGajVw FnfRn8Ib6h9QCDM8N2TzOkkbVqmGFmakh0Vt+g68k5TmqNiJQDngw0Fm+zA8/GBHoqvxvfhqrwL89 xL5zQYWD+G5cjb+zCPcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrP5-00000008uUH-2gqp; Fri, 05 Apr 2024 21:47:19 +0000 Received: from metis.whiteo.stw.pengutronix.de ([185.203.201.7]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOm-00000008uDa-1lM3 for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:04 +0000 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 1rsrOg-0003q0-As; Fri, 05 Apr 2024 23:46:54 +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 1rsrOe-00Ad5y-ML; Fri, 05 Apr 2024 23:46:52 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOe-00FZr8-1x; Fri, 05 Apr 2024 23:46:52 +0200 From: =?utf-8?q?Uwe_Kleine-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 42/49] ARM: dts: imx6ul-14x14-evk: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:29 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1497; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=QRkAp/6FzaYuqJAhGT+fVIy2uyBcIQ38nnF9b+aCWtM=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHC11+TUvLSGORH+4PMn478VQusn8ibSLsrQ5 AcdoN23dNuJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwtQAKCRCPgPtYfRL+ TiQhB/sFS0HiRSABvziFyrDwKVwkAtJ1QjkZLu1h77cKwoRc6ft9yzq88mnD8eWUIiw8It8WLUP OanD3GMHRE8XI3afBSQbJwEo6oJc+zWC6Kg+h0WIuws+aE/tKwwmTag1hAcJUTWLlUJuwwEYXe2 DjJKCZFavwx9KJ6H84nzcbgTDy2Vl5zME3UuaUeFy9mDpgDvSqN2xhkhshWbKCrtDj3K8RIutYi fToHjyUS22kNx7CWIjmjEHHsqrdL/gVwoUn2oVkhPMyvuUvU/396Q9I9aiXHwNLDQ2QBztEw+XQ LlZhbjUNeY1p/PX1cwtmw2/WW7WO+ebEfMcElf+pAqWwrTZy X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144700_582547_A211BE7C X-CRM114-Status: GOOD ( 11.18 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.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/imx6ull-14x14-evk.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/imx6ulz-14x14-evk.dtb: pwm@2080000: #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/imx6ul-14x14-evk.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.dtsi index f10f0525490b..9cfb99ac9e9d 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.dtsi @@ -16,7 +16,7 @@ memory@80000000 { backlight_display: backlight-display { 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 = <6>; status = "okay"; @@ -277,7 +277,6 @@ display_out: endpoint { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; From patchwork Fri Apr 5 21:42:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619537 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 05481C67861 for ; Fri, 5 Apr 2024 21:51:23 +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=HIdL1O+w2zV+HQ984Z9kor3wWwWgt3X5zz2Cg9SMqWM=; b=Qp5K0G+givtE2+ b1amB1UHINKCLll8/fN9pdihpfJSnnLRZG14qneiosN74ZhjlLDqf2gEGLTvKE4d6Bc3RtnvTaS2B aEIOy6WO4Jcpr9PxWZAfPIzIhDhNyRZtuzXGRdi/aEM1G9AfoaAqNNZ7ly8FPVLzKdrDkF68OtfaI DBzdngA8qK/NI0BcPWULpOaGvedpfHHAwzda03HGCYSDSm1d9tN/WT5lAmsG8XqiYJe28m/N5zDp5 oTvOLbUISBJCROQhOIm34RzuBWRhN1CIgyux4wv6Nij2Otg7+oJRpUHNYeWMjL6xo7YrCXLkgIC9E PG7jm21QK61Nc+bHC7uQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrSn-00000008xiz-14zR; Fri, 05 Apr 2024 21:51:09 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrP3-00000008uSS-3V3F for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description; bh=4q2/BTaagVrpv5144sYhMbzYyBp0IzDEtO/AY1yHlwo=; b=mIVuCrxN9rj/KeMAtZiNXmcqI6 J8cpZeyRhdz36FhZQ3sUK+RIa5/3iGKvvlcBn12AE6B6v8M0pOTFuKhiuKhKKR7ryoVFgoP2YUHVg u9QQXMl+qLKDvhbtFw+3w05Bb2BJr56tGQeK5PYXOmtNUxg2eLsR3MSE6AG1wib2F2Ke8mezPHOIP Jan3rL6+TnfUYx1p8FYpZj/JR34QWp5sUhwPKHjzIn79PwYQUHk6vW6FEzjNuf+8mYHIV/bRK1JbX gBQ6ms+3ugUikNDWvXbc2OT9Bxzd+YDQZOxzyB9Awp7Sx7Pd3k7rZHTBRwz/bEVERoy30acKFAsRo SKPTZ8QQ==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by casper.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOz-0000000BM71-405W for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:16 +0000 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 1rsrOg-0003rZ-KN; Fri, 05 Apr 2024 23:46:54 +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 1rsrOe-00Ad62-Tl; Fri, 05 Apr 2024 23:46:52 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOe-00FZrC-2h; Fri, 05 Apr 2024 23:46:52 +0200 From: =?utf-8?q?Uwe_Kleine-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 43/49] ARM: dts: imx6ul-ccimx6ulsbcpro: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:30 +0200 Message-ID: <0d8bccdf9d39289a6ae384016a0aeafe8382be8f.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1155; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=JssY4o+PFLko3+wBLMquBgwkqPXCoVztrMRHGM+WL7c=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHC3ZH0nHIN8CbYK60L1BBjWsnNPkS6sXRTa9 ic2oEtrtaWJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwtwAKCRCPgPtYfRL+ TuKiCACz5ryWoQu5xKxDk4bfO2bAcGQIHQB0ixgLW7AwyogU7tNihQFSczpfZp3JGbxTfq9EI+m CupO7dv0S7Y0ted2WinBF10RQa1UQzKHniEAAXTCklgGftfIpuJzrq/RXZTCXEgm52e3/5nYTjB J87bSMxy1e10xKbAzXNROBJgQYlGVo6Z/D34DO9lUTQOaNPpPE2PPQyhmsTZOrt3ljDU2lJ84bK GAS5RMULSag/7h7zgCjcBM7JnNtJ/cNxPvDaQAVns0K9mnGoXf8fsTxuUa+oRqKJ7lCslqZPg8l mWHz4gID2baajBFezAPmILogT+4xqTW4Dcfbi8ph7rjygzpR X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224714_080636_A80F2343 X-CRM114-Status: GOOD ( 11.45 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx6ul-ccimx6ulsbcpro.dtb: pwm@20f0000: #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/imx6ul-ccimx6ulsbcpro.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-ccimx6ulsbcpro.dts b/arch/arm/boot/dts/nxp/imx/imx6ul-ccimx6ulsbcpro.dts index 1762bc47e18d..ed61ae8524fa 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6ul-ccimx6ulsbcpro.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-ccimx6ulsbcpro.dts @@ -18,7 +18,7 @@ / { lcd_backlight: backlight { compatible = "pwm-backlight"; - pwms = <&pwm5 0 50000>; + pwms = <&pwm5 0 50000 0>; brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <6>; status = "okay"; @@ -168,7 +168,6 @@ &pwm4 { }; &pwm5 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm5>; status = "okay"; From patchwork Fri Apr 5 21:42:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619507 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 D653CCD1297 for ; Fri, 5 Apr 2024 21:48:54 +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=54yUb1dqcoglyD0dTzepaTNN3nVDdwFiTD6MSRHYu28=; b=Q9TbewKzgve4Jn wGcQuzSpCRt7zaJva9z1oeT5Bro4sZvr/Wak/v4jrAjoBCa7bifYRSBQDfm2gLn3md/CvO0d9sbu+ e/YudR2S/LeAlho1+k8jART03rEN1HYHNk1Gtjxhbbj7d3Ofn76MDI5TmN2ojYsSvcNTPc2yd4sDx 5lPSh4BhstCRvFoj+6PcnfJqcWhQyJK4CNefERt1tdzwqOdYzAbsuhYF4FRi8LvRR+wr6zNHaELRg MIo/m5oJm397sYVdArQmRcWxoxned7miWjwSO/IYp9eQIbUs+ZdnzDD04yqLFKBkt08TpJcRE5BC9 f4uecmEsJS/UEUBTVx2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrQT-00000008vZt-1aC6; Fri, 05 Apr 2024 21:48:45 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOq-00000008uHW-056D for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:07 +0000 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 1rsrOg-0003tX-KZ; Fri, 05 Apr 2024 23:46:54 +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 1rsrOf-00Ad65-5e; Fri, 05 Apr 2024 23:46:53 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOf-00FZrG-0H; Fri, 05 Apr 2024 23:46:53 +0200 From: =?utf-8?q?Uwe_Kleine-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 44/49] ARM: dts: imx6ul-geam: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:31 +0200 Message-ID: <2493f81609d9d41b92d7b8bb8d103a2b06ff8ff5.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1137; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=BQAkQkpVv9pP0CzEzcVuoxj9zWRFD4gFI/joTRXZZGw=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHC43AxXtD0gFy4CqWG35T8eJi+LvNq+Lxwrt kFUIoAbvj2JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwuAAKCRCPgPtYfRL+ TnkXB/9c9vC+V8sX5Gz87Svod+mAh6Xyh6Ce3VliLgMMycYeouMMY/sQn/Nv7RdcnaG1g/IGzaQ 5oAO1zXA+zwGccs6RFOrqtveZ7WtE/TmN6Iz1BstTogZ9Mt57MMut9wUjfGOGLPO071J0CVQvp1 /Ei4OmkLtK2vwI0CXs0k+DxwyERnL4xg+hOSw5M+enPHGPYJCGX7EbedsZXmSmN/nIgfunYh1jd K08CmBLh7tagIHiT735LNfBp2jbdDwsAUP6Zc7MjD0apnpITCpGbJRU9OvAGgJ5Cp6ajc3sG4Op 7B4ZtLkA7PA+0kChPQ1//IoVzP+LpLOGTn5t6hmSao96zQ80 X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_144704_097919_24219493 X-CRM114-Status: GOOD ( 11.44 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx6ul-geam.dtb: pwm@20fc000: #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/imx6ul-geam.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-geam.dts b/arch/arm/boot/dts/nxp/imx/imx6ul-geam.dts index 2ca18f3dad0a..cdbb8c435cd6 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6ul-geam.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-geam.dts @@ -21,7 +21,7 @@ memory@80000000 { backlight { compatible = "pwm-backlight"; - pwms = <&pwm8 0 100000>; + pwms = <&pwm8 0 100000 0>; brightness-levels = < 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 @@ -194,7 +194,6 @@ timing0: timing0 { }; &pwm8 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm8>; status = "okay"; From patchwork Fri Apr 5 21:42:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619509 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 AC407C67861 for ; Fri, 5 Apr 2024 21:48:58 +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=LZ+Nl6Qc3etG7V4Bv730/Vuh/OW/RP9RUn3FollSNzQ=; b=oz3Z3LXlx6WW0N EFHaEa3toZNs+WbS/5myYpUknSoHCHmuic8xvhb1ViRIptEhjzBKU7IpLXG3FrAvffGltyUJhfowk aKfzUCNDbuS7XArALWwm4sSVv7fzwQnNYCdijiIT9q/gXz6DxA/edW+a25G5vqIyICqgfok9luODG b6xl0p8iAlG0DMlrvosOx+XvZp81nXMyVQuGRZN23IvpcEZ0uU7A91rhD6OhBJNGIfGxxZFJfk0KX mSX1v9p62CivTjbbRAbUo29piowuCdx/eF8Gh7BICFyzKeP2ZnqBreZd2fZyg3xI5+oOPryC7vf2w y4ymdmy86LR2B0oScz8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrQV-00000008vbo-2jyb; Fri, 05 Apr 2024 21:48:47 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOs-00000008uJU-4A82 for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=1LyW12aNIO88aBEbwbZ76wEdW8qph/T/l0RYVqP1/YY=; b=KHYsWK58gCwAahK36HUBqbqpDJ lbfkFtOLIVmL8AbJ9gYPZ0EDHrlqCkSGgMn33peMaFe6CTPCHqD0/jRdMIstA/YXhP4MexQtZ7Lc5 nPa7q9Z65p+l2JlFmvdnp6/hLhx5RihJOBgc9ehAmGORtsg654C3rJMu3hbtIyUOC036uPj/fhe2W 2NP2LND56if7BvLEJGQqhHLrlDIjdPolQwian60xJGMhYjaU7L31lZrR57ZyVlLCsjY6IgleNYhiQ uKY3//SgBvtE4B7/v05wR5UDrzQaFNB6ozQrggo3TDYH19x+eXCTLY1c1LE5PWcoPqPjWykaRC84D Iev3dZiQ==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOn-00000005ruv-0l6t for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:05 +0000 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 1rsrOh-0003w3-8B; Fri, 05 Apr 2024 23:46:55 +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 1rsrOf-00Ad68-Fd; Fri, 05 Apr 2024 23:46:53 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOf-00FZrK-1F; Fri, 05 Apr 2024 23:46:53 +0200 From: =?utf-8?q?Uwe_Kleine-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 45/49] ARM: dts: imx6ul-imx6ull-opos6uldev: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:32 +0200 Message-ID: <9a0d99b113ff4e8ffa3ae2b325766882106aadea.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1362; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=9fSCtBweYG0diUIZ/WZ5izn/XHgR28JhvR2b1ZkorRc=; b=owGbwMvMwMXY3/A7olbonx/jabUkhjSBgp0yqzOie3l216aZeEl1F1+4MdHm/UE2AcPUVf9/p a3cnfS0k9GYhYGRi0FWTJHFvnFNplWVXGTn2n+XYQaxMoFMYeDiFICJLHvF/k+lcMartoy1s3hF 6qwYI0PjlrTnvJR8+FSGd681/82Sm/rGNix6CdvMlGwi2OWyl89XX58vuFzwZEcK//81Zl1/mwV Eew8/e/bvqkQiW2VP0IX3/Sr3/Bt3HjjKI7Lxyg6zWUv/HX6dlV82Z/u/oniR2B079zIF6HD+qz 9nl73YaFZlPieru906PzVu9oNPzyzb/ja83/7Rsg1e68ucA5ROKvssCXjh5q1VrMpsZ/Tl49nLo an69jfOJi+Qun/si9LjB+/idv8uNvdQXiSX6+EtvDv9YfHuxKnmomW379VZ5puoKpe2N8hUN6gs 6q514Lnx0q3ottZRpmVcLssedVWftzn66VBIT1PFp+VBAA== X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224702_139137_B8629A26 X-CRM114-Status: GOOD ( 11.13 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6ul-opos6uldev.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6ull-opos6uldev.dtb: pwm@2088000: #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/imx6ul-imx6ull-opos6uldev.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-opos6uldev.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-opos6uldev.dtsi index af337f18a266..be3cacb4fa7a 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-opos6uldev.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-opos6uldev.dtsi @@ -9,7 +9,7 @@ chosen { backlight: backlight { compatible = "pwm-backlight"; - pwms = <&pwm3 0 191000>; + pwms = <&pwm3 0 191000 0>; brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <7>; power-supply = <®_5v>; @@ -143,7 +143,6 @@ lcdif_out: endpoint { }; &pwm3 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm3>; status = "okay"; From patchwork Fri Apr 5 21:42:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619504 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 68615C67861 for ; Fri, 5 Apr 2024 21:47:48 +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=Py2DaGS9XOgo0aqMJ5OE0ZEz+/uyjQYMw7ryBQrHU6s=; b=t039RNbyp9lw6s upLdrXOGBDfIGznU9cT37Q1ydDtmTWnyWPm7YzJ5V2MJdKIwPwNHQfzDif+lzX7YoxvmEF+WytSww j6S+V+1j99Yu2w/9c7hW8F36wwYd2q1zgcWkNdMFeFMFaGCZi1H8wBPYME0E0whM4aPXW/jwEc1yJ pXlwvR2KGe2DzzEkPfMjpncyr4oq1OOkM9FInKsDmsLzFqmpQXnEPuxghWjFzT5OXqkqZvTbY7Mt2 q9BIoekhiP6yWDHyFC/BKk1/Wu1p6RcaquJIw36JwhZgtsmlDQOEzvvejg2aE/SxhZzwFdszC6Bus PZdANAFTlrlis/beb6WA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrPI-00000008ufh-3IwL; Fri, 05 Apr 2024 21:47:32 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOs-00000008uJ7-3JBr for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=FCQZtHO75DVhFY0EeAIo2qJ72sBWkzfAvdRWdBWJT/A=; b=A1ISLPnj/FTmLyeo1TFKz88GbW nFdSFHGKc1rv1c2G0TFBHA7l6A6jF+T44svSlMkaAJFq/4nvayA67a/Q/VCXSx5I+YP9wAeCQ6fp+ bueoQMvvz0/+D30IuCP99oxX2+XK7NbC9xS5q80P1lwOz0/c4TzJ9jKVK5z+4/hUX0N6iuBCi2qMs vYU21KRu+LV/ItYjXTYPx4pA0tISgvP3gC+xrmkgZ+RI5mfGbMrVSIZ8JJtHQmhAyTXz1BS8TE5av xXvSXpN5yFqDwTk5fPaPv6jHGhzTfk+5dCAM8s0By+5mOONMPGV7fD8O9Vr4Jwpq5F5ccK0ScAgUo dDIid+RQ==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOn-00000005ruu-1Vss for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:04 +0000 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 1rsrOh-0003xW-IL; Fri, 05 Apr 2024 23:46:55 +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 1rsrOf-00Ad6B-MZ; Fri, 05 Apr 2024 23:46:53 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOf-00FZrO-1y; Fri, 05 Apr 2024 23:46:53 +0200 From: =?utf-8?q?Uwe_Kleine-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 46/49] ARM: dts: imx6ul-isiot: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:33 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1305; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=tqhhSMwKFLNKV+dI9piJQ5+BnhchO+cCkkYeIgbQowA=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHC6/oEEMfkGFMBwYRD/LhuCn6h1/L10CjgSQ DI6cFqQLAaJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwugAKCRCPgPtYfRL+ TjceB/9qkTt+bi9RGXG1ZNmYLpIQkCagwC1SBT+jqfWyIqKFPKUY7bmcvikadp6IoScwjmdaNB6 eMUQ0vQ5n3sMN/T3ip0tVQ4PQGwDdesxOWC+zykmwi3nATLoKAmYe8IFmscPIj98FDxBF9n6L+D tBIf02z28GSNTsoTfuXPUJ3v/kZyItT2v6iVq1ljwNezd3YFM0ak43ZW7FEjOK9F7fjAPJlct6a uHgMvxa1PCje7q92dQQFrmeP5cFKR8TE74DiuOu8Esoe9t0G+gLmAA0m+MvlRL4sHnzJQrjbb4+ UAKOJPyVnmbVvs9f6iX2x71DiqaN06hviJvWOf/QUbGX6J/+ X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224702_116376_C591632F X-CRM114-Status: GOOD ( 11.38 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6ul-isiot-emmc.dtb: pwm@20fc000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6ul-isiot-nand.dtb: pwm@20fc000: #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/imx6ul-isiot.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-isiot.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-isiot.dtsi index 14fc4828ba4e..ee86c36205f9 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6ul-isiot.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-isiot.dtsi @@ -20,7 +20,7 @@ chosen { backlight { compatible = "pwm-backlight"; - pwms = <&pwm8 0 100000>; + pwms = <&pwm8 0 100000 0>; brightness-levels = < 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 @@ -187,7 +187,6 @@ timing0: timing0 { }; &pwm8 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm8>; status = "okay"; From patchwork Fri Apr 5 21:42:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619529 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 7A163CD1296 for ; Fri, 5 Apr 2024 21:50:37 +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=7p7Fe06dHEOScO0gpPMxycFAplWHqV9TPLJavtJNaQk=; b=My3tDbo8DkRP6q /ZCS9KuTsPXtHf6HUbF9QUVwearCWkbkoeGo5m8oLIBlS75VqsrncS0vrWRGIqITDM9VKPLIyh6Gw 26CTRLOxhZwH8qXHaIOcBMIJQynSRJCrAdnKhtEZDdvO3lq7QyWBjA7gAAvMQ9VtM+Z9yP80RoYWL 3NSp9CJx9ffLxoo1Bvm3vYJjiEczm5dbEB8mrIkceajCfGf/SJkGgLhWrL5dcBZMeT1b3fMHwUjZI so1W3O89113RTo7MLAyO7f+dFyCvLUh6nmSMUfOJeaOhqKYYmv1W6VAZDm8iSPftwkxLIoE2APJc5 C5lII/Drnu37M7wDAekA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrS4-00000008wzp-48LU; Fri, 05 Apr 2024 21:50:25 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOy-00000008uNy-1pKS for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=H0EjlaZ4TgzCOKn/W3VdnJ9DgrlZqUDjErt3e8EWL2M=; b=HWhZmmNB7duABihLDng1WbJhK3 LQVIxuMsvkvoOP275IupG2HnlkxN+YW9PqrkevanvVHbXODJ3VwuruWRuUYlPHGc07c1jjmnim+k5 xE+D7IrpjxZH9AA0V0HG1ImtaEfBk5JQhxVUVKRYSuz1IsQbDk/raKPlpjRku3HpCJvgteEim3T8c 9RNSEo8YPAQHSg8oAD2wzdCEIo5XIeCeB7+uxdO6jvBzfTxfXCFh/oGKPGm09QhR6b3MYGbBIgIul sdxyGd1c9XmBuuIduqL3n/OovbqrGE9ZJCCB7UiDAOKeloK9apS8RpFVjB0e2/yzmG2/b1STgV/Zp WE7Lzgpg==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOs-00000005ryj-1fj9 for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:10 +0000 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 1rsrOh-0003zb-Cp; Fri, 05 Apr 2024 23:46:55 +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 1rsrOf-00Ad6F-UY; Fri, 05 Apr 2024 23:46:53 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOf-00FZrS-2k; Fri, 05 Apr 2024 23:46:53 +0200 From: =?utf-8?q?Uwe_Kleine-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 47/49] ARM: dts: imx6ul-kontron-bl-43: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:34 +0200 Message-ID: <634499831ea9eb088e2d67c1208461a8612bd1b5.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1137; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=7IPUl4Py19lNRJHiVrtTRJ92wsL63tVxAyzSbKBH3oA=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHC8XoSupoJ+jEa8TWSVbHnOQ714tXFYiKjGS 2sgDm+ciP2JATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwvAAKCRCPgPtYfRL+ TjRmCACIMe1CTz4eDPMhjEkf2S9pMfk20PSHlF6HfimDv+x55MZWlmFUb1O0v2fjVBnj8ytKb+Z v9ybQ1/68L86Go4FNYOGJ8KOv+aUT2+ULqUU1w/2EmJLyNYrisX7qEw6Q0OXCvvwUQvRkfQ2i3n KLT437aJOo7dVWtV1pxQp/d/HVFYDqE5K3kAun3PJkZUIO1DG6Nk7gvpmQ3DrRm4uawybLcP24k N5sxLEPWfugWZnfjbSPqUqvBnI7R39AeFgE9vTP4zconYpKpAUdVv7o69NBqf+4z0Jqq3dkLzNy VQhhlXJF2bmBz7sSu+OSUC5NqaiR+EgT4QVhjBis+xlpsA0O X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224707_819949_FC2BD4C4 X-CRM114-Status: GOOD ( 11.26 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warning: arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl-43.dtb: pwm@20f8000: #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/imx6ul-kontron-bl-43.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl-43.dts b/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl-43.dts index 0c643706a158..4e8191a65211 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl-43.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl-43.dts @@ -14,7 +14,7 @@ / { backlight { compatible = "pwm-backlight"; - pwms = <&pwm7 0 5000000>; + pwms = <&pwm7 0 5000000 0>; brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <6>; status = "okay"; @@ -41,7 +41,6 @@ &lcdif { }; &pwm7 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm7>; status = "okay"; From patchwork Fri Apr 5 21:42:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619526 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 6DA3EC67861 for ; Fri, 5 Apr 2024 21:50:20 +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=J50n9nyBbZ/5m5oi+LT/favjUM1tsV+dwH1s05cH5ss=; b=qg0lgMxVo7q5nC cwl3MnKpuP8kk/5ygkjHGg0VPof6zFd8RNPBXxN5yjvgRSV43bg49b26N+o7vmkvMrxkhSlz/N/Lc qNn6p/xS3qOFFsWflfsEh6wSokZfiNVEjqkNitFK8nm8c30Kq1aZ/yKUf408z3/Bp4QFKCxqZj99h FlMlw//12BPb3YQZwvsp1kgbDE+bCv32zWWZU//m/gYMF5uYSP+Zu0BlDlHElCSpr92l+KREYGC77 HZLclH4ZTHHekFnUezzVVc5nvaAGZmu5wnvAZDurr+hvXxZPWGBQ5GkvTeh5+/HS4GOrmxOCQ4Pkd lyKtnsodVexmVCuBVxnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrRh-00000008wdr-37To; Fri, 05 Apr 2024 21:50:01 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOy-00000008uNs-0I0J for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=LWDfxHlZoZNkFWiFkaFIBLf4qnBP/THUxfWG5MmJT4U=; b=mkeap+dk/pc0OGv2xbUqPcsP+M IR5XhXQGt7pOpLQWwXdo2KGgSgpJ/i2yjenKRid8idFV4MJBCDaLUuMtQfxMKtgOeRR+QsVAYtJmL /D1xKxkZhsNnLnIh4BKNxycBaTON415uJffNrNB8GEXF8IolKvBQbWl0RJl9SlfYc0rAIoR2iSX6n ge4FKWrSE0DGMtkKyiC2M6yS7OM0XiFR5UIO11qsQTemzHtLTR7tcWJTmtBsIiVbaMARS4Y5Y48me gH5fy1ch0zXKs1hCXCYacWapNKD6Y65c9F44yEK5vbdmb/4GNn+8BFbXQqbjbHQffVTam2bvlH6XN KTyD2WSQ==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrOq-00000005rxs-0Wbk for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:09 +0000 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 1rsrOh-00041Q-W2; Fri, 05 Apr 2024 23:46:56 +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 1rsrOg-00Ad6J-7x; Fri, 05 Apr 2024 23:46:54 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOg-00FZrW-0W; Fri, 05 Apr 2024 23:46:54 +0200 From: =?utf-8?q?Uwe_Kleine-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 48/49] ARM: dts: imx6ul-kontron-bl-common: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:35 +0200 Message-ID: <3f90246bcc1eb09d8b2e926b15c3b07802b2a55a.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1411; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=NCfTnuZYX3g1kHtCPVH2bphb+ERU37LCvr3YXEwSsV8=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHC993Ym7krCHbbeN4prtfmujpGldUiYXav8q lJsOGevb1WJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwvQAKCRCPgPtYfRL+ TiCrCACWDXzX1LYOjN7Tt/s8/IaFUpGtSog4fs286beenPlH6IezC3ns3bqJvAFpga6ZUkpuTnK +PZhj3pQgkGAi8hysVS6Jwf8YVRmpStYN70s04pfU9w2xZ3cYZKw8nIQWHZXgmYvMW7W1mbOygN AIStpArCM88/+JnSkmFX6WQa9/kckM6pQ9DsG2B3NbPKSIBWlmY28ksgbbjnyAQYPq9ihUn0G+i xa/QGYqjZ2veOfNFKzm7GcYWU7g/zqhpjL+u3bBH0Yox2Lvstx53qc6/48oI8XpStMG/znd/nXR T1tN1MSRS5DtghVPhtn0P1pK2G/IxP/y7gyMeqqK1iiG/gZY X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224705_320586_9187696C X-CRM114-Status: GOOD ( 11.32 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl.dtb: pwm@20fc000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl-43.dtb: pwm@20fc000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6ull-kontron-bl.dtb: pwm@20fc000: #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/imx6ul-kontron-bl-common.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl-common.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl-common.dtsi index 33d5f27285a4..d8f7877349c9 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl-common.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl-common.dtsi @@ -35,7 +35,7 @@ led3 { pwm-beeper { compatible = "pwm-beeper"; - pwms = <&pwm8 0 5000>; + pwms = <&pwm8 0 5000 0>; }; reg_3v3: regulator-3v3 { @@ -152,7 +152,6 @@ rtc@32 { }; &pwm8 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm8>; status = "okay"; From patchwork Fri Apr 5 21:42:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 13619539 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 82D4ECD1297 for ; Fri, 5 Apr 2024 21:51:33 +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=39zTGYXVabDHNQqhiSwolLsCtpRjJAxj5xRGHo977wQ=; b=sBAz+fiqVSciwH 3hN3u8ehT8VNs/FaI7yRhIn5eFe5jNjYkvCnyLFVihygRwdnLPmEHq+MugU+kKECcQNVmnCEmcf0P ZUMOa5XN3S8TJ3qb3Ob7nmAm2JRopHSymMtp5yyfv5BENndBLVVIOXJ456MqyO6lfYSCJms7bH5mD Cb19uCXymrV1HGueY/xI/lDI0dubm54WZ0gE5giATQMC5MWohoUywjY+5DJXs3vabBznBzxYNvENV qkr7BcaWoAyX9lVlnkv/92KEbcSPUntHcyLIqTmS8A0rgiZL2eWzLMGcQdV6QOwos1RzgBYYlQ+0i /j8qq1o9LVTPXUvPbK/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrSt-00000008xop-33ix; Fri, 05 Apr 2024 21:51:15 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrP5-00000008uTw-3Zd0 for linux-arm-kernel@bombadil.infradead.org; Fri, 05 Apr 2024 21:47:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description; bh=wkkkn4uXF99HYTRN7+X1/CjDIBWaPfO91rucx0oyPYc=; b=BMYcT/ehhy6DfHsJjjSFl8ZVpe 8z4V6votA568KzcFzExAmBmHUrWAormIxZvwyCg9pteepHZrxb4WoYDFSFEXMAMHPKUAMM1oS/q02 b+XdILP41RsOrfQPVsczuVCRRSX1KKTJ6QqdVqniU1nT4kEe4ceSy8LrKXcp3eSGTcK4zI7AqL3iu tdIHqf5J9fbDk2l6ui8Z1LUP0M0nGtG/HMuyid29M5f9czoxW7dZCgEnDOcF6e2TDG844he9qOVMx DU+R+tlTECsjlzRsS3du4QW3X0QB5SWLCLpPSu9mEL1TxXw0DEqvQBWKrpYHlxcyoB+tcCX/hKcp/ t2yeu5aQ==; Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by casper.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsrP0-0000000BM73-09jG for linux-arm-kernel@lists.infradead.org; Fri, 05 Apr 2024 21:47:18 +0000 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 1rsrOi-00043T-2D; Fri, 05 Apr 2024 23:46:56 +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 1rsrOg-00Ad6O-I1; Fri, 05 Apr 2024 23:46:54 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rsrOg-00FZra-1U; Fri, 05 Apr 2024 23:46:54 +0200 From: =?utf-8?q?Uwe_Kleine-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 49/49] ARM: dts: imx6ul-pico: Use #pwm-cells = <3> for imx27-pwm device Date: Fri, 5 Apr 2024 23:42:36 +0200 Message-ID: <9896105717abb793151c65d54001293a02b2abb4.1712352665.git.u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1446; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=31qBn+qLO55NKAOMjh+QXFNcifWq0+ObSPULX5Vwyf0=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmEHC+EAPVGwrwkpBMCcKZ+d7Wpos+noF6umeVY qVQYU+5DNKJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZhBwvgAKCRCPgPtYfRL+ TufWCACNJkHyl5R3Kjz34dga+KJBQZHsJ7RNO/jIN8X7ltSjIEtb/CJvHy9DF6yQwhaJ3UzEsYM 8vm7nHW6+uPfCAIq+hvJGmzQaDB4vB+jecAdRBfsZAlnqPWc2KDzCXKo43YLfY2/K5sHIyR62MA dsDbgQ5vN1DbA/6Jk0ydu5nqZqSUWNF/NY+4lkaPd+YRNiuWSAIiYp3XLChudVi9aVOZsXm3ljN ELf1hiFWuSeeW+9UJaDFvOaGLyW8m276JNk0GBSTrZtDlMUlBijBXHy3j9rVxiV9PRUl/zFNqwB v+ulnxRYLDE3YxlEhWl5kGrLKEEG5zgpFvuSFkg0GEX5txvR X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240405_224714_132685_750DDA3C X-CRM114-Status: GOOD ( 11.50 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6ul-pico-dwarf.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6ul-pico-hobbit.dtb: pwm@2088000: #pwm-cells:0:0: 3 was expected from schema : http://devicetree.org/schemas/pwm/imx-pwm.yaml# arch/arm/boot/dts/nxp/imx/imx6ul-pico-pi.dtb: pwm@2088000: #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/imx6ul-pico.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul-pico.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul-pico.dtsi index 07dcecbe485d..fe307f49b9e5 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6ul-pico.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6ul-pico.dtsi @@ -22,7 +22,7 @@ chosen { backlight: backlight { compatible = "pwm-backlight"; - pwms = <&pwm3 0 5000000>; + pwms = <&pwm3 0 5000000 0>; brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <6>; status = "okay"; @@ -177,7 +177,6 @@ display_out: endpoint { }; &pwm3 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm3>; status = "okay";