Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10940085rwp; Fri, 21 Jul 2023 07:08:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlEMk2lR+GIwOapiD+OQirvYfaboHe6rKPvJ6VmWzNaMTVX4hsud2r1+0z6zZeVyvyudAEk8 X-Received: by 2002:a05:6358:727:b0:129:c477:289c with SMTP id e39-20020a056358072700b00129c477289cmr57004rwj.26.1689948534533; Fri, 21 Jul 2023 07:08:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689948534; cv=none; d=google.com; s=arc-20160816; b=i3nqs7BQpJSnLVPfngKHPLbRshPgwqauBww00xABHFVBd4ohx9XiE7oig7sFoMzlT7 pM7TvpNXHlOlHIMT+zlESJ9DaeZWX78/zvpSQD6Cdsr5e1aQoky1ZlOzBQl6VngYAJ6q JlSbhf0H3XuqBmq2PsXoYwtvxL74NdB6M3L51cwg/R3HQXRbpTZG/awB5YFS45l0qOF+ 2wtV4aRwF8zwz3IxkAgsW/Zecs+svVsEW9zvpv6vzle2QO1VD2rcRlJ05RCkfA5iMuTg XkMqWjzV4JHmKyS8K2onnGJQaUV7Fo8cji8+5TUTK0w6uUkogj+mnF/cMpEYL+8gtl0w RoDA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=jzDN3rUK7N/Nj7i2zhkTUZdxm+FjSAWAWWXiJ9jyKGM=; fh=9frbIG+5eKvNqELn2qUZ8UP3akRIGRm6w0alHg8xR8g=; b=JruSp59BAzYJNBvaQk1hAQb3m1zQSl66jfzdRI9enHRE/WbCZHf1W3hLDo836meC2F Mh0lbkemNAnZc5AeAU+jRzUImGSM2mPhXd8I8wlzvlAyLNvQVOFAMZn846WxFS8Yhc22 Tog6mZCzqGSJACKDxykffdT0BPpJMhkdVoYegKk1mSWyRCUJWECRtjQOsO3JiM2qcdK4 sRsWYHjZA6dLewBaQ7h4h35rmecWDDdgGdpvLhSl0P2xX2pkmcg3XHC8EuFjurHMUKgE Ux//1eT0P4sy1wJZYMUWQkIk7QqYRYuoyni+UElbmF6hUpXZ7sJacaGwL672RIwHb1Ez SwtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=t0IebwfV; 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 n6-20020a63e046000000b0055ace8caef9si3090691pgj.309.2023.07.21.07.08.39; Fri, 21 Jul 2023 07:08:54 -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=t0IebwfV; 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 S231462AbjGUNuT (ORCPT + 99 others); Fri, 21 Jul 2023 09:50:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231400AbjGUNuR (ORCPT ); Fri, 21 Jul 2023 09:50:17 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48959273E for ; Fri, 21 Jul 2023 06:50:14 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-3fb4146e8deso17810205e9.0 for ; Fri, 21 Jul 2023 06:50:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1689947413; x=1690552213; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=jzDN3rUK7N/Nj7i2zhkTUZdxm+FjSAWAWWXiJ9jyKGM=; b=t0IebwfVFX4TVylqwkakMpBgBQh87vfKWrGUNUOGzIH2q68bgsJqzbgWODqFiL5QC/ GXytADzQh9cplYCNSC9D5prSf/1AEcCeatSWoiyF6fknD0eumdfEUHRT+hzeG+AdzV/f 5xQfu/G5kZGC25X5FnDvQsmDrXCjscvOBE0x7rAMq2ACs1wETCZcnTsGCipAqDD/9FPw 729xvuAyF72IckCzZP7K3eoIw9VYgDr1fJ8GB+Xs6xvAd8gCrwC7RPJG9M+dggiT+GRE PF2smvKCVgnflYNGw2XkTflHg1wuq2EH5oYSHjucXpwjJnM6KdCk/TKcKlTrjN0DSTf5 HuTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689947413; x=1690552213; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jzDN3rUK7N/Nj7i2zhkTUZdxm+FjSAWAWWXiJ9jyKGM=; b=i2nSF/KsKim2YYOi2yZ5DIbMsT4i7syoyBryc8aahtBMUEBfDWEyhpWLMk1844ESwp d5a5Qud+9hAhL5Ezxfg3lj+7oukykrJSgJEbtFL8Q3VkH8nHdJqtlKiZ2Xl0tX2WHlfr WpYy6lJsuo9cjAhZu7NLufinRQML+sCq9I0huvR9Dw5bvZuJVbPNoptPSVapgQ4LHnaW TqC7MTloA6wsU4tbUrxKFQZ8G1D2xJUPpMPvjSfb+njxkfStsUKzp8JonnptSSrt1p3W C2/FvPpk+GAAzrXfV7KfyRr93MVsF5yf8XXs7Dc+JdpIKBb0B3EY5afMnoYZHwyqQabn JmJg== X-Gm-Message-State: ABy/qLaIkXPdsMAfT2mAFIT18uuUj1jKa++pW0chjcfHSGnsEzmvXWOq pwJrjMzVkTOz6oN7gtpcaDOyMQ== X-Received: by 2002:a1c:f313:0:b0:3fc:855:db42 with SMTP id q19-20020a1cf313000000b003fc0855db42mr1573194wmq.34.1689947412657; Fri, 21 Jul 2023 06:50:12 -0700 (PDT) Received: from blmsp.fritz.box ([2001:4091:a247:82fa:b762:4f68:e1ed:5041]) by smtp.gmail.com with ESMTPSA id c14-20020adfed8e000000b00313e4d02be8sm4233980wro.55.2023.07.21.06.50.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 06:50:12 -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 v3 0/6] can: tcan4x5x: Introduce tcan4552/4553 Date: Fri, 21 Jul 2023 15:50:03 +0200 Message-Id: <20230721135009.1120562-1-msp@baylibre.com> X-Mailer: git-send-email 2.40.1 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_BLOCKED,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 Hi everyone, This series introduces two new chips tcan-4552 and tcan-4553. The generic driver works in general but needs a few small changes. These are caused by the removal of wake and state pins. v3 removes the check of the devicetree compatible and completely relies on the ID2 register. Based on v6.5-rc1. Best, Markus Changes in v3: - Rebased to v6.5-rc1 - Removed devicetree compatible check in tcan driver. The device version is now unconditionally detected using the ID2 register Changes in v2: - Update the binding documentation to specify tcan4552 and tcan4553 with the tcan4x5x as fallback - Update the driver to use auto detection as well. If compatible differs from the ID2 register, use the ID2 register and print a warning. - Small style changes Previous versions: v2 - https://lore.kernel.org/lkml/20230621093103.3134655-1-msp@baylibre.com/ v1 - https://lore.kernel.org/lkml/20230314151201.2317134-1-msp@baylibre.com Markus Schneider-Pargmann (6): dt-bindings: can: tcan4x5x: Add tcan4552 and tcan4553 variants can: tcan4x5x: Remove reserved register 0x814 from writable table can: tcan4x5x: Check size of mram configuration can: tcan4x5x: Rename ID registers to match datasheet can: tcan4x5x: Add support for tcan4552/4553 can: tcan4x5x: Add error messages in probe .../devicetree/bindings/net/can/tcan4x5x.txt | 11 +- drivers/net/can/m_can/m_can.c | 16 ++ drivers/net/can/m_can/m_can.h | 1 + drivers/net/can/m_can/tcan4x5x-core.c | 139 +++++++++++++++--- drivers/net/can/m_can/tcan4x5x-regmap.c | 1 - 5 files changed, 142 insertions(+), 26 deletions(-) base-commit: 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 -- 2.40.1