Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp381255lqt; Mon, 18 Mar 2024 10:23:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXqYOV8vI7ol44Ivj3zx8SoyEgWpoo6WUNRKUiuwXS/PEmut/ZI0/Z9NOdH0JbTopWiTVDHHIYeR9ezHbIzAt1yZ6ZQ2SsajxA0Z1AQ6Q== X-Google-Smtp-Source: AGHT+IHVqZATN601+pZHkVGLEgtrtQfjeO4jCcvT/MYS4NXIt6lXBkm0vscyGxj7IYqOdU6VdgTM X-Received: by 2002:a05:6214:16c9:b0:690:d4e7:1374 with SMTP id d9-20020a05621416c900b00690d4e71374mr481983qvz.13.1710782596566; Mon, 18 Mar 2024 10:23:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710782596; cv=pass; d=google.com; s=arc-20160816; b=yF/IEutjFmZvXeKB+dUMxkuVbndFMWf7ighg9HRtZZP6NqW4RP1vqHZP6uLJTGl7HR CZMJLpV9wOFfS9MLxhayTyIOz+7saY7iKZcJziwV03sPh0IvtuHrbcAMhtZohjmXQu9Z pAvUovQgfcSe1ZwkPmNUVyZsf7R0zohkW9ISZFrn1ATEqjOUHE83gwPWK2PkiMF9Jdbj tQ0q+yNtRbxKlpU4KSExtASb2OxRsxOCTYwSClEodbAN7XIa8RC0hp6zz8i86JYBotXm juqJW+sh4tme41v88jvZXdZ1NM4gg2fBTmsMrNI57Je1QTtqlsx4rms9oGnjUR8I6mp4 4LjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=/Gam1JdPmDvO9yXMiXtlHAHoXQ20qxsq3uvgoQxIdjc=; fh=K/eGIABa53ImEiQiyb8kpA47N7em+oJV2fCbe4AyE/0=; b=NmDnDIkLnRx83L346d664Mc286+r5KkM2EdAEjlBx+Mwfx4j1ZcyIiHUimCG3YEGVH AZsofl58ko1Pb2Dwr6zisFqRuyGhnrKZfsftXDGZuizMM47N32jxy9mdPhNvZz8CffRx zqgyR34qBrW5NNQDnk65G3ZMWGnZEJKOtRek9TfEsHnOb26teJ6uzXF0xJMLywpTvMoX Es2+iCZXGUK7Bzyqj1KI1OsqzcOjhJP83IK7oc64rhcL9Cf3+hf068prLYTFZUKOFsu3 qbUq2c5EfGZBgNejNimapT6SQ198hZXPcNmo+RP0Au5gf6ra2D1lXfEYz4eslnrwOUxh prQw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TYIxbsSU; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-106440-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106440-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p6-20020ad45f46000000b00690af1b0970si9201467qvg.362.2024.03.18.10.23.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 10:23:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106440-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TYIxbsSU; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-106440-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106440-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3E0831C20F2D for ; Mon, 18 Mar 2024 17:23:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB9C755780; Mon, 18 Mar 2024 17:22:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TYIxbsSU" 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 41F8255C36; Mon, 18 Mar 2024 17:22:36 +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=1710782559; cv=none; b=WTL9b660CSgASLcwe8B1lYL6hUyTiIg4pOwsm7FTOsK62jJh50wYk9o9zxI6euBEify3kowB94SgUR9DKD4eaiaOG8jbmIEE19iaLGiAk7ieO9pGdQuwLOzW82l6gp2XL29fR+zvWxOm5g8lHGzPkasuraJegcXIhXtIwhhNExk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710782559; c=relaxed/simple; bh=kWErAwD9TJvsgos1SwxZVJeBao/DzulBMDP2w0L2Pxc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=qju7+kBGly6oy6rrJ7Vnimze71CiE8cGWC/FQwtubvba9jSYFF8PdikseN3sX3/OYbew+dTR1wggvr3oDp+Dq+WejCVmtMuKHq1ZwCW5UhN6JFxEGh70SQ6yZCkmpdjqNf3T+TwfULxxaiWBVhbfpH38FCjj8J5wvJQQknGa0OU= 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=TYIxbsSU; 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 Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-3416df43cabso858267f8f.3; Mon, 18 Mar 2024 10:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710782555; x=1711387355; 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=/Gam1JdPmDvO9yXMiXtlHAHoXQ20qxsq3uvgoQxIdjc=; b=TYIxbsSUBznp2o3sbZHTBoLRi4tar6Okcs1CPIcQhayvKA76kGM9vXwk5zdlq779/S qDdsLtslxHq7BeFj4tmqym2n8cYuakUf+kUiFLdsZZ7motEmQu7xIelFUS6wQJu+38T7 slmrg0NoaF4V5bm6zypclooKO45QPqT1gipv+Ee/ZL9lx5lURNTrtqE7CVCg9/+XM6SX L1CzgxHF9D5diYSzcqVckvSNEscwo3QAdCreVdSbHxtcdtrLcyoE0s1AS+FFtZ305ieb 12N98qnnyznnkLSE+o3LkgRma4FEF5RUBsqiVKmOifOugx11evr5//MxzfuMQARHPn9+ gFjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710782555; x=1711387355; 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=/Gam1JdPmDvO9yXMiXtlHAHoXQ20qxsq3uvgoQxIdjc=; b=NFqyAoVUR3851kBB6hCE+XCKq2OzaLV4UH+84wQIeVJuEhN4mQEgHZTURA9Ak8rqRa 4msbsxIGA9I2HSEPFmQTZeY6mOFnE092gbqQGYQ0LNy69v8YJLHvAN2imQqxvI2I2lMm qtSO2cCvKEoDMF6pc2bKyuclINXIJjvzLzuDRrfIUFzWOxARO7+eIT9Vle7f93alvbyo bWWL/icHVwG5JS+upBnFF/D9I44BNWc7d6lGkt2eYC7LNBTdkn181nHgu826BfrMISKy T0hN/EYA3pBV5YpyYkzOIPc9rQ7ZednitC7fe5WRZpBFlff6brC4IVc8jjv1Qe8jxSUs rrzg== X-Forwarded-Encrypted: i=1; AJvYcCVMknO+oEj4bh4CxuGDQNXyLgXI8xHCcKRcCCeL+wMNc6pnEvn16caDDp8/d+BhyAx2g4zYzm/7aKC7tnarHeGuPc0/Munt6F0VfCBaH9icHeuSMp/wkWMSYqhQDzhngNgJNS0Zot1tm3WDt5g/C6Ka8nTcxa/29LOiOgVXAiBfX/l3NuFbvm4UBI6C X-Gm-Message-State: AOJu0Yz/bibE7n2qkn/UTgzwOqZZtR2OCTAuVcCBsCIypm+y4sWasTmO R+cahVnEFvXHIlImzlhJ8JjI9hTxQ8NQ8UTIYMKsDcIaRZF4fgqH X-Received: by 2002:adf:fdd1:0:b0:33e:78d5:848e with SMTP id i17-20020adffdd1000000b0033e78d5848emr8117277wrs.12.1710782555590; Mon, 18 Mar 2024 10:22:35 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2500:a01:c23f:76ae:8149:291]) by smtp.gmail.com with ESMTPSA id bv30-20020a0560001f1e00b0034180898569sm1140769wrb.72.2024.03.18.10.22.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 10:22:35 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Magnus Damm Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Fabrizio Castro , Lad Prabhakar Subject: [PATCH v3 3/4] dt-bindings: serial: renesas,scif: Document R9A09G057 support Date: Mon, 18 Mar 2024 17:21:01 +0000 Message-Id: <20240318172102.45549-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240318172102.45549-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240318172102.45549-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: 8bit From: Lad Prabhakar Document support for the Serial Communication Interface with FIFO (SCIF) available in the Renesas RZ/V2H(P) (R9A09G057) SoC. The SCIF interface in the Renesas RZ/V2H(P) is similar to that available in the RZ/G2L (R9A07G044) SoC, with the only difference being that the RZ/V2H(P) SoC has three additional interrupts: one for Tx end/Rx ready and the other two for Rx and Tx buffer full, which are edge-triggered. Signed-off-by: Lad Prabhakar --- v2->v3 - Added SoC specific compat string --- .../bindings/serial/renesas,scif.yaml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/renesas,scif.yaml b/Documentation/devicetree/bindings/serial/renesas,scif.yaml index 53f18e9810fd..e4ce13e20cd7 100644 --- a/Documentation/devicetree/bindings/serial/renesas,scif.yaml +++ b/Documentation/devicetree/bindings/serial/renesas,scif.yaml @@ -79,6 +79,8 @@ properties: - renesas,scif-r9a08g045 # RZ/G3S - const: renesas,scif-r9a07g044 # RZ/G2{L,LC} fallback + - const: renesas,scif-r9a09g057 # RZ/V2H(P) + reg: maxItems: 1 @@ -204,6 +206,37 @@ allOf: - const: dri - const: tei + - if: + properties: + compatible: + contains: + const: renesas,scif-r9a09g057 + then: + properties: + interrupts: + items: + - description: Error interrupt + - description: Receive buffer full interrupt + - description: Transmit buffer empty interrupt + - description: Break interrupt + - description: Data Ready interrupt + - description: Transmit End interrupt + - description: Transmit End/Data Ready interrupt + - description: Receive buffer full interrupt (EDGE trigger) + - description: Transmit buffer empty interrupt (EDGE trigger) + + interrupt-names: + items: + - const: eri + - const: rxi + - const: txi + - const: bri + - const: dri + - const: tei + - const: tei-dri + - const: rxi-edge + - const: txi-edge + unevaluatedProperties: false examples: -- 2.34.1