Message ID | 20231127-b4-dt-bindings-mxsfb-v1-1-922e4e71c838@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3221773vqx; Mon, 27 Nov 2023 07:36:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IHlIx5Lu56mXjPYZAfFXysiHL21wHej5FSPXMTSyb5s/MWg719bsthhIBHxA7DojWXLpPUm X-Received: by 2002:a17:902:db07:b0:1cf:ca67:4314 with SMTP id m7-20020a170902db0700b001cfca674314mr5275673plx.37.1701099403151; Mon, 27 Nov 2023 07:36:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701099403; cv=none; d=google.com; s=arc-20160816; b=hpH88Cbf5xh1nGEUrYltqdNzmRcNnQ5plxJYCxM7k+Nb9QcLB/azE8z6vePaGzqDDm Co2fbO57sGh4LXT8WEkg/dWcZlDJdyMcmJw/sqEi5PpZTzVH5klUK+lWGLLdqnvhr+m8 UperlHNmJQqaLXRsuVT38AVSraJwGDIirMRmVbocnAgwv40bJa8P0fKPYUPV4R/4U8mo 3qx5LfzmFMFWOH0PP5kDVktxShsPf8tYj6AQyOnwGy+ZOUp0JawMel5ZwOJorFSDenYy HoV9yANf6sq9JtzivEPiVAvj8EXByDhRXHdpuEKovcn87qbAESWLw1Q35t9V+DeUh7CP Altw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from; bh=F39cqKo7yKHtcOFOEv7XTke0b7B6hBU3ua/Yrf7WH5Q=; fh=201JfKj+3f0bV6/mhQG33Tvw6zXUMR7RuhIWDyiD8RU=; b=jqiTKHC6+SMMGwlYvJwUyGSRvXBgjGHjZ1/yQOTLyz0EW5V9xi8c4TN/841EWD80Tb DKw01+WknKrM5Yx4j/gEjmj0KpQurJ4xJLIxhwaim7Mbu0A/k/IBcxlk8M5n+h7oPmLp Mphx6Y0jPbAw9sBYP6EKGPcWp03GMT1boDdH3OPg6Up8EgN/YgMBDwXO4rIUUpKJaq0H tUy9HChWiox+Wp5g1N3nErAw49goR7oy6Jj2ZOq96VBfF6uBtgECMotnP+vNBpNE26Cv WDwRfPmGpoOCssFXI/1phms48KU4Snfd3fHOexAYP1pV2clpKDKl7DC/di/9o5T8+LCn DtYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id 2-20020a170902ee4200b001c71eb782b0si9551668plo.94.2023.11.27.07.36.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 07:36:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 22971805D5D4; Mon, 27 Nov 2023 07:36:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233908AbjK0PgJ (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Mon, 27 Nov 2023 10:36:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233747AbjK0PgH (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 27 Nov 2023 10:36:07 -0500 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E023094 for <linux-kernel@vger.kernel.org>; Mon, 27 Nov 2023 07:36:13 -0800 (PST) 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 <auto@pengutronix.de>) id 1r7deW-0003me-Ei; Mon, 27 Nov 2023 16:36:04 +0100 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.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 <auto@pengutronix.de>) id 1r7deV-00ByVR-2f; Mon, 27 Nov 2023 16:36:03 +0100 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from <auto@pengutronix.de>) id 1r7deV-00CwG5-01; Mon, 27 Nov 2023 16:36:03 +0100 From: Roland Hieber <rhi@pengutronix.de> Date: Mon, 27 Nov 2023 16:35:56 +0100 Subject: [PATCH] dt-bindings: mxsfb: Remove power-domains requirements for i.MX7D MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231127-b4-dt-bindings-mxsfb-v1-1-922e4e71c838@pengutronix.de> X-B4-Tracking: v=1; b=H4sIAFu3ZGUC/x2N0QqDMAwAf0XyvEBbRbf9ythD00YNuGw0TgTx3 1f2eAfHHWBchA3uzQGFNzF5awV/aSDNUSdGyZUhuNB6HwakDvOKJJpFJ8PXbiPhLbp+6LO7Upe gphSNkUrUNNdYv8tS5afwKPv/9Xie5w8uCHTYewAAAA== To: Marek Vasut <marex@denx.de>, Stefan Agner <stefan@agner.ch>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Liu Ying <victor.liu@nxp.com> Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Rob Herring <robh@kernel.org>, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Pengutronix Kernel Team <kernel@pengutronix.de>, Philipp Zabel <p.zabel@pengutronix.de>, Roland Hieber <rhi@pengutronix.de> X-Mailer: b4 0.12.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: auto@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 X-Spam-Status: No, score=1.5 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,TVD_SUBJ_WIPE_DEBT, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 27 Nov 2023 07:36:19 -0800 (PST) X-Spam-Level: * X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783732007563628734 X-GMAIL-MSGID: 1783732007563628734 |
Series |
dt-bindings: mxsfb: Remove power-domains requirements for i.MX7D
|
|
Commit Message
Roland Hieber
Nov. 27, 2023, 3:35 p.m. UTC
From: Philipp Zabel <p.zabel@pengutronix.de> i.MX7D is documented as compatible with i.MX6SX, but it doesn't have the power-domain requirement. Limit the i.MX6SX power-domains requirement to i.MX6SX only. Fixes: f62678a77d58 ("dt-bindings: mxsfb: Document i.MX8M/i.MX6SX/i.MX6SL power-domains property") Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de> --- Documentation/devicetree/bindings/display/fsl,lcdif.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) --- base-commit: 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab change-id: 20231127-b4-dt-bindings-mxsfb-9a0676d08b4c Best regards,
Comments
On Mon, Nov 27, 2023 at 04:35:56PM +0100, Roland Hieber wrote: > From: Philipp Zabel <p.zabel@pengutronix.de> > > i.MX7D is documented as compatible with i.MX6SX, but it doesn't have the > power-domain requirement. Limit the i.MX6SX power-domains requirement to > i.MX6SX only. I dont like this commit message tbh, I shouldn't have to go and dig out the file to be able to understand what you are doing here - it should really be explained that the imx7d falls back to the imx6sx, as otherwise this looks like nothing at all to do with with imx7d. Thanks, Conor. > > Fixes: f62678a77d58 ("dt-bindings: mxsfb: Document i.MX8M/i.MX6SX/i.MX6SL power-domains property") > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> > Signed-off-by: Roland Hieber <rhi@pengutronix.de> > --- > Documentation/devicetree/bindings/display/fsl,lcdif.yaml | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml > index fc11ab5fc465..83532959e51c 100644 > --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml > +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml > @@ -117,13 +117,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 > > --- > base-commit: 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab > change-id: 20231127-b4-dt-bindings-mxsfb-9a0676d08b4c > > Best regards, > -- > Roland Hieber, Pengutronix e.K. | rhi@pengutronix.de | > Steuerwalder Str. 21 | https://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > >
diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml index fc11ab5fc465..83532959e51c 100644 --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml @@ -117,13 +117,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