Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp800117rdg; Thu, 10 Aug 2023 23:06:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFc5uga7llMjq7gduWMHGPEWs3LYuHcVE293iFus+MY+xKlpR/8ZLZnywH39ILXghqfnZeI X-Received: by 2002:a17:902:d353:b0:1bb:8cb6:3f99 with SMTP id l19-20020a170902d35300b001bb8cb63f99mr1316010plk.14.1691733963632; Thu, 10 Aug 2023 23:06:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691733963; cv=pass; d=google.com; s=arc-20160816; b=VhsWeuLE8Xr7V3Lg05SGW4gtF85dXhLo1a1PiKSd/gvRzm1wrHwyomETzgAF7VKsw+ Rc+Q0oDLoJz9GsI1Kx7AP/C4zaZdavaiJw62FUePOi8razzIZ+h7oEkeALwDXJ98bpDd 2t5f7mq9pGi7een2ldh55jTimLSpzp7ZdgURL/Ld2BZmdCFk2W/ArF5bLXpoAvD0/f1T CQqgkUkMoIDCvSSQGbsvByf6fyX6qDGZBubLGwbNnKhortZabLfJ5n1FQ4DYrOsFhQ+U 8ZfnELEI4TSKdYdHKiicWhoJAyCB/D1fGiKkB2jiPbtolw0xR9/TaYFhpakszGm+iN7u A7GA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=506X6y64s3KqdwjWcAr+rzZZefOpOQGYPwkVUz2HxL4=; fh=46zaYgclU5xElJW2+9TfTPxNo2kOt+S2+mB/iPGkgjM=; b=1CoLjWcflTqw2xMwRXK4WpDELW3QA0bx6zOYsNu4PiqP+EPJghbgYN8Heqp5XL48F+ enHUh0/Fa8CC6wVx8ZSpsNEUUI1w+wFm9EScP8MHVe9H2MuDYEAL2lA8EVzrjOaMNT9P P7pdhiukvCU5Lam2S3NkwgimKVbW3OH03iL3wDdMSIo7HwyTroqhi/glYQHx4nAtyZHw sTtCC6VO0e4TCryphove61k0EDXYh+yCTFwd+ycXv9zN64bUILePifj/riRwzCddc+LN MyWtx6xxgm2tVZVfCFrde8Ts0x+8J3iV34og6ekv+5W+f4kXLvz/HDHDa1wb5w2YVnXa ffCg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=CQoZFhiw; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u13-20020a170902e80d00b001baff05d89csi2982913plg.130.2023.08.10.23.05.51; Thu, 10 Aug 2023 23:06:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=CQoZFhiw; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231783AbjHKFtQ (ORCPT + 99 others); Fri, 11 Aug 2023 01:49:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232840AbjHKFtN (ORCPT ); Fri, 11 Aug 2023 01:49:13 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2081.outbound.protection.outlook.com [40.107.22.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 081432D62; Thu, 10 Aug 2023 22:49:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=idhQAw2bJgX2y+eTdES0ibMGv5zSZqQvSnJbGORlJ8rzPTwp1PDPi2QXNI18+T2uFQ6W/76xAxathnFp5jTbB6uhJXkuYiUwCRC2qF+pHbec1g2804jR/iHD/oBmxT5j8Oc9BD/IXgPXPOJFtVvnBf060OWHFxAmcYJEO191lMiF8klr3h3h1jFefCEWCTf6I6fjdZbVkT/Q36MZe6f0/gKYviWc1s/GXr9QIFWb5tjxrdwEd4sNNcRUrDTEgh58h5fSuQuV7UJ968ffdkqvP4XCHt3tQR+2ovEnqQpAOnoDC8Y/BkF21CxF6isWBhD6I8RweWxHBE9EHVeHEHRtzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=506X6y64s3KqdwjWcAr+rzZZefOpOQGYPwkVUz2HxL4=; b=avDm9tc65RtXFwUQ23Majg5bzV8IKGBdHSCBrOi+ZiigqQC9OQP0UQpOiGTfpeHv4w+iqJ6vGFw5fIZRg6dwy6TCqLVMA5N1dscLbMKA+GaBMX+/OiQmbhzptd29K4zv1Wmdhq5w1Dfc/SEivxnKrnHp2/ikz1WlicNGWIVHT1j1s2LiJMoqT2EPQ924ZVEx3d6oZFeXVSuiiX6EX5cjGmZjt/yVpFexeb2D6gZMfsnIZUWLdEZQpMj4MD8hBw/QOABhD5/x2AXcoiqodBKa418cwnc0JyXqh0NhrBMwpv3812RsUlVdMKgI5f4at2XulVPnE8A7sJTwmjvZRhIW4A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=506X6y64s3KqdwjWcAr+rzZZefOpOQGYPwkVUz2HxL4=; b=CQoZFhiwCl5LzaJMz8XGteeO13QZTjz+8uamIJHQKb5YGNCIpz3WikhaXzu3HCmGeWGmHYPg8DI3Mq1P1RQKbDeIMjKhLtSz2SnoksuVdiP1TpIIXBzkTpyxZv7cJ84i5JraML7jmnFPFtHwnZy8h+k3vJBBwyeks9i2IuPItHI= Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by AM7PR04MB7079.eurprd04.prod.outlook.com (2603:10a6:20b:11d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.30; Fri, 11 Aug 2023 05:49:05 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::9018:e395:332c:e24b]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::9018:e395:332c:e24b%4]) with mapi id 15.20.6652.029; Fri, 11 Aug 2023 05:49:04 +0000 From: Ying Liu To: Conor Dooley , =?iso-8859-1?Q?Guido_G=FCnther?= CC: David Heidelberg , Marek Vasut , Stefan Agner , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "kernel@puri.sm" , Krzysztof Kozlowski , Rob Herring , "dri-devel@lists.freedesktop.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] dt-bindings: mxsfb: Exclude i.MX8MQ from power-domains requirement Thread-Topic: [PATCH] dt-bindings: mxsfb: Exclude i.MX8MQ from power-domains requirement Thread-Index: AQHZwxWBRtjRdjXmIUGhn7S5iRfipK/Wx5iAgA00cYCAAKVY4A== Date: Fri, 11 Aug 2023 05:49:04 +0000 Message-ID: References: <20230730184120.94984-1-david@ixit.cz> <20230810-embroider-seduce-ee4506e7608b@spud> In-Reply-To: <20230810-embroider-seduce-ee4506e7608b@spud> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AM7PR04MB7046:EE_|AM7PR04MB7079:EE_ x-ms-office365-filtering-correlation-id: c3fdfa91-a7b9-452c-73ce-08db9a2eabf2 x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9j6LHg/jdeEVEXsIO+/DoTVP52K65CgjP2kWyuwjW2/2t1/c7Gf7T/OAebp8l7cC/QIdojs/Nj756NCtow9VuwWpG4XaTfag+0iXyQRQXEkQuBMqNAe7lnOnVdG2e+uVxAENpt1twiPnNS09Qmt7haMl6bqp6jStOX6PbilfH8A9g3dpan+IRkacNQ061ZoSXozs4D8KYfthMS9OtY4cVeycEWxj55zLDBGE9VwVqpeC1wLvDFuKwjNT02CCM6GCPB4aXhCbVCktP571VQhQCPTrjR4qSdSo9n4yNODxy6uH9caCc9CYallxe4qNXR4sT28hHUJqd2BxjjWipo5RpLUL2vFAIOXFfwOCqngs4CVGySc4sRyc8aTm08TYwPvG7ddZb5zlsXfwoDSLPXeyQvc/xB9skhVbhOxY88eQKI6SWqUtvhKnx6SUMn9zXLKSQysh+Ztc0xZbHzGXDSbamG0tk/aqkc8pFcK7hPW/wAvKUgK2TjBRrnUbqiojreEEQxoABq091//rV3DHjPf2Qc9HbW7cXD1hOHcKMz89A4U/ifJqdEqFx8z5HJ3Z2Apc1oA0xKJDewRO2N8eQbx5AvQhCj62VC6uhW3FpFk6pVs= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(376002)(366004)(396003)(136003)(346002)(39860400002)(186006)(1800799006)(451199021)(53546011)(6506007)(26005)(83380400001)(66574015)(2906002)(110136005)(54906003)(55016003)(38100700002)(7416002)(19627235002)(38070700005)(7696005)(52536014)(5660300002)(9686003)(316002)(966005)(478600001)(33656002)(8676002)(41300700001)(8936002)(86362001)(4326008)(122000001)(71200400001)(66476007)(66556008)(64756008)(76116006)(66446008)(66946007);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?Psv415TBk6hCkGuWCDY3aj2c+zFKpTuycE3aYoxyLyB33uvLdTvUA356hN?= =?iso-8859-1?Q?77+wnxBWOdFbUm5q+fldr44yQ+StCeqCf/J78rp5TcmQgbEAoN/aNXkYbz?= =?iso-8859-1?Q?KP4E0qaXB0AVFo573whHvRB+ooQCUM5Yin9n4RO+M9QSYJQXEu4VXydZ5P?= =?iso-8859-1?Q?+r6kEthMqSjbw7EADKkRWVvXmQ01laZdZziR3Jjy8ZezknSycxIpuNn8//?= =?iso-8859-1?Q?EJaE5oB/lHF8pP/eyr0c3StoOc/hdWXAjPPGq+36vlSUgHs4DpxLCJ+RzW?= =?iso-8859-1?Q?ZmdEwOowMJJJGdqItWt/mfNvUHlSRxVY4wiFXiErLvIXi2JBCNjMF7jJLY?= =?iso-8859-1?Q?yhny8KWMnj39/aeaMh/aYAAKjF2eGAfJqNbKYFILflpUQbz+Cz5YID/qOc?= =?iso-8859-1?Q?FvEUwRm80LrekUicXWyCWlDHmQk69bAwA8xGeRgjcqcDs2pnyLuIx1hC/I?= =?iso-8859-1?Q?8Nqn7jKAP1QZdN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-8859-1?Q?F3xn4j54XKCT4S92m24Tr1AlNYigK69FB0SydBJ86fkS4dPboAELD6wcFB?= =?iso-8859-1?Q?WtfxcjAWaGJwh6MYdX07N6SPnerVe5YkFq7W3CuzopXrtoSngAl1yIQKjH?= =?iso-8859-1?Q?ZmhulBYQDmKCok8r08hOw++FjDk/R4WG4lrpmDg9Q3jKaKN+QfbMcmXjh3?= =?iso-8859-1?Q?DjImI5K34489VNvkHW52kBJWNXIruh+VdISUhuMTRLh3f5c8v+yDnEFs2Y?= =?iso-8859-1?Q?LLfF12JFUcTkM=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c3fdfa91-a7b9-452c-73ce-08db9a2eabf2 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Aug 2023 05:49:04.6768 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6qZQZnmPLH8uWT8xDUMoFjSmbTo3iosbpSUqcY4AJCKBHpYZ4XyXCM+DokoNDGiK7PTOl5dCRu9a9rPbEflhdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7079 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday, August 11, 2023 3:30 AM Conor Dooley wrote: >=20 > On Wed, Aug 02, 2023 at 11:51:17AM +0200, Guido G=FCnther wrote: > > Hi, > > On Sun, Jul 30, 2023 at 09:41:20PM +0300, David Heidelberg wrote: > > > i.MX8MQ uses as secondary compatible fsl,imx6sx-lcdif, which triggers > > > requirement of power-domains, thou it's not required. > > > > > > Fixes: f62678a77d58 ("dt-bindings: mxsfb: Document > i.MX8M/i.MX6SX/i.MX6SL power-domains property") > > > > > > Signed-off-by: David Heidelberg > > > --- > > > .../devicetree/bindings/display/fsl,lcdif.yaml | 11 +++++++++= -- > > > 1 file changed, 9 insertions(+), 2 deletions(-) > > > > > > diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml > b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml > > > index fc11ab5fc465..2d868276b0f9 100644 > > > --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml > > > +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml > > > @@ -129,8 +129,15 @@ allOf: > > > - fsl,imx8mp-lcdif > > > - fsl,imx93-lcdif > > > then: > > > - required: > > > - - power-domains > > > + if: > > > + properties: > > > + compatible: > > > + not: > > > + contains: > > > + const: fsl,imx8mq-lcdif > > > + then: > > > + required: > > > + - power-domains > > > > We currently enable the mipi power domain for the mipi dphy and nwl > > bridge only but not for LCDIF itself assuming it's not needed (as there= 's > > other outputs LCDIF can drive). I *think* this is correct but maybe > > Marek or Liu can confirm? >=20 > I'm happy to Ack this, but I've been sitting on it waiting to see if > Marek or Liu popped up.. I see DCSS and HDMI controller/PHY sit in displaymix in a system bus diagram(internal only), but LCDIF and MIPI DSI controller/PHY are not in that mix. So, it seems that the "gpc_disp" power domain defined in imx8mq.dtsi supplies power for DCSS and HDMI controller/PHY only, though nxp,imx8mq-dcss.yaml doesn't even allow a "power-domains" property... Assuming that system bus diagram is correct and "gpc_disp" power domain does supply power for everything in displaymix only: Reviewed-by: Liu Ying P.s., there are still a few warnings from dtbs-check, see build log[1]. Hope they can be addressed... [1] https://gitlab.com/robherring/dt-review-ci/-/jobs/4767324570/artifacts/= raw/build-dtbs-1814673.log Liu Ying