From nobody Tue Feb 10 19:00:27 2026 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) (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 7ACEF239E76 for ; Wed, 14 Jan 2026 15:45:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.67 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768405535; cv=none; b=eiPTe/cHag/2GzKHDnabRj4ZJeimlRtmJgO7vER8Q8P8DJcELW+hnIvDXnFa9tdU56bf3XsfucgM+I6onlcHPCnwmbucV3jYolCJvAYnFYaqsDDggkmSsh9U67gdIAparouqP/EbmK8La0ttVDmsO4CKCm1ZwsD7+bD62teznjQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768405535; c=relaxed/simple; bh=NcSIh13nkfl2o/fHyJPuPnsmYgeObjMEWYBabqP7Z/s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qmQHuBSEqtxzObsRFtX6++JcMoOdUUuT179rOycoCNJC9vigblcZ2fiWfRAbgWoVlOYohaDFe2nvgaPj/MXzwxmXhQUG/1t8ToYrLlZaBXtBxHAAWym+72rBoOsYfKOG+dwlNmr3rHDo4HX7GdSydRRr00qSp02Mzer99OyDNiM= 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=DJRSYN38; arc=none smtp.client-ip=209.85.128.67 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="DJRSYN38" Received: by mail-wm1-f67.google.com with SMTP id 5b1f17b1804b1-47d3ffa5f33so40356385e9.2 for ; Wed, 14 Jan 2026 07:45:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768405531; x=1769010331; 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=JGNBX9HKq6etY9Yk1wwPNkxG5bUhI9J7ur5YibrY+sU=; b=DJRSYN38Z0H0u0K5L3fUbxwSxOLlJjMFJBcgRsQFOxZf2TLgBWgM4m86vkR+W+Jd9/ YVgFiwg1VxbUWtSdGEuwktI8CUU+pKwwNGtyeMXvL1jc+ffodlrA4vcHqFKPEkp+xdZ0 PzW348DAGzLpi8Mrc3nWLQjgtRGHhOAnp3GwgZWljPZYRQjvDEIDA25l3ilwbgJGzh8b uqy4Vr7dca0DSKoi77GeODxkSyMBU4yHFZhhdmnmToAp3YjsivuEv4a6uYPajZjGLzE4 rprKPVE3FCguk9aFNsFU9KLtcrdtls+OhKl8SeDmx6F/eBDxVEroN65V1oUhhFbw5JIS zQvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768405531; x=1769010331; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=JGNBX9HKq6etY9Yk1wwPNkxG5bUhI9J7ur5YibrY+sU=; b=E2bxuhzQYDZ/vnt2PgE2tCUmj3rYULwW2i/Fwgq5xktCyepUA/h9Kh4D+Nxz5mVT3s q+bOwhnFOjYt+aTZdwE1taGT0jS4cMcb99W1vf1kNDgOKc1HRX/iMbj25gmEuEdhjXUA v7LO8KXYPExBscjdOioME7L1zpoxGqVXj7fxG+7tLK5pGZJErQBreO2KBcrgeiw7zeA1 e0hmQpsTxoJDNj+pP3wzObWS+xbEYzr1bTy+YXnvq35ncfbVbNRdqGKDAkn9YB3pAF8Q Ano/l33wu98yovZ1+gcdCZVob4CxuIMTstufgp0plO+jyDtY9sMDrtvb9GHrBJNBAwKR 79YQ== X-Forwarded-Encrypted: i=1; AJvYcCW3R8X+ERTv7DiUxEx6K7XAyKkNu8LbzYWJ4vVLV8juzFlaHklBxI/6mW4H3EcPmTrrzdeDGlGjW5IGiIQ=@vger.kernel.org X-Gm-Message-State: AOJu0YwTxFtgYMKMlxUh1GgOhKxMOjkBysE9Gmp7OS4oTykzGDrwpkST d17ofOjNCthMMtntejsRKgegsQyCt0ce9nX4wROktztlGSkyPQ2qK+rx X-Gm-Gg: AY/fxX7HPSADfGNtcFpcWXuxhmph0beJfNBILLjdoSfzydgVD05KKFw/shvgpTeQx1U Dx+eYYouaeWzcs6NE4afX/38U8hqrocZ7RoRZZmxOI+DehTMX9ZIKA5P1WstdzotMHIn0k2uoWi 3l8GbvAlXJ8k1GXRMjsZ2FSAPWy9mHvz5K391Sqw3lsRkgqw89U1QiQbEWonACY0cRlMGvnTCp4 BJ+dy4yLfzo9c6URqGR65Z2t6gfFZqQtWDJsCz9uq0mI1HvfOn02SXQpegeqUCK11N9rc2Rsfw2 s7kOehqrIHoiSuwlPDrV8ww01OogK6cFSqfazn8fmfIOTJdvf0+fb3pNqcrBn8aZR11LfpCXlTF OUGD2no6WBfxd2yeWEwAzX3VUc/4KtyEoOJq8I81n3KtSC2g+7uwlOU3O80XE5u07GaMl/xpxRX N7h25NjzQel1O592FnHLHz1Jt+qfCgFITTW2fTWZhYy4rHU+/ZgdxaJmtvM9y/I8uw9lzXEnC1S X1BQ8BaPV2Wijq2PlUkzq4j X-Received: by 2002:a05:600c:5490:b0:479:3876:22a8 with SMTP id 5b1f17b1804b1-47ee3356d5dmr45061685e9.16.1768405531444; Wed, 14 Jan 2026 07:45:31 -0800 (PST) Received: from iku.Home ([2a06:5906:61b:2d00:7f20:df14:ac2b:3d74]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47ee544387fsm33867105e9.0.2026.01.14.07.45.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jan 2026 07:45:30 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Marc Kleine-Budde , Vincent Mailhol , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , linux-can@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH v4 3/4] dt-bindings: can: renesas,rcar-canfd: Document RZ/T2H and RZ/N2H SoCs Date: Wed, 14 Jan 2026 15:45:24 +0000 Message-ID: <20260114154525.3169992-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260114154525.3169992-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20260114154525.3169992-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Lad Prabhakar Document the CAN-FD controller used on the RZ/T2H and RZ/N2H SoCs. The CAN-FD IP is largely compatible with the R-Car Gen4 block, but differs in that AFLPN and CFTML are different, there is no reset line for the IP, and it only supports two channels. Sync the resets and reset-names schema handling with other CAN-FD SoCs so DT validation stays consistent and maintainable. Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven Reviewed-by: Krzysztof Kozlowski --- v3->v4: - Dropped Reviewed-by from Geert due to below changes. - Updated commit message. - Moved single compatible entries into an enum and to below oneOf. - Synced the resets/reset-names handling with other similar SoCs. v2->v3: - Grouped single compatible entries into an enum. - Updated commit message about disallowing reset-names property. - Added Reviewed-by tag. v1->v2: - No changes made. --- .../bindings/net/can/renesas,rcar-canfd.yaml | 48 +++++++++++++++++-- 1 file changed, 44 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.y= aml b/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml index fb709cfd26d7..b9d9dd7a7967 100644 --- a/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml +++ b/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml @@ -12,6 +12,10 @@ maintainers: properties: compatible: oneOf: + - enum: + - renesas,r9a09g047-canfd # RZ/G3E + - renesas,r9a09g077-canfd # RZ/T2H + - items: - enum: - renesas,r8a774a1-canfd # RZ/G2M @@ -42,14 +46,16 @@ properties: - renesas,r9a07g054-canfd # RZ/V2L - const: renesas,rzg2l-canfd # RZ/G2L family =20 - - const: renesas,r9a09g047-canfd # RZ/G3E - - items: - enum: - renesas,r9a09g056-canfd # RZ/V2N - renesas,r9a09g057-canfd # RZ/V2H(P) - const: renesas,r9a09g047-canfd =20 + - items: + - const: renesas,r9a09g087-canfd # RZ/N2H + - const: renesas,r9a09g077-canfd + reg: maxItems: 1 =20 @@ -179,7 +185,6 @@ required: - clocks - clock-names - power-domains - - resets - assigned-clocks - assigned-clock-rates - channel0 @@ -243,11 +248,25 @@ allOf: minItems: 2 maxItems: 2 =20 + - if: + properties: + compatible: + contains: + const: renesas,r9a09g077-canfd + then: + properties: + interrupts: + maxItems: 8 + + interrupt-names: + maxItems: 8 + - if: properties: compatible: contains: enum: + - renesas,r9a09g077-canfd - renesas,rcar-gen3-canfd - renesas,rzg2l-canfd then: @@ -296,6 +315,16 @@ allOf: properties: renesas,no-can-fd: false =20 + - if: + properties: + compatible: + contains: + const: renesas,r9a09g077-canfd + then: + properties: + resets: false + reset-names: false + - if: properties: compatible: @@ -305,8 +334,19 @@ allOf: - renesas,rzg2l-canfd then: required: + - resets - reset-names - else: + + - if: + properties: + compatible: + contains: + enum: + - renesas,rcar-gen3-canfd + - renesas,rcar-gen4-canfd + then: + required: + - resets properties: reset-names: false =20 --=20 2.52.0