From patchwork Thu Aug 22 15:27:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13773834 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 20311C3DA4A for ; Thu, 22 Aug 2024 15:54:52 +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=3dCzmhHTisuUbPQmS+MA8xM8gZUa0eqynu/OupEDaYs=; b=Lxs2rzNcwxyLkQ fgO2S1lvLpNjNK0MxUIz0QNkh1ERaxHTGhmb+z+YhgHeYSTa/HKoqwe2S6AuzPo2wj/AKI+HBoj8m i/ztlASc44CMMMN1IIzyflqzNe5X0YlUVMW6b92QmEtoxAuPiTDBrVn7ruCgriUaR7jN3lGI7XDhq pkq3MahAnJC3XZ/zbA0YF2FAKB7TvrNg84qIW1c+oTmcbivfg1U9QPp3uwIzRbMxyGXnjKbvPVL73 11l0z31btInYJT1MpFK3ZGgq+PZt2HGArY5icWkTk8BltloP4ykLcOvze+T1OnokozUk45eYXX4SG 2IbJEejXqKXin4iLQF4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shA9C-0000000DRji-489S; Thu, 22 Aug 2024 15:54:51 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sh9ji-0000000DKpA-2RnD for linux-phy@lists.infradead.org; Thu, 22 Aug 2024 15:28:31 +0000 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-429e29933aaso6837725e9.0 for ; Thu, 22 Aug 2024 08:28:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1724340508; x=1724945308; 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=VYtknRff4T33No5Y++IYUbUSWOUqzPRe+qwJzBDRLKk=; b=e6k60ddNSOfLjlD65bpmoP40pbwARB1Rsa+Zlx96VOSGJ0lUsCh73NJ2ikOLB/oQIQ raLdF0cXCEZN6Lyl0yV1PIg5Hmntf314fUDH+5N0upCA72SPCNUjaAoU83TzeImJqlV4 mvtK3qEqQU85G+pUUB8BOpS9Ywz3hxTijdjwTo2LohRgLWMYoh5rx23G1iTs+x1t+v26 FTceeUdGt+9Qix70on7hG5pxTopgvFe/86Aw39kBzH2/cctwiMYvcHkdzjzOWz1eNY+4 G2gKWILT7uKpYp3v4aEOcAnmfQbmbVtzksjYhkkaptue/3saQu4bEANq1d2fcNbAnWLA yyIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724340508; x=1724945308; 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=VYtknRff4T33No5Y++IYUbUSWOUqzPRe+qwJzBDRLKk=; b=Ys+ir38SOAOJavCkDt1m5pBC29VgwKKk0CNmGBZzg2uAKd4xOfu7/TL5CAiGb99v/l UmZEztKWXGCxsax4FHNJOK+mSr/tBh7GrhNMwMkJIhpOpPU3zy+aPPqg4bj9Iqepfjud hTz0MIx9DIQelkQ5kAB6NjjtBD8qIOltEjJ6dWA4eOG9adv8m4cc55whsjwPyO6gFNeA /ccXJWoEHiery52umcFu0kpGptvaJmIK05H4STSMCHT530NackkHzuXoceOZiOnKU0Na SvPx+/4wzp+gSEFR9Jh7RGy1uQlDRY1iC6P7a2dTDbj+aNCatHtdPffTFX1K5EuKjuuH n+xA== X-Gm-Message-State: AOJu0YzgllSYmveNIKpVxZMybvphKg1LeZDW1DUVPFR4pNY+sat6/ze9 0OOJTDIyDkCPuxEJhoiiZaDeb1jF5ai4gEnpcf1mL5CJRvkdg0JcQgbJIVSM74s= X-Google-Smtp-Source: AGHT+IFJJW8cbQ+Z6hZ+0qBX8ovTCGv9ZpRZ4mNlCVMcK82sY8yzcRU23B/c+aKa1+lhTAIB2iIHXA== X-Received: by 2002:a5d:4289:0:b0:360:791c:aff2 with SMTP id ffacd0b85a97d-37308d725c1mr1462761f8f.47.1724340508459; Thu, 22 Aug 2024 08:28:28 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Aug 2024 08:28:27 -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 06/16] dt-bindings: reset: renesas,rzg2l-usbphy-ctrl: Document RZ/G3S SoC Date: Thu, 22 Aug 2024 18:27:51 +0300 Message-Id: <20240822152801.602318-7-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_082830_649163_B7638F20 X-CRM114-Status: UNSURE ( 9.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org From: Claudiu Beznea Document the Renesas RZ/G3S USB PHY Control IP. This is similar with the one found on the RZ/G2L SoC the exception being that the SYSC USB specific signal need to be configured before accessing the USB area. This is done though a reset signal. Signed-off-by: Claudiu Beznea Reviewed-by: Conor Dooley Reviewed-by: Geert Uytterhoeven --- .../reset/renesas,rzg2l-usbphy-ctrl.yaml | 35 +++++++++++++++---- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml b/Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml index b0b20af15313..5f053981474e 100644 --- a/Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml +++ b/Documentation/devicetree/bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml @@ -15,12 +15,15 @@ description: properties: compatible: - items: - - enum: - - renesas,r9a07g043-usbphy-ctrl # RZ/G2UL and RZ/Five - - renesas,r9a07g044-usbphy-ctrl # RZ/G2{L,LC} - - renesas,r9a07g054-usbphy-ctrl # RZ/V2L - - const: renesas,rzg2l-usbphy-ctrl + oneOf: + - const: renesas,r9a08g045-usbphy-ctrl # RZ/G3S + + - items: + - enum: + - renesas,r9a07g043-usbphy-ctrl # RZ/G2UL and RZ/Five + - renesas,r9a07g044-usbphy-ctrl # RZ/G2{L,LC} + - renesas,r9a07g054-usbphy-ctrl # RZ/V2L + - const: renesas,rzg2l-usbphy-ctrl reg: maxItems: 1 @@ -29,7 +32,8 @@ properties: maxItems: 1 resets: - maxItems: 1 + minItems: 1 + maxItems: 2 power-domains: maxItems: 1 @@ -59,6 +63,23 @@ required: additionalProperties: false +allOf: + - if: + properties: + compatible: + contains: + const: renesas,r9a08g045-usbphy-ctrl + then: + properties: + resets: + items: + - description: USB PHY Control module reset + - description: USB area reset + else: + properties: + resets: + maxItems: 1 + examples: - | #include