From patchwork Wed Dec 21 15:25:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Schneider-Pargmann X-Patchwork-Id: 35404 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp3586169wrn; Wed, 21 Dec 2022 07:27:08 -0800 (PST) X-Google-Smtp-Source: AMrXdXs6tYCQLRIrTP7efpa6gT+VHokimCYDaKLO5GEwaR33TwpJXhRLKkb/x//BwkX7pyFThS7d X-Received: by 2002:a17:903:2447:b0:189:8141:e827 with SMTP id l7-20020a170903244700b001898141e827mr2675810pls.56.1671636427860; Wed, 21 Dec 2022 07:27:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671636427; cv=none; d=google.com; s=arc-20160816; b=kSlq0gHXWf7dQ0nJuqoSu0kDvZDHk+MndYHKp8Yx3s3pVgE6ZxuC0+bU0f3uY0aOWe +o4seiDGcEHvnbY2tHwpaiAcryJ0IJ6HWfqa308cCW27e3H5XfHm9TaeKzuwqNBmBUef dsNVG5Qz8yenJYhJpMMx40kq9v7FT9xVCOfwbGYlvhCR9Uzy1wpDarCELBub5picktDp +ltT/RPwgUWtcZ7kZKdbqpahC8dKDy4wLpuZODQADx4hrRIYUcggngcYRmIRlypL++yi 9GZi7umQh2vCCIzW/IllwqO/llc/yAH9baMeVIT6J2KXg8tOhV1ee+uYLV7ASdaWESng pH8w== 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=HU1fM1Lkfa3GCTAXKr+w8jT2gXMcP3RN7DZ2MvUOkc8=; b=ZZ2TAtp+HfJx3DEApSIU31l+oKYulPGcGr4Ocmc1vnfsJcGeO/xIdAAOj7XcTtQQzb 7IWMSioxYYDXblJO1cGsib+aC9FAsh3dln/Ekg2reFZUjWi1qpnNdRT0b96lwnbpCzoC CPFXFgZr6txGysuaNJ8/30izm8/v3Z0YVQ2cgNr0kkhGpyp+QATkPp9b14Bj02d820fm 1lGedQ4dHDBfbs8vHEL0Heo0KiM8K3saN9fFwbaL9o5DJuLLukEnTcRGs6lS9LBgj86N UVWe5crt5z9GKmLcHAs5PkXPbxPDdtnrglT9k2JSFGnPpj2kuKgimvFVFdNlWirJkTfn aA3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=WtYsqbIL; 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 m21-20020a170902e41500b001897bfe1ec1si15222603ple.345.2022.12.21.07.26.54; Wed, 21 Dec 2022 07:27:07 -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=WtYsqbIL; 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 S234605AbiLUPZ5 (ORCPT + 99 others); Wed, 21 Dec 2022 10:25:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234598AbiLUPZr (ORCPT ); Wed, 21 Dec 2022 10:25:47 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DB85F2C for ; Wed, 21 Dec 2022 07:25:43 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id s5so22401891edc.12 for ; Wed, 21 Dec 2022 07:25:43 -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=HU1fM1Lkfa3GCTAXKr+w8jT2gXMcP3RN7DZ2MvUOkc8=; b=WtYsqbILYftz9L6zgOypJZRybELx1w/ZwOle04X7RjSeaOzSX9dfIq0MlOI00pcnjW w8VrrKfUe19RUPuUB8GtaYjdXRRd9Mf/ydmkXRgqWu8FV60YW1/kkpWfWF0owTOsTuTf DSJsdsGKZpyr/iewDGgSYILZhOTpYuLEKNX78jRIjQvuOICZPs5kWwBMNfXLn2reAf4U q+ch1/wBGACrelb1yYqQCO9xtPXtQMu7SdhtW7aix7YndS46sjLdo2+fhffTFI0tOX5e cQEh62Ts1JGOA7BMNPmq2EYDFwRjgksrsjTaMPFoRWGrmYcnQtfp7JAnDm3oeK2PbFp0 34Sw== 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=HU1fM1Lkfa3GCTAXKr+w8jT2gXMcP3RN7DZ2MvUOkc8=; b=JbixkD8G4gFAqZCfXaQ3Yaid6LMq3ZBGRpKaeoRmcLrGKmLcXii6xj+qZmvZAoy0hx ekp4i8UE1JCJkLmfMpJCRt2v32HfqWVjbZbdk8XzGYUnIr6Pjim/WLK3EdwIS1msq7YM xkYM3oubSustE36PoLWDvgeM7Mps0N/eKBiGqIDIveZVeDbiRUXZOO/lOehYVodvxxSO W9K7ORH1EDvTqJzBZAZvRa9hy2jC0k9P9p9pq7dGY0N398kTc6txwJphrunPXclamxcz JolxW2QXKpwicccS0ktnO49US4Gp5PnhWQo6ASuc1VmqTcXp8Ipi5k8zEOzOJ7wVqCtF dRQw== X-Gm-Message-State: AFqh2koYvgUUJZ4Ma4DhuJT/yS5tUOEEz8xxdIyOgMf/T9RprCshm6JX KqFfUWrz4eY1flJgeBiR+iYQZg== X-Received: by 2002:a05:6402:38d:b0:46f:b2df:4e0b with SMTP id o13-20020a056402038d00b0046fb2df4e0bmr1836537edv.14.1671636341814; Wed, 21 Dec 2022 07:25:41 -0800 (PST) Received: from blmsp.fritz.box ([2001:4091:a245:805c:8713:84e4:2a9e:cbe8]) by smtp.gmail.com with ESMTPSA id n19-20020aa7c793000000b0045cf4f72b04sm7105428eds.94.2022.12.21.07.25.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Dec 2022 07:25:41 -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 01/18] can: tcan4x5x: Remove reserved register 0x814 from writable table Date: Wed, 21 Dec 2022 16:25:20 +0100 Message-Id: <20221221152537.751564-2-msp@baylibre.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221221152537.751564-1-msp@baylibre.com> References: <20221221152537.751564-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=ham 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?1752837839236753791?= X-GMAIL-MSGID: =?utf-8?q?1752837839236753791?= 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 */