Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1131716lqo; Fri, 17 May 2024 11:36:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX6UojfZ2mtmzUPNm7tgTqYZYMM/xoXGwrbNdypNzX4QTKxXoTGEaHqxePOMtRu6T83hWycuGCNqadKfsufn5hAzJrOdGNf6Lwm3rJrjw== X-Google-Smtp-Source: AGHT+IGYJtry7aZLTelq3YMu49tTOjnrRTNaIap6pi/+tgPl/oSveKnOsa/e237Y46d+9B4xTBs/ X-Received: by 2002:a17:902:cec7:b0:1e0:b689:950b with SMTP id d9443c01a7336-1ef43d122c1mr366975745ad.16.1715971000218; Fri, 17 May 2024 11:36:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715971000; cv=pass; d=google.com; s=arc-20160816; b=yKswBs2SUC5L0RKHwmZ8mLLtF46b5UcdahbJqxsKnfovaOZaHfoyqj/PUcSt+jiamb kDpEmDTQCwXi280RiDdJhefDdKW1G+3eAo7rD6YTzRttQXVz0frpZFWcsY3McrrcvYCC zq/88iQ2v4TDi7ev2aE0mcJ8q6BUzO6+hlszyMzzyUU2bevMrd3f/26zpPggiZ9wBq29 qykAil7qw3ZQ9Wg0LHWmciCdqmq6RfxuTk8oL+1NhaJm75ykXp3VQlRj6q4f1WqH0JYZ ++zozLk8fiwaSGD/gwoxaC966UuE3LSkUS8tHzVVAMHSdFKcZL4G8ZXeCdR4g5alPRVB OtDA== 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:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=aakjMiXrIK1SMo9a5spsETuysQuqYvFsuHtJGNipjLc=; fh=GW6BedR4poLyRahbArTk76HeNdeTuvkO4dlbPAbz2l0=; b=yHtLvdpb19TEEhY++Q9yOlTNRubXCKQAwH/U1/R7hikOJH15+m0vOtrjiYRfmIfOCS Ipdwmm1XgpZpPgDh4LGq6UiQxj6maSpj9O357AMgdJYYi38LeFNjUGlnzMlle7ruEIlk PL6gXUtHIMbdmqQC2Mcd4MUPd1drA6ou9kPG8c0ReI8xbVKSKUr3meCS3U1XLx36weHS 4CvBSuHU3I6Vjmjoo36PGxKx+8adJoF0MIf4yEUcx7E6aI49F6I9n961JEx2ftB74hed Rh3LQGHSAh2sl73XOG3D6QsdPZ6vfI2dXIah8PnttnIervYRvBZC9ynSQVw6CTkuXlmm 4fMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=XIVoHlL+; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-182519-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182519-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c368263si186156515ad.608.2024.05.17.11.36.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 11:36:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182519-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; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=XIVoHlL+; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-182519-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182519-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 D4C942840FC for ; Fri, 17 May 2024 18:36:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A3E7B13DDDE; Fri, 17 May 2024 18:36:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="XIVoHlL+" Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) (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 5520A14273; Fri, 17 May 2024 18:36:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715970990; cv=none; b=flBvkatubHSpKBN26i8DIN20BBRJVgegV7luwTaZkAqDDmjmkwfm/WflBpvuLrKVg1bIeklgyyOb8Mb9D0Oqrqp6x0SRyZTH2kdXTCKG+8DvZbg8gYxYuF2rM9WInaMUDZLMbi+Jy71KkCjZrRt7PKvZVN8FTMAyfBfe3ixpLwU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715970990; c=relaxed/simple; bh=afHr6vcYGE6+c2wcjc3RuskM/1BHQYoKya2tnQkT3Tk=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SbIxqRtbolRhIXC41UC+snnGpm1nHc7yCv+j3LixKyP6m+6U7+JdlhDi3J7WlfRXLcKEy+F7BtwshtXCI3zTe282hYu5WGy2fg8URZCb9KGAGt2K5tWCYCT8BXVQB2EHAw8p68cbF40zlzowcfII1MdRvXYDMQ74cI6InKgiMJo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=XIVoHlL+; arc=none smtp.client-ip=217.70.183.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 7048740004; Fri, 17 May 2024 18:36:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1715970986; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aakjMiXrIK1SMo9a5spsETuysQuqYvFsuHtJGNipjLc=; b=XIVoHlL+HvLfXAVErilHWu7Ml5HtDRH+tBzVUn8AYOu5kOkUIIaaQUhc5cUzEu8wKW3ofY GS96wap5ixRrjAFlQpjwDAhKXSt1QkZIMT0BdQRZPYutWwaEFJ0HImnrkFJ6HcC9z+IwTP WDeWAfAGGzLlxppRzyFZc8qmlaMeghP7hY+wa06ozngQhfY5SBRh2mX/wbDWLFwiqfWzmq Bm9LlqkshhpMmVwVaIj22vqgFcqIGSmk+xloNklHiSfOEk0QNp0eXREBAKd9inQaOYVo9a jkG1DdO01MmGnbXh8jQX/Q3IuyprBJGju9Y0g/RaA02fXeCHxfc0fGmhvzNzRA== Date: Fri, 17 May 2024 20:36:21 +0200 From: Miquel Raynal To: Frank Li Cc: Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Han Xu , Vinod Koul , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Marek Vasut , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/5] dt-bindings: mtd: gpmi-nand: Add 'fsl,imx8qxp-gpmi-nand' compatible string Message-ID: <20240517203621.72b8b9c7@xps-13> In-Reply-To: <20240517-gpmi_nand-v1-1-73bb8d2cd441@nxp.com> References: <20240517-gpmi_nand-v1-0-73bb8d2cd441@nxp.com> <20240517-gpmi_nand-v1-1-73bb8d2cd441@nxp.com> Organization: Bootlin X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) 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 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com Hi Frank, Frank.Li@nxp.com wrote on Fri, 17 May 2024 14:09:48 -0400: > Add 'fsl,imx8qxp-gpmi-nand' compatible string and clock-names restriction. >=20 > Signed-off-by: Frank Li > --- > .../devicetree/bindings/mtd/gpmi-nand.yaml | 22 ++++++++++++++++= ++++++ > 1 file changed, 22 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/mtd/gpmi-nand.yaml b/Docum= entation/devicetree/bindings/mtd/gpmi-nand.yaml > index 021c0da0b072f..f9eb1868ca1f4 100644 > --- a/Documentation/devicetree/bindings/mtd/gpmi-nand.yaml > +++ b/Documentation/devicetree/bindings/mtd/gpmi-nand.yaml > @@ -24,6 +24,7 @@ properties: > - fsl,imx6q-gpmi-nand > - fsl,imx6sx-gpmi-nand > - fsl,imx7d-gpmi-nand > + - fsl,imx8qxp-gpmi-nand > - items: > - enum: > - fsl,imx8mm-gpmi-nand > @@ -151,6 +152,27 @@ allOf: > - const: gpmi_io > - const: gpmi_bch_apb > =20 > + - if: > + properties: > + compatible: > + contains: > + enum: > + - fsl,imx8qxp-gpmi-nand > + then: > + properties: > + clocks: > + items: > + - description: SoC gpmi io clock > + - description: SoC gpmi apb clock I believe these two clocks are mandatory? > + - description: SoC gpmi bch clock > + - description: SoC gpmi bch apb clock > + clock-names: > + items: > + - const: gpmi_io > + - const: gpmi_apb > + - const: gpmi_bch > + - const: gpmi_bch_apb > + > examples: > - | > nand-controller@8000c000 { >=20 Thanks, Miqu=C3=A8l