From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9EDCCCA483 for ; Tue, 28 Jun 2022 12:45:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345609AbiF1Mp2 (ORCPT ); Tue, 28 Jun 2022 08:45:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238586AbiF1MpV (ORCPT ); Tue, 28 Jun 2022 08:45:21 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2214E1D0DC; Tue, 28 Jun 2022 05:45:20 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id sb34so25452359ejc.11; Tue, 28 Jun 2022 05:45:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pWy53RILJ6Qa6Uv8/5trw4fA3o1TR4WeWhGrXiQns2g=; b=GI2bfTI+oPZhauznzAMgp8lBoloxpPFWPIPpXcnJNAilvSNKyrnKjpqXq7yND2gkF7 uf22bEej7rhHW0vyyzfieSB2MB1IZlGRDzv+c+25uriZyHTspThRrM5RBmAwpfxK26VE o2TtcyZuCZ5hxjZDI3HYXmJ2xW5nkhvr2HWCN3+38P2CEPRdbxZSjGLqfMFmFd7OAVZJ v+u5mmuxA+TtxH90fqfdQNcCRs3lpPqH9mNE+GaS9Lzj7P8kYNjNcz+PI5DraymXKXRR mvS/CcSUaoDEDJDNi3ME9LJJUfvHhuvo1muB6tfGmYJZsT88yyD8Bsp4o8h0HUWm+uYt NWQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pWy53RILJ6Qa6Uv8/5trw4fA3o1TR4WeWhGrXiQns2g=; b=HTQPDIaUX/03CVZzKWFvMCnbrmlUA0fp/nxyjcQhiIGPrYRISKx8CnGNLgJ3quX4C/ pcjEDTtlJCihxVlBbZvJW47FjQgBCvXhk4c2LxGSuX9Nzmjomc6HS0dccV5z9rMZ1ExF GgOX5Td4qKx5Y9Jj4Zz6T1yLNGf5hYGVTRyvWlCpe3CNlB7d8TCclFAkwB3CPNnxHZzQ lC9USdIn/JCBRIPmjyIMZo+4m6Dg+xVFTJmt+QRttQXxr+OLwCeZrDycmT3Y9AsxjrRG Qt3URxsrGvq5N3X5hCzGgnn1ZLBjMX0a+V1NWOs2Ee0CUDplbPqMRFw6GxqlMAqR/gql bB3w== X-Gm-Message-State: AJIora+Ah7Xa3I1g2D1s2caKX51iC9N98b+lNshsrYHQZw76I/LxnsnQ Lh6IMV3L7dVZmdcK/kBfAm4= X-Google-Smtp-Source: AGRyM1vTDsl70Af9eviVGtq5Yi/oUbUqx8gBk3UZxf/wRnSVdh4QXGUQ5G93aKdq3ZK5B3ETIHKqsQ== X-Received: by 2002:a17:906:5343:b0:722:ea54:fe67 with SMTP id j3-20020a170906534300b00722ea54fe67mr17867627ejo.181.1656420318647; Tue, 28 Jun 2022 05:45:18 -0700 (PDT) Received: from localhost.localdomain (dynamic-095-114-061-215.95.114.pool.telefonica.de. [95.114.61.215]) by smtp.googlemail.com with ESMTPSA id f13-20020a170906824d00b00726e108b566sm622871ejx.173.2022.06.28.05.45.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jun 2022 05:45:18 -0700 (PDT) From: Martin Blumenstingl To: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, p.zabel@pengutronix.de Cc: linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, vkoul@kernel.org, kishon@ti.com, rtanwar@maxlinear.com, Martin Blumenstingl Subject: [PATCH v1 2/9] dt-bindings: reset: intel,rcu-gw: Allow up to three global reset items Date: Tue, 28 Jun 2022 14:44:34 +0200 Message-Id: <20220628124441.2385023-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220628124441.2385023-1-martin.blumenstingl@googlemail.com> References: <20220628124441.2385023-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Legacy SoCs use three elements for the global reset: - offset - reset bit - status bit Allow this in the dt-bindings as well. Fixes: b7ab0cb00d086b ("dt-bindings: reset: Add YAML schemas for the Intel Reset controller") Signed-off-by: Martin Blumenstingl --- Documentation/devicetree/bindings/reset/intel,rcu-gw.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/reset/intel,rcu-gw.yaml b/Documentation/devicetree/bindings/reset/intel,rcu-gw.yaml index 13bf6bb3f097..be64f8597710 100644 --- a/Documentation/devicetree/bindings/reset/intel,rcu-gw.yaml +++ b/Documentation/devicetree/bindings/reset/intel,rcu-gw.yaml @@ -22,11 +22,15 @@ properties: intel,global-reset: description: Global reset register offset and bit offset. $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 2 items: - description: Register offset - description: Register bit offset minimum: 0 maximum: 31 + - description: Status bit offset (only if "#reset-cells" is 3) + minimum: 0 + maximum: 31 "#reset-cells": minimum: 2 -- 2.36.1