Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp117430lqe; Fri, 5 Apr 2024 14:54:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXksoOqWRyrxxBE1x2TKpAq/W3OaE3hxiD+AvMgvszn2DYCtOtpXlTXIB+Ht6PCvljLBzuH71fciqruR6szjcBItcoQkGq76ysHO1rwNw== X-Google-Smtp-Source: AGHT+IHI6o9fFGBSldlM3RTtKpqxt3zPnALSrl+fgYCuBt/fTOqC0yHExPDMwUkimzari++S/hTw X-Received: by 2002:a05:6a00:1489:b0:6ea:c449:ece9 with SMTP id v9-20020a056a00148900b006eac449ece9mr2843179pfu.31.1712354046553; Fri, 05 Apr 2024 14:54:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712354046; cv=pass; d=google.com; s=arc-20160816; b=EYfhnp3ORfriiGhIdPcG4wRinyGuh4QkyPRcxDvCev8wEooawiDs1LqmflDWH0cpeA AQuVE7iXLBZ+jn5T3bvz1Ec2r8Vo0z6+gdBbktMyT9BTjmsLgPldcpU3boJZDMyX5zrP ric8bX9VaQ0aD0gnqYbStK1h3IeXqMjMVnHQccFLKADMN5Lc92zhOeKik7LJbFucVEMD mUpNIrX9NVnnoNZpJQXS4PssA8sXTFlt+WFAeyZoLTaejzJ+HmmnPcb9x6m8rNXsBzWY /l6/TijhXN4mT6CHwc1bF3OAA5Y7aiF1m+dWcZCHb1FU9TRCT0qjgkPKeo2dohGwl7pP MclA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=1Wpw3M5hJ8BHOzO9hcnvtfv+Z9GjVhOKUT93yVH/Kjc=; fh=Fo2C7ASTJ8wxdli2kAV/XOy3D1a/k/ze9wag6hb85T4=; b=TBNA/CrPgUqbxNWgfwODMvDG3dZVIZy9PuTvQlwEhQ4r3OzC8pn69McfqdLDBSD851 nNUNl6h6Brx263EiHQ7kwcG3IK9V4Tfed8HKyEb1K1Ojt9cBZwoB5ehQod/A4lEStPgc AFovfkAUEGcupfwsLipfx3I1BGXT2xFkykWGODV0BnrVy9pnvj1KxzczG6c9Yt19UFTr 3g0zMbLBAeiA/XJAkaLq9b2YEU1cfnbiUREZjgBsn2GFY8h+aqYNJlKDcLO/15LuBqqZ xt6Xt+bcukRJbwY8FvBrdizfO4fPMuEIYenx2oDetyU9uUmq9X+KhRsZfaiLoPILGDb8 jBOg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-133643-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133643-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id gu14-20020a056a004e4e00b006ecf3964f66si1998299pfb.219.2024.04.05.14.54.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 14:54:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133643-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-133643-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133643-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3D1CE281F26 for ; Fri, 5 Apr 2024 21:54:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ABCAE181478; Fri, 5 Apr 2024 21:47:24 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 097BC17965F for ; Fri, 5 Apr 2024 21:47:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712353636; cv=none; b=WFiTecfCH/QDzDD5X9sOuaMMCMzmZXjSpq/S437y/Ccs9YeXyBEwigpe/X6wjFeUz/R6DmMYuQRiKZ5Q5u5/R/ySQGSkM0wN2Q+ijHhsRpTKSHS4WkHxI5q9m1innfnn2Ad6eCyD9jaYE/gBioDbkS/K2YF2RirtGnReuMOiXK8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712353636; c=relaxed/simple; bh=Kqd243GyUTduLX/W7h4QzRsNdBvL5rd9rAK4JCl0gqA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bnpZqmUgNgil00RRZK/KR9gJJfw3T6kpoTmPEmGmna4U2a84R8VhzItbgUcjRJj0h3G8+CnR5KMTdEFLGnyEyGfvIie2MlxC8Zv+wRibvjNckF7+G9OyGUsSMepTaZ1UxzW7+/Yuxqit0klRaOV7b00AsPe95OO7iOoLV2DdKTw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 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=20Kleine-K=C3=B6nig?= To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexander Stein Subject: [PATCH v1 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: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=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 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/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 { -- 2.43.0