Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1418802rwb; Fri, 28 Jul 2023 09:07:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlG9Xn/wOpKMxsRi0KKTe5KVFq2sqvQaNKsdOtrISTEjW+Ho3pzxmweqUF3NzL/pPQdpheHN X-Received: by 2002:a19:5503:0:b0:4fe:1f1c:184f with SMTP id n3-20020a195503000000b004fe1f1c184fmr2117796lfe.44.1690560467234; Fri, 28 Jul 2023 09:07:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690560467; cv=none; d=google.com; s=arc-20160816; b=hkxgncEbLweI9pRmkD9INaB/PRNn8y6SDGKsHvy3yU8v62RUe7EGjeRJRUX6KKNjQ6 T2QJHg/wsqvSx7M0f6TL7YeZvz7pgeXgu6/CZsZTafAAKyrEFgb6wUhckMb0fyQ0lVAz I3cgoXS3Js9Ry1nNc2zDKD1MLS+/Ll3Nv5XYyyqrdCqDu0SfPxRlNr648U2uyF1hu+VG vyGzgk5tylomO+uEXhR3fVbEyy/ZAWk7bOOWFVpkpqMwgXKXIlIDzZJzWb1lJj17tZni jktArmFGpHKiLoWuO4aq/GgluKXBpQL63hyS9s80SEu/4Nef2BNmCXk3uwLt1FpfymTp MnLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tK3XW9CvIKNotY0VMKRibuYSfqNfjSdewyrI1jRS2zM=; fh=9frbIG+5eKvNqELn2qUZ8UP3akRIGRm6w0alHg8xR8g=; b=V2G4AcVhcfwb9jvgUusGuESK1i/3zo7WR0UjXafaA8ZLyKhxGet3DdoJrSpTSe+HFS qZjSzoyXD/nGbVTJK4d/bOFa/oTHI3Ek6ydZyR1vd4cdsBJl3QT4051KKi6S06FanCe5 bZaQwdL8HfjFk/zZouT4Or8A30jGjVHYm5HYrTAOWcs810D9LzVtPBBHFQK95QS3z1oz u4jMC9aK2frXx+MCw9TvwhbtDX5o3CQ7YvNN3Pw/gf9rMsMrnloJRZE7n2+PxRkuR43j 0scTJaTE5caC28N6EGmVxjgh4edqXuHOE0LfytQVuEj+PV3BPHf5UbJGPkk/6f/7G2u6 7ZcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=c7iw206N; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j3-20020aa7c403000000b005221e2f99e6si2692817edq.506.2023.07.28.09.07.22; Fri, 28 Jul 2023 09:07:47 -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=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=c7iw206N; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234372AbjG1OUv (ORCPT + 99 others); Fri, 28 Jul 2023 10:20:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237006AbjG1OTd (ORCPT ); Fri, 28 Jul 2023 10:19:33 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D7713ABA for ; Fri, 28 Jul 2023 07:19:31 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-3fe078dcc3aso7492695e9.2 for ; Fri, 28 Jul 2023 07:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1690553970; x=1691158770; 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=tK3XW9CvIKNotY0VMKRibuYSfqNfjSdewyrI1jRS2zM=; b=c7iw206NmNGXQD51dyCTfjKcxUDG5tZ5kJQD2+JAaW4M6K4d4qsYEkIRe9WdL7qtmU xJLPDNDokcsQGomwHemsFPimM7eQAPctRh4pOVsJlChdD4ayKSNiBmSQJBEyzJnc3nBL qbJOMF4ro31jIVEvfxr2c1suQK7+xMStzu8Kq5cPkiSBTqFyNHsquGLDbNwsyM3eFne0 YUtZ/LQsQjWolMIoRmkohkvQ1sa112UoCnUGsWavlCW+fQvnFXm7p4kMN7bPNSoQCv6X fZTq3/5CLSNH5tRBuCV9QVzM8VSzVhY2q/3nqZDfapW5IfIRPDRXvVDmOXYCbORy97IU 3u6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690553970; x=1691158770; 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=tK3XW9CvIKNotY0VMKRibuYSfqNfjSdewyrI1jRS2zM=; b=YkyJsTaPtX7HCUsFiB7uJx18/berVpVdDmlrVIspuwnm3y3No6LRzfPtYG65mwcawG W2dyGH+v4R4c2T2CfmkNnYrLD9GEatU8iIz+yzel/GGIj2RX+CPPpgXtBzQwMjWfne8N ipE2crSbnck2LScDYH4hR57tRooYDubER3ql42kGEYFcCrqruYmOltOQmibDsxXUHkkP PLiW/9qO0VFtExZDUfrynKWNFLJ/UsOXvqsPWAMy3i6P2fZchqztD79NajO9xwQM1jfB VKymA+DYXob0UMqeMCNaSJhPEVu2NlIvlAbEJTAWCgIUPi4Y6SjE2yR4Qys5AaHEGZ1V JtaQ== X-Gm-Message-State: ABy/qLYjtAoZwCpq+uUoIpoOJr8eHJoau5TS5hfzQDFbSOzgzSIXzDyI I1m8pIzWp02LLmVH7rVgG5JLCA== X-Received: by 2002:a05:600c:20f:b0:3fe:785:ac0b with SMTP id 15-20020a05600c020f00b003fe0785ac0bmr1757369wmi.5.1690553969966; Fri, 28 Jul 2023 07:19:29 -0700 (PDT) Received: from blmsp.fritz.box ([2001:4090:a246:80e3:766f:be78:d79a:8686]) by smtp.gmail.com with ESMTPSA id l6-20020adfe586000000b0031416362e23sm5013681wrm.3.2023.07.28.07.19.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jul 2023 07:19:29 -0700 (PDT) From: Markus Schneider-Pargmann To: Wolfgang Grandegger , Marc Kleine-Budde , Rob Herring , Krzysztof Kozlowski Cc: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Conor Dooley , Chandrasekar Ramakrishnan , Michal Kubiak , Vivek Yadav , linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Simon Horman , Markus Schneider-Pargmann Subject: [PATCH v4 4/6] can: tcan4x5x: Rename ID registers to match datasheet Date: Fri, 28 Jul 2023 16:19:21 +0200 Message-Id: <20230728141923.162477-5-msp@baylibre.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230728141923.162477-1-msp@baylibre.com> References: <20230728141923.162477-1-msp@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 The datasheet calls these registers ID1 and ID2. Rename these to avoid confusion. Signed-off-by: Markus Schneider-Pargmann Reviewed-by: Michal Kubiak --- drivers/net/can/m_can/tcan4x5x-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/can/m_can/tcan4x5x-core.c b/drivers/net/can/m_can/tcan4x5x-core.c index e706518176e4..fb9375fa20ec 100644 --- a/drivers/net/can/m_can/tcan4x5x-core.c +++ b/drivers/net/can/m_can/tcan4x5x-core.c @@ -6,8 +6,8 @@ #define TCAN4X5X_EXT_CLK_DEF 40000000 -#define TCAN4X5X_DEV_ID0 0x00 -#define TCAN4X5X_DEV_ID1 0x04 +#define TCAN4X5X_DEV_ID1 0x00 +#define TCAN4X5X_DEV_ID2 0x04 #define TCAN4X5X_REV 0x08 #define TCAN4X5X_STATUS 0x0C #define TCAN4X5X_ERROR_STATUS_MASK 0x10 -- 2.40.1