Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1359031rwb; Fri, 28 Jul 2023 08:19:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlGQWDRqZR5GWl4sk5rem9tg3jklfzm6E4PoMbh8Gsz+duNGkJNtj2qm2BjHD1k1fknDJUSw X-Received: by 2002:a05:6a00:148c:b0:666:8403:9f4 with SMTP id v12-20020a056a00148c00b00666840309f4mr2678845pfu.16.1690557554983; Fri, 28 Jul 2023 08:19:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690557554; cv=none; d=google.com; s=arc-20160816; b=vBUd5V1hVNih/gbczhX9D7y8RiNsE89zSKU4R2NE8Mc0PJh1LbiRPH+8hNi2UNE9wg dYim4Dn9I4ekIBfl2f4ITExygeqdDi/dr/FpD1sfe3aXCfhzKf8ouhWiWqEEoCE49Gzw Mq0ggc8eyrbys8RybrlI1CJhXwdJWgS5nqBcDWWRMfN2LKUP8/ERSlHsBcylaamzH/kX CV23ic8cCg4As4k6MVriXkaS1clf8SxenWLWsIQL1qdcxYoXJx8jIybsV1ltzKI7waOa 3Uga5oCsenodfVvQgGdGth48xzZlH2xumInpD/8TMd2h5r7BxZeLpmi9QVf6/6/zpf1d +q4Q== 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=YTVSMob3FDMab46cbnVnDKMK/PRpFt0HuCnjHfQcaWw=; fh=9frbIG+5eKvNqELn2qUZ8UP3akRIGRm6w0alHg8xR8g=; b=aDvv24zj96+RKMj8sDjR5e/P5tvXGCEiQKAHncFFbx6Jv3HPLUWH890cFRiDx2NPZf VwFy6OuCkCnhpccq5tUuQZdQSEoQjaYebzENbk2LAQ0/UzJLY9ZMZihC/0wOup+JeTU7 t2Og8JJHA8QGuEmvds3gGOy18+EOoAjGmKPoSonomQ/cto8vjM//hNBt+jID7Ks24u1V aaULBnGo44B0M7A7sTrV8aUtkPnmQ0W/KEm35JZxah5C9QifArmLtyGEBR35R8/N6Emb pfUGVym8CQWSHZBEbiDgIuky2wggajzEs/7eglw4f1VJk5WLFjkhW3WGu/pf9iXm9Yld w6DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=wHyrzQdV; 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 y12-20020a056a00190c00b00682d831af28si284583pfi.348.2023.07.28.08.19.02; Fri, 28 Jul 2023 08:19:14 -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=wHyrzQdV; 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 S237027AbjG1OTh (ORCPT + 99 others); Fri, 28 Jul 2023 10:19:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236394AbjG1OTa (ORCPT ); Fri, 28 Jul 2023 10:19:30 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DFB4E7E for ; Fri, 28 Jul 2023 07:19:27 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3fc0aecf15bso24054575e9.1 for ; Fri, 28 Jul 2023 07:19:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1690553966; x=1691158766; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=YTVSMob3FDMab46cbnVnDKMK/PRpFt0HuCnjHfQcaWw=; b=wHyrzQdVElXhoJr8uK8VO+n/FM9GPZem9GjOlpCoUfk9cTOb9c8+RYh2sKlIaDG87y OV8SWMA2DZEK5rL+tN0gAPwlzbOZLK1Uix4TJ+qsSKmWYAMvHuCiEjFUKp5puqywHMar gS1XURihEw2SzuhNtbMytTfFV1vt/wavkFfr3/ZyXqRJ9k1srY61rxfDWjaKgflZjjIW zDaff3IvPitWBeVexc934MT3cSXgdcMrcPaU9MxJNbb537frZTp6BKZIWeo62mZgTOJg HbOZMQp58adLRSdo8q5o8vMECgRI7miWEyO98k9ygBKe5BsZ9+Yvh/QzLTzXCbTn39kL 9cRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690553966; x=1691158766; 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=YTVSMob3FDMab46cbnVnDKMK/PRpFt0HuCnjHfQcaWw=; b=SQDbl1w6K/ZGJfPTer+xeHOVww/nVAOuJc4Oh9VwimIjk7R7ki9rdenN0xU2otiaQT L+pu9MfhzfxrQyVCP8Yf+2OfX6LlnaJRLxkhU6+EuGfvxe4zS1xnHNrY8EOmrGLo3KWn LibdOv+927NMO1LZ+We+endLxkR+Ds+bXv+rhYKe0dA4Xc1RW+jWb4NL+1irQlg7l+PD ozPgkrqChApdYHnFDua+aXlvTPjGdiMgueFpyd1XTuAATkRardMuxqVBuaT6feQq1okB ORtcycs0AwXBWTmdCApvUc1D7ch4SDk+OJPLgYuL88QBmcfvDejHKzk/7ZJK3XPfk/x+ kZmg== X-Gm-Message-State: ABy/qLbzObqUiz3CuzsCyOfo7yDSX3soYtfsp5ayQC0hD8eIkrpNIF6M YLQgXc1PgSZ/zuiTYHE2wzAlZg== X-Received: by 2002:adf:f009:0:b0:306:2e62:8d2e with SMTP id j9-20020adff009000000b003062e628d2emr2210194wro.1.1690553966048; Fri, 28 Jul 2023 07:19:26 -0700 (PDT) Received: from blmsp.fritz.box ([2001:4090:a246:80e3:766f:be78:d79a:8686]) by smtp.gmail.com with ESMTPSA id l6-20020adfe586000000b0031416362e23sm5013681wrm.3.2023.07.28.07.19.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jul 2023 07:19:25 -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 v4 0/6] can: tcan4x5x: Introduce tcan4552/4553 Date: Fri, 28 Jul 2023 16:19:17 +0200 Message-Id: <20230728141923.162477-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_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 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. v4 updates the printks to use '%pe'. Based on v6.5-rc1. Best, Markus Changes in v4: - Use printk("... %pe\n", ERR_PTR(ret)) for new printks 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: v3 - https://lore.kernel.org/lkml/20230721135009.1120562-1-msp@baylibre.com 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 | 142 +++++++++++++++--- drivers/net/can/m_can/tcan4x5x-regmap.c | 1 - 5 files changed, 145 insertions(+), 26 deletions(-) base-commit: 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 -- 2.40.1