From patchwork Thu May 13 21:03:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksander Jan Bajkowski X-Patchwork-Id: 437520 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB8EBC433B4 for ; Thu, 13 May 2021 21:11:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 934CB61452 for ; Thu, 13 May 2021 21:11:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233326AbhEMVMb (ORCPT ); Thu, 13 May 2021 17:12:31 -0400 Received: from mx3.wp.pl ([212.77.101.10]:13962 "EHLO mx3.wp.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233320AbhEMVMb (ORCPT ); Thu, 13 May 2021 17:12:31 -0400 Received: (wp-smtpd smtp.wp.pl 16248 invoked from network); 13 May 2021 23:04:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1620939879; bh=AzcBINbYZdnielXea23PvA+W95/jspAWRWbklsvvER4=; h=From:To:Cc:Subject; b=X+NynzB3VgC9qFG2Yiu/O9VuxwKsNFRNrTboSNrNw3OPdtlzAKFnZJS+d1++9DUbV /9Pmw2JARHRm9xik90L+A1maVIFIRV8hLLHR1Dnq+GOyNWJt5JV7+K12F10Jrx9oU4 19lBhypJa7y/jhLs10+SXO6u+OUgERHFhM/ph+GA= Received: from riviera.nat.ds.pw.edu.pl (HELO LAPTOP-OLEK.lan) (olek2@wp.pl@[194.29.137.1]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 13 May 2021 23:04:39 +0200 From: Aleksander Jan Bajkowski To: linus.walleij@linaro.org, bgolaszewski@baylibre.com, robh+dt@kernel.org, john@phrozen.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Aleksander Jan Bajkowski Subject: [PATCH 2/2] dt-bindings: gpio: stp: add gphy3 and gphy4 properties Date: Thu, 13 May 2021 23:03:40 +0200 Message-Id: <20210513210340.10466-2-olek2@wp.pl> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210513210340.10466-1-olek2@wp.pl> References: <20210513210340.10466-1-olek2@wp.pl> MIME-Version: 1.0 X-WP-DKIM-Status: good (id: wp.pl) X-WP-MailID: a88212db06a9e0d4b6918adb88f1eed9 X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 0000000 [QSO0] Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The xRX300 family has 3 and the xRX330 has 4 gphs. They can also control some pins of the gpio cascade. This patch documents the missing properties. Signed-off-by: Aleksander Jan Bajkowski --- .../devicetree/bindings/gpio/gpio-stp-xway.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/gpio-stp-xway.yaml b/Documentation/devicetree/bindings/gpio/gpio-stp-xway.yaml index a36acc98898c..beb755edf639 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-stp-xway.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-stp-xway.yaml @@ -84,6 +84,22 @@ properties: minimum: 0x0 maximum: 0x7 + lantiq,phy3: + description: + The gphy3 core can control 3 bits of the gpio cascade. Available on + the xRX300 and xRX330 family. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x7 + + lantiq,phy4: + description: + The gphy4 core can control 3 bits of the gpio cascade. Available on + the xRX330 family. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x7 + lantiq,rising: description: Use rising instead of falling edge for the shift register.