From patchwork Wed Jan 24 19:01:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 1890380 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=GvuTAwEw; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:40f1:3f00::1; helo=sy.mirrors.kernel.org; envelope-from=devicetree+bounces-34807-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org [IPv6:2604:1380:40f1:3f00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TKtd259jLz23dq for ; Thu, 25 Jan 2024 06:02:46 +1100 (AEDT) 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8A631B22602 for ; Wed, 24 Jan 2024 19:01:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D1089131E38; Wed, 24 Jan 2024 19:01:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GvuTAwEw" X-Original-To: devicetree@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8B68177F3E; Wed, 24 Jan 2024 19:01:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122880; cv=none; b=c9xuYH0JRfegFXjx/b9v886R6LVbsxvF9DR5E+PTF0NDCilxATwL2bt+v0prHhZqpyPAYGX2kU7f/Q/EahgO+H6o68C97zcdFQSv71kWZIWhh+797cwrIyApMrCTVoaMLM0gV6Dk7eHI4fa4fwY3/GnXdAHJHIc/CGHfWKdsLHU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122880; c=relaxed/simple; bh=tOgsZRXU9rRQFmddKn9J6mSGDO3A5r9Xtx6Ag8uTw0U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ll506vSA3H/FJF9xkBInBxZwejPJRO2R4OwaBomksr35+uNS2qy3Hk+EWqRpPz1kBBbPxT3bpEn2iwcayj9yX0I3MnklVT/CTxSamgWrTAbwV2MO3STHbHjUTyF0IcbjlW+jnkkc6b3qxTO21f302RdQHcE+KKdjw5VA4tkyMXc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GvuTAwEw; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA974C433F1; Wed, 24 Jan 2024 19:01:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706122880; bh=tOgsZRXU9rRQFmddKn9J6mSGDO3A5r9Xtx6Ag8uTw0U=; h=From:To:Cc:Subject:Date:From; b=GvuTAwEwBlmIaZvxxby4E//caeJa+m9jb6A6jf1IR/4Qrdij11PglW5ZLz94g9aqM rwtcZYQSCvb78UR2KaycjDifkQwqeQBQlCAf1VKvbVCUp0a42xmub369OdjfdAdXkO trn43tCZBE/BYImrD58p+LtIthpbyovHXb5oVF4pzGYPIua+tHZvszUfNnnwAslW2j Ykh26hHQG0hYValJobzSo1U+biPNI6GR9ygDNKf2rlyMpWXQARLd5WhwDf/lIOyAbC tmCIvhQgvQ05qDaypf5VWeZ+rq+b3dy7V2tuHl+haIAje9RW4+6TAtzXJW+bQ7RQH3 Ir6J0QvybvE/Q== From: Rob Herring To: Charles Keepax , Richard Fitzgerald , Linus Walleij , Krzysztof Kozlowski , Conor Dooley , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , patches@opensource.cirrus.com Cc: alsa-devel@alsa-project.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org Subject: [PATCH 1/2] dt-bindings: pinctrl: Unify "input-debounce" schema Date: Wed, 24 Jan 2024 13:01:04 -0600 Message-ID: <20240124190106.1540585-1-robh@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 nuvoton,npcm845-pinctrl defines the common "input-debounce" property as an array rather than an scalar. Update the common definition to expand it to an uint32-array, and update all the users of the property with array constraints. Signed-off-by: Rob Herring Reviewed-by: Krzysztof Kozlowski Reviewed-by: Charles Keepax --- Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml | 3 ++- .../devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml | 1 - .../devicetree/bindings/pinctrl/nuvoton,wpcm450-pinctrl.yaml | 3 ++- Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml b/Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml index bb61a30321a1..482acda88e73 100644 --- a/Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml +++ b/Documentation/devicetree/bindings/pinctrl/cirrus,madera.yaml @@ -93,7 +93,8 @@ properties: input-schmitt-disable: true - input-debounce: true + input-debounce: + maxItems: 1 output-low: true diff --git a/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml index 3e8472898800..20cf0102aa63 100644 --- a/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml @@ -152,7 +152,6 @@ patternProperties: description: Debouncing periods in microseconds, one period per interrupt bank found in the controller - $ref: /schemas/types.yaml#/definitions/uint32-array minItems: 1 maxItems: 4 diff --git a/Documentation/devicetree/bindings/pinctrl/nuvoton,wpcm450-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/nuvoton,wpcm450-pinctrl.yaml index 7b7f840ffc4c..08442c880f07 100644 --- a/Documentation/devicetree/bindings/pinctrl/nuvoton,wpcm450-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/nuvoton,wpcm450-pinctrl.yaml @@ -103,7 +103,8 @@ patternProperties: items: pattern: "^gpio1?[0-9]{1,2}$" - input-debounce: true + input-debounce: + maxItems: 1 additionalProperties: false diff --git a/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml b/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml index be81ed22a036..d0af21a564b4 100644 --- a/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml +++ b/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml @@ -97,7 +97,7 @@ properties: description: disable schmitt-trigger mode input-debounce: - $ref: /schemas/types.yaml#/definitions/uint32 + $ref: /schemas/types.yaml#/definitions/uint32-array description: Takes the debounce time in usec as argument or 0 to disable debouncing From patchwork Wed Jan 24 19:01:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 1890378 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=gtrOHq/s; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:4601:e00::3; helo=am.mirrors.kernel.org; envelope-from=devicetree+bounces-34808-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [IPv6:2604:1380:4601:e00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TKtbw17Cnz23dq for ; Thu, 25 Jan 2024 06:01:48 +1100 (AEDT) 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 am.mirrors.kernel.org (Postfix) with ESMTPS id B4D101F286AD for ; Wed, 24 Jan 2024 19:01:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C047132C0A; Wed, 24 Jan 2024 19:01:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gtrOHq/s" X-Original-To: devicetree@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 32644131E5E; Wed, 24 Jan 2024 19:01:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122883; cv=none; b=drNACeZbipnwm6z+iUWPYsUymrrwFPxuIbRf2UFZn+lMkBSsJ8dZIDGrqQ3UJy0eL8LuPVY2dLAXlw97zF0yqfzBq5NrWNjeEEyDx0tiLsQ4882VTP6XZWco0gwpaRlGIAZ9bWwgSNO7cjMMVbtfigbZigs6KrRQFEUPLPUTDZo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706122883; c=relaxed/simple; bh=dMObXyq0MBRE/uycOHgjqOdNUcF7nQX2Ho+KMxlPsXk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dcbTI9y65j7VI+SmXBuxV72xgqOKNpnahLH0Vb8WEzGGQZwHGZ+EZ7V698Rl/D22NjE8Cvj2u4oiST0HXv5VZdBCarYZO5qA991wfWTecLD2PY0R0OYs9mVxOOB0WyThh+dQiZK0pGSvEMi5cDhzPorObIt5aJZR7EtaQnOiBVo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gtrOHq/s; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86972C43390; Wed, 24 Jan 2024 19:01:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706122882; bh=dMObXyq0MBRE/uycOHgjqOdNUcF7nQX2Ho+KMxlPsXk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gtrOHq/se1guXLT7U4yisWLOI4M8hEOOfNKHh6jYGnWmGY8x/Fk+BwXOKJOtEwBwe 6jtsYOsQsCycofWpVO/AfO40OVu60FhKCU++W0/qT06ZKIDiGytIGa8+6p3/gWLiSO FSFd2ZRL4yfowDYlU91IF/s6U1kBpGhaQFKNtIYYHK4UavbDaYgw+mw+wWgbwdNqAs p1Kn3v2PnWPdd4ZwpJYoAPRClwSkgyYuo7XtIeCCVHqP2AI5og2fa7oJph4dVhZ9Sq PzC9zOeQ5tCx90r78j32XpujfuHx6LoXxY2UFccrEC+mdWZOqAgyFzYfm4IzYCCBJW j73dEwZG43dhQ== From: Rob Herring To: Charles Keepax , Richard Fitzgerald , Linus Walleij , Krzysztof Kozlowski , Conor Dooley , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , patches@opensource.cirrus.com Cc: alsa-devel@alsa-project.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org Subject: [PATCH 2/2] dt-bindings: pinctrl: nuvoton,npcm845: Drop redundant type for "slew-rate" Date: Wed, 24 Jan 2024 13:01:05 -0600 Message-ID: <20240124190106.1540585-2-robh@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240124190106.1540585-1-robh@kernel.org> References: <20240124190106.1540585-1-robh@kernel.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 pincfg-node.yaml already defines the type for "slew-rate", so drop the type from the nuvoton,npcm845-pinctrl binding. Signed-off-by: Rob Herring Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml index 20cf0102aa63..b55d9c316659 100644 --- a/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml @@ -159,7 +159,6 @@ patternProperties: description: | 0: Low rate 1: High rate - $ref: /schemas/types.yaml#/definitions/uint32 enum: [0, 1] drive-strength: