From patchwork Wed Jan 25 19:50:42 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: 48279 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp456237wrn; Wed, 25 Jan 2023 11:52:24 -0800 (PST) X-Google-Smtp-Source: AK7set87sBJM5ZHleTFJdLabHKYMciOWCiS1Mm8CxWe2yDj+B77YT0AOsVHLSE4FH27Ht8IoJ3og X-Received: by 2002:a17:90b:1c8c:b0:22c:c0e:e9a8 with SMTP id oo12-20020a17090b1c8c00b0022c0c0ee9a8mr2569166pjb.16.1674676344545; Wed, 25 Jan 2023 11:52:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674676344; cv=none; d=google.com; s=arc-20160816; b=FK10M8xvOGky0UFBhSS4v2HOJBSbc7JrrJAtDYr6S7jWh5cp2x1auaTcQRfrKAIyjK eZio9aveubl0y3X6oCBXbXbgEJhR3T9giEFvP1VfD1HcByFc6f0utryhaOtg33JpbOTj YvbfQpMDqJTv+AXql53oPD8anHHHX6x6bk9l2WMA5Z4SATSgmVqUitq/scnI+vfpCw5W Kpz9tsYL8CxEupscm/ZN2luvL/S4fh8HHaAf0IeCCDFMMKBc0UpC7DxtH2NNgsmRLoCL LoOBjxTtVrapjiwywJldsbmVa0j9gi4lEWL9pIxhZBdhr6mnh2Cx1dTvkXriFqaZBNNU QlRw== 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=mxWtntR87QPQtBcaxG7QqCrr8e8g6sulYm7WbYMis/Y=; b=tQaqlgT5Ne0oBJj/PqeP6t9bb6ae7oxSmbG6SJCaTRjf7vV0T5EQK3OdQpl/Yj/7Yu pxMDxclYHYfJf6pyYegbnO1icidaL8HVc+prwsgnaPfMx13esHTHmnWMwktKdlLSRt1Y eRJJ64giG+A4HS2W3/jo8uroq0Wh5fT6WZZj+V+BNKFoQB6TVK4vJ1pmHPyIOhUM7q67 gSmUA2W1mTze5nTTn39MKNnsIM2t7Yrz30ersWXMHzeSoh08ywQaZvRvFJctuwQhD6dk hb6Ok8XWGOidical5wUZyG0gWMQCdkfV0SYL1aljYddFeE7IRSle7Zxd3LO4n1Pf06zs mkNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=Wa6R4Leh; 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 x1-20020a17090a970100b0022692bdf6c0si2938027pjo.49.2023.01.25.11.52.13; Wed, 25 Jan 2023 11:52:24 -0800 (PST) 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=Wa6R4Leh; 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 S235543AbjAYTvP (ORCPT + 99 others); Wed, 25 Jan 2023 14:51:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235456AbjAYTvJ (ORCPT ); Wed, 25 Jan 2023 14:51:09 -0500 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0637458641 for ; Wed, 25 Jan 2023 11:51:06 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id rl14so47280705ejb.2 for ; Wed, 25 Jan 2023 11:51:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; 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=mxWtntR87QPQtBcaxG7QqCrr8e8g6sulYm7WbYMis/Y=; b=Wa6R4LehTz4hL1fyn0Tgu/fMCKHyh1QO1mweKkity5p91CDaaEV5PERR3qAPxCSGAh mS5bkPYot/aFGWq7p4pHq+bNwx1/aH2BpNsaXWt+yXGOz63x88/JJ0gkhKoj4qja7n/Q z4XNkx/ING9Fc+3wYKLZgW4UolnLMqi8Xmp1Yp1aXeiz/UB0UOqRNjbNjgXJ5/IzPefm E3YRtHpM0xIVoC0zjPJ2KFYu/UgA9EIrY2FJzoyw8j6Bu2V9e8EWWLXxOvy7PoOtU6vt oy7qUwBPOAHvTFvSD6PchZp5CxiaaK4KRRxPYcWRwX9B9akyczvbsXMTpjNYnZA0MxUv IoCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=mxWtntR87QPQtBcaxG7QqCrr8e8g6sulYm7WbYMis/Y=; b=Qijl7lmVeritxKMEiMTe25NkTrnfP8NfPM36SYowsFz2EgUN9WSV3M3G/Kj1rVav4B OMkVQ2gEzcgZ2jqTNfShHVmm37mMthBgogTmMdpdI8f56QxIXO5/Xetg5+gRav48NKtU 22T5XjOXuz0ouxkL/oioWR0IG44BZqT83yRoxafzxlbfyHJ0n1hXtRlJoXpxqdwiqjfu guMmDYrpiAEj7xSVQe+sSv9L+KtI8nS60uC/lHLiL33QAJlQY1or/cPWZ5Mtt9HtaiJk 4U0/QbttGfvUNprNPlEiJYJAHJN+NhHYWSFIJuSwXuNNRvBkGAgTanPFT/8bQHS82gGX OhEA== X-Gm-Message-State: AFqh2krz2rK4lAdObcyiOhJTS0jODBky1UfECEBRxE1gluB3RVN40cor RFr/PTlvGi9pqr8kvvWoxZIAkw== X-Received: by 2002:a17:907:8a1d:b0:84d:3822:2fc7 with SMTP id sc29-20020a1709078a1d00b0084d38222fc7mr45785644ejc.77.1674676265435; Wed, 25 Jan 2023 11:51:05 -0800 (PST) Received: from blmsp.fritz.box ([2001:4091:a247:815f:ef74:e427:628a:752c]) by smtp.gmail.com with ESMTPSA id s15-20020a170906454f00b00872c0bccab2sm2778830ejq.35.2023.01.25.11.51.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Jan 2023 11:51:05 -0800 (PST) From: Markus Schneider-Pargmann To: Marc Kleine-Budde , Chandrasekar Ramakrishnan , Wolfgang Grandegger Cc: Vincent MAILHOL , linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Markus Schneider-Pargmann Subject: [PATCH v2 01/18] can: tcan4x5x: Remove reserved register 0x814 from writable table Date: Wed, 25 Jan 2023 20:50:42 +0100 Message-Id: <20230125195059.630377-2-msp@baylibre.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230125195059.630377-1-msp@baylibre.com> References: <20230125195059.630377-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?1756025422744518579?= X-GMAIL-MSGID: =?utf-8?q?1756025422744518579?= 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 */