Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp116190lqe; Fri, 5 Apr 2024 14:50:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWzwYkGLklImjniTSojIk40k7hbMhMJsx1YSij7F4Ih7V1fo3kt3S3MFsxoNKBk4AYAfBf7d61bgc2+1s67qsvEEBsTO/w37chIDcoZww== X-Google-Smtp-Source: AGHT+IHy7uG52ItJzh5FA8+Yc8M1mHAL7Ez3jVoKF8DS+0z4X5McxZodH3fiyCDKMmcmvvQZBA/2 X-Received: by 2002:a05:6a21:47c1:b0:1a3:f40:6d32 with SMTP id as1-20020a056a2147c100b001a30f406d32mr2612066pzc.58.1712353812684; Fri, 05 Apr 2024 14:50:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712353812; cv=pass; d=google.com; s=arc-20160816; b=0t818BfGKDRznnrm81OSIAXbK3tJxdiFvcGKhwdlLeu3ZQ6TpmF9QunmOVN89eq/Nb EewhAjxaLWNYZyHnSneJOH77qUV2WXLVYAZVu8seg/4wfddwaXbejqj7VsxPYaGMy7FR E3xnTZAl/hPwvxPSK7ZOY5ENyCaGyzbAmDq8gwSO6mdewM8ZvfSk3HQWqy6sboyAAJRI hH3k1hUFhefYCN5ClGLzT5McdN9x6GdaF3g4MxBWzoZWXojZMJn9l+tAXLp+6KVIbaVc 5pLXYEOBNFyXoRPhiTfeUcu8Pjy887iLqLCQvB2NFxqDnijkjif6bAkYH786aHGB31dK ADCw== 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=tdtPCRH3PrRARNblLyBLQg+BkVD9OxcFNK77ln/fFSo=; fh=Fo2C7ASTJ8wxdli2kAV/XOy3D1a/k/ze9wag6hb85T4=; b=LxC6YDV7IR+3WrWMTTQnHQpWFMgX3/Gq0Wt8wC6JDu3oKVKdr5ph5w0GiOYCH2IQmQ y5Rmhc0ONLewqk1T6GUl9+lSwVMTA9h7RctADmR0qd2TBIUdXTbw4oYZqHZy+jSM1SCx hTcB/u9D4B8CfdcH6sZkZi6yQkv4NlEJnffVl2J0E0dLK2NyEGXqd5hOe1GSJLpE4jwT UpH01HqlumKy3yWvimHit4GfJ472aK7bURifFh89wVAbFKnsfUCXeGCVv0KWuZGTbI78 AVx7vtURJc0wWYTOxHP0V7FWZJi4wdNhb1n343Z1hOaw/6efnCKLjSClsFXHqM9JjbZy Fy/g==; 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-133627-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133627-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 ff17-20020a056a002f5100b006e697c4a9b1si1957604pfb.154.2024.04.05.14.50.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 14:50:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133627-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-133627-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133627-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 5C5B3281B15 for ; Fri, 5 Apr 2024 21:50:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1E71017AFBD; Fri, 5 Apr 2024 21:47:19 +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 9A360178CC6 for ; Fri, 5 Apr 2024 21:47:09 +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=1712353633; cv=none; b=Bgrg15s8eV1dV3g7FE82+WaISmgVHWelorlT1oTr+chI7j2fQSBodVX1CfIKuW7VS2+c9Cnw7pKgQROY8Qx0lmBh4BRo6MSUH9KNPDaKvEJViUwYMlE4PLcfKvI8T9du/PIKaCINaiIHkdSFUlrRE1zwgdJ2nFloyLcZDmvL2qQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712353633; c=relaxed/simple; bh=DEnSJA3VDTM3CD8+5ySPJWAhctx6ItqFAOifFwrYS98=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=XyNiBfyqz7ErHmHSxC6ePQEtD2Iv30qM60jeaG8uDG9/aHRDKYq5K0UV5O2yxfnpRT4O0jeouGCStR2LcZUPVswPJYOL0bVH9+A0Va4W9hIoWEDiOJESM3tvRWfsB7mfWguDJn5gamaeyK1PFTtJ3187ZWbTbo8yDPxFmQBoCo0= 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 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=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 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: 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=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 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org The binding dictates using 3 pwm-cells. Adhere to that. This fixes the following dtbs_check warnings: arch/arm/boot/dts/nxp/imx/imx6q-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"; -- 2.43.0