Message ID | 20230621093103.3134655-5-msp@baylibre.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4243299vqr; Wed, 21 Jun 2023 02:56:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ78jIaa62AhGuUJtJqfvKu3qO/1ug/rVfJxa68/L1c8/MJCjcnLHuKmkuc0u1D7XXzIKlJj X-Received: by 2002:a17:90a:bb85:b0:25c:1655:157d with SMTP id v5-20020a17090abb8500b0025c1655157dmr15245504pjr.34.1687341395638; Wed, 21 Jun 2023 02:56:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687341395; cv=none; d=google.com; s=arc-20160816; b=stry1f6YWvYQ/1orRKtVtJ4u2zAzGN6lldv2EKVNIQFoRDe+KtoTO/HO44ldeqibll zBZYE3i6mhWli1G3PZSt/JfqKfE4pUW/n+uF85DAY82g+PO8lCSBLAl+t636+bMGEur6 zvZzwCIFURJLkmcKeal8lhyCsniruIzvPBIDIJU7hYvm9XkW+C8Nz3QWrBZVQclCzAd4 hl2ciMZdIvBqTexsP+a2ctkb/OZs500qTlevztMGudgf/5WEUqEXg8FIeC9V5OKGrFfc 4urj6rbHENRIn/oKAGnCkeX8igFw9wHU5OI8mie828QVXYpwzIHdUBbZ9PHKVFhThdFs gBnw== 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=; b=cUx9JUkyVacuiTLkvq4gR80B3o4R+RJNZOd7c4s/bItk6maNvMLtr3m9x82HUADZ7L Y6nhRp/yLbgVaVP2TzEdLDFrHURssUOu22IKKbj8SZ/YnyQTmp49YpV6eZT/4seMQsxj tVltYnMSi2BRXqhHiG80uGbWakyy7+bg7VRuU8Ty7aMPNYt4kQpQdfD9Ssgj0jr6CCO0 S5v9B3jQgaTP8ijhSb6I7g5EQOqdOsXNXc1eSkTeGkBBSTAMCuhufnPfeRHILV+LscxU mn6BJjcteHL/gAWVjzf/0Vwt9LS+YKIZ/8oy51yUUyexeD+0zGulf6KdOUXCYIdes5bS +kfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=vvdnouFD; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t188-20020a6378c5000000b0054febefe103si3432508pgc.437.2023.06.21.02.56.20; Wed, 21 Jun 2023 02:56:35 -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=vvdnouFD; 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 S231574AbjFUJcs (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Wed, 21 Jun 2023 05:32:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231880AbjFUJbR (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 21 Jun 2023 05:31:17 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB541199E for <linux-kernel@vger.kernel.org>; Wed, 21 Jun 2023 02:31:14 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-3f8f3786f1dso62309855e9.2 for <linux-kernel@vger.kernel.org>; Wed, 21 Jun 2023 02:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1687339873; x=1689931873; 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=vvdnouFDr5rb5PrRGsiwpdR9r3jMNwu2DJKvMiB+TZcBK9nVZqtjy4UYTSQ4p9v/VP AquDpYPH11jrF5fDASMF0QD9sJEtSrMVtpn4yTrfXcrzYRXBVSUfh2j8cqsfBFxl6wTQ LmmUZA3e3tI2GkjWfMnNEG3XGt5EgaGGOhZA6bzTEwgGegB/VylAiRHrvVfHS0fVbHuQ bfIUDZN+XP5AHAn0UFS+tCcSTpqsif6XY8g0v6JNt3OixPHVV2E/2if5qputFSnY8AkV w5dl7UPoPIRGpkOn5p4VxIO1FmgwCj7Lu+5VB0Ymn7gcjmTddwZD9HzLFJBnZ0KPr8G8 dL7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687339873; x=1689931873; 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=RD16FrI0NPLFsiKMwgHTrciEU0weEVhEbGm2NY0P12IX15Ec5MqPt+xHVa8wRexLed 4hqlwovTp9NJjPEuX5mUdyw320d6IKtx7Sy+8F6gteMDivyDY0MklaMcqvgXlvGoDzct 2jdp1+OmqZqgjO7FFkd+VEl+TJNj1+d5yjwQd+3J4BrScm1gucTguIHpOuYh3Lw/lBKY Znr6hLZRKpqTP6Ni9O0jdagF8lbAQ5PJ1H9urXeyJpEbZk7eGohDnXA3ij+1nr5aa8Ot DOjSk+bCS080aag9OETb2aPHN/krgxs+uMGZNoC0bQA9NrHaGOS9bAM3n6trXhDAY3k1 jpsA== X-Gm-Message-State: AC+VfDy5m3pyRaSG2Nk6M69iCJ6x6+ldTn1GVWddIU6Q7eC3DcuFea9w xGuswZE4qVDLuyW9YU3pKqO16g== X-Received: by 2002:a05:600c:2051:b0:3f7:3545:4630 with SMTP id p17-20020a05600c205100b003f735454630mr15189344wmg.20.1687339873364; Wed, 21 Jun 2023 02:31:13 -0700 (PDT) Received: from blmsp.fritz.box ([2001:4091:a247:82fa:b762:4f68:e1ed:5041]) by smtp.gmail.com with ESMTPSA id t10-20020a5d49ca000000b002fe96f0b3acsm3977344wrs.63.2023.06.21.02.31.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 02:31:12 -0700 (PDT) From: Markus Schneider-Pargmann <msp@baylibre.com> To: Wolfgang Grandegger <wg@grandegger.com>, Marc Kleine-Budde <mkl@pengutronix.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: "David S . Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Conor Dooley <conor+dt@kernel.org>, Chandrasekar Ramakrishnan <rcsekar@samsung.com>, Michal Kubiak <michal.kubiak@intel.com>, Vivek Yadav <vivek.2311@samsung.com>, linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Simon Horman <simon.horman@corigine.com>, Markus Schneider-Pargmann <msp@baylibre.com> Subject: [PATCH v2 4/6] can: tcan4x5x: Rename ID registers to match datasheet Date: Wed, 21 Jun 2023 11:31:01 +0200 Message-Id: <20230621093103.3134655-5-msp@baylibre.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230621093103.3134655-1-msp@baylibre.com> References: <20230621093103.3134655-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=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769305691570672549?= X-GMAIL-MSGID: =?utf-8?q?1769305691570672549?= |
Series |
can: tcan4x5x: Introduce tcan4552/4553
|
|
Commit Message
Markus Schneider-Pargmann
June 21, 2023, 9:31 a.m. UTC
The datasheet calls these registers ID1 and ID2. Rename these to avoid confusion. Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com> Reviewed-by: Michal Kubiak <michal.kubiak@intel.com> --- 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