Message ID | 20230314151201.2317134-1-msp@baylibre.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1819607wrd; Tue, 14 Mar 2023 08:19:00 -0700 (PDT) X-Google-Smtp-Source: AK7set8MbvqasUGeRDvNpMEvD50EFP2chgreCVQDehrLAi404J6CNAoA0eeR/99jgaQxdKXWEO/w X-Received: by 2002:a62:1c87:0:b0:622:dd9b:e2d8 with SMTP id c129-20020a621c87000000b00622dd9be2d8mr6729341pfc.3.1678807140545; Tue, 14 Mar 2023 08:19:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678807140; cv=none; d=google.com; s=arc-20160816; b=K8jf8XYcjDhrSNvwtos+YPUiEXP6fQwnqkgqru3bTB956hJcrrM6wWXrPfHuV41PQD OGncGpbecndR/WYRRTqdYYIs0eTrkEra4J9Sc9+8K4qip7W7HBzN/grRb2nJ3aVonGGh wqNWNhZIFSLyWQX0/5d/FD1pn8vgZX6TajP4EhTCp+nz+k31oI80jegNa0Q9P1M3bvHL OEeHXllNZdEePmeNL80fReCKc1e3uwZRIhgXeMpTBb8gJG9Rcqj1nvpiCOJB5nwzlmIR eZZJg6Qg92B1fVOjg9stuUkKpcdanvjKlCINCkT62hSxy/sl0UhxtI9JDLhmtUkVLQ08 TA2Q== 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=6lp7x1udChMyC6p36QgEpyUbw26Dnd4AZnYOFOa5Qo4=; b=dJUwdetKSJqOyS6e7kcAt48eoOGqaEJXQqMFmYsThDfo0sQ5fY3U2ioeDYqFdmRqTM z2MU1qtWTzLuE0ppy0Nz6SMKHYHNAB4arY/x51lLneJ2JLVm6QHun/QbOxk2iNI8T2Vk 7mPhMabn1YF5TrUIcAvpYjHGRuhNeaAiTcQI5iSVlvd+FO8A16KWWD1sZv/ZifvG3o4y hhK0PO3rbOO89SC0dgiWM5BNmhHRcK7BO078qRhKtlpri9RLYVascg2GV+AgQwaCMAEV XNGMs7tzYtyLPxhzMfcpQ9M0CmK4kP/SVqU0EKhqkz1jP7aZgOHClCngYs9Ehs53yLGF Yh1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=OfOLj5E0; 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 c15-20020a056a00008f00b0058e16d0b827si2439459pfj.32.2023.03.14.08.18.44; Tue, 14 Mar 2023 08:19:00 -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=OfOLj5E0; 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 S231614AbjCNPMZ (ORCPT <rfc822;realc9580@gmail.com> + 99 others); Tue, 14 Mar 2023 11:12:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231446AbjCNPMW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 14 Mar 2023 11:12:22 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00AEE11EA9 for <linux-kernel@vger.kernel.org>; Tue, 14 Mar 2023 08:12:17 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id r29so6650343wra.13 for <linux-kernel@vger.kernel.org>; Tue, 14 Mar 2023 08:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1678806736; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=6lp7x1udChMyC6p36QgEpyUbw26Dnd4AZnYOFOa5Qo4=; b=OfOLj5E0v38Ut8fTjAxC8eobEZqN4NIQfo0L7vn/Il398bYdBUyrxoMJiPvpc9N3IU dh4RsaUiwZvGd8cnPZl1TPziTeXtLrijd+0r9CUqYVlmHctII2bPPwkS9mVqjvfqclCl Rgxdh8jD+NDpKYR09FU3ljqGZe6G8vqHym6uooTjsWyUjLAiTxCDTEYQA6LzXDWWe6yV L85ZXiJJOJqzA0+B1izdlYrfPFrVqPmW8V7O56gW22TgdQxRI7GJmG7X7NJTFIGWMCYn 3wZpPbDIpJODUCxKaIr0BNmNv5Hv+ZKNWrPLv59+IAMZwSaCHmA924r57bLbp4a75RyM DbJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678806736; 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=6lp7x1udChMyC6p36QgEpyUbw26Dnd4AZnYOFOa5Qo4=; b=BkY+QJL/wAAA7G/S9Q9DeWecyL4POZjhOymy6IkJoojHTN8ZwyKVakAkioewT9qWFZ 7rgb1fMjsR/7txsDfByaw8tYADjjwVTIJwX37cegPLndPBHa4qZaG75iCJgRtF+nIwM5 o2dZn1PcZu6N0wICJaBdRBmPPDmSymCg8Tr8ORlLWjXseCScZbg4WQXoRt39S+biRKdh E7vXHAKfpKU0Tl+mZHwvnfZgjTHUwKHiDBJO4Vr7gS/dqP8D7DWbCa2YkiSOvNakaL0u Z+CHmBOEiD3n1SUI5ILJRI/4rjXYhEVv9yuZKKzSfKb/Nkd2i9dAyKTS6Y9ai8ETwQCb ybPQ== X-Gm-Message-State: AO0yUKX55hmncOZJ2qvBMz5NNNA807G26tgFIIm0PdM8LZeGAtI+Kve7 GKG6OLdZ38Ni4ktIOX8X3QtWxA== X-Received: by 2002:adf:e30f:0:b0:2c8:309d:77b0 with SMTP id b15-20020adfe30f000000b002c8309d77b0mr26112983wrj.0.1678806736486; Tue, 14 Mar 2023 08:12:16 -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.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 08:12:15 -0700 (PDT) From: Markus Schneider-Pargmann <msp@baylibre.com> To: Marc Kleine-Budde <mkl@pengutronix.de>, Chandrasekar Ramakrishnan <rcsekar@samsung.com>, Wolfgang Grandegger <wg@grandegger.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Vincent MAILHOL <mailhol.vincent@wanadoo.fr>, Simon Horman <simon.horman@corigine.com>, linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Markus Schneider-Pargmann <msp@baylibre.com> Subject: [PATCH 0/5] can: tcan4x5x: Introduce tcan4552/4553 Date: Tue, 14 Mar 2023 16:11:56 +0100 Message-Id: <20230314151201.2317134-1-msp@baylibre.com> X-Mailer: git-send-email 2.39.2 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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760356876194529642?= X-GMAIL-MSGID: =?utf-8?q?1760356876194529642?= |
Series |
can: tcan4x5x: Introduce tcan4552/4553
|
|
Message
Markus Schneider-Pargmann
March 14, 2023, 3:11 p.m. UTC
Hi Marc and 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. I included two patches from the optimization series and will remove them from the optimization series. Hopefully it avoids conflicts and not polute the other series with tcan4552/4553 stuff. Best, Markus optimization series: https://lore.kernel.org/lkml/20221221152537.751564-1-msp@baylibre.com Markus Schneider-Pargmann (5): 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 .../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 | 122 ++++++++++++++---- drivers/net/can/m_can/tcan4x5x-regmap.c | 1 - 5 files changed, 121 insertions(+), 30 deletions(-)
Comments
On Tue, Mar 14, 2023 at 04:11:56PM +0100, Markus Schneider-Pargmann wrote: > Hi Marc and 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. > > I included two patches from the optimization series and will remove them > from the optimization series. Hopefully it avoids conflicts and not > polute the other series with tcan4552/4553 stuff. > > Best, > Markus > > optimization series: > https://lore.kernel.org/lkml/20221221152537.751564-1-msp@baylibre.com > > Markus Schneider-Pargmann (5): > 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 > > .../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 | 122 ++++++++++++++---- > drivers/net/can/m_can/tcan4x5x-regmap.c | 1 - > 5 files changed, 121 insertions(+), 30 deletions(-) > The logic and coding style looks OK to me, but CAN-specific stuff should be reviewed by someone else. Just one nitpick in the last patch. Thanks, Michal For entire series: Reviewed-by: Michal Kubiak <michal.kubiak@intel.com> > -- > 2.39.2 >
Hi Michal, On Tue, Mar 14, 2023 at 07:26:59PM +0100, Michal Kubiak wrote: > On Tue, Mar 14, 2023 at 04:11:56PM +0100, Markus Schneider-Pargmann wrote: > > Hi Marc and 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. > > > > I included two patches from the optimization series and will remove them > > from the optimization series. Hopefully it avoids conflicts and not > > polute the other series with tcan4552/4553 stuff. > > > > Best, > > Markus > > > > optimization series: > > https://lore.kernel.org/lkml/20221221152537.751564-1-msp@baylibre.com > > > > Markus Schneider-Pargmann (5): > > 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 > > > > .../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 | 122 ++++++++++++++---- > > drivers/net/can/m_can/tcan4x5x-regmap.c | 1 - > > 5 files changed, 121 insertions(+), 30 deletions(-) > > > > The logic and coding style looks OK to me, but CAN-specific stuff should > be reviewed by someone else. > Just one nitpick in the last patch. > > Thanks, > Michal > > For entire series: > Reviewed-by: Michal Kubiak <michal.kubiak@intel.com> Thanks for your review, I fixed the nitpick. Best, Markus