Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1401995pxj; Fri, 21 May 2021 13:22:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIrdxrBT4l0TJxFGbWbygg5hgXjTvWhsmpf7GM45ljPSZ3CAwBJdFXJUwaRpg7sVcpmCFw X-Received: by 2002:a05:6402:35c5:: with SMTP id z5mr13468913edc.210.1621628542316; Fri, 21 May 2021 13:22:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621628542; cv=none; d=google.com; s=arc-20160816; b=qHp1G3PmjDn+n8OG5txoX9eaiiM6gov7HUIQTW+PaDPask9ZCoVVSthOYU6Ei1ySBW 5tD6pnpeJ+mc6xzq+/eZHWte1Nbx9S2qnaTk8KDORckcvzn4bjAVx9ezDl1ZGCgDxQBc r4QdPEyq7YUXXozfwa7+LvS0BsCdTxOtde6cA1BFuWiwzQCVIIZbEDjkvlBmqi9HqiSm C4CpRt16Ghge6ZH296k1cvhia88EoTA6bknsAq3fwlpSDj5QVX8EQeSytAyB/sxjnQEl SKIZEb/5twuwHeEt69zghN0OiB7zsQ43AlVejtAZ2ZLWA0wMF1NqCUWmRGY4QjG0swHj nxrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=rKyqEuVfZGjUQUNCHAAXWjMW1isuwHK0Pjj0QP8GdCY=; b=LPY9vmCAye9yZ4CrjRD5nSxq4sAUlzIzEQgBARIprEP9KddEZzpKCfZe1eBN6o/md6 HvtdkGvyglDC59eqD5m4cwfoAEYRKQI/0wGjuzV3uzk0Qls5abKu4bkGHT/6qbkbbxiC mrib0mflcVKbTyXi3TFdXxNyG190Jlw0NG9mynymFV0owcd+ITUYslazaLL9FehRVDTO CfSyrlh+CtFY4homIXapw53VvTLnAqBXPVi/DzZjNy8AYLIMdtPhxFbIl9lKo1hwwgeh JhabPH0sWZtTW1ou7jtUJKWq1VOv0SWeejjC/if7RPm5J8YuezQjmoU/Z96QlbI/IPIP bb/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rs6si6385762ejb.266.2021.05.21.13.21.59; Fri, 21 May 2021 13:22:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234692AbhEUQaw (ORCPT + 99 others); Fri, 21 May 2021 12:30:52 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:3471 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231621AbhEUQaw (ORCPT ); Fri, 21 May 2021 12:30:52 -0400 Received: from dggems706-chm.china.huawei.com (unknown [172.30.72.59]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4FmsSF2sD1zCvW0; Sat, 22 May 2021 00:26:37 +0800 (CST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by dggems706-chm.china.huawei.com (10.3.19.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 22 May 2021 00:29:25 +0800 Received: from localhost (10.52.125.126) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Fri, 21 May 2021 17:29:23 +0100 Date: Fri, 21 May 2021 17:27:36 +0100 From: Jonathan Cameron To: Oleksij Rempel CC: Dmitry Torokhov , Rob Herring , , , , David Jander , Subject: Re: [PATCH v5 4/8] dt-bindings: touchscreen: validate nodename Message-ID: <20210521172736.00004061@Huawei.com> In-Reply-To: <20210521044525.7397-5-o.rempel@pengutronix.de> References: <20210521044525.7397-1-o.rempel@pengutronix.de> <20210521044525.7397-5-o.rempel@pengutronix.de> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.52.125.126] X-ClientProxiedBy: lhreml746-chm.china.huawei.com (10.201.108.196) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 21 May 2021 06:45:21 +0200 Oleksij Rempel wrote: > Validate touchscreen nodes. Make sure it is named touchscreen*. > > Signed-off-by: Oleksij Rempel Feels like this should be two separate patch sets... The node name one, and then the stuff for the resistive touch screen. > --- > .../devicetree/bindings/input/touchscreen/touchscreen.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml > index 046ace461cc9..057e1063759c 100644 > --- a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml > +++ b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml > @@ -10,6 +10,9 @@ maintainers: > - Dmitry Torokhov > > properties: > + $nodename: > + pattern: "^touchscreen(@.*)?$" > + > touchscreen-min-x: > description: minimum x coordinate reported > $ref: /schemas/types.yaml#/definitions/uint32