From patchwork Fri Feb 10 15:48:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TWljaGFsIFZva8OhxI0=?= X-Patchwork-Id: 55454 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1033959wrn; Fri, 10 Feb 2023 08:01:47 -0800 (PST) X-Google-Smtp-Source: AK7set+AvU8sjmNJjXNQwxKLV1dF2RlyGrX5FUyUPN6wSgiTZekGJ6Ny0OEdOf3PBcjv0tVM83vY X-Received: by 2002:a17:902:e751:b0:198:e8f3:6a48 with SMTP id p17-20020a170902e75100b00198e8f36a48mr19655891plf.9.1676044907161; Fri, 10 Feb 2023 08:01:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676044907; cv=none; d=google.com; s=arc-20160816; b=F/KZRUzzWcLMBcgPxtyAxzzpnt0Bf3+72HW0v2hTJ67Ys6SmSXljlopqNSbyMEmt0P eAIP9oePS5/E8/RWa5C1epEy6mC9hIA03klJrG93eD2onDmo4VqJjJChVxYLrakDtBeO +6GbHBr1elX1/USSCHXY6r98a7V4aOt0+CIM3CqFUTvL0xMaqGmfXaZpBXxF9H13k9F3 +oekzAKexY/V/Tdgbn3BFgJSK2NeoRxQjtONSE4UbrTATEUGrvJ+75AN14D/kMTObrmA LnEolF85182HlC9Ue2nCSgVSn/3j2AXhvPjVNbiLPj3UGoCOFzbKjhXZ6KgDQOchcZFb xJqA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2+TpaXpBy+/CX50PszxE+icAKfHjpZWw52REtekM1I8=; b=lMdriPeT8ePm79N9GQLkuHah4kCYVbmN3Nw7XoQn0wC8vPefDUnNjjTRPUclL3wmTF X6MmGzJMI/+FqDKVIX/Z8q1tElfiGgr8R5ww4teMFAWl/kPmQbLnobnO6UAwbEuTbPYo gY5GmASVeL5sfjIyeb3yb4FBqYmUswJ3AID94cuZ8n4NbwMuCW/2FNE9XN6sM279zu5k 2LDD2KdYTvEwv/8FPQhYgQtC7bj8E7gDicyfYUqkXAkizqh3TXV0BnwodoBeEldsRbya z3M8MXUWpmeEsPXiapnLuYRdLz+hLbEInAjZW4HOycUaEO9Cv5I9kJpyd5OntSXhV+wb uouw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b="C2/E6BDd"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f17-20020a170902f39100b001948e169a31si4158856ple.477.2023.02.10.08.01.34; Fri, 10 Feb 2023 08:01:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b="C2/E6BDd"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232894AbjBJP7R (ORCPT + 99 others); Fri, 10 Feb 2023 10:59:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232845AbjBJP7F (ORCPT ); Fri, 10 Feb 2023 10:59:05 -0500 Received: from uho.ysoft.cz (uho.ysoft.cz [81.19.3.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE4E11CF6F; Fri, 10 Feb 2023 07:59:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1676044184; bh=2+TpaXpBy+/CX50PszxE+icAKfHjpZWw52REtekM1I8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C2/E6BDdp3dWqjaN6GB+i2Eeas2Y266wpVng263/xGs0aTJoZQMwLVWDyJTQ6dNb9 HyRNC49huTu5CsE0Kwe2KwHJqWtW1t7GIP4MbgmaGLvw/JGrcedk6zu5sXILOoELAb Wokw5p5Ys0eajadQKt6o9ZB6FFqJM9oom+ovjYbI= Received: from vokac-Latitude-7410.ysoft.local (unknown [10.1.8.111]) by uho.ysoft.cz (Postfix) with ESMTP id 52548A05F4; Fri, 10 Feb 2023 16:49:44 +0100 (CET) From: =?utf-8?b?TWljaGFsIFZva8OhxI0=?= To: Rob Herring , Shawn Guo Cc: Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?b?TWljaGFsIFZva8OhxI0=?= Subject: [PATCH 3/6] ARM: dts: imx6dl-yapp4: Use reset-gpios property name Date: Fri, 10 Feb 2023 16:48:52 +0100 Message-Id: <20230210154855.3086900-4-michal.vokac@ysoft.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230210154855.3086900-1-michal.vokac@ysoft.com> References: <20230210154855.3086900-1-michal.vokac@ysoft.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757460464927956789?= X-GMAIL-MSGID: =?utf-8?q?1757460464927956789?= Use the gpios instead of gpio suffix that is mandated by the binding. This dtbs_check warning is fixed now: touchscreen@5c: Unevaluated properties are not allowed ('reset-gpio' was unexpected) The reset signal worked correctly as both the "gpio" and "gpios" suffixes are actually allowed by the gpiolib. Signed-off-by: Michal Vokáč --- arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index aacbf317feea..c6afc51bb22b 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -313,7 +313,7 @@ touchscreen: touchscreen@5c { interrupt-parent = <&gpio4>; interrupts = <5 IRQ_TYPE_EDGE_FALLING>; attb-gpio = <&gpio4 5 GPIO_ACTIVE_HIGH>; - reset-gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; touchscreen-size-x = <800>; touchscreen-size-y = <480>; status = "disabled";