Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2455986rwd; Fri, 16 Jun 2023 04:04:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ738IKKED9TP4ZxrkBH5KaMp9GTCMXgW48s0aKxTWyOJYcIIR0wlJb6MC3n71i9ep4tOjo3 X-Received: by 2002:a17:902:c407:b0:1af:e63f:5bb1 with SMTP id k7-20020a170902c40700b001afe63f5bb1mr1813234plk.7.1686913494596; Fri, 16 Jun 2023 04:04:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686913494; cv=none; d=google.com; s=arc-20160816; b=V7jh5AG92sLXbICR8k+PBj4CfhSSec/4N/W+o1dnbg3DuCex4pOijFz9I8CgAgfCd7 Hs8g9N96xL/1bpnHBqVSMl7vAsnp6jhi1DHrpqwVgABfSp0N2Rhqze2J8E661dQM7gsr x2j6lifvcgBgI2wLlbeRehIc7l0a2VQaIQbDlcSKrft1b6aTE2UWaY1FBsfp0Rq2TITG 7L+RtstHbziwcFOIqv/Bs12H0FOFNwWxVP9WsTGcBBh2KfoMVtb1jsu+tFKSEBvgzjN3 fVtJONVE6zFnYxna2k0me3ZIH+jWzhUSzCG2nvWfjT6un1ydZSisqtZ5caZmmwwR7sRj nTuA== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=TfNxckLB/YtDgdYkWw0SqGqVYmSJmD44cWsS7qeNrfQ=; b=EGukJalMo4kZrUIYfNg43Pzz7bPOpmCg+UAxZQgNDQmL83Y8J/W8pt8nwUiR2iPm99 WRsJXERmpXn9pV4ctAVddqvA1+/Mvf91KcENz9W57hUmixdaaUs+H89xzBwUTD/kFhPG XsgimHCKFirCMJ3TXidAH4UbCGWMFa8B99DoY69fsyxXUNoGKJmxdmbzLGHo1IsxWQtK BZwiNedioJ2DS9ambDMU2f8YTO20Htyjqs39nTQPg48kwvlpNPLuKy1ylVl6FHnm9PGr WeDTJltz3Ijf3qlYcBUjtn+5J0shf/mVzcMlB3qPPJuIRvrCvIphRpZL2LVZqFOhNuO4 pNfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y5rLoHmk; 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 km7-20020a17090327c700b0019e57f5a5aesi3872086plb.567.2023.06.16.04.04.41; Fri, 16 Jun 2023 04:04:54 -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=Y5rLoHmk; 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 S1345435AbjFPKst (ORCPT + 99 others); Fri, 16 Jun 2023 06:48:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345403AbjFPKsH (ORCPT ); Fri, 16 Jun 2023 06:48:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 461463C25; Fri, 16 Jun 2023 03:40:32 -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 F3E3B63A1E; Fri, 16 Jun 2023 10:39:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF142C433C0; Fri, 16 Jun 2023 10:38:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686911941; bh=NUODPlKnUcd/m1dN07t06atMah6KiygSU+gSQ+cz2nM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Y5rLoHmkqqEGx3k2Lr3IQoSfQEbWjDyQt5y8k2tWr8ynramvXm8KNyF3cF7zy0CzC kp6sPMp0ZSrqQ8V78F9WGOsElsOvW7+FcidHUvvyTUFEg4AYxs8ng5ovtIdioHBzIe FoD+2U46+KEHFzSpBFry0rqWUxEj1DC/V1eFxNCEqWGQF44xSoqb0TlbTvOvKy4XD7 4VNq1SfyBnjD61tEN4McwlF2VWPbMGqqIcSPqMr2HWTflrJRh3UXjKwLsAPM4iCV+7 flP59CRY1R2QoEjxd4NiN5ZVypXa8HgMYZbIB7wolyelpsEFB4gdvdkjf4QwBkKK7+ soiUouuagl3zg== Message-ID: <8555c686-c663-767e-ce1c-a3b76fdafe05@kernel.org> Date: Fri, 16 Jun 2023 12:38:50 +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==?= Content-Language: en-US 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> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 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_MED,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 16/06/2023 12:13, Goud, Srinivas wrote: >>>>> 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. > Agree it is only for AXI CAN(xlnx,axi-can-1.00.a) but ECC feature is > configurable option to the user. > ECC is added as optional configuration(enable/disable) feature > to the existing AXI CAN. Why boards would like not to have ECC? I understand that someone told you "make it configurable in DTS", but that's not really a reason for us. Why this is suitable for DTS? Best regards, Krzysztof