Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp912451rdd; Wed, 10 Jan 2024 03:27:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IEulvQjI3KaRaynqgLV0JOz+/VnfqeRdy4X2nyNOtbyKlkB58pITBTYgitq0AQDl6NOaXcz X-Received: by 2002:a05:6358:787:b0:175:67e3:cb28 with SMTP id n7-20020a056358078700b0017567e3cb28mr701587rwj.12.1704886023293; Wed, 10 Jan 2024 03:27:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704886023; cv=none; d=google.com; s=arc-20160816; b=zHedZx5bw5H+s84gc1aKYVG3H7QfiFtd/26tJVozCggZbwutXZduriJZzwHhDUuMdJ wc7humUrson0DuTbfyA4NelUqU0VEcTMevRP79VeOxwPNv42PUdX82IU7bQb+tbgNK2j Yw2R5jG2AkbyecwL7PsU3VY4R6FPKccgt75jz9CUyXeRdzzg5DbL5A6kclkEpWLwME96 702mC/M45RhsUVleIIZQ6LCFUpw57M/yRxE1ZymiVHLSMF7Hgb5V3LuCMvGaPqJGaPEW HVub6gYl4YHAGx3YsdrE604aORSXIgSU8+AAkHOBPO+4cF1Wo97YD5L8/5NeQ4jjSyJs rJ8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:subject:cc:to:from:dkim-signature; bh=J6w8/2Uaivc+IhxWpx33fUyFHAcLJNahWcoAf86tYLU=; fh=v//SCgEnPLxfD7ZXYfBs70q614wfcsuc/1sLxdcW2/Q=; b=1LtZvIYlvZaLv6VjiQaJJ9yJNeg4qnEgiZbBFu2zTnqNHeTg0kyzvc3wYVqrK0WZec WrJCwdZx30U70JcUiRLTE2cmVNwF/IuXwJEzgSjVFffEQQgcnHzjYQxPy/aExJF7Bwyf 1S3hbXORfDDb88VF4YtbQar5GE+xwFYEQaLV9P08EKJZm5itL33W3L50R9ljjifTJiyv /WFi84gqVg/KANp/2nzZGbChOtQC2+v5ydgHH/y5SIfZdBQT1oxIGXYis0N6hX/pKJ7o VpKoqoePamMu78T21yytPlgJH+IzcV76AIiL9gRJ2TjJkGiOdlgGVhl4u0vrfjeZAEML Z2dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=lZGq1KKj; spf=pass (google.com: domain of linux-kernel+bounces-22088-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22088-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h34-20020a63f922000000b005c6b59c91bbsi3520090pgi.654.2024.01.10.03.27.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 03:27:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22088-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=@quicinc.com header.s=qcppdkim1 header.b=lZGq1KKj; spf=pass (google.com: domain of linux-kernel+bounces-22088-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22088-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.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 30F1B285F07 for ; Wed, 10 Jan 2024 11:26:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 012B64879B; Wed, 10 Jan 2024 11:24:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="lZGq1KKj" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 CA36348793; Wed, 10 Jan 2024 11:24:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40AA33Bf014480; Wed, 10 Jan 2024 11:24:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version:content-type; s= qcppdkim1; bh=J6w8/2Uaivc+IhxWpx33fUyFHAcLJNahWcoAf86tYLU=; b=lZ Gq1KKj+QmNxD0sKY8WW9yn6/tRPSSwTozMn2tMp2Z4RBoTZN4Ogk0RKdQjs4uo1i 6AZKgWjDwyHr9Dr6Hi0qwIWdlckTS2KoUEALKY59OzlwfREaY7gnMfrBvkF4yIeF 2/3Rz1etd+LZASdOLvXZ8rxCajQd4GujDNRaluTgY6YWdLnpgl520rLkpo9ck+cM 5O/JO4BYcYCoLpNn1CLKWfx7JzPnRjUcBfzMkMAhl/G2+4rzDQLxIHlxm5V6PiJe rXkJP7GAx5QRLLalL9GjVkCAjFHnMDY5QQU/EZ9PkFlvx056ZlmH6FuE8oI1aob8 TO5nk2GaMwrz0H+Xr7wQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vhs4mg634-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Jan 2024 11:24:37 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40ABOa1j018220 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Jan 2024 11:24:36 GMT Received: from zhenhuah-gv.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 10 Jan 2024 03:24:33 -0800 From: Zhenhua Huang To: , , , , , CC: , , , , , Zhenhua Huang Subject: [PATCH v2] dt-bindings: mtd: avoid automatically select from mtd.yaml Date: Wed, 10 Jan 2024 19:21:45 +0800 Message-ID: <1704885705-7486-1-git-send-email-quic_zhenhuah@quicinc.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: eVtUjBz7nsmPqilmuphc3XYpZr017eOc X-Proofpoint-ORIG-GUID: eVtUjBz7nsmPqilmuphc3XYpZr017eOc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 phishscore=0 lowpriorityscore=0 mlxlogscore=882 adultscore=0 impostorscore=0 spamscore=0 clxscore=1015 mlxscore=0 suspectscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401100093 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(+) diff --git a/Documentation/devicetree/bindings/mtd/mtd.yaml b/Documentation/devicetree/bindings/mtd/mtd.yaml index f322290..ee442ec 100644 --- a/Documentation/devicetree/bindings/mtd/mtd.yaml +++ b/Documentation/devicetree/bindings/mtd/mtd.yaml @@ -10,6 +10,8 @@ maintainers: - Miquel Raynal - Richard Weinberger +select: false + properties: $nodename: pattern: "^(flash|.*sram|nand)(@.*)?$" -- 2.7.4