Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9112821rwd; Wed, 21 Jun 2023 03:15:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4iH/sWhSbdTepvo7rt00WNlq5O1xMtqinHB40UAdlOJwtxFv4TjdQRrpafJQNjnJmuKSok X-Received: by 2002:a17:902:a417:b0:1b6:6812:4ed6 with SMTP id p23-20020a170902a41700b001b668124ed6mr5093226plq.22.1687342513924; Wed, 21 Jun 2023 03:15:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687342513; cv=none; d=google.com; s=arc-20160816; b=lSey9cLFYPCkk+lt5sM4cbqvh48ZabE1cLQeZhuX4Q9E8CbhC6fyWqRNjvz55EpPQe fLaljkD3JebaL+EXU6p0lhBA87/h9jLbh+II51Bgh31+Ar4gwHrzy9JWgt/QZIk1BZdH Y3NoBuVLD/UdYjWPEO15rQMj7X0wRUOSPrbopzm/Qa8D1CChYcZalU7IwfLzevWWOZvs 14RUpQ/P0pTXxX8q9H1dWdeP/wgmkLSQxpnasd4/hjbH3CmP2eq0OXnsq0y6STkmpNB+ 0Dbcllaz2XqQE5h6CGdWzlyRx6rm7s2ObX+Ns2kkCioa9/mtTkYdiQsv6Rg+Z2xTLKQo UNsg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h7-20020a170902748700b001b03bacdc9dsi3768112pll.343.2023.06.21.03.14.41; Wed, 21 Jun 2023 03:15:13 -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 S231931AbjFUJcd (ORCPT + 99 others); Wed, 21 Jun 2023 05:32:33 -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 ); 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 ; Wed, 21 Jun 2023 02:31:12 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-31121494630so6568230f8f.3 for ; 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 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 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 Reviewed-by: Michal Kubiak --- 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 */ -- 2.40.1