Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2537210rwd; Wed, 14 Jun 2023 04:26:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4EgPgFKFpEKSZkQfWZ2IZCyOl0B7Fej0+vpDFSBCul/hAboS4u/O+CmZPINVFCQbTSGUgV X-Received: by 2002:a05:6a00:1308:b0:663:3b9e:966b with SMTP id j8-20020a056a00130800b006633b9e966bmr1988531pfu.2.1686741985198; Wed, 14 Jun 2023 04:26:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686741985; cv=none; d=google.com; s=arc-20160816; b=e+c/1l2TIvwefFXLnxfVzr4Us4IK6RfgOMEhAkPvy5yNGbW4gHvPBUBz6Ot99H33Qw +rVzg2JUhDDFs6eokdLFrqNYtfcVwPA65SVl0V0wvFpTvD4S5g0bbloZTDtrEb4k+LSF pOmtj1vKK/GHll486AhTi+4eG0pBbLFkdXW/nF3fBXu58sdPSS25x9zMVX6vRQ69L27r uWu0lg1Yaz0KdgZr2Y2tDzDs2G0d77huUhxStxVPPsF6v7bf7lFUdZP3Sg7XIe68xeio Vvc3wVQ+XmC1GQzbkwxMdn+Q/sv2wTSVl+3pBVmAxOHRqofuYRGktp5NFcWjynW39QBq zSMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=xNoefDj745ruysle1OBVjcSqkywhQxNk6NQ4YkvwmXY=; b=AalmjlAJJcOKwSqAbGxlqFCrsF6JCIUqpXRkD7YrTmI+1O55TIHs0f6TrQMbx4ks/o WAER35N+z5uWe6TI88oOHR8b8YOe385nx+knKq7Gd3FmtSNecrQMy6We1FkkemSuHfgG 5gYjlkxbbbzKUoj4pQ4KYes2DEBgEjMH2v1gMeAzqx6tvWDA/0HREXz8OCNIBKd4Lj4H PnW2cBjbofI1zWjb2EDQ5NyxaHpwvws/wnattkN72c0nijk1sCGLbh+BhvAArUkWd7O2 aZQ4tYEJRCz07kKmNpFfyclZt09fYAOlnvNB1fbjAJZN3O4WsqernGFt/TF3nRRLOPWe HlSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l51wC1yN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g23-20020aa796b7000000b006293f8330fcsi6860353pfk.322.2023.06.14.04.26.10; Wed, 14 Jun 2023 04:26:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l51wC1yN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243768AbjFNLMm (ORCPT + 99 others); Wed, 14 Jun 2023 07:12:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243858AbjFNLMS (ORCPT ); Wed, 14 Jun 2023 07:12:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 388ED2973; Wed, 14 Jun 2023 04:11:12 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7812E640B5; Wed, 14 Jun 2023 11:11:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D29DDC433C8; Wed, 14 Jun 2023 11:11:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686741070; bh=KS9DVj9aYRog3BltgsnuuYsgIpVqdyC67ivJyO1Sh6c=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=l51wC1yNUHxP3dvGWOFensUejtxU3LH+sUgU1yL/ngqptnlvaJWh6u5xH4rryKae+ tFJO2CbP4SQCKXlB/eh94Nk/jv52NKaCA9xx/K6xQnUaV8RHS06HDDzKOboSpNj5eG 8+wdjqNINcBLgLwJu2xuMKxLoqo3AIvTA8l7UFtntwo+OAhTogBQx5009T9u6ps9nb A/21CqSW9HN/rUM30kdad6jsc2Ds4VcLouIoR9vx2e60XeU2w7HZ7itsIH/6fbuUUB fkacHEKZggSjjDSXZqnuuVCWOFCN2ENFo8uYJX9/067JysnpezrGLDkevAkX0RMTFh ZZqzfCxV/VypA== Message-ID: Date: Wed, 14 Jun 2023 13:11:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: =?UTF-8?Q?Re=3a_=5bPATCH_1/3=5d_dt-bindings=3a_can=3a_xilinx=5fcan?= =?UTF-8?B?OiBBZGQgRUNDIHByb3BlcnR5IOKAmHhsbngsaGFzLWVjY+KAmQ==?= To: "Goud, Srinivas" , Marc Kleine-Budde Cc: "wg@grandegger.com" , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "gcnu.goud@gmail.com" , "git (AMD-Xilinx)" , "michal.simek@xilinx.com" , "linux-can@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" References: <1686570177-2836108-1-git-send-email-srinivas.goud@amd.com> <1686570177-2836108-2-git-send-email-srinivas.goud@amd.com> <20230613-outskirts-dove-e3e39b096647-mkl@pengutronix.de> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/06/2023 12:22, Goud, Srinivas wrote: > Hi, > >> -----Original Message----- >> From: Marc Kleine-Budde >> Sent: Tuesday, June 13, 2023 1:23 PM >> To: Goud, Srinivas >> Cc: wg@grandegger.com; davem@davemloft.net; edumazet@google.com; >> kuba@kernel.org; pabeni@redhat.com; gcnu.goud@gmail.com; git (AMD- >> Xilinx) ; michal.simek@xilinx.com; linux-can@vger.kernel.org; >> linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org >> Subject: Re: [PATCH 1/3] dt-bindings: can: xilinx_can: Add ECC property >> ‘xlnx,has-ecc’ >> >> On 12.06.2023 17:12:55, Srinivas Goud wrote: >>> ECC feature added to Tx and Rx FIFO’s for Xilinx CAN Controller. >>> Part of this feature configuration and counter registers added in IP >>> for 1bit/2bit ECC errors. >>> Please find more details in PG096 v5.1 document. >>> >>> xlnx,has-ecc is optional property and added to Xilinx CAN Controller >>> node if ECC block enabled in the HW. >>> >>> Signed-off-by: Srinivas Goud >> >> Is there a way to introspect the IP core to check if this feature is compiled in? > There is no way(IP registers) to indicate whether ECC feature is enabled or not. Isn't this then deductible from compatible? Your binding claims it is only for AXI CAN, so xlnx,axi-can-1.00.a, even though you did not restrict it in the binding. Best regards, Krzysztof