From patchwork Wed Oct 11 18:48:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13417790 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 860EECDB47A for ; Wed, 11 Oct 2023 18:50:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ymroMTNrsOW6g5/Ls9DIfFmmir4iaKjKs67Tom/lUh8=; b=tI/mKIZG6mzjBc 610pwnbBZKAJbGa/9HqMHtEb5xyqUq85Wh4EfPBs2ePEeTNrMpPayntyvAqMmF/4CSKslZt+T1QKN U6nl76WXYyJy36w0MfJUz8Lld1MchCnqsF29M596D3nCTERYeo9LDy2wO3wU05r2MSpDUm8I1p8ub rpEmSLiZ6KJR/e/F5WwscWQ6B/DTzcSeQrU0ckzogLppA/mFzab8o8Io7QkFckW31IeNhVi40KFre b2Ut5zr34SKFusp8G4PkE8cprwb0fjBGovpOltOSRM8uCNbsLe0fT950TPr8C9UKLkyolHdVQe8e2 mcDbvHsHZshwVt/Tm42A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qqeH9-00GTCx-1N; Wed, 11 Oct 2023 18:49:43 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qqeGp-00GSw1-1y for linux-arm-kernel@lists.infradead.org; Wed, 11 Oct 2023 18:49:25 +0000 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-323168869daso142646f8f.2 for ; Wed, 11 Oct 2023 11:49:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697050160; x=1697654960; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gwPgb0Vxa46C21WbpKo3fGsmmsstakxunKdlGSyuz/I=; b=STez8pK1N7QfovWqDzea7UprhtcJ9LrQiGQFQPsgyTzuFz3tla9L8L2MpKO2vXGqgc qGdN5Rgzq3WXauUfAoYr4FvbCu/Y5ncb2yJ6q0gh2st4jsYiKWJKE39yMvjVUgNj/Mip L8ee4TNl67dXQkFjQKWR+DVV6B4nOjioC/SXVmZFWLlQzz4fEwBgNraBImspVbEi0WHu rdwB+A+kgJDqdVTwb8m7Nf9RjvinWTE2spXY5NrkX22N1Hmw7WmQc0+3e4UHN3wbMguR Ipu0WIt5lrOvQphixmyjgGQDuQBfMV3HjJW8Hg1ZwcEhKnQ0d+F7Hdj1NYbDAJ0maCmZ G7XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697050160; x=1697654960; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gwPgb0Vxa46C21WbpKo3fGsmmsstakxunKdlGSyuz/I=; b=pN2Vy4Xk/SqJkD2SCLIu3db19uLePU+OaZpTKXqx/X6XvWcyRb69yKSyWOlu2/ZPWU 7v2yptgEUq4pOFCp+xdPJScMi6oRmv1OhJu+ES72P46ZQyN0j+fDFun2PWrIkkBo8ZQZ lzo68mx/gVEAapSN9pk6tHpvxRjQKUuazOo3gOuFesmNkYjHimg4gO+nhOubh6ynNeiV v9tbCE6qvoyLErNGP/jaB3/REAxCsnfiXGIbJxrjVqcujIyFmzCwUGWx3rojO2FqA8Py V4dE3bc8yysT1oxDR7gPXUKXE/W2ij+hwrJAsMJVPGgbJ7yHHF++vZSIwUIHOyazJ5OO 8XEw== X-Gm-Message-State: AOJu0YwV0MRrxS9jKp/Pttg2lw4vvzLbVKIHi2E7UQwsZZWKk6Dj+3QJ cazXnu03IPbLA5U2VDgGgLmkbA== X-Google-Smtp-Source: AGHT+IFxq973Ob/kOR6t1bmL2SP/if638Oo0uwRo3quVfL0DpoW+bXn2/XL7gAGw658ulQS/plNO0g== X-Received: by 2002:a5d:4a0b:0:b0:31a:b3aa:d19b with SMTP id m11-20020a5d4a0b000000b0031ab3aad19bmr19222081wrq.23.1697050159908; Wed, 11 Oct 2023 11:49:19 -0700 (PDT) Received: from gpeter-l.lan (host-92-12-225-146.as13285.net. [92.12.225.146]) by smtp.gmail.com with ESMTPSA id v6-20020adff686000000b0031980294e9fsm16003875wrp.116.2023.10.11.11.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 11:49:19 -0700 (PDT) From: Peter Griffin To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, conor+dt@kernel.org, sboyd@kernel.org, tomasz.figa@gmail.com, s.nawrocki@samsung.com, linus.walleij@linaro.org, wim@linux-watchdog.org, linux@roeck-us.net, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, olof@lixom.net, gregkh@linuxfoundation.org, cw00.choi@samsung.com Cc: peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, semen.protsenko@linaro.org, saravanak@google.com, willmcvicker@google.com, soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-watchdog@vger.kernel.org, kernel-team@android.com, linux-serial@vger.kernel.org Subject: [PATCH v3 06/20] dt-bindings: pinctrl: samsung: add google,gs101-pinctrl compatible Date: Wed, 11 Oct 2023 19:48:09 +0100 Message-ID: <20231011184823.443959-7-peter.griffin@linaro.org> X-Mailer: git-send-email 2.42.0.655.g421f12c284-goog In-Reply-To: <20231011184823.443959-1-peter.griffin@linaro.org> References: <20231011184823.443959-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231011_114923_646565_24CF8864 X-CRM114-Status: GOOD ( 10.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the "google,gs101-pinctrl" compatible to the dt-schema bindings documentation. Add maxItems of 50 for the interrupts property as gs101 can have multiple irqs. Signed-off-by: Peter Griffin Reviewed-by: Sam Protsenko --- .../bindings/pinctrl/samsung,pinctrl.yaml | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml index 26614621774a..6dc648490668 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml @@ -35,6 +35,7 @@ properties: compatible: enum: + - google,gs101-pinctrl - samsung,s3c2412-pinctrl - samsung,s3c2416-pinctrl - samsung,s3c2440-pinctrl @@ -58,7 +59,8 @@ properties: interrupts: description: Required for GPIO banks supporting external GPIO interrupts. - maxItems: 1 + minItems: 1 + maxItems: 50 power-domains: maxItems: 1 @@ -134,6 +136,24 @@ allOf: minItems: 1 maxItems: 1 + - if: + properties: + compatible: + contains: + const: google,gs101-pinctrl + then: + properties: + interrupts: + description: + Required for external wakeup interrupts. List all external + wakeup interrupts supported by this bank. + minItems: 1 + maxItems: 50 + else: + properties: + interrupts: + maxItems: 1 + additionalProperties: false examples: