From patchwork Tue Apr 15 12:56:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prabhakar X-Patchwork-Id: 14052207 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 244ED296D0D; Tue, 15 Apr 2025 12:56:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744721812; cv=none; b=J3j1SaD+kMs9qI6aD/zah1CsxMGn62MOiu6FKc4aZ9gqmn07ioGIaWksqFUIZIodaL6iCue2d/QCNInWrdtBGsyfmuRd4Q69sk8rAIGZQuLXR5oa6UTdfQAl75frh7R3uTNqqaZZ62eRTo7O4oLP76qqiH7S+NBdcfHfl3dQ6Rg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744721812; c=relaxed/simple; bh=JV6/Zd7jmLkMX3zv5Il0vw94EGousU0d+tw5mlhV1i0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Jfbqhm7SxymlTzMj3vxMT+RbkDNqxmBLYwcaVPndj5BOtIKfkH4A85dKhRSASYGf7k4gaDFyQRu/pI+27AKcd/WIp8+rKXpvljGizSqrP6aOkkYseGbyk5SSU2jnVj0dDUBkqwT+xcuVwCJvF1ZZAYs7Gqo7dn2IM1DCSt3/1Io= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ECMx26vD; arc=none smtp.client-ip=209.85.221.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ECMx26vD" Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-3912d2c89ecso5193161f8f.2; Tue, 15 Apr 2025 05:56:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744721809; x=1745326609; darn=vger.kernel.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=Dxtx+wYgnayT5+SYG5cHUYe65nSDdAbTREq4fQgE5Vg=; b=ECMx26vDotUnt6pX1xc1Vc8G5u+r0ARgcRvfjvzbiBo7PoyG0amKyOPw/UfpvKi+Xm h24i82pShPE4yNnS07DTX9WoUloYGRtP7Y9iVfkW5G4jpkN122ykTm2iw6mQcyoGyllP 89UoIVWeVNlJxt7Nx/MHin2Ixjx++SQZBReurHuOY2w5v6DJqOidNya6brRSR+FFhAeg 3ngO4owk635i5LxArwY2GO5e3TNa46OCXB2XHUVJKRITVXxZXp3ecDwwrLgqeDynEFNT 1MYADT5Na6u2MGxyIFdx1WvcZZOGITlPLMimXDhKMLySKnL40kgXWq01v8HI8/4U0STm MPCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744721809; x=1745326609; 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=Dxtx+wYgnayT5+SYG5cHUYe65nSDdAbTREq4fQgE5Vg=; b=QT4Ki9wmVip6TqvyI2BfArtb64KaRAAUbDCMM2kE3gVbHkRLuBy/3lxHMr/cMfwWP4 OlOO8GdwoJ6hQ8suzNE3RLiXtpE+W/dSYb+aYWTm9sGC0QL1FewUm3irkaCBSmh4Ty4u kVUfz7pmZoM6sxRHP5Dg7Oj0QT0XN19vUVw7JLGYDJNGSK0BCInouhUXernqcPHjzzg7 ArCjnmnXfQOeSTVqqs1m2SFJVncY/sDBMOtp0GmaJJyYPZNyh0mvyZJoKtxjqpYLwyPp mZKgAPdseD0uVDPLnpJc0/gqkPT1kzKYOvdce8arSL4SHX88ecwJx+/xBYFVW8Rw/+wM lIyA== X-Forwarded-Encrypted: i=1; AJvYcCUHAfVvGvbQFhBoFN+6b+w7Pl63Dd0i4q08hkjScuJIKNA/VzumNQbDo3HGws3a6fVWNT+yj1SUsaYAEL5z@vger.kernel.org, AJvYcCUXt/m9KSwCjck5ph40W8FjP91+b6qgAmSba7TMAqVdA7SX5Gvp0niZXPvP8jP1Y3S/wMgR42JhXTGh@vger.kernel.org, AJvYcCXWDtTkDpYOTYWYXS3fuNR2FXir3ww4B8bNUpse/qSPYT1sftpnF5mhQ7RmHd1pwMuvZkZR6SmrZoEwi5aSkXar++8=@vger.kernel.org X-Gm-Message-State: AOJu0Yw1jfNOKqm9xj0zR6Jsylo9dN8GOzQ7Wwh8jT8atJpjqqsCb8in PRJqBWWX7Q+5Ns57v5amoOrQX5esIK1nWgqTVYo1Snmm3KZciBMW X-Gm-Gg: ASbGncstz1/sR9NEzgoQFlaq0XtM8kdtfTb92PfEIYUGo0Il9cKgplmGHLoTnRTdt2R 8kCJC3KgEh7tQYJKQCVDOjacyLGTyF8n9pRekzraf6nJ3NUTkK7Xc+YQAOj+cXR2fyqCyb68XS8 9RnNfEbZcYMHMNqaH2QGkVQykhxXk0sQ9vvgvSL5u+lS8u2A18YnR4SvTCX4PqHr0VbgNkbgWyb JH4f5PP3T4PlK1PvbzQMZaw6uT+9qppUUAcaINSPpVJC4dykOXHuWT9QsXIjoz5DhgzFHT/EKmJ MW2GAXbFG0X3s11AO75P9IKV4iOhtHMMpKSwkUeAnCV7LKps6sS0CVaUnyJbnm0l X-Google-Smtp-Source: AGHT+IHh1oHEy/id+2kXHtxdu/j3+e8kGj1u5Gw07xALuQpAX70pVHKbVNleZqFSuazAXcZb5wjYGw== X-Received: by 2002:a5d:5f87:0:b0:39c:266c:12a5 with SMTP id ffacd0b85a97d-39ea5201e7fmr11010905f8f.13.1744721809254; Tue, 15 Apr 2025 05:56:49 -0700 (PDT) Received: from iku.Home ([2a06:5906:61b:2d00:1883:aa4:a265:bc12]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39eae96bf97sm13922334f8f.25.2025.04.15.05.56.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Apr 2025 05:56:48 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Richard Cochran , Philipp Zabel , Geert Uytterhoeven , Magnus Damm , "Russell King (Oracle)" , Giuseppe Cavallaro , Jose Abreu Cc: netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH net-next v6 1/4] dt-bindings: net: dwmac: Increase 'maxItems' for 'interrupts' and 'interrupt-names' Date: Tue, 15 Apr 2025 13:56:39 +0100 Message-ID: <20250415125642.241427-2-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250415125642.241427-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20250415125642.241427-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Lad Prabhakar Increase the `maxItems` value for the `interrupts` and `interrupt-names` properties to 11 to support additional per-channel Tx/Rx completion interrupts on the Renesas RZ/V2H(P) SoC, which features the `snps,dwmac-5.20` IP. Refactor the `interrupt-names` property by replacing repeated `enum` entries with a `oneOf` list. Add support for per-channel receive and transmit completion interrupts using regex patterns. Signed-off-by: Lad Prabhakar Reviewed-by: Rob Herring (Arm) --- .../devicetree/bindings/net/snps,dwmac.yaml | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index 78b3030dc56d..4d4fcaeca8a8 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -114,19 +114,25 @@ properties: interrupts: minItems: 1 - items: - - description: Combined signal for various interrupt events - - description: The interrupt to manage the remote wake-up packet detection - - description: The interrupt that occurs when Rx exits the LPI state - - description: The interrupt that occurs when HW safety error triggered + maxItems: 11 interrupt-names: minItems: 1 + maxItems: 11 items: - - const: macirq - - enum: [eth_wake_irq, eth_lpi, sfty] - - enum: [eth_wake_irq, eth_lpi, sfty] - - enum: [eth_wake_irq, eth_lpi, sfty] + oneOf: + - description: Combined signal for various interrupt events + const: macirq + - description: The interrupt to manage the remote wake-up packet detection + const: eth_wake_irq + - description: The interrupt that occurs when Rx exits the LPI state + const: eth_lpi + - description: The interrupt that occurs when HW safety error triggered + const: sfty + - description: Per channel receive completion interrupt + pattern: '^rx-queue-[0-3]$' + - description: Per channel transmit completion interrupt + pattern: '^tx-queue-[0-3]$' clocks: minItems: 1 From patchwork Tue Apr 15 12:56:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prabhakar X-Patchwork-Id: 14052208 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 956EE297A47; Tue, 15 Apr 2025 12:56:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744721815; cv=none; b=VQUANU6cqodnZYyVcIVZBSM5YpQNf8LXPHZT9yQyuxap3DivyFnz6lnrW1zq1yuC/SjOe675Wu01oOyDznIOS7cGluP+avM7iNfR2F/dS5n1HXsfDrazgY2cF/CExI1nWNuk9TcbRctB6uY3wHo1fe/Cg9xmkrwZgLUwQ/OAIg4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744721815; c=relaxed/simple; bh=EG2TJy+xT/mshTRxL7dQ/XlSwh3htdJJdfOtXpZyHJ4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hgL7cobz2vCuQqnmL4ugg0BfSo3XrP2a1HZJAIXaA1qapr6fSsYzuNOzOhLd4f3aI7MpFYsXj57DsbeIhHG1S7a9/IzaQdnmVlXf0p1Xe7TDp7GQUwX3F2xfPDGOIyedgUCVibbg5OJp0JM/5HByLeOaQruaw3+ImZt0/VVtoBs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cb/Db7l1; arc=none smtp.client-ip=209.85.221.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cb/Db7l1" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-39bf44be22fso3511612f8f.0; Tue, 15 Apr 2025 05:56:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744721811; x=1745326611; darn=vger.kernel.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=PYPY26UCzC6xpsXn5isIxKrrh9DoM4t2YOrxI8T2l/k=; b=cb/Db7l1ALv+pTKmNeuh0k6SmxaSBK2pT/G6fsYaw/YWNsgGLQ4RrHCm387KxngYII QYurdjqX3fGhK2V/ns7vpRLdxnRESjHyAdlwjQeSYUJBF2poy7U4B/dKfiS4bfk0ycnv xHh6Qn7DxLOggzZs+dub30WNUJQdULruxkTq2lySOLZSYWg2ah0YpM23taZYspPEV/Dp xvryt8XMigOeE0HUCxRAVs0E8q14b1UFtivmn626JCXTdGKmNGlloV1LpigXTe796yug xp38hQHPBXKXphuMNU+nvGXujgZ2eXvbjOqXmA9icF+XSUQK0v4JKNzcgTvEchzXgNpf F+5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744721811; x=1745326611; 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=PYPY26UCzC6xpsXn5isIxKrrh9DoM4t2YOrxI8T2l/k=; b=kIRUbYkx+ztnI3AvD4ujM3LlDMCE0M/PttOABblVLj9oBsmyPDovsGLAhzsSCkO9f2 oQ7Pra7/v8aQlfYKivLkHMyR+9KjMl1Qra/ZS0CyViLhTHaxIyU1nRp2p0CkcUWPnNJ0 4rP4QN1lKNawmQRb0n4Sghmucn21A6r+izIp0NacCNsNpRFSYTd3czoV3Aaz8XY+jRJX qsgduB/L1O24RyhNBJIng2BqmcCvHn3zpUARzK+wVOvkcKN2Y5lPSf5yVD0T3ou4X2lj AvO6HCHeqPa1DOtMA2jxaKwJfb9RrR280aRJMbnHgOUrKLKaIv3l8yNbY9cLRWYDrlyb b5ng== X-Forwarded-Encrypted: i=1; AJvYcCUaMrYSbfO4mlhEa35P3+G/vgIEXW28PQx+FPCZgDdoBnZD3V9WpGrH1VBGKINcenAAjhWvbO6Wb1sVnwkLneVVzGI=@vger.kernel.org, AJvYcCW0ZGrr1ByWY0aPNV+CPSbHiUF8sH96xIK83tv39r15oclZDShIw9BpWeEEezjpX6pst6GhdsiBPa+QBwft@vger.kernel.org, AJvYcCXHP65oVci8U5mHoDgdIAIzLeLaPWMKGKjU/BGEP/a6Y6it2rDYD0bYa/KqKRPog/oNF/3qI6T9suOq@vger.kernel.org X-Gm-Message-State: AOJu0Yy9ozsJYR9eIPQ8q5idSS4UcbJUIQ7QjnWetFbYc1zDE2lun7CS nLb8jtquMXLIw/3vV62flxQWXGk8IC1xqIz9DGYrNu9MM4d+87Ne X-Gm-Gg: ASbGncsWg9uymDu8/3BsyzFDkTJqMtPb776y8wvCDzTjff6hyzcDJV3h/nMNXEA1ZqZ Z/k8u88G1n+nvXUGo8ys+YRFpBAPutq9piBDSMpjDVJJ2x57zWDmKpfKiz0hTZY4PyrlT8jbH4r DAK/w57+O6FUj7lAK4hJxIGJdQuM/QnyxIrfdU2j7PMUMEJdJDy92nYYM9CmvMbo2ilNuiNjyGV loccB4+S8AIY7R5FlRsSE9s6G7CsmvRLDmOmtXZr21QNPZYEIBD/aLuIn/e6P+6UjmUcZV6Y3rO C/zzV3T++/nBrzfAlL1LHqDITO3ZdDTx18yOK2fHtPQptzBqcsQqY6nOfW6nqAOX X-Google-Smtp-Source: AGHT+IEj+WAN3UKiiamPKlLPy4YiJqmW4BceTVoWlm9S3vfGQsWZa6raYZh9S7F6MJZZAES9UXO2CQ== X-Received: by 2002:a5d:64a9:0:b0:39c:1efb:ec8e with SMTP id ffacd0b85a97d-39ea51d3205mr12237792f8f.6.1744721810508; Tue, 15 Apr 2025 05:56:50 -0700 (PDT) Received: from iku.Home ([2a06:5906:61b:2d00:1883:aa4:a265:bc12]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39eae96bf97sm13922334f8f.25.2025.04.15.05.56.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Apr 2025 05:56:49 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Richard Cochran , Philipp Zabel , Geert Uytterhoeven , Magnus Damm , "Russell King (Oracle)" , Giuseppe Cavallaro , Jose Abreu Cc: netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH net-next v6 2/4] dt-bindings: net: Document support for Renesas RZ/V2H(P) GBETH Date: Tue, 15 Apr 2025 13:56:40 +0100 Message-ID: <20250415125642.241427-3-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250415125642.241427-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20250415125642.241427-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Lad Prabhakar GBETH IP on the Renesas RZ/V2H(P) SoC is integrated with Synopsys DesignWare MAC (version 5.20). Document the device tree bindings for the GBETH glue layer. Generic compatible string 'renesas,rzv2h-gbeth' is added since this module is identical on both the RZ/V2H(P) and RZ/G3E SoCs. The Rx/Tx clocks supplied for GBETH on the RZ/V2H(P) SoC is depicted below: Rx / Tx -------+------------- on / off ------- | | Rx-180 / Tx-180 +---- not ---- on / off ------- Signed-off-by: Lad Prabhakar Reviewed-by: Rob Herring (Arm) --- .../bindings/net/renesas,r9a09g057-gbeth.yaml | 201 ++++++++++++++++++ .../devicetree/bindings/net/snps,dwmac.yaml | 1 + 2 files changed, 202 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/renesas,r9a09g057-gbeth.yaml diff --git a/Documentation/devicetree/bindings/net/renesas,r9a09g057-gbeth.yaml b/Documentation/devicetree/bindings/net/renesas,r9a09g057-gbeth.yaml new file mode 100644 index 000000000000..02a6793c26f5 --- /dev/null +++ b/Documentation/devicetree/bindings/net/renesas,r9a09g057-gbeth.yaml @@ -0,0 +1,201 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/renesas,r9a09g057-gbeth.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GBETH glue layer for Renesas RZ/V2H(P) (and similar SoCs) + +maintainers: + - Lad Prabhakar + +select: + properties: + compatible: + contains: + enum: + - renesas,r9a09g057-gbeth + - renesas,rzv2h-gbeth + required: + - compatible + +properties: + compatible: + items: + - enum: + - renesas,r9a09g057-gbeth # RZ/V2H(P) + - const: renesas,rzv2h-gbeth + - const: snps,dwmac-5.20 + + reg: + maxItems: 1 + + clocks: + items: + - description: CSR clock + - description: AXI system clock + - description: PTP clock + - description: TX clock + - description: RX clock + - description: TX clock phase-shifted by 180 degrees + - description: RX clock phase-shifted by 180 degrees + + clock-names: + items: + - const: stmmaceth + - const: pclk + - const: ptp_ref + - const: tx + - const: rx + - const: tx-180 + - const: rx-180 + + interrupts: + minItems: 11 + + interrupt-names: + items: + - const: macirq + - const: eth_wake_irq + - const: eth_lpi + - const: rx-queue-0 + - const: rx-queue-1 + - const: rx-queue-2 + - const: rx-queue-3 + - const: tx-queue-0 + - const: tx-queue-1 + - const: tx-queue-2 + - const: tx-queue-3 + + resets: + items: + - description: AXI power-on system reset + +required: + - compatible + - reg + - clocks + - clock-names + - interrupts + - interrupt-names + - resets + +allOf: + - $ref: snps,dwmac.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + #include + + ethernet@15c30000 { + compatible = "renesas,r9a09g057-gbeth", "renesas,rzv2h-gbeth", "snps,dwmac-5.20"; + reg = <0x15c30000 0x10000>; + clocks = <&cpg CPG_MOD 0xbd>, <&cpg CPG_MOD 0xbc>, + <&ptp_clock>, <&cpg CPG_MOD 0xb8>, + <&cpg CPG_MOD 0xb9>, <&cpg CPG_MOD 0xba>, + <&cpg CPG_MOD 0xbb>; + clock-names = "stmmaceth", "pclk", "ptp_ref", + "tx", "rx", "tx-180", "rx-180"; + resets = <&cpg 0xb0>; + interrupts = , + , + , + , + , + , + , + , + , + , + ; + interrupt-names = "macirq", "eth_wake_irq", "eth_lpi", + "rx-queue-0", "rx-queue-1", "rx-queue-2", + "rx-queue-3", "tx-queue-0", "tx-queue-1", + "tx-queue-2", "tx-queue-3"; + phy-mode = "rgmii-id"; + snps,multicast-filter-bins = <256>; + snps,perfect-filter-entries = <128>; + rx-fifo-depth = <8192>; + tx-fifo-depth = <8192>; + snps,fixed-burst; + snps,force_thresh_dma_mode; + snps,axi-config = <&stmmac_axi_setup>; + snps,mtl-rx-config = <&mtl_rx_setup>; + snps,mtl-tx-config = <&mtl_tx_setup>; + snps,txpbl = <32>; + snps,rxpbl = <32>; + phy-handle = <&phy0>; + + stmmac_axi_setup: stmmac-axi-config { + snps,lpi_en; + snps,wr_osr_lmt = <0xf>; + snps,rd_osr_lmt = <0xf>; + snps,blen = <16 8 4 0 0 0 0>; + }; + + mtl_rx_setup: rx-queues-config { + snps,rx-queues-to-use = <4>; + snps,rx-sched-sp; + + queue0 { + snps,dcb-algorithm; + snps,priority = <0x1>; + snps,map-to-dma-channel = <0>; + }; + + queue1 { + snps,dcb-algorithm; + snps,priority = <0x2>; + snps,map-to-dma-channel = <1>; + }; + + queue2 { + snps,dcb-algorithm; + snps,priority = <0x4>; + snps,map-to-dma-channel = <2>; + }; + + queue3 { + snps,dcb-algorithm; + snps,priority = <0x8>; + snps,map-to-dma-channel = <3>; + }; + }; + + mtl_tx_setup: tx-queues-config { + snps,tx-queues-to-use = <4>; + + queue0 { + snps,dcb-algorithm; + snps,priority = <0x1>; + }; + + queue1 { + snps,dcb-algorithm; + snps,priority = <0x2>; + }; + + queue2 { + snps,dcb-algorithm; + snps,priority = <0x4>; + }; + + queue3 { + snps,dcb-algorithm; + snps,priority = <0x1>; + }; + }; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + compatible = "snps,dwmac-mdio"; + + phy0: ethernet-phy@0 { + reg = <0>; + }; + }; + }; diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index 4d4fcaeca8a8..b525eca53850 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -75,6 +75,7 @@ properties: - qcom,sm8150-ethqos - renesas,r9a06g032-gmac - renesas,rzn1-gmac + - renesas,rzv2h-gbeth - rockchip,px30-gmac - rockchip,rk3128-gmac - rockchip,rk3228-gmac From patchwork Tue Apr 15 12:56:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prabhakar X-Patchwork-Id: 14052209 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1FA1F297A5D; Tue, 15 Apr 2025 12:56:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744721816; cv=none; b=XIG6pNkqXh225vaZeAc2tnTj+qGEx7fAXlaKCp6pq/DwyWlqspI6OX5Y1kV0IV6sqGrV+9XHjeUtIdSaXdtk2rWuDJuNlorWe0+bzGcus4/MYrmuBVIIOMBFHMEgjjurZLmbfuD8BADHw0Hyq0rlmw0bR7gTH70GT4sW3oMqolQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744721816; c=relaxed/simple; bh=aABG160iPkttRbzQvTne5eKaMCxjrJNVzk7fpnwaoco=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=A1Phv+ODZ5/GDngJVnA9kdjCqOLZssfXR5S1Ng6QZGirc9E5sdyg6yosktI6lXtrfe+nz+L8lSgM44yYFd9k/hwZ/FtIxJbHcuonbvkj8e3rE4JTNpE3MOav81fsctru572AsXns+A8mK0IG6hTeAH5hcElj97XoN/f+9bnW+CI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=NjGLSACL; arc=none smtp.client-ip=209.85.128.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NjGLSACL" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-43cf034d4abso60168365e9.3; Tue, 15 Apr 2025 05:56:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744721812; x=1745326612; darn=vger.kernel.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=os69xApG4J/eUJVtkfaP7Pm1DMV7TS+WoXn/btx4EnY=; b=NjGLSACLeCV1DZFViK4k73ULM+xbtI2K08PNIio4gbGhYwRnntbsRSsf2dBIJl3XP8 qLRv4eKB0gddeTUwv8QfUf4WIHdzFvhUPW4eELu2nrAK16wL+epPu39hEf8NsXEfwWXF 7LHONIKdW/KpLPn+Ib104NfEB4VAdpWJFrTfJghoyxaQdJ6v7eMbzz81hcuTBmEJtH4u 43lIpah++1EZqhnhUsF9a/jCVAAmdlEi6rzAiTfEF33g0ue/e984NouyjLSNAOkSO0xx 30AFn/OEyGZpIB69fDv9TVts1zIB0BC3HYIxqhTEdzRYfgWiujQxPEKZY/3C7/w2W11J 12DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744721812; x=1745326612; 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=os69xApG4J/eUJVtkfaP7Pm1DMV7TS+WoXn/btx4EnY=; b=uwCXdDJmU9W9ABiv6+Jar6IKfsJCOlaztUN+54EqS8TNh/Ql/AcxmOj5Hageyg7Cf5 UxtDs+9Vo0jcbr+gXhnBHqVgvTLq0ffW0nwXjy8kMwwduMXhrlYucLCAUQACvMmQp4p4 ov/dtWaa/nSM+z+gR5q2HFMhtbKjV7+kSXVpJOh0mIWwlmV4YnQc6NePs2aKgWDoJOLd SZFNTlXkn4y+3FdVeVgxpdF8wvHBf7zpSsDfsCpGMqbNqD9BrpZ49ddguh1QbRkaNOYK 0UMNFCkBqqsy/1s4crApHZ9WL2gonz6uMEV9oSmdfgugn5PuzJnSnQjGOSa93Bc5aZVE 7MRA== X-Forwarded-Encrypted: i=1; AJvYcCVoEhcOxwzc6GxgAm5/cWeeeSnSRBHBZXvSOZvrP1L9F5zMpIFnf0aoIVyVun01UxPaiPZmLuSgTs2oGrqjtK6YUkA=@vger.kernel.org, AJvYcCX0Xb4Bu96mt63SVimK1wmn+BWKx7kyJ93fG/Os/HjzdsJFB1rilmuuHPfDSMmFzw/qnE9H6yRbDD6x@vger.kernel.org, AJvYcCXO/w71vKhtGZSk+GsAeqHM3QQkohQF5Er9RR/IGpXv4ZonFdThFq6csbCnow5tCRrtP+RplzLUwgNrJodg@vger.kernel.org X-Gm-Message-State: AOJu0YxDJClt/jgcTTWUa8/MK2e7KlEtXgmEiyReWOZs2y0Wkqmfy2y1 gsd+fIKTkhHaaoj2UDsVH2XDwYjUBhv9ZVasiZpUcAu1phsg0rma X-Gm-Gg: ASbGncsBEug2oVIekax0h03P9gNvEfHoUftNfYhS91q/vylLhqMeATKCDdWFG46j6GY wH7LW9PXRcBBdI3Pc8COhbAzfumMGtwOrxP/zwO6tTVQooCw5GvXhLFnjIhhhXZwYkIlVcSV9V3 WElKNqd66hfUxcO0IuSRmoNeXLWgcxOuaxFKHdlBLyz74wQnBFiGJJwPL3t5IPQttUtNjoIkHJo iaCERyKwvyMgZF+xdh81hg2t2LwS9VLaDkCVn7xd+ESZnD9fmVOpJLcwu0YWPERdt++XHu52nLi 2Itf02jcos5F2PQSyKU0zjuu98+S/6Zu114d6A7bUqlEEIF8TXT+lCGwYVbqYtPz X-Google-Smtp-Source: AGHT+IHM99iCt9uGoM1ut7bwj22u5iPsrbMzCmzAjPLvhvpnLXPGkQlOQNK8dR5lm5kw+uFojdnLkg== X-Received: by 2002:a05:600c:674a:b0:43c:efed:733e with SMTP id 5b1f17b1804b1-43f4da84f37mr86587135e9.14.1744721812206; Tue, 15 Apr 2025 05:56:52 -0700 (PDT) Received: from iku.Home ([2a06:5906:61b:2d00:1883:aa4:a265:bc12]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39eae96bf97sm13922334f8f.25.2025.04.15.05.56.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Apr 2025 05:56:51 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Richard Cochran , Philipp Zabel , Geert Uytterhoeven , Magnus Damm , "Russell King (Oracle)" , Giuseppe Cavallaro , Jose Abreu Cc: netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH net-next v6 3/4] net: stmmac: Add DWMAC glue layer for Renesas GBETH Date: Tue, 15 Apr 2025 13:56:41 +0100 Message-ID: <20250415125642.241427-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250415125642.241427-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20250415125642.241427-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Lad Prabhakar Add the DWMAC glue layer for the GBETH IP found in the Renesas RZ/V2H(P) SoC. Signed-off-by: Lad Prabhakar Reviewed-by: Russell King (Oracle) --- drivers/net/ethernet/stmicro/stmmac/Kconfig | 11 ++ drivers/net/ethernet/stmicro/stmmac/Makefile | 1 + .../stmicro/stmmac/dwmac-renesas-gbeth.c | 148 ++++++++++++++++++ 3 files changed, 160 insertions(+) create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig index 3c820ef56775..2c99b23f0faa 100644 --- a/drivers/net/ethernet/stmicro/stmmac/Kconfig +++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig @@ -131,6 +131,17 @@ config DWMAC_QCOM_ETHQOS This selects the Qualcomm ETHQOS glue layer support for the stmmac device driver. +config DWMAC_RENESAS_GBETH + tristate "Renesas RZ/V2H(P) GBETH support" + default ARCH_RENESAS + depends on OF && (ARCH_RENESAS || COMPILE_TEST) + help + Support for Gigabit Ethernet Interface (GBETH) on Renesas + RZ/V2H(P) SoCs. + + This selects the Renesas RZ/V2H(P) Soc specific glue layer support + for the stmmac device driver. + config DWMAC_ROCKCHIP tristate "Rockchip dwmac support" default ARCH_ROCKCHIP diff --git a/drivers/net/ethernet/stmicro/stmmac/Makefile b/drivers/net/ethernet/stmicro/stmmac/Makefile index 594883fb4164..91050215511b 100644 --- a/drivers/net/ethernet/stmicro/stmmac/Makefile +++ b/drivers/net/ethernet/stmicro/stmmac/Makefile @@ -20,6 +20,7 @@ obj-$(CONFIG_DWMAC_LPC18XX) += dwmac-lpc18xx.o obj-$(CONFIG_DWMAC_MEDIATEK) += dwmac-mediatek.o obj-$(CONFIG_DWMAC_MESON) += dwmac-meson.o dwmac-meson8b.o obj-$(CONFIG_DWMAC_QCOM_ETHQOS) += dwmac-qcom-ethqos.o +obj-$(CONFIG_DWMAC_RENESAS_GBETH) += dwmac-renesas-gbeth.o obj-$(CONFIG_DWMAC_ROCKCHIP) += dwmac-rk.o obj-$(CONFIG_DWMAC_RZN1) += dwmac-rzn1.o obj-$(CONFIG_DWMAC_S32) += dwmac-s32.o diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c new file mode 100644 index 000000000000..8674b7605d83 --- /dev/null +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c @@ -0,0 +1,148 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * dwmac-renesas-gbeth.c - DWMAC Specific Glue layer for Renesas GBETH + * + * The Rx and Tx clocks are supplied as follows for the GBETH IP. + * + * Rx / Tx + * -------+------------- on / off ------- + * | + * | Rx-180 / Tx-180 + * +---- not ---- on / off ------- + * + * Copyright (C) 2025 Renesas Electronics Corporation + */ + +#include +#include +#include +#include +#include + +#include "stmmac_platform.h" + +struct renesas_gbeth { + struct plat_stmmacenet_data *plat_dat; + struct reset_control *rstc; + struct device *dev; + void __iomem *regs; +}; + +static const char *const renesas_gbeth_clks[] = { + "tx", "tx-180", "rx", "rx-180", +}; + +static int renesas_gbeth_clks_config(struct renesas_gbeth *gbeth, bool enabled) +{ + struct plat_stmmacenet_data *plat_dat; + int ret; + + plat_dat = gbeth->plat_dat; + if (enabled) { + ret = reset_control_deassert(gbeth->rstc); + if (ret) { + dev_err(gbeth->dev, "Reset deassert failed\n"); + return ret; + } + + ret = clk_bulk_prepare_enable(plat_dat->num_clks, + plat_dat->clks); + if (ret) + reset_control_assert(gbeth->rstc); + } else { + clk_bulk_disable_unprepare(plat_dat->num_clks, plat_dat->clks); + ret = reset_control_assert(gbeth->rstc); + if (ret) + dev_err(gbeth->dev, "Reset assert failed\n"); + } + + return ret; +} + +static int renesas_gbeth_init(struct platform_device *pdev, void *priv) +{ + return renesas_gbeth_clks_config(priv, true); +} + +static void renesas_gbeth_exit(struct platform_device *pdev, void *priv) +{ + renesas_gbeth_clks_config(priv, false); +} + +static int renesas_gbeth_probe(struct platform_device *pdev) +{ + struct plat_stmmacenet_data *plat_dat; + struct stmmac_resources stmmac_res; + struct device *dev = &pdev->dev; + struct renesas_gbeth *gbeth; + unsigned int i; + int err; + + err = stmmac_get_platform_resources(pdev, &stmmac_res); + if (err) + return dev_err_probe(dev, err, + "failed to get resources\n"); + + plat_dat = devm_stmmac_probe_config_dt(pdev, stmmac_res.mac); + if (IS_ERR(plat_dat)) + return dev_err_probe(dev, PTR_ERR(plat_dat), + "dt configuration failed\n"); + + gbeth = devm_kzalloc(dev, sizeof(*gbeth), GFP_KERNEL); + if (!gbeth) + return -ENOMEM; + + plat_dat->num_clks = ARRAY_SIZE(renesas_gbeth_clks); + plat_dat->clks = devm_kcalloc(dev, plat_dat->num_clks, + sizeof(*plat_dat->clks), GFP_KERNEL); + if (!plat_dat->clks) + return -ENOMEM; + + for (i = 0; i < plat_dat->num_clks; i++) + plat_dat->clks[i].id = renesas_gbeth_clks[i]; + + err = devm_clk_bulk_get(dev, plat_dat->num_clks, plat_dat->clks); + if (err < 0) + return err; + + plat_dat->clk_tx_i = stmmac_pltfr_find_clk(plat_dat, "tx"); + if (!plat_dat->clk_tx_i) + return dev_err_probe(dev, -EINVAL, + "error finding tx clock\n"); + + gbeth->rstc = devm_reset_control_get_exclusive(dev, NULL); + if (IS_ERR(gbeth->rstc)) + return PTR_ERR(gbeth->rstc); + + gbeth->dev = dev; + gbeth->regs = stmmac_res.addr; + gbeth->plat_dat = plat_dat; + plat_dat->bsp_priv = gbeth; + plat_dat->set_clk_tx_rate = stmmac_set_clk_tx_rate; + plat_dat->init = renesas_gbeth_init; + plat_dat->exit = renesas_gbeth_exit; + plat_dat->flags |= STMMAC_FLAG_HWTSTAMP_CORRECT_LATENCY | + STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP | + STMMAC_FLAG_SPH_DISABLE; + + return devm_stmmac_pltfr_probe(pdev, plat_dat, &stmmac_res); +} + +static const struct of_device_id renesas_gbeth_match[] = { + { .compatible = "renesas,rzv2h-gbeth", }, + { /* Sentinel */ } +}; +MODULE_DEVICE_TABLE(of, renesas_gbeth_match); + +static struct platform_driver renesas_gbeth_driver = { + .probe = renesas_gbeth_probe, + .driver = { + .name = "renesas-gbeth", + .of_match_table = renesas_gbeth_match, + }, +}; +module_platform_driver(renesas_gbeth_driver); + +MODULE_AUTHOR("Lad Prabhakar "); +MODULE_DESCRIPTION("Renesas GBETH DWMAC Specific Glue layer"); +MODULE_LICENSE("GPL"); From patchwork Tue Apr 15 12:56:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prabhakar X-Patchwork-Id: 14052210 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 412FE297A74; Tue, 15 Apr 2025 12:56:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744721817; cv=none; b=n3TTsCK9RLxIghsjW3ZTJVe8TfzFIOo9Ra56bgQvx9JNEBkrbaNQfg1aeYE5KjyWYlBVQk1eh5e+j5b+UPylgxmAJwbAEyAHEI8mZtFCosW462wCZDYqg1XRfFnEXl0kL2SzMwHe2BvN2YJ899vrIw7iM5Z90J/AtMJirh5bf7I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744721817; c=relaxed/simple; bh=W0j6iaGLICzY08UwsMabAQsvmG4ifO69JE8mK7U9m5k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oRqcROfUWIa3rURMBw8DLtxqKtUbWW+DiRPIU2TjEkqTZbgxD3Ln87RrcUVdp1KIbVrSRDphtEg1t/K9SvlkuQM63WT4EoITNEyGnDjVr5hm3WG2MNCm5syZ+nBBH85yHhCwaGOzPmmxz4m9XpTQmbl3gmktAHzsdI28ZD/RBkI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Q2PSR8AF; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Q2PSR8AF" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-43d07ca6a80so26428585e9.1; Tue, 15 Apr 2025 05:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744721813; x=1745326613; darn=vger.kernel.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=TBtNXmS8qjturrEwGtpAmFAuM6DgmNGXr8LZo+XU2no=; b=Q2PSR8AFHwDbfuJi54hhPfA2qhF41DZjEGFsFQSXLH3+tm92OIUx/m9Ldn0yBK4+I/ kQluRTXZjSdiqYlBA9BXx7+lGA0Hl9qTgSw6CsOLdKKCPyIhiQBDnffXU8tODivuhMVf fAr3kCuCBTd2s+yHdz7cDUZR0X+oRdpgsD7+7aIg9J80GfYqMM7KNIxTtavNXGHe5mFo Rg9MVvWBYn3u0azK42fKgN5VWY3agz5aGC9VBnOHUxUpVgGwimj+K7/73u/cP8VUgfxw aXoR0uHROCmua5I/rQojN30tLDeO7m+Gdrsxx+dyMdbY1m0JI4TbWq2TWXsIEwj61tSA oesw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744721813; x=1745326613; 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=TBtNXmS8qjturrEwGtpAmFAuM6DgmNGXr8LZo+XU2no=; b=KFhFtsk4f47AdWguAJcPpJ+H3VRbwp8hj/r3ketaAmE7KDhpw+kvhMJphj4kyn3nps 5ZNQ4wHhroyt44w+6D5dB2S8iSUA7yb8sb41J4XPoSew8OJDyHKUNFaRafTMxXxumvHN 7CzBImIUR7r5DLqkLuwtnbqb3Em2r1RevitLEieElc3UTQ1p9jlxDoe4KbhSZgf3Ps7y iOiHtJJvkS+tfYMQ40YzggGQsrlfQFN4bhrckeV3XmnFOyjHDLNvsY2iA8wGlD1CGIYj GVcaFBKMWPmg4oa6PsT43tnpAYLY2r6jAr9W8UAdylYycEukpItx+1QlhIm9diCiPnph U+/A== X-Forwarded-Encrypted: i=1; AJvYcCUr8knR0wI+AQXtPQ32zasTTxnc3ET7vFyEirUgDvkIe4kbTBLhwHlUlwLOyEmD/jEZeYfhx+MKS552D/4sBeceCkY=@vger.kernel.org, AJvYcCVvHsnuqevn5LchQyXUOTxixWKGZoFpelqiP7mBkIE4Vrqnmv7Hb1BzAmdCcorUlPU4Wm40pcSgbbi9@vger.kernel.org, AJvYcCWH+mpiuctLvyBUW8V9+pp3+BmUyurowO+CQk187X7ULyAQ3pCyDgMn92RXilk2JbEpv9lYvwFbg2Dh/1h5@vger.kernel.org X-Gm-Message-State: AOJu0YyHDhGJwXfEQcfL53UnJach7lIdUJHetkXERsMOYJRNoLQ9yKBs VKvKYNZokFFQGX0LFCEnzzCTeYSiuM7vb7P8HlBG6b1ctgfYaed+ X-Gm-Gg: ASbGncurFgGJMwL3SxuCWLYw9tnvjgXUFufRarBmF/9HfMBsd0BIoEIW/oiox2WCqKm vpBZjLEywGLeOui4fZNMNGrqlF6RkNzCRr1esfcVh8TZfiF/iNgWl8CDgIFmdRlIRi2+XYM5gSW 1EkfUU7nVvEV+BXL/7HtoLhSFZ+leEyhVqpAvf0WI9SNo9jtmg962Hknd8j1v1U6+FQx+QmNZ8r Ju1fa0S7Xn7kcEYHZEdEDnUAMi4lgUb/y/hnaTnw/9IgsXpRM0OcAa6LxAlDfSOXnsJl4B6i4hg CnyZB0aktQPKK1snh2dvHLKJ21MxqPMxGiuaFTLzS27IIqzEs+QPh/+gSB4O97rV X-Google-Smtp-Source: AGHT+IE0KqK5XyLGhc+pfdESGQ0FrYBws4qU9UQxP3mB+l7Lk+YFfa+Xsv3uUzwSyeT2UvIbstj7vg== X-Received: by 2002:a05:600c:4704:b0:43b:d0fe:b8ac with SMTP id 5b1f17b1804b1-43f3a9af837mr171329065e9.30.1744721813467; Tue, 15 Apr 2025 05:56:53 -0700 (PDT) Received: from iku.Home ([2a06:5906:61b:2d00:1883:aa4:a265:bc12]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39eae96bf97sm13922334f8f.25.2025.04.15.05.56.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Apr 2025 05:56:52 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Richard Cochran , Philipp Zabel , Geert Uytterhoeven , Magnus Damm , "Russell King (Oracle)" , Giuseppe Cavallaro , Jose Abreu Cc: netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH net-next v6 4/4] MAINTAINERS: Add entry for Renesas RZ/V2H(P) DWMAC GBETH glue layer driver Date: Tue, 15 Apr 2025 13:56:42 +0100 Message-ID: <20250415125642.241427-5-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250415125642.241427-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20250415125642.241427-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Lad Prabhakar Add a new MAINTAINERS entry for the Renesas RZ/V2H(P) DWMAC GBETH glue layer driver. Signed-off-by: Lad Prabhakar --- MAINTAINERS | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1248443035f4..f5141da4d509 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20606,6 +20606,14 @@ S: Maintained F: Documentation/devicetree/bindings/usb/renesas,rzn1-usbf.yaml F: drivers/usb/gadget/udc/renesas_usbf.c +RENESAS RZ/V2H(P) DWMAC GBETH GLUE LAYER DRIVER +M: Lad Prabhakar +L: netdev@vger.kernel.org +L: linux-renesas-soc@vger.kernel.org +S: Supported +F: Documentation/devicetree/bindings/net/renesas,r9a09g057-gbeth.yaml +F: drivers/net/ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c + RENESAS RZ/V2M I2C DRIVER M: Fabrizio Castro L: linux-i2c@vger.kernel.org