Message ID | 20230621093103.3134655-3-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 k13csp4240641vqr; Wed, 21 Jun 2023 02:49:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7SRqpNDOqojwZwS9ex/EATtDW6qC2ahd/A8xNU7K6ORkyOoQO7D0zOCgtwH/qbB/NHzgtx X-Received: by 2002:a17:902:efc5:b0:1b3:e6ba:1575 with SMTP id ja5-20020a170902efc500b001b3e6ba1575mr8459274plb.16.1687340971817; Wed, 21 Jun 2023 02:49:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687340971; cv=none; d=google.com; s=arc-20160816; b=tQj14qZYaJOjE5QFQNQMy8qpUb9zY4YhZtVP4KzJKfZ4MKMJ05/NkMj7QfW8HSUoEJ DOA9bXBJNGmnw3mKhkXtg3/cmuoCdh/B2PuLSBzxIxwPwSK5qYjgpVnc15pxx4ABFSyA PHrF7FnuNO99iQqpwRU2g36+wpXgYCeTdAJHeScmcqcCNwhfOSqYuTYQXykldEyZajL5 2IGeQeKgvypVPYKaC0nQtRF+19AKnuTmrjFXgAAfyxmxtXEXCKoVI4jZ5cRH8Sb86QfL e/0sDllzSQQGDZJOOWscXqUhTMuiKuKuM+gMJQoPWUkr4U2WlTWggq+P0EnvmMaxYTDf rl7A== 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=; b=01kM/Hm15IjhUoi840VhU2l2H+TgDELCPReXds2uI5SdiTBqBokDD7R1CVdePbHYFe g5A2TiJnruiWRBJldnvkPB/59MU6SIKAS8ZcPoFUGCcKv2rQhgLi3vwvD29x7m/L5kHk 4SZI0fyYlpwxGoxTknnCUQIlOl08Nr/LDvXMaP+z9SqSZaRIXDG36QKqnkV1RBCjNqvh SMiJndejUMvzvSLES20zYFlaDGe3Ltmu+t3qr6Q0ZRAYZ/w72QAXxsjJcX/GKMCVmaMI O/SNF63I1FsypweTkxYWr3UvQbnclMb2KoX/Zk4CNQVmxBLU9/fAMrUqi9t4vsDQO0lV MahQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=p6VfhCsZ; 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 g12-20020a170902e38c00b001b02e044c87si2615420ple.320.2023.06.21.02.49.18; Wed, 21 Jun 2023 02:49:31 -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=p6VfhCsZ; 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 S231933AbjFUJce (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Wed, 21 Jun 2023 05:32:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230124AbjFUJbP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 21 Jun 2023 05:31:15 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7323AE6C for <linux-kernel@vger.kernel.org>; Wed, 21 Jun 2023 02:31:12 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-31121494630so6568230f8f.3 for <linux-kernel@vger.kernel.org>; Wed, 21 Jun 2023 02:31:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1687339871; x=1689931871; 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=p6VfhCsZ1XQVk+UFLTJRo9cf3iTipfn7+MBuZGX/3xu99DkZWmG8tzt/4QEiu0vdoP SwlKwJZpil8SEzBGic9Sdgl41L2ROAyA7fjHmwCysGNFyiJ2HXeo4xDhFyiizQzpbGAb pFEwDePat4OO5iNIvyfT6kCa1Y1wwPfNVqWTUay+XSTDaay8iLXaiNAWpNJosnHvR002 85B6egNdHCN4pFH1hnrVd2eyXbxaTHobsIy0GYO0HIrF0qrfTKXUZWMqa3bWv6qy4XO8 Fmtgt9r0knq3H5Xf8bnbXgXrDmp7C2UqP5JkHSCkA99CZSH22vhgwzEkEOE5iahxQgJf FIAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687339871; x=1689931871; 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=TmgnAKvA8XMsJjxIOuuQ5vTmNaLxz1GQE/wbvlr4bU5tuTnQUGw527hAU+2fZVeCXH Sio5urrnGpncIRHdi4jxs60nppFL4t1hf/7LRudLpfODeh0JdXtKOIQU4Bm7v/i4Ci8R 27cMCcT+veojuHvErdlrlLr+TviPS9O8KcplsqI4KJ7QWAqZnugXvMk8zTlm7sYANRpd GNUMdIYPAPNMElygafpWfi1w2VYsHvKol2NmilT1dKOc4/K4jDJFV39oH5bV+eK5O5yL 08vsmPRhZjGx6jgC3KXKJL135nVSQC14nFkAE0o3dT2xUF2dB3EKYhDTopYBcDF+K5tK LvIQ== X-Gm-Message-State: AC+VfDyvQeOnXN2SQaOoMjYJbbY7le9ZD+F/OSXJI1VL4TeY3MTYvYfQ 25hF4x6dGwD+Ln+AYnDAGOtr3A== X-Received: by 2002:adf:f287:0:b0:311:13e6:650a with SMTP id k7-20020adff287000000b0031113e6650amr12500326wro.28.1687339870910; Wed, 21 Jun 2023 02:31:10 -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.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 02:31:10 -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 2/6] can: tcan4x5x: Remove reserved register 0x814 from writable table Date: Wed, 21 Jun 2023 11:30:59 +0200 Message-Id: <20230621093103.3134655-3-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?1769305246865287775?= X-GMAIL-MSGID: =?utf-8?q?1769305246865287775?= |
Series |
can: tcan4x5x: Introduce tcan4552/4553
|
|
Commit Message
Markus Schneider-Pargmann
June 21, 2023, 9:30 a.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 */