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: 13773872 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 CAD70C52D7C for ; Thu, 22 Aug 2024 15:55:05 +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=VYtknRff4T33No5Y++IYUbUSWOUqzPRe+qwJzBDRLKk=; b=ikSvr+ztSNs3yfi2AIxb40sOUr yR0TZqhrDy5tEDBSbNSBqeYULloFnRmGe9o2YGk6cY2WIBHaDsZvBXvvdUzSDSiZGPyK/FQzudJz5 sNJS3i5s9LjjzACSNZKbS27ssJoNyxdHsd7cn5/tKsWjmGjkm8/P6y4wEnpL08IJ+JuC2rzK00rNr YZ8zW57YqxijDqq0rOzCpozaZ72aa9H5JLtSnvbcWzSAPb1NjCF/s4tbdeF43pJHSB2o2KQt+cBcj KROSWpH6TQJy52Tz4GBOHpYQ+ojJPEovuB0fW2U67tHTqjM0rJXe2Bm527WtHAab0/xPR1SDGJScn zVD5QU0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shA9E-0000000DRl0-32f0; Thu, 22 Aug 2024 15:54:52 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sh9ji-0000000DKp9-2RcW for linux-arm-kernel@lists.infradead.org; Thu, 22 Aug 2024 15:28:32 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-428e1915e18so6783955e9.1 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=LNSgBlwF/B+Eo13hjD/0iNC8b6I6ZIq28zqVGsqqASVoBjccUXMXRZvoIzNMdRUIkP LIq7gzqEhgZpmVLqxoS3spYDAJ7iJgGGlDQvCk4Ave3iXDq2wo4Kyj7EbuVB8n72P81O 0P/ha4AgZ9lwDf6NV0qOa8Dne6EgGNtVw8l6zbLu/LK7vvaGrOUym5n67P1Ktibev8kk Txewrr4yJosyI/PwiFUNS8SEAriN1zu/nOFfr2MQwZ4TAaXRR6xuBnHcUqxUPG4td+cf AO+G6ZB8LLOPMFuvr9o0elKLFABl0y/ceeNyI2dXTKTtbKHEAmhw/PzMq/N5jY63l2Uk 7mWQ== X-Forwarded-Encrypted: i=1; AJvYcCV5jvLsFSs6mPDI5YgVOCFcAbTAVNT9O2GuY1w9zJWw6+Fjesno0S9DLe4BLM/12dJjSgkJis8Om8PJ71sGpp/l@lists.infradead.org X-Gm-Message-State: AOJu0Yzq0fAskBk2T/f26S9/Onw8bHZfi69U8ocfZ9n9aJNP8TwLP1iu UQjIvUGRuonf7dWGuERvG/cnRTRl2RoRbZI03N28Pofw2oqxPv8EbJu7dKO34/A= 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_652266_EE08A341 X-CRM114-Status: GOOD ( 11.20 ) 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 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