Message ID | 20240210012114.489102-8-sre@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-60221-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1236551dyd; Fri, 9 Feb 2024 17:24:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IGyLIRt4Qk4Ex1YOP5e3TOad04mXHv3Nyr9mpo+Bs7LyGXOPyU2SHUmOOmbGJWQw03RBsO+ X-Received: by 2002:a0c:cd03:0:b0:68c:cb3f:aa3b with SMTP id b3-20020a0ccd03000000b0068ccb3faa3bmr1198712qvm.32.1707528252349; Fri, 09 Feb 2024 17:24:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707528252; cv=pass; d=google.com; s=arc-20160816; b=E+Rie+nX+D6/+rNq55/OdV5eHovZzrGpfmRCKCB6Lw3i4M6RUyIO6LMU0lINvnBIs3 I8lai4SGnuzyEGqz09TtbQQPPMprFYb0ALrZwUQfjBCZHznu0aUE9l63TEvfHupPciez 6gD5qlzVefDC4fkf+vsz47ipNjTh+80jTN+70gP/X+84vfgiRVSJLDf24DbDVpUmIblQ j1zOWJI72rCDdsVgx1126cc6yDSE2ZLL6Ycl/d3tmBSE3N+a4r4EmHl6EdYzyZN8rV3G dow5bsyVGTdEAjYywd+CmtiSJr42EKOln/FWp+PAuyeXsuvDEMdcDuacUc1duTIX5u+l JJNA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=BSP+juS2mwEEb4Z4yFtXEyXUkkiMG425seymUAOouI4=; fh=LTnrwRit+lnLlZiY51YCGm3ILEl/XdWk8cgGdZ1HcGM=; b=ZHnH7RrNhC9QrmLjrRNqtfc0jq3Im6pjuogGoEy/XIayZ1b9Syu4xlRSlZfxYeSeA4 oIxPwofAdf2V6g/qGClFI5XVGY3H8L6hUzdub8QZm8KsBCKDJsr92U1xsHPbr3/94tI8 RjJZ7sQ+Z9ool2FWWIA5B2NbaBY6bJtLaimQFRU/0NEADP95q2JFg5fkzFpue0j1Qu2G dNDZXRKeeAPoZAUlzmcMmLiN3ozcAY25nZoW3dkBL+i9xxkKAXw6V6PG5wjjgwvatGxB dWdmpxhUzYeOK/7Ol/nPonKZeO1RdJHd+4IQBNnn3d3ffqK+aRY0+vVViCfvFdpsf+hR f7Uw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qMgxRLFx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-60221-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60221-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCUiY6XIW71iNNVqfTodWK8BaxBdaECuC/RPJAGbPBFvC0mOYR8YQWFlBL4kyCY1rce/gk83EZGTWzHHKhF3vfr9wydBzA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id fq14-20020a056214258e00b0068ca70ec311si3326066qvb.167.2024.02.09.17.24.12 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 17:24:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60221-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qMgxRLFx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-60221-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60221-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1A2271C2496E for <ouuuleilei@gmail.com>; Sat, 10 Feb 2024 01:24:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A44B339FCF; Sat, 10 Feb 2024 01:21:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qMgxRLFx" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9D62F16435; Sat, 10 Feb 2024 01:21:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707528081; cv=none; b=p7q7XkSWoH+YcP4xlyva9e85EFxzupy83SW0I3KswfJDNEbtCThYXs2BKvXiWhOXtGds70Ud3w9fhLrfkQxhdtdLxNDSqw5MCjxiqW+kVFsfYLUJAA4l2oorhSgRTpEfqt4vd9ntjVfUxzDIv/+YSfpQBmydp/H9J1tcxZpKb28= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707528081; c=relaxed/simple; bh=u/ecgRYQOkLBlRn/VtTePYv4M68IaY7mn8if9/vLcSk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=t+TzsCbW11miyiVuzGDo1DchLCx8UXK3R61rH6LMXPkfl3HCIe9IhIO9Q1rxHWWTiKaFcGhbvdAKYi5BW5bQzQ/gVYUFZjwsQ22GTKrjfRMUWZqtt/uycrvT42JoM0SX23Bbkx/bgmMXznmeZfX3NHQjRLpEHQKTJcMhU+weUVE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qMgxRLFx; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 449B5C41612; Sat, 10 Feb 2024 01:21:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707528081; bh=u/ecgRYQOkLBlRn/VtTePYv4M68IaY7mn8if9/vLcSk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qMgxRLFxy5zos/lUwR/xfKurLYOThw4OYp6s30K6hvrXdvFBnaciLFLlLgTimPCZV 65L+5ZuIagx44mEMi+hknKH9W6SZlUo5m536Ik+Nwvck0kzDxjlzXa2dK4EQiF0+9L ePoai+L09Sijd9nWoQFffLGaaSLtc0VgJCi8id1iMNzETy3yIgVnERHbQR1qwgVnid TG7/7eiYC19DFwcXyhTWxPP1SkIWI2Xp0AwGoqBo/Q4j201IXshRoq2or+APMeM5nv l8r/zQPdaprEUo1SksEOhgGhAvqDKU15UEnplN7JKjsY8Sug+99GOHLhhrfE87aA+e dTHc83OZtXGBw== Received: by mercury (Postfix, from userid 1000) id E61751068F4B; Sat, 10 Feb 2024 02:21:15 +0100 (CET) From: Sebastian Reichel <sre@kernel.org> To: Sebastian Reichel <sre@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, Pengutronix Kernel Team <kernel@pengutronix.de>, NXP Linux Team <linux-imx@nxp.com> Cc: Dong Aisheng <aisheng.dong@nxp.com>, Linus Walleij <linus.walleij@linaro.org>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, Mark Brown <broonie@kernel.org>, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 07/14] dt-bindings: lcdif: Do not require power-domains for i.MX6ULL Date: Sat, 10 Feb 2024 02:18:11 +0100 Message-ID: <20240210012114.489102-8-sre@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240210012114.489102-1-sre@kernel.org> References: <20240210012114.489102-1-sre@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790473144457697353 X-GMAIL-MSGID: 1790473144457697353 |
Series |
UNI-T UTi260B support
|
|
Commit Message
Sebastian Reichel
Feb. 10, 2024, 1:18 a.m. UTC
i.MX6UL(L) uses "fsl,imx6sx-lcdif" as fallback compatible string,
but has only very lightweight DISPLAY power domain. Its DISPLAY
power domain is not supported by the binding / Linux kernel at
the moment. Since the current setup is working, let's remove the
power-domain from being required for that platform to fix the warning
printed by CHECK_DTBS=y.
Fixes: f62678a77d58 ("dt-bindings: mxsfb: Document i.MX8M/i.MX6SX/i.MX6SL power-domains property")
Signed-off-by: Sebastian Reichel <sre@kernel.org>
---
Documentation/devicetree/bindings/display/fsl,lcdif.yaml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
Comments
On 10/02/2024 02:18, Sebastian Reichel wrote: > i.MX6UL(L) uses "fsl,imx6sx-lcdif" as fallback compatible string, > but has only very lightweight DISPLAY power domain. Its DISPLAY > power domain is not supported by the binding / Linux kernel at > the moment. Since the current setup is working, let's remove Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
Hi Sebastian, Am 10.02.24 um 02:18 schrieb Sebastian Reichel: > i.MX6UL(L) uses "fsl,imx6sx-lcdif" as fallback compatible string, > but has only very lightweight DISPLAY power domain. Its DISPLAY > power domain is not supported by the binding / Linux kernel at > the moment. Since the current setup is working, let's remove the > power-domain from being required for that platform to fix the warning > printed by CHECK_DTBS=y. i'm not sure this is a good idea. In case i.MX6UL(L) is different from i.MX6SX here, then it should have a different compatible. Regards
Hi Stefan, On Mon, Feb 12, 2024 at 08:20:35PM +0100, Stefan Wahren wrote: > Am 10.02.24 um 02:18 schrieb Sebastian Reichel: > > i.MX6UL(L) uses "fsl,imx6sx-lcdif" as fallback compatible string, > > but has only very lightweight DISPLAY power domain. Its DISPLAY > > power domain is not supported by the binding / Linux kernel at > > the moment. Since the current setup is working, let's remove the > > power-domain from being required for that platform to fix the warning > > printed by CHECK_DTBS=y. > i'm not sure this is a good idea. In case i.MX6UL(L) is different from > i.MX6SX here, then it should have a different compatible. It already has. The i.MX6UL(L) compatible looks like this: compatible = "fsl,imx6ul-lcdif", "fsl,imx6sx-lcdif" So the i.MX6SX one is just a fallback compatible. But the current requirement for power-domains affects i.MX6UL(L), since it says the compatible only needs to contain "fsl,imx6sx-lcdif" somewhere to make power-domains mandatory. Note, that the kernel driver does not use "fsl,imx6ul-lcdif", so the hardware itself is indeed compatible. -- Sebastian
Hi Sebastian, Am 13.02.24 um 00:10 schrieb Sebastian Reichel: > Hi Stefan, > > On Mon, Feb 12, 2024 at 08:20:35PM +0100, Stefan Wahren wrote: >> Am 10.02.24 um 02:18 schrieb Sebastian Reichel: >>> i.MX6UL(L) uses "fsl,imx6sx-lcdif" as fallback compatible string, >>> but has only very lightweight DISPLAY power domain. Its DISPLAY >>> power domain is not supported by the binding / Linux kernel at >>> the moment. Since the current setup is working, let's remove the >>> power-domain from being required for that platform to fix the warning >>> printed by CHECK_DTBS=y. >> i'm not sure this is a good idea. In case i.MX6UL(L) is different from >> i.MX6SX here, then it should have a different compatible. > It already has. The i.MX6UL(L) compatible looks like this: > > compatible = "fsl,imx6ul-lcdif", "fsl,imx6sx-lcdif" > > So the i.MX6SX one is just a fallback compatible. But the current > requirement for power-domains affects i.MX6UL(L), since it says > the compatible only needs to contain "fsl,imx6sx-lcdif" somewhere > to make power-domains mandatory. thanks, i misunderstood the commit message. I thought this was a i.MX6UL(L) specific issue and the i.MX6SX is slightly different. In the past the fallback compatible was sometimes abused. So everything makes sense now. > Note, that the kernel driver does not use "fsl,imx6ul-lcdif", so > the hardware itself is indeed compatible. > > -- Sebastian > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml index 1c2be8d6f633..0681fc49aa1b 100644 --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml @@ -120,13 +120,19 @@ allOf: maxItems: 1 clock-names: maxItems: 1 + - if: + properties: + compatible: + const: fsl,imx6sx-lcdif + then: + required: + - power-domains - if: properties: compatible: contains: enum: - fsl,imx6sl-lcdif - - fsl,imx6sx-lcdif - fsl,imx8mm-lcdif - fsl,imx8mn-lcdif - fsl,imx8mp-lcdif