From patchwork Fri May 17 14:57:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13667133 X-Patchwork-Delegate: geert@linux-m68k.org Received: from cantor.telenet-ops.be (cantor.telenet-ops.be [195.130.132.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C19B6A339 for ; Fri, 17 May 2024 15:05:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715958305; cv=none; b=TlN3mddo4bNYMESMVY+VwD36CwqN274HcgDICYgCirnYK9Wj79hOgJ6UXQVVnZUgesrkGdwrfkRELuPOmaTd6R2isgiLGPMa/zzrHs1ob6oHEzSuhUdF2w+YNWXffhH+QPhA9nPvb2RvNmyQyBtqbUSaQeYh8ixhYiMXzu7Rs/o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715958305; c=relaxed/simple; bh=NMQ1cLtQX95/HaNYC8uTlwEUdj8PP7r3gN5SSp957EQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=a6OOfyLCCwsYbhEYLlsNxU9GpWQ4y7jaDwzlqkSQ8NkdFzCy2uATI7xT/i72485dgf7y7i7MkCbkIlPqJ1cihat2FA2OwW8zG0dsqO4oghUGgW115F8ftBQcas31By1tt6CQuqnbArPWxyfH7By9VFYljqgJ70Uri73WpLvwJ/Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by cantor.telenet-ops.be (Postfix) with ESMTPS id 4VgqnM3vZSz4x1rJ for ; Fri, 17 May 2024 16:57:27 +0200 (CEST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:9706:8977:9494:a7c7]) by xavier.telenet-ops.be with bizsmtp id QExK2C00B0bc1Xv01ExKtX; Fri, 17 May 2024 16:57:20 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1s7z0U-00BDnB-DQ; Fri, 17 May 2024 16:57:19 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1s7z1L-00C63K-FF; Fri, 17 May 2024 16:57:19 +0200 From: Geert Uytterhoeven To: linux-renesas-soc@vger.kernel.org Cc: Duy Nguyen , Geert Uytterhoeven Subject: [PATCH/RFC 2/4] dt-bindings: can: renesas,rcar-canfd: Document R-Car V4M support Date: Fri, 17 May 2024 16:57:14 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Duy Nguyen Document support for the CAN-FD Interface on the Renesas R-Car V4M (R8A779H0) SoC, which supports up to four channels. Signed-off-by: Duy Nguyen Signed-off-by: Geert Uytterhoeven --- Changes compared to the BSP: - Restrict number of channels to four. --- .../bindings/net/can/renesas,rcar-canfd.yaml | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml b/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml index d3f45d29fa0a550a..7c5ac5d2e880bbb8 100644 --- a/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml +++ b/Documentation/devicetree/bindings/net/can/renesas,rcar-canfd.yaml @@ -32,6 +32,7 @@ properties: - enum: - renesas,r8a779a0-canfd # R-Car V3U - renesas,r8a779g0-canfd # R-Car V4H + - renesas,r8a779h0-canfd # R-Car V4M - const: renesas,rcar-gen4-canfd # R-Car Gen4 - items: @@ -163,14 +164,23 @@ allOf: maxItems: 1 - if: - not: - properties: - compatible: - contains: - const: renesas,rcar-gen4-canfd + properties: + compatible: + contains: + const: renesas,r8a779h0-canfd then: patternProperties: - "^channel[2-7]$": false + "^channel[5-7]$": false + else: + if: + not: + properties: + compatible: + contains: + const: renesas,rcar-gen4-canfd + then: + patternProperties: + "^channel[2-7]$": false unevaluatedProperties: false