From patchwork Tue Oct 10 22:49:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13416251 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 6A51BCD98E3 for ; Tue, 10 Oct 2023 22:50:41 +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=7Lo+QOoo2XahicE6XZ18EDe+McYuOPuC4NcVRT4FGXI=; b=Q0oMlEzqns4mUc 0Xn3M2rsmS9Si+0+irk0lfAA5B4wOwLwDj/obu5VM0nfdzFN4G7L2bVOAELuc+BhqoUvo8AP33y7/ 8760npHprLaeH6P8AELWsoeOKlV4FRacmJZGxk6EfgJqrCV1zRuNhC8y9OwZbOX2CkflsCnXa1TBC qW40SFXCt8UySgjIFstVQ0GIC07/7mRuDlfzhZp2nJpZ4haWoLgs/Ic92uqm7LmMVfmMgHpPN/1XS NSu0fKPZVxi7GRwfTf6eNti431v0VGJOluJiJDu3+EB/sd2BJcea2dAMaSiqwUxy2sYBno1pqcSLX Dy1E8/LC7FGHRzLVDOiA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qqLYK-00EIcw-2B; Tue, 10 Oct 2023 22:50:12 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qqLY6-00EIQc-0t for linux-arm-kernel@lists.infradead.org; Tue, 10 Oct 2023 22:49:59 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4065f29e933so61176875e9.1 for ; Tue, 10 Oct 2023 15:49:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696978194; x=1697582994; 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=zurLR0/e73s9qaXsNiBj25J3OO2Gwg9apCX41yzLfwU=; b=wvA/pAGFIIX2ac+iK6JJj9PNdtdA2i2aO5L6pDpfHVKi9Bwp6HYXKmLOjBfKUy6GlT ii7uxhUgM01rCAlVhw3MpMXK+UeQfcMN+l8rL/l//U2lfzZ51lKpLNfY/smLt6OL4i+g 44VuO5gWgDhsq3fKmNnL5UGsdNTeIxzF66pRYRbbyiM6zGCZqoRt4vkOSiLn5e77kiA2 fYY968N6+B1pWIyhpDmhpWHZlW3pXB728ZqHbPknmKE/UKuXVwBil5FcPwIKpJ5cpv1u dt/ZBZGzSPNbdk5FVISp/Aw1AYEqtbFRBZL0xvbjns8Ng7bZnGxKbyi818LX89Z487Po 6kqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696978194; x=1697582994; 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=zurLR0/e73s9qaXsNiBj25J3OO2Gwg9apCX41yzLfwU=; b=IrxacccLoUv+AYODgsiXBHlaZZSxbJ1GaEQ8NfZdh1wankJ0fbYoHbzyeOfasZep98 S3Hnne7NgqWrE9Ht98KFA2SIFz2XKmt6YfyoSOMnoJJ3AZeYzrsnAzBGfeD/WpsQ1RTr cpM/7EIl0q1LFmYkZ3zhPLd3QooMFX6P6aQAD5KQt4IAtU2aZ3Xa3nzbTA4C9Dju2yjl ZW4xNz/gyVWx4QcYffewFYbdmcQMwCj+5sp+TA+2G3eSRR1UNsFtTnTS7IUA61Ndbb/T vDA0Fz3S00dNJhdR/uTko67VqTBs4qyJU24xsPAIMgIZsRZ4T57qULY0TAlB7V2WZW9S YH8Q== X-Gm-Message-State: AOJu0Yz8rMZzilBj907PJejGJQT9WmRtsEeRObQieJxOPUAGq8ZinbeZ VVVaT8FIdcTvXK19YgnmhQAJ7g== X-Google-Smtp-Source: AGHT+IEjsAdZZ2TrgAKTWEGnW3p1wMPoziKHfwDUL1AzluyyUU59YKFDtce6RDEjYzrGHYVBL9ceag== X-Received: by 2002:adf:f40c:0:b0:324:8700:2fec with SMTP id g12-20020adff40c000000b0032487002fecmr15763212wro.64.1696978194557; Tue, 10 Oct 2023 15:49:54 -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 j13-20020adfe50d000000b003196b1bb528sm13689547wrm.64.2023.10.10.15.49.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 15:49:54 -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, 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 v2 06/20] dt-bindings: pinctrl: samsung: add google,gs101-pinctrl compatible Date: Tue, 10 Oct 2023 23:49:14 +0100 Message-ID: <20231010224928.2296997-7-peter.griffin@linaro.org> X-Mailer: git-send-email 2.42.0.609.gbb76f46606-goog In-Reply-To: <20231010224928.2296997-1-peter.griffin@linaro.org> References: <20231010224928.2296997-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-20231010_154958_313114_6B57EB18 X-CRM114-Status: UNSURE ( 9.20 ) X-CRM114-Notice: Please train this message. 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 --- .../bindings/pinctrl/samsung,pinctrl.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml index 26614621774a..2464bc43aacb 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 @@ -134,6 +135,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: