From patchwork Tue Mar 14 15:11:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Schneider-Pargmann X-Patchwork-Id: 69676 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1816589wrd; Tue, 14 Mar 2023 08:13:51 -0700 (PDT) X-Google-Smtp-Source: AK7set+yJGsJ0jtdM4heVfebVC4b9Sz7J7VYxXTeBPzUrFcqYUN/gXlR/jif6oe1wwLnw+2BkWI4 X-Received: by 2002:aa7:8bd9:0:b0:625:55e6:e5d6 with SMTP id s25-20020aa78bd9000000b0062555e6e5d6mr3299930pfd.9.1678806831641; Tue, 14 Mar 2023 08:13:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678806831; cv=none; d=google.com; s=arc-20160816; b=LuJb/XD5lonrhuqxZVGgY9bEtH8FqevXWdXAu/HH3aurb4ZRcvI+EQOJJlEqlXo/rd qluRPQsqyGaDg/RdH6qY2pp7ugadsXGTnGBn169FSkgCamD0c4g6Avy8NT9zqqKb4qiW oiGZuRRFTIsSnDiwNE+pNMN5Tk/WEW3BNXXfDubLP1TToHO4eoHlhXQn8ohXviiJPTyS dFBmTeO9qGFdfXsv5XimtiVup3d01UoL/2hc7NNlxFaAqJD60FqCr8q8hARoVlBkbufl HxtRHFyDoOLacI2N2hZJBTQ0iDPLMTf32pOuRxM6qshcwcW93T71cd5rwMFx7XAJZKHc fu6g== 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=VmGIHQCmWWdA9EwE4mVtBEzfVG8pp3/R17fUTMGZ6+A=; b=xsMpIpqX0ELwyz6rQKvhktSrwIHtMc1+Ve+VqaO/qxeQ0SofwvVQyLqWuvvJSJKTC0 KDNS8ApTNPyfzLtx7/zKq3d1gjYWBvXnXt8+8dkOKlwzsqlCr3kYEFlI1eUkHGzGJeyu +4EJ9vsbl5R1jRZNqzDyz/4FpuCwc9yoTdZAD9ZaDi9G4PRLr2uYq6EoDQzhgmziUB8B DUmAK6/p5pCbxwfTAjuJYUFIatCqUYY9G4D7y33fhYlCuhKfIW6BWNlYcEaJ/hk6a9is u6yoaRMEnasaISgCMXUwONWNVcS4LCuupcEzK8wN6FhHeN/I/SmkE8ZyyoMOMbPpzVbO H48Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=wm3utNeO; 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 h8-20020aa796c8000000b00571a5c5eaa5si2530570pfq.150.2023.03.14.08.13.38; Tue, 14 Mar 2023 08:13:51 -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.20210112.gappssmtp.com header.s=20210112 header.b=wm3utNeO; 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 S231592AbjCNPMg (ORCPT + 99 others); Tue, 14 Mar 2023 11:12:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231574AbjCNPMW (ORCPT ); Tue, 14 Mar 2023 11:12:22 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0890D9C98A for ; Tue, 14 Mar 2023 08:12:20 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id v16so14730240wrn.0 for ; Tue, 14 Mar 2023 08:12:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678806738; 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=VmGIHQCmWWdA9EwE4mVtBEzfVG8pp3/R17fUTMGZ6+A=; b=wm3utNeOJHiNjSb3v0zKJI8yUo1ASepqLTO4rJyfMNSbyOL1ayZKciL7n7Nym3iOSo bUQNZxfiK6aHhB4p23vPSr78iJJsfc5QUU+onuZdINfynDMrYFTt3MaDn1vDOjLEXiK2 D/lMEKsbKHcdwt30d8wwqu7BsPqCRL5jpDUD3Gd6g93gnLnbmDccRDaUeWt/v444SyIF 8BoSi53tL6PVh0z5zTzOOvsmowoa+25ze54I9rUqblUyFhXDDHABlKvLXX8HskQpl2Sb VEjf8qDwyF192LHl3WB385ura+pgBnPCbGmsZvL3P3JjAhKGuJuRzmX7c3ifHeIAEMFy g6OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678806738; 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=VmGIHQCmWWdA9EwE4mVtBEzfVG8pp3/R17fUTMGZ6+A=; b=LubI9qwF2GlHLNTYtihN16HWOtc7C+qkgXs7+JvcZG91a2yT0oKpSYzZNqLT6dkQ29 NxQDd39No8MiQX3AO1HaNb+lmGYB1MF6Q+yUtLeptDo5IhT5S/znhfEkBUv+n8PE4QR8 LaimBtlPWiiHGwSP9sj65gS0n25Eo0S6Af/cqxzk7Hf7HIO7E8wYeWNMnp4pk5WXJJ2N PB5u1Z53TEL06IfN0FfVSrYVfjgReWD7heCazeWkrLRA8knr15JcVGheCshJrcEGGAkU Jfw4DlcXIgSLMdr/3byChDnow2NMm9KNMu81zIeVw5BcIf+inFaQEb6xnKIHwg4ukTYl oTdg== X-Gm-Message-State: AO0yUKUdxmapa1r28K/MQvQLs6YjOY43jn3Z1UFQCrUgRFhLV53eezE/ BnndHIpJnmeZoo7WzOLkLNcjsA== X-Received: by 2002:adf:f78e:0:b0:2c8:bf89:39be with SMTP id q14-20020adff78e000000b002c8bf8939bemr28733891wrp.7.1678806738473; Tue, 14 Mar 2023 08:12:18 -0700 (PDT) Received: from blmsp.fritz.box ([2001:4090:a247:8056:be7d:83e:a6a5:4659]) by smtp.gmail.com with ESMTPSA id d9-20020a5d4f89000000b002c707b336c9sm2320158wru.36.2023.03.14.08.12.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 08:12:17 -0700 (PDT) From: Markus Schneider-Pargmann To: Marc Kleine-Budde , Chandrasekar Ramakrishnan , Wolfgang Grandegger , Rob Herring , Krzysztof Kozlowski Cc: Vincent MAILHOL , Simon Horman , linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Markus Schneider-Pargmann Subject: [PATCH 2/5] can: tcan4x5x: Remove reserved register 0x814 from writable table Date: Tue, 14 Mar 2023 16:11:58 +0100 Message-Id: <20230314151201.2317134-3-msp@baylibre.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230314151201.2317134-1-msp@baylibre.com> References: <20230314151201.2317134-1-msp@baylibre.com> MIME-Version: 1.0 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760356552430576426?= X-GMAIL-MSGID: =?utf-8?q?1760356552430576426?= 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 --- 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 */