Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2961326rdb; Tue, 13 Feb 2024 02:37:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWbFGratYPJajLsAWbDDsAsnQUKk+B/hK6hfXZT7gp61gMf3DH3KZbJriDbwMz8GZvUIurUvNjvjbgt1OwdPfSC6PN7UzYBz6GPWfd9fg== X-Google-Smtp-Source: AGHT+IHz19Y2GZBaqJG3jPlr2PJuy3TdHlISA+RUcNlLfHDe/GI5uFGAoVsR4CzZgptPviGykEmM X-Received: by 2002:a05:6902:2490:b0:dcc:6112:f90d with SMTP id ds16-20020a056902249000b00dcc6112f90dmr1936518ybb.62.1707820673096; Tue, 13 Feb 2024 02:37:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707820673; cv=pass; d=google.com; s=arc-20160816; b=Yic+BXPGDDugYV5lefbwH5uhTVCx7Fy0g7lWRbvtema7+eKZOBI6jqxF7rwfXUsgQZ kZROw7lsowC4nbKGgzYZ6ZSuL/rz4hZZdu2nNLASSvVBNQjVi7CeQR1MegBE0HQXbMlD 5RWldRELmCfKvUPp2J9aeMm43OdAaqDIh1kd5AmKm9eXflCXwG98TAgnA67bsPelIPHd jTEKvHtQWt3IFpfYXh4Thf+flski8Xw2ubVIbsUnTqFFMSMWQzYzAs/l0ZfL9bDqyirQ BoZ2h93EFHjwd5TNVvjxv4ImUbGaROScbugG/Piw3tdQtNBXMXZwcJ2uuAFEtGQ+amYy YdgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from; bh=vP0hUPJsuvqPOzFJGhzVVr3xauWmhba+mKjY+6Q/uqg=; fh=+KlzW1tN0YtRhNEXxxL7Sj8eeWkZhlPNA0HT+P4BRa4=; b=RF99HlUHQhDejoZP2ujOXoEuTSe76pTTm2crtA/eJHnP8sZ/bEfa6fmahl705qap0q XSXbyQDbeGLYmdVIsOf9tTjR1FaESO7ArR0cSn5RuLWcQ232vgi7b92ODuTngnWg5lyx Ma83/o6wUNh8xLUE9wNCw2OMJVNWapg9Xw5RqJ6jcKhrMtq1Ezgqyb1H8x5m0s/cFSjH mTgYHrqI4+nO+Ovn+B0LmhqC+ZrShHocbp5VOktOuJGaAnMS4AiWIMeHtVK0wnvE5ELs 7SGF4YXY3mleevA3+RXfgkEc0O+IQ6xMZfWEnYSIsXas1mux1UEvi/oXFVN5Dk92yXGy VSKQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-63353-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63353-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCWvTkeWdP3z9WPU3vmMFTbk7o1s91QBKy0ZGbUjI3xho9Lk6dl9E8Hsn7KDj6LTJcUW6/tN0tZj0cVlfoU6GkX6Vebr1XIjwVYMDzKEiw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f13-20020a05620a12ed00b00785ae603d88si7746567qkl.88.2024.02.13.02.37.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 02:37:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63353-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; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-63353-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63353-linux.lists.archive=gmail.com@vger.kernel.org" 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 81F801C2247A for ; Tue, 13 Feb 2024 10:37:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9FF702BB0E; Tue, 13 Feb 2024 10:37:04 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 393D3250E2 for ; Tue, 13 Feb 2024 10:37:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707820624; cv=none; b=q1qMq/GNHQ5buFha4RgdNFN4Ys3mLdbWrw3FcvMgNK7IyBvj+H9gbR53+PrfBP8dneeVVhH3cmsTZ9W3JphZ6wlUSenJ3YpNtyt0eFdh8/gH8eIaO7BsMvtlX9Qn304A4s+4gRYuGAYsErbLyh9pzloPp2KDCx1Gd1d8KBahGkQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707820624; c=relaxed/simple; bh=62N3hhraqAUc1fHQPXKCPhxjrxJJjf3CXIYBuCZi/I8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MNTZ11QcNNwdKemVj++vdCJaowOvVg0TPaMPXg4brd14JzsLBLEbj+9efi29AnRpLYEJlOLcH+PZZpdwJ5xhpqYuwpMO/kF4C/0wuqACFi6uovQIcg938VuVeVjJufW/twGtvG48aOE/DYvAZj4o7dNsvWknnzY5XvoRGbtbWNg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rZq9s-0003Jq-If for linux-kernel@vger.kernel.org; Tue, 13 Feb 2024 11:37:00 +0100 Received: from [2a0a:edc0:0:b01:1d::7b] (helo=bjornoya.blackshift.org) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rZq9s-000Sq9-0u for linux-kernel@vger.kernel.org; Tue, 13 Feb 2024 11:37:00 +0100 Received: from dspam.blackshift.org (localhost [127.0.0.1]) by bjornoya.blackshift.org (Postfix) with SMTP id AE77B28D55E for ; Tue, 13 Feb 2024 10:36:59 +0000 (UTC) Received: from hardanger.blackshift.org (unknown [172.20.34.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by bjornoya.blackshift.org (Postfix) with ESMTPS id A8A9628D520; Tue, 13 Feb 2024 10:36:55 +0000 (UTC) Received: from [172.20.34.65] (localhost [::1]) by hardanger.blackshift.org (OpenSMTPD) with ESMTP id 2d5ee7ba; Tue, 13 Feb 2024 10:36:54 +0000 (UTC) From: Marc Kleine-Budde Date: Tue, 13 Feb 2024 11:36:43 +0100 Subject: [PATCH v8 1/3] dt-bindings: can: xilinx_can: Add 'xlnx,has-ecc' optional property Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240213-xilinx_ecc-v8-1-8d75f8b80771@pengutronix.de> References: <20240213-xilinx_ecc-v8-0-8d75f8b80771@pengutronix.de> In-Reply-To: <20240213-xilinx_ecc-v8-0-8d75f8b80771@pengutronix.de> To: Appana Durga Kedareswara rao , Naga Sureshkumar Relli , Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michal Simek Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Srinivas Goud , Conor Dooley X-Mailer: b4 0.13-dev-f0463 X-Developer-Signature: v=1; a=openpgp-sha256; l=1349; i=mkl@pengutronix.de; h=from:subject:message-id; bh=uqD/3nX7Gc5Q4vTRKA4laTqfp7s7VuC5z/kwrN2bMWY=; b=owEBbQGS/pANAwAKASg4oj56LbxvAcsmYgBly0Y/BOLEdRZtIEm+EERI1EFQyFPmgKcG9skzd QVybQLpe6mJATMEAAEKAB0WIQRQQLqG4LYE3Sm8Pl8oOKI+ei28bwUCZctGPwAKCRAoOKI+ei28 b7BRB/9MgnMUIuGRaV4u1Tu0F6FYYyXfLjCpZ4OIuNgTZRZGktoKJmk/cj26LSfI+d+6sovipjB f36bK63tuMtpA28Of2GCME1KYAfYJlO1aZLbzrIJAGG+1t8O04ifSeK7JY4D6RbY9fx5m2+4Sqz 9Jxsz0LpBMLOujUCWHUKcXnhwO05M06PRGLJWtX6rFKDodTJfKaVGFj40pzMbhIBrS5InVRHvvO FoNdka0r4r5bdPWEkyw8WEja1k/f2D62nAI8z6Ts58NdXLSs1hJmwxMXvv8HeSjySvWnnYoyrLH Uc6dLQcE2qr5QZtvCva+rge3nYd/Y55zfSdHhSa2XppDkPSb X-Developer-Key: i=mkl@pengutronix.de; a=openpgp; fpr=C1400BA0B3989E6FBC7D5B5C2B5EE211C58AEA54 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org From: Srinivas Goud ECC feature added to CAN TX_OL, TX_TL and RX FIFOs of Xilinx AXI CAN Controller. ECC is an IP configuration option where counter registers are added in IP for 1bit/2bit ECC errors. 'xlnx,has-ecc' is an optional property and added to Xilinx AXI CAN Controller node if ECC block enabled in the HW Acked-by: Conor Dooley Signed-off-by: Srinivas Goud Signed-off-by: Marc Kleine-Budde --- Documentation/devicetree/bindings/net/can/xilinx,can.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/net/can/xilinx,can.yaml b/Documentation/devicetree/bindings/net/can/xilinx,can.yaml index 64d57c343e6f..8d4e5af6fd6c 100644 --- a/Documentation/devicetree/bindings/net/can/xilinx,can.yaml +++ b/Documentation/devicetree/bindings/net/can/xilinx,can.yaml @@ -49,6 +49,10 @@ properties: resets: maxItems: 1 + xlnx,has-ecc: + $ref: /schemas/types.yaml#/definitions/flag + description: CAN TX_OL, TX_TL and RX FIFOs have ECC support(AXI CAN) + required: - compatible - reg @@ -137,6 +141,7 @@ examples: interrupts = ; tx-fifo-depth = <0x40>; rx-fifo-depth = <0x40>; + xlnx,has-ecc; }; - | -- 2.43.0