Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3927522iog; Tue, 28 Jun 2022 05:47:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v0myO2vLU0bWGSKM2Vgk+JyFBKWaYEzN3nlNwICx3p0PsB8KbFOpoUr0ICOaqiZdlCan4i X-Received: by 2002:a17:906:a217:b0:726:a7d2:9228 with SMTP id r23-20020a170906a21700b00726a7d29228mr8954303ejy.280.1656420473304; Tue, 28 Jun 2022 05:47:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656420473; cv=none; d=google.com; s=arc-20160816; b=IF0CRg6f4bXo6/W4eImjsqmcBj+KiMHpGivBDFKUgRR/9q3YGM8jzY7ygN5gAm6kjR CoxK/G8JIRKEJ5H7itSxz0xbrWQ33DhL5Z3MpIu0Q3GvkU5+Nv0WYhghgUmjpu1IRcXw FsFcpmZ5u32vbCDAdqD3e0BF81fFrd7UOGz9C6XWNB6oB7I2eZDwpTGZwdU3q3iAKHqA ZQo7T6WRM2ltcJkk4lZ/x5lByWST0+UzxWtIw62oFGcr30lTGtpBMtaQ9sb1RK7DASlH C+tZuRnBwSunoCQkBxpxkcEIaNzlP7yJM0yMGucw7AyDqI5Ur4jmu4MKUAH2eo6Q+0Hw B8Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pWy53RILJ6Qa6Uv8/5trw4fA3o1TR4WeWhGrXiQns2g=; b=VIRJOHF9oX584jXRB4X45X+rvoP1WSQV2xnQHWVYVGjVIv2WC8MjakuOt32i/FwgT4 n0d9mZ1y15FUFQVx8d98yUkHYXuJqZq887LZ38mhnXjCHSjBCbzO4snGIoaV52+pcH7n 6vd7aBPySSstjBL9QVttoaUL60QRDuklSlQNXKRyrbvCAfQt77Bmslawm+Yo1X5GFpib v8efTH/cwBP+m+IGorgTjWOnla5fbZKjHEdwmJwuL8biM1vmEJdChwpWQtYzayQXezfs HkI9L0CZ9r0mJYV0F3LcEoF7w0bxqJjN27qK9l0gVIlTa9kNZ5d6kN1/sUXuOKxsG0e5 ignQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=GI2bfTI+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc27-20020a1709071c1b00b0072697437875si10644177ejc.704.2022.06.28.05.47.28; Tue, 28 Jun 2022 05:47:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=GI2bfTI+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345354AbiF1MpZ (ORCPT + 99 others); Tue, 28 Jun 2022 08:45:25 -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-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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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