Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp657345lqt; Thu, 6 Jun 2024 14:33:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWFDhqnzVxD4mC1JyOZxyBA8HPj+fXowlonUC1sL+Yz2MY4MJ3OWZPTHC8fqAKSOYL8BZ0XuoGARNTZ/YLo15955jUVYMTQw+Lgeaf8zA== X-Google-Smtp-Source: AGHT+IFkFWOkSD9BI63DC+BOO7ATDNy2ZSRhpmI7dQhRpYICxUbX+5Fk13gI1Jt9Y7aT4CdHzMn5 X-Received: by 2002:a05:622a:87:b0:43d:e0ce:951f with SMTP id d75a77b69052e-44041c6814fmr6965591cf.25.1717709638565; Thu, 06 Jun 2024 14:33:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717709638; cv=pass; d=google.com; s=arc-20160816; b=QYvV2j08mnMW6TBu8dlw34/jNO3uu8eSK7rVgFiHHpwBP1fETWIsdLi9ZlYZtuFvyo DCPnVA6BQsEdhVguSGNhoUzO5RgT2wkUJy1g1QwYg3LEdRp2Av3oyjRQrTus+E+CKskk V2dfgxXro2Nx1pe1RpniKUAaUd2koY6d0rwIYNxwe7JHV+3XCJ7qr57nxk0vuBW1Aopz KjNzc8r7oJlbkBPKFvtToKp+laq8z8lf5vLpdRD17Mkiz+Lf2i+m0Vj0v1ft0i0KxwvS Oa0PA41KWirYv77wf+H0WclS+Q4eKrQtSZe2QvhlVk37hLR7fL2Xjvs1xKrWGRxr/o5+ 665w== 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=YEe67kVi/zYEwJ949gLFt+c1vqpmrvxAyYHa4a+7LAA=; fh=/YWtRAuzMo8K/+ms8qO1L/INGNf7mpOZwxfBNwDbbX4=; b=tWXGkxJXD+dxSCettMstmZXq7NQVyStgR5oNodEELJP9cfvpYd8ZDJBW8b4loaNvrv Gf0XQYoIU4JriC/BzupK/MoZjlUbXx7OusGr/Yx4RZay53elGobf7ldj2dqfIkaZmscF YRV6v5BwnDuRqzKIovJuWR3R/hnWu62AMzMMsRrDf8TA3j2ntHs4WjxQll2HxF3uc6RG f2FEU/MfFb0TrzjVJbZi4EYIHJ3iY8mGMs9T/MqwxMAy4+Smf/359U5GEE+KtqtMyCpB NCDnIFSudS9rXONXoa4j5CA53Ko+rneJI+sErsL2yMuW1F1AtU3ZU/AwzkDQJbfw1s6h vNqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=IxtQjifz; 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-205089-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205089-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-44038b3a57bsi25452401cf.441.2024.06.06.14.33.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 14:33:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205089-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=IxtQjifz; 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-205089-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205089-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 454341C20E6F for ; Thu, 6 Jun 2024 21:33:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8FDA13B583; Thu, 6 Jun 2024 21:33:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="IxtQjifz" Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (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 7458AFC02; Thu, 6 Jun 2024 21:33:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.193 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717709631; cv=none; b=PuFVLPpI17Spk5CWBfQLCwj/7YMcYrT4RvV1DkbJqhOYqCQttDPax5Xfx+hGi58xrY5Op7n66lxbmhkIKUjmpgX2/zEAWwugl7LUjMdqGRNBniSo7DCTBp+SXVbpQR0Mk/ZsNnM+reEDm5lsw2afCdgAJbLImvZo/ffSzhSThgw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717709631; c=relaxed/simple; bh=BIPCNwr2iNo5s7oX2a4ALoQD1rqzDFRTnwAeLaO1RRM=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=n0aYY9wPtPSnv+YqEVs/4E37nUubcBYNniD0uZE3OQ+UrvR25X4kpJmViuNb3w13KJmir6obh+AJlR2jDThLIpt+bmosvMAFBSxf6xxFdSfo5NfkpSrB8yXqQWBaVhJIVf99rEi7SY5xO/481cOzIdju1BsH1lOWbJnlXSLlrP0= 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=IxtQjifz; arc=none smtp.client-ip=217.70.183.193 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 9151E240002; Thu, 6 Jun 2024 21:33:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1717709626; 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=YEe67kVi/zYEwJ949gLFt+c1vqpmrvxAyYHa4a+7LAA=; b=IxtQjifzTaaXunLyy6L7jVE8sN9djdHYHsjmEicWNx5Nq3dloei3ROWn9XPo63TO2/KR2U g/IiGLEwqUfI6iuGrUnGfKkZ2YNO1xaqfuuvNVNPDOPKAOHasengOhflZ6c6JjKK3a7S+w gUKd94vQMeWOWpBueVlyHHdyFzXhCoohX6vtRCT4/gSCy7a4DVY1zdl/tAuJOYGNzzJOiv pwTEq725uYcoRSF5FxMQktJ5SELAELSaimUoHrDpwVUI45obcjHtSNGiH3bYFAqhno6k56 r1G6Y1QbivoqI/u6KfMbHgWSwoKvxoBXbBRKU/rqAKhVi01VXeN5rns8T6zxpg== Date: Thu, 6 Jun 2024 23:33:44 +0200 From: Miquel Raynal To: Keguang Zhang Cc: Keguang Zhang via B4 Relay , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v7 1/3] dt-bindings: mtd: Add Loongson-1 NAND Controller Message-ID: <20240606233344.4e268c04@xps-13> In-Reply-To: References: <20240430-loongson1-nand-v7-0-60787c314fa4@gmail.com> <20240430-loongson1-nand-v7-1-60787c314fa4@gmail.com> <20240506091444.59228fa9@xps-13> <20240518124732.584f441d@xps-13> 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, > > > > > +properties: > > > > > + compatible: > > > > > + oneOf: > > > > > + - const: loongson,ls1b-nfc =20 > > > > > > > > What is the rationale behind this choice? Seems like the b variant = has > > > > two possible implementations and should always be preceded by a more > > > > specific compatible. > > > > > > > > As there is currently no description of this controller upstream, I > > > > would not care too much about any out-of-tree description and direc= tly > > > > go for a clean description. > > > > =20 > > > Excuse me, should I add a description for this property? =20 > > > > No, description is not needed. But you are allowing the > > "loongson,ls1b-nfc" compatible alone, which I think is not relevant, > > unless you convince me it is :-) > > =20 > "loongson,ls1b-nfc" itself is a specific implementation. > I was suggested to set up a fallback before. > https://lore.kernel.org/all/20231007-untapped-masses-01f80b7c13c7@spud/ > Then "loongson,ls1b-nfc" became the fallback. You cannot allow 'the fallback', alone. But this is what you do above. Below description is fine. Just don't allow the ls1b-nfc compatible alone. Thanks, Miqu=C3=A8l