Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4982766imm; Tue, 21 Aug 2018 04:28:52 -0700 (PDT) X-Google-Smtp-Source: AA+uWPywnXjWwiRIY7tg+zWIp1EN6BKjTB05Zz1CQyk4I+twFm3FNxotQcD3oi3l84BiPrYeIpWn X-Received: by 2002:a17:902:b097:: with SMTP id p23-v6mr13126696plr.266.1534850932651; Tue, 21 Aug 2018 04:28:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534850932; cv=none; d=google.com; s=arc-20160816; b=mHBeWs2yEByN2xa+Wq2dB3yO0+scJrXRnRPwJouc6h4GkD+o+saPVxSDylNNVKfCZh XY8XDT+8pz41Rd0CtPxNzFs99kR4SEf2yRKPPGp167pYeq6GBnDVSJYAIWHpYvmxSbjH S7Jf2V60LmZczWHwMfBNgF+aEZLpn8aM0EqvThq83+3jhAMMrFCB2tdEN5hpz8OZAWJI SrP7AQZh/dtiZTIYq8KG1cpzyKaoWk/HVkUL7057WEKl62KGrlkaOH9NhhueZP/RppsO RDpajblwnT/8g2cEFJH1jZiUbnjDhCnPUkOKDOE14qOQ4y8sCGhRptnLrHCoRdRlZ0sT 3RFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=EyuVdDguaoywKTP13DWs8yCTGDYaPjsPBdhRkdonLuA=; b=0XUFdlhrrDagoWhaYA63OT8BomrQ512wGXfb8Yu+lXVVu7qq16JL8m3QuaLU6vXGi5 R7zFI1BzU4QO3blIylFD6lA81+jtX5rmLww2sJD3bHG0pOHvDqyceZIev3iqiZ/FH0+c Ft/aTMwpFvRiXYv2nerfhwnth9TlsKMr5jKDvqJ/zRJDucxhZSiJqKOQjbAD/K6yDaTy 1Hpflat4lfR9lC8G++dvqSpNhkoh4Y6iUbmlb8g8Pt1U+GNzLf7Yfkz111Jb89mPDCnK InxDxnJB/EbaaEVoWvqyg4JyFYDi5YumIf4srLkhP+elsC7xZXj/I/KtXEZ244WFhJco z8VA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r22-v6si6876702pls.131.2018.08.21.04.28.38; Tue, 21 Aug 2018 04:28:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727034AbeHUOaG (ORCPT + 99 others); Tue, 21 Aug 2018 10:30:06 -0400 Received: from mail.bootlin.com ([62.4.15.54]:39143 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726590AbeHUOaG (ORCPT ); Tue, 21 Aug 2018 10:30:06 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 625232072F; Tue, 21 Aug 2018 13:10:20 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from bbrezillon (91-160-177-164.subs.proxad.net [91.160.177.164]) by mail.bootlin.com (Postfix) with ESMTPSA id DFB1E20618; Tue, 21 Aug 2018 13:10:19 +0200 (CEST) Date: Tue, 21 Aug 2018 13:10:20 +0200 From: Boris Brezillon To: Naga Sureshkumar Relli Cc: "miquel.raynal@bootlin.com" , "richard@nod.at" , "dwmw2@infradead.org" , "computersforpeace@gmail.com" , "marek.vasut@gmail.com" , "kyungmin.park@samsung.com" , "absahu@codeaurora.org" , "peterpandong@micron.com" , "frieder.schrempf@exceet.de" , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Michal Simek , "nagasureshkumarrelli@gmail.com" Subject: Re: [LINUX PATCH v10 1/2] dt-bindings: mtd: arasan: Add device tree binding documentation Message-ID: <20180821131020.5db46548@bbrezillon> In-Reply-To: References: <1534511964-20342-1-git-send-email-naga.sureshkumar.relli@xilinx.com> <1534511964-20342-2-git-send-email-naga.sureshkumar.relli@xilinx.com> <20180820143324.61af9027@bbrezillon> <20180821075948.28962170@bbrezillon> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 21 Aug 2018 09:22:07 +0000 Naga Sureshkumar Relli wrote: > Hi Boris, > > > -----Original Message----- > > From: Boris Brezillon [mailto:boris.brezillon@bootlin.com] > > Sent: Tuesday, August 21, 2018 11:30 AM > > To: Naga Sureshkumar Relli > > Cc: miquel.raynal@bootlin.com; richard@nod.at; dwmw2@infradead.org; > > computersforpeace@gmail.com; marek.vasut@gmail.com; kyungmin.park@samsung.com; > > absahu@codeaurora.org; peterpandong@micron.com; frieder.schrempf@exceet.de; linux- > > mtd@lists.infradead.org; linux-kernel@vger.kernel.org; Michal Simek ; > > nagasureshkumarrelli@gmail.com > > Subject: Re: [LINUX PATCH v10 1/2] dt-bindings: mtd: arasan: Add device tree binding > > documentation > > > > On Tue, 21 Aug 2018 05:47:18 +0000 > > Naga Sureshkumar Relli wrote: > > > > > > > +Required properties: > > > > > +- compatible: Should be "xlnx,zynqmp-nand" or "arasan,nfc-v3p10" > > > > > > > > In your example it's not an "or" since both are defined. > > > In our previous discussion > > > (https://lore.kernel.org/patchwork/patch/748901/) > > > We decided to have compatible strings like " compatible = ",", > > "arasan,";" > > > So it should be either of these. > > > so I will write something like below > > > "Possible values are "xlnx,zynqmp-nand" > > > "arasan,nfc-v3p10" > > > And in example I will mention any one compatible. > > > Is it ok? > > > > Hm, why do you need arasan,nfc-v3p10 at all if it's supposed to be overloaded by a soc specific > > compat? > Actually we put these compatible strings based on the comments on v7 series. > Anyway I will just keep "xlnx,zynqmp-nand" as compatible. If Rob said you should have both, then keep both, but the description should match, because "arasan,nfc-v3p10" cannot be used alone, it has to be placed next to a ",nfc-" string.