Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1621070rdb; Sat, 23 Dec 2023 14:45:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IHytuQ57uxwSnuHqDHhTn0htakzoIBy01Hk0B1IcRPv8iFHjdCfa/4ohVufwLtRakL+gVhf X-Received: by 2002:a17:902:d382:b0:1d3:9060:62a7 with SMTP id e2-20020a170902d38200b001d3906062a7mr3642509pld.35.1703371509786; Sat, 23 Dec 2023 14:45:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703371509; cv=none; d=google.com; s=arc-20160816; b=wH7nn/N/gGygB4qsEjdxSyqs5vhxqFvlnoi3vNyjpOf5+ZS5q70hXm8U5tVdSoc9oN Xk4OwgKjOzYX9Y4SOtARmSeiHIpL/T4C27pG+Qfe0iuS2z6p2t2f9nvPuf6hnnGe1Ahe vUFOV4kNis+yCjq3WB2moDoMCaVFL/mzMZzsWhwUMUKK2XossUaRcFSJ0mRTmzyPgo4M YWeHKVUcWTVFPGanGlL4gL4+TOidf/8625ik0mq2iRrO8Ze0W5Rue0WEHxb3nXEcqIcj tlAgZyGUAHfkeayvicu6eFW+XLcr0NUMFJTUwfJly/2kAlzyWSB1PnS4GzPgZrUOG7tp x+Fg== ARC-Message-Signature: i=1; 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=wNnMpPSuWfDBc3iHywduR+Ih2mlWoXSvgD9/nDYl3K0=; fh=NvbW7X9QQJkpUGT1YT3SKvK7ksbouV7aZzHmCoQiJp4=; b=NF51+X2n/4cz5FoMfclLwGjw3Gzwq9cCB2K8Q4xMRi/egjtm4vkaJQ7hYr2P1mXrI7 HKXg6HERJEHfo9K2Vo8Lcs0QUCXoxVT9+QlKDu4nz6HFNjZhNV14I4vpNvd7up5Yn5Hd /VG8C9zf4hIQ8kgCywSeVEVYD7ujUPFq7IEaT95YnXYQhOEVcH3DlfJEzSz8LNfUqQKH ic48Lvzn6OM7FEK7l/dxALaAgMOYazCAoYdy+y3+S5IgvHrjjQ2bekczJOyA21ug12Cg 8XBBavEJEJHY+3gnmeji8c6Iy4+i4PQTkDfsWniYON8hvV9d2gMP69xBPfs5lM87k72j 0BpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=bDwJYrI4; spf=pass (google.com: domain of linux-kernel+bounces-10601-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10601-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id g1-20020a17090a578100b0028baf7ef679si7428567pji.60.2023.12.23.14.45.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 14:45:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10601-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=bDwJYrI4; spf=pass (google.com: domain of linux-kernel+bounces-10601-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10601-linux.lists.archive=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 71900282B64 for ; Sat, 23 Dec 2023 22:45:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A11C18E17; Sat, 23 Dec 2023 22:45:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kemnade.info header.i=@kemnade.info header.b="bDwJYrI4" X-Original-To: linux-kernel@vger.kernel.org Received: from mail.andi.de1.cc (mail.andi.de1.cc [178.238.236.174]) (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 3B44818B1B; Sat, 23 Dec 2023 22:44:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kemnade.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kemnade.info DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=wNnMpPSuWfDBc3iHywduR+Ih2mlWoXSvgD9/nDYl3K0=; b=bDwJYrI4eAUzGR4S7S/zojT8+7 64BMJ+nQq+hoz4+tr5lmrmMEfP4k7idGp2zCzLMJ4kegGKmw4cLxMZW97SOwO82gCCkrm90oKIdBy VpGRCSqHtlnKqyERFHnrBt3rjl9MPXhyBV8ZQCBBlOfvv57Thdth1CXN8KrVTDau9c8AUxHuIVJKp eQm08vbj7mIxSCz59yDW0ojGk37SzHiUdWy2S6IPqX4Hu2jzT4Lxh9DCLvTL9dhrqLH/Idn7ElrTV k69Bc+R7MKj4UHCOhYrhW6/94RDMgo2eQ9to3yEi8iSxc6jDXRyVuVqOfjfbdDZtYAQgZsGsQbx1j iEOh+yGg==; Received: from p200301077700c3001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:107:7700:c300:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rHAEK-007f7a-4q; Sat, 23 Dec 2023 23:12:24 +0100 Received: from andi by aktux with local (Exim 4.96) (envelope-from ) id 1rHAEJ-003FaC-20; Sat, 23 Dec 2023 23:12:23 +0100 From: Andreas Kemnade To: dmitry.torokhov@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, rydberg@bitmath.org, andreas@kemnade.info, linus.walleij@linaro.org, Jonathan.Cameron@huawei.com, u.kleine-koenig@pengutronix.de, heiko@sntech.de, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Rob Herring Subject: [PATCH v3 2/4] dt-bindings: touchscreen: neonode,zforce: Use standard properties Date: Sat, 23 Dec 2023 23:12:11 +0100 Message-Id: <20231223221213.774868-3-andreas@kemnade.info> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231223221213.774868-1-andreas@kemnade.info> References: <20231223221213.774868-1-andreas@kemnade.info> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Enable touchscreen orientation to be specified by using standard properties. Signed-off-by: Andreas Kemnade Reviewed-by: Rob Herring --- .../bindings/input/touchscreen/neonode,zforce.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/input/touchscreen/neonode,zforce.yaml b/Documentation/devicetree/bindings/input/touchscreen/neonode,zforce.yaml index c39662815a6c5..c2ee89b76ea13 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/neonode,zforce.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/neonode,zforce.yaml @@ -9,6 +9,9 @@ title: Neonode infrared touchscreen controller maintainers: - Heiko Stuebner +allOf: + - $ref: touchscreen.yaml# + properties: compatible: const: neonode,zforce @@ -26,9 +29,11 @@ properties: maxItems: 1 x-size: + deprecated: true $ref: /schemas/types.yaml#/definitions/uint32 y-size: + deprecated: true $ref: /schemas/types.yaml#/definitions/uint32 vdd-supply: true @@ -38,8 +43,6 @@ required: - reg - interrupts - reset-gpios - - x-size - - y-size unevaluatedProperties: false @@ -60,8 +63,10 @@ examples: reset-gpios = <&gpio5 9 0>; /* RST */ irq-gpios = <&gpio5 6 0>; /* IRQ, optional */ - x-size = <800>; - y-size = <600>; + touchscreen-min-x = <0>; + touchscreen-size-x = <800>; + touchscreen-min-y = <0>; + touchscreen-size-y = <600>; }; }; ... -- 2.39.2