Message ID | 20230728141923.162477-3-msp@baylibre.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp511327vqg; Fri, 28 Jul 2023 08:25:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlEpuKtA17JulpBq2TOyEgKHQ6IlrmSyhIPqLLUQ5RXv0YYv7HUno/tld6AufYzcmWUKeGNM X-Received: by 2002:a17:90a:ab92:b0:268:4c01:eb56 with SMTP id n18-20020a17090aab9200b002684c01eb56mr1560371pjq.2.1690557945982; Fri, 28 Jul 2023 08:25:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690557945; cv=none; d=google.com; s=arc-20160816; b=H4a02Wsgofh6SjEmvy8BQGs/hJn7YqcgSNcU4MVwR7anOHp5Dfr/a/jGvAXtScmkZV j0WdHmzaGYZa0Q2KfYroDRuxgDC6hw7qZy37y8i6UBgIv78NaM0OicxCYbkoIhK4aupj o3dVDZIHmfDPjvFWE6Fka7Bv0tPcsG2OLLM1OdVlXisvKN5pqgRci5rb9VwShVRsOoiJ u4y959kKp90apPQS6/2TEzWmmcVaJsYB9m+0Ukdv4dsxAJ/MhmxFK8d57fDJ6Bce84RM 5zZUWsxDpSBcsRFQjYNZzhknXV6Y8RW/zwzD6/p2alfkrbTu24cBvAdQPgtTbcg62ejX ofUw== 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=aOPR69iAQ16PRI3TWa1E2gZcgSDBVpUe2mB3Tg7XdFY=; fh=9frbIG+5eKvNqELn2qUZ8UP3akRIGRm6w0alHg8xR8g=; b=ANFvg/PYL3WXAf009IiLB/eK2iHyk0RX4o3ALS0lI5IGR1at240yFGu2mS8bk7mZlS HiDsNagAZ/tFzlqYAOYyDJBqnMi3KaEXHr9QnEczsKCRHHQxLnPiD2ap/cLb6SQQ2zvA THe2K8s++yOEF77bRPvM0z9QCcTg0tnDDco4ERPQV1pDZTlCTGB2fHmyZMYCkLyskG0D 1HwF0Yc1C2GYJA32iH19/U1FQkIw8we8YumrkZ99TFSM36IhOdkCFvvnUArOtCHdqqFc G6uZVG90ZYEL26iU0qX+hZuY4OX412u5fm+7sGl9i7/7raBBSdkCWTf9IpF/ERcfyMt9 Rc9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=eCfDNPSl; 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 q62-20020a17090a1b4400b00267f3363479si3137617pjq.57.2023.07.28.08.25.31; Fri, 28 Jul 2023 08:25:45 -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=eCfDNPSl; 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 S237038AbjG1OTo (ORCPT <rfc822;hanasaki@gmail.com> + 99 others); Fri, 28 Jul 2023 10:19:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236995AbjG1OTb (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 28 Jul 2023 10:19:31 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BA2D3ABF for <linux-kernel@vger.kernel.org>; Fri, 28 Jul 2023 07:19:29 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3fde57684d7so21975685e9.2 for <linux-kernel@vger.kernel.org>; Fri, 28 Jul 2023 07:19:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1690553968; x=1691158768; 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=aOPR69iAQ16PRI3TWa1E2gZcgSDBVpUe2mB3Tg7XdFY=; b=eCfDNPSl7vSoyBHYmOveE8fuDlgi8ZipveyzGaTlPOC0Q2OpbSPndzkwgMyclgAda/ V6WTHb/DKo1bo2kDoa0OhOJhJ4PL5NQqBFKROAUwm4e9A72r5un/Wtm8JoiZhb4l0DE1 Vs++o1lVFVOTFyUwli6h3oJ+wHe8tIxqaUvdlCDdAphocUK+ygU+y9/PrDVt7fIk7CW7 Ms2GNLTCZO5/X4rTwRGcPHx0MtToecCzRNkrPA7W26gLn5kE3H/GoJhCCBHIbzGQIXn5 Jszk8Jw96jdQ0daJjcTZN11nmfyS6iMVC2HVfmGVY0NLDFC3N9ANmvlVym1ZBAg+pMsx d+pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690553968; x=1691158768; 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=aOPR69iAQ16PRI3TWa1E2gZcgSDBVpUe2mB3Tg7XdFY=; b=JQcwwF5S+TY6hddo1G8dhFH2BpwCe/oxgvmm6qUW4Kn7oqSzeKrdNTdZgLm38NlkEN 2gI7dlZDYqD6PHeyXrTpFOdp5xVlYMb2uUWPlaHtYwwMAMCGJJ/2INXRagQgSez+yQ4u A0AiibrCO5icBXmow0kdwgC42jAH0fdWl/gLR+B0tKJA4knfpqWAbNDIjnSadyjYGAQV rW8ejtHqVtsi92LH29ZRkSAOI2fiGJrK6lcUFZBs2lRZjSMQikTyXqn6G4QeuzwyYgaQ ovlNP8+djtYWEZrpLKay6N3Jguc2yxcW4rpnwnZEWo3MaKeC8w/kTkxhZBbzZnpZ0nX0 1PDQ== X-Gm-Message-State: ABy/qLbbhZSoYQNuWuI+oPid/UTcb8PbZ1Wa06iiumWFSH7zEI8qel00 MOWr/lgYhHRsx9xgw02aUBoPOg== X-Received: by 2002:a5d:5101:0:b0:313:f5f8:a331 with SMTP id s1-20020a5d5101000000b00313f5f8a331mr1763758wrt.34.1690553967911; Fri, 28 Jul 2023 07:19:27 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jul 2023 07:19:27 -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 v4 2/6] can: tcan4x5x: Remove reserved register 0x814 from writable table Date: Fri, 28 Jul 2023 16:19:19 +0200 Message-Id: <20230728141923.162477-3-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=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: INBOX X-GMAIL-THRID: 1772678488751449581 X-GMAIL-MSGID: 1772678488751449581 |
Series |
can: tcan4x5x: Introduce tcan4552/4553
|
|
Commit Message
Markus Schneider-Pargmann
July 28, 2023, 2:19 p.m. UTC
The mentioned register is not writable. It is reserved and should not be written. Fixes: 39dbb21b6a29 ("can: tcan4x5x: Specify separate read/write ranges") Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com> Reviewed-by: Michal Kubiak <michal.kubiak@intel.com> --- drivers/net/can/m_can/tcan4x5x-regmap.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/drivers/net/can/m_can/tcan4x5x-regmap.c b/drivers/net/can/m_can/tcan4x5x-regmap.c index 2b218ce04e9f..fafa6daa67e6 100644 --- a/drivers/net/can/m_can/tcan4x5x-regmap.c +++ b/drivers/net/can/m_can/tcan4x5x-regmap.c @@ -95,7 +95,6 @@ static const struct regmap_range tcan4x5x_reg_table_wr_range[] = { regmap_reg_range(0x000c, 0x0010), /* Device configuration registers and Interrupt Flags*/ regmap_reg_range(0x0800, 0x080c), - regmap_reg_range(0x0814, 0x0814), regmap_reg_range(0x0820, 0x0820), regmap_reg_range(0x0830, 0x0830), /* M_CAN */