Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp579289rdb; Tue, 16 Jan 2024 09:10:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IGd8C3swFr6xtLz5xLRCIemQ+pwfzCmEtetQdCMLXPv4+9CHw+6VrrEutRurn4VfMc0j7Ya X-Received: by 2002:ac2:47f0:0:b0:50e:7044:704b with SMTP id b16-20020ac247f0000000b0050e7044704bmr2039262lfp.90.1705425017090; Tue, 16 Jan 2024 09:10:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705425017; cv=none; d=google.com; s=arc-20160816; b=1C/v6PHU7xQRJpYah1tI5YDG1CgMB4zmEm17AGd9LZJcYkBCeMbPv7ue3MZC2Jx+GQ uh4/g3nH6hWcBL+AGbQTjbo7xhQzKSfI1om2mcKttzFWcWwkLvD1zXMUBfXUTtSZccfm pxDfvdZfuZm6o2AaH2TiBkm7tnuJYPKJzEkqJ+ZFrCRGPMKUj873IlSujAgfWD0JBkNo yu7dlX/m3a78q/2IxjHL3iaCLLhFbH3jIRHvCiK1YAAs+TS/k2AJc7/wC+IJSyjkYlTD /kQLt9RRCqPxcoGaqHLcc3+byuPWMOZhkjAsGoeshaZnzSObP/qixlJIk6rbNWXVUEv8 Vo/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=B3FqrrI6CUw1UlKmimDYOEuxXQ4SQL+G0NDlbOqzvGg=; fh=TS+GzxeRVoaAarv7DrU6o9tCLd5uOGGKo01g+N6LqC8=; b=YFKDrfEynAlZ9nuJZQVumMiXa2fH+FrlM1CJgYIdQTUpNmSWt1V+Ii+MZQ6KObSG+Y G5eUKJwOgBU/7gU0vBrEi8ycxf5iBhDhvqmHVAx8cflra4QAd1EkB6j061nXn94LCGGa k+YP8aeVnEzgbRjevzpvKPqjzglxCOpUjBCUOhcBUSCH6UweCpzyxgQ7kkdI/O5nPygL R8zl8HkUyBHbQk9Yfi42RbIsYmQ/kMBVsEJs+6w7LkTPIatGMcdQHdh027bCvRP1i3fu G0evLC7yV3ii8jZBgd3QAdPXcnk2A15v/KXqyQe8nJ02uV5kLVQUOyuqMe/IpeunJ5kQ sMCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AC2tgQRJ; spf=pass (google.com: domain of linux-kernel+bounces-27613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27613-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id g2-20020a056402428200b005569cab2645si5345873edc.5.2024.01.16.09.10.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 09:10:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AC2tgQRJ; spf=pass (google.com: domain of linux-kernel+bounces-27613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27613-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id CC99A1F21A70 for ; Tue, 16 Jan 2024 17:10:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 251791CAA4; Tue, 16 Jan 2024 17:10:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AC2tgQRJ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 53DEC1CA87; Tue, 16 Jan 2024 17:10:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9121EC433F1; Tue, 16 Jan 2024 17:10:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705425007; bh=WCi6VGkBIXSBMccsoDB/WZ6vKhOsmu9kfVAUQ8dIkdM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AC2tgQRJMJBy3BvQIGWENmv0xrO3i6eH56mpqRHbnn0HwwXlvLFF9J1+4w/Yv2rRi uPgBAE4sECuMuo/D0docvQG7bY3GmiQI246QkRexqOZHwU6hd3NwFGQcvoqJmZJxkJ I8C/D3RrRdsEnSvjOMxLOF21vAoO7b+C8Sc2fZBLNSh4Xx/wy4abrutJSPJ04oAQRd so49wXxbsS+KdkYQClNx888QpyoHTnBm33/pAqye6SdwowMDFhnHmeU0qsx9JV2KUK x5Q8CYFCuFgHPUqs3CMml/6ai+q/7/t3pZZj6s2s6r3aCokpFpOtZWfxLecO15UWO7 YV5f6MOUMX9Ng== Date: Tue, 16 Jan 2024 11:10:05 -0600 From: Rob Herring To: Zhenhua Huang Cc: krzysztof.kozlowski+dt@linaro.org, quic_tingweiz@quicinc.com, richard@nod.at, vigneshr@ti.com, conor+dt@kernel.org, linux-kernel@vger.kernel.org, miquel.raynal@bootlin.com, linux-mtd@lists.infradead.org, quic_bjorande@quicinc.com, devicetree@vger.kernel.org, robh+dt@kernel.org Subject: Re: [PATCH v2] dt-bindings: mtd: avoid automatically select from mtd.yaml Message-ID: <170542500495.126061.10553621105906619365.robh@kernel.org> References: <1704885705-7486-1-git-send-email-quic_zhenhuah@quicinc.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <1704885705-7486-1-git-send-email-quic_zhenhuah@quicinc.com> On Wed, 10 Jan 2024 19:21:45 +0800, Zhenhua Huang wrote: > The mtd binding is always $ref'ed by other bindings, default selector > should be from other binding files which ref'ed it. Now, "$nodename" in > mtd.yaml turns into a "select" automatically such that a few binding check > issues reported because it conflicts with sram devices(eg, qcom,imem.yaml, > rules in folder sram/*) > > To avoid the automatically created "select" in mtd.yaml, adding: > > select: false > > Suggested-by: Bjorn Andersson > Fixes: 7bdc671822e9 ("dt-bindings: mtd: physmap: Reuse the generic definitions") > Signed-off-by: Zhenhua Huang > --- > Hi Bjorn, > > As the idea is from your comment, I added "Suggested-by" you. > Please tell me if that's not suitable. Thanks. > > Documentation/devicetree/bindings/mtd/mtd.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring