From patchwork Thu Aug 22 15:27:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13773868 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 682E8C52D7C for ; Thu, 22 Aug 2024 15:54:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=T/Tria7vwi+NxmbhPx5iyMMpWnKPFvb0PWDauQE1PU8=; b=k113oTNSnr5Z5FffVwm3ZbmkXw pbHTJXKJQH4Thctu+GPokaPJkhm9XEbcUg6fGnGEEftH+b7qFoxd4SA309bIsOO5rKIQFLrJt716M RcywGPkYPF7udsP1n+w/36471Be0GjPXWTgAOv4f5KYHZkciLBT8ETzOz8sdZ81o2MVCb6+KnLz3Y 0RYq/vERqOvwvd0nyNPUGgsIn7TTmj9BGS+8laikkd44NVPPIxBdQrB8lGY/anUwSfdeIYBk7QGN8 /j8E1tjTVrESI338lEcff8GzuN/St5q7VJmpV7sB+zSu3jBe4nV9Dj2L4pcLD0XAC3Q298MraiWC+ 8PViOZUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shA8r-0000000DROg-2NIF; Thu, 22 Aug 2024 15:54:29 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sh9ja-0000000DKmI-1CHZ for linux-arm-kernel@lists.infradead.org; Thu, 22 Aug 2024 15:28:23 +0000 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a86910caf9cso142222766b.1 for ; Thu, 22 Aug 2024 08:28:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1724340500; x=1724945300; 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=T/Tria7vwi+NxmbhPx5iyMMpWnKPFvb0PWDauQE1PU8=; b=lOpnpIzs1eMD3kGK3vsNhmR1yAt28F/ZbVq4+ydEFn8JAc8zFZhJnkMwtkWf404RzV 1QTarSLoPrtcSS8Z4TLHBmz8NJ2piOIgptPkyyfJ8VTO9o3wRP+/6kf4x/tM1ko4fLsR clRxo6MiQpJykMceoSXQsIlRfYjRrJnl73ofEXspPx6l9FRSY5vL0p7Ke4rbHaJG9vk5 9tkwgoPMcfuryedFOKqbH83GW5oqyl9Y4bMc46rmJzT5MZDkEfJTWxqwub2lC/Y6axzL YX8ji0QfTqJ9RruvuBdXQsIvgfqYynXsk2rWutfZKVQiEa34qZ0a0C44SJ+FYCx5v/aP 9Lug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724340500; x=1724945300; 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=T/Tria7vwi+NxmbhPx5iyMMpWnKPFvb0PWDauQE1PU8=; b=mUSCVG2amg+1AgYFgZUNAStQsI6rubjCCXBAB4gUCQhGF/JLPabzvWIDhAAc0Gu1A6 e2kNgPS55o1oxbTDUj33ifVbgSGrTw1MoIN8HiIpOiEgqWfs+4NPFI1b5t2ezrTZLA14 SZrF3Ifo8cxaR5v7Ee/TJiXhusZ/LvS7wOpeGDG8fet4rq3lrrLoZbdTXQPlm6JJwmts cd4qyZ8rSvRPfOJGD8Kn1lri3aY0X4WwDU+gR1iUus5uKLkfwoVxoNtb7XeMu/B4u8KQ qO6fHqnQJ9JfwTyP6VeLxuscluIhRxcZkKjVeN+K7dIESIlZsf8WWcGaFaiR/+WfKkva /sIw== X-Forwarded-Encrypted: i=1; AJvYcCWO2AUl4bPDOWSdE+b3X8a4lVXGJYs3y1/fMseBdcwmC9xStCkje54wWpWdMM4wi/lYtS8rut2vj0uawMezVSeZ@lists.infradead.org X-Gm-Message-State: AOJu0YygYnmkRwxVS+OC51KLvyGc1SuzhJyP5+5OD1cREJqXQX1UnAEc mWEZ9SYDJAMsdCtnkCU7XgwDg9HlR9ERIg6JzTcij5ve67RwpzH9m8F9/0gB76o= X-Google-Smtp-Source: AGHT+IEDGiFS9rTl2gT4mpF+7WDWt9rKV3W2mQ9PNVf1k+OndljloE3v+2XJ/Wih9mrH3Tadrpyqjw== X-Received: by 2002:a17:907:9307:b0:a7a:a4cf:4f93 with SMTP id a640c23a62f3a-a868a97d6f2mr322799366b.32.1724340499945; Thu, 22 Aug 2024 08:28:19 -0700 (PDT) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.177]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a868f484dc5sm134189166b.171.2024.08.22.08.28.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Aug 2024 08:28:19 -0700 (PDT) From: Claudiu X-Google-Original-From: Claudiu To: vkoul@kernel.org, kishon@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, p.zabel@pengutronix.de, geert+renesas@glider.be, magnus.damm@gmail.com, gregkh@linuxfoundation.org, mturquette@baylibre.com, sboyd@kernel.org, yoshihiro.shimoda.uh@renesas.com, biju.das.jz@bp.renesas.com, ulf.hansson@linaro.org Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, claudiu.beznea@tuxon.dev, Claudiu Beznea Subject: [PATCH 02/16] dt-bindings: soc: renesas: renesas,rzg2l-sysc: Add #reset-cells for RZ/G3S Date: Thu, 22 Aug 2024 18:27:47 +0300 Message-Id: <20240822152801.602318-3-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240822152801.602318-1-claudiu.beznea.uj@bp.renesas.com> References: <20240822152801.602318-1-claudiu.beznea.uj@bp.renesas.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240822_082822_330375_501CDDC8 X-CRM114-Status: UNSURE ( 9.35 ) 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 From: Claudiu Beznea The RZ/G3S System controller has registers to control signals that need to be de-asserted/asserted before/after different SoC areas are power on/off. This signals are implemented as reset signals. For this document the #reset-cells property. Signed-off-by: Claudiu Beznea Acked-by: Conor Dooley Reviewed-by: Geert Uytterhoeven --- .../bindings/soc/renesas/renesas,rzg2l-sysc.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/renesas/renesas,rzg2l-sysc.yaml b/Documentation/devicetree/bindings/soc/renesas/renesas,rzg2l-sysc.yaml index 4386b2c3fa4d..6b0bb34485d9 100644 --- a/Documentation/devicetree/bindings/soc/renesas/renesas,rzg2l-sysc.yaml +++ b/Documentation/devicetree/bindings/soc/renesas/renesas,rzg2l-sysc.yaml @@ -42,12 +42,28 @@ properties: - const: cm33stbyr_int - const: ca55_deny + "#reset-cells": + const: 1 + required: - compatible - reg additionalProperties: false +allOf: + - if: + properties: + compatible: + contains: + const: renesas,r9a08g045-sysc + then: + required: + - "#reset-cells" + else: + properties: + "#reset-cells": false + examples: - | #include