{"id":2231482,"url":"http://patchwork.ozlabs.org/api/patches/2231482/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/patch/b9e833f68e4a4dfaf3a2102f1c8f439138e46612.1777571962.git.matyas.bobek@gmail.com/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<b9e833f68e4a4dfaf3a2102f1c8f439138e46612.1777571962.git.matyas.bobek@gmail.com>","list_archive_url":null,"date":"2026-04-30T18:26:09","name":"[v3,7/7] docs/arm/sabrelite: Mention FlexCAN support","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"36588b05a47048cfff5276a43fbf98a4ae5bb4bb","submitter":{"id":92267,"url":"http://patchwork.ozlabs.org/api/people/92267/?format=json","name":"Matyáš Bobek","email":"matyas.bobek@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/patch/b9e833f68e4a4dfaf3a2102f1c8f439138e46612.1777571962.git.matyas.bobek@gmail.com/mbox/","series":[{"id":502356,"url":"http://patchwork.ozlabs.org/api/series/502356/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502356","date":"2026-04-30T18:26:02","name":"hw/arm/sabrelite: Add FlexCAN support","version":3,"mbox":"http://patchwork.ozlabs.org/series/502356/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2231482/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2231482/checks/","tags":{},"related":[],"headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=ii8JR5AX;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g62j34V5xz1yJr\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 04:27:51 +1000 (AEST)","from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wIW6Y-0006lx-Uq; Thu, 30 Apr 2026 14:27:19 -0400","from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <matyas.bobek@gmail.com>)\n id 1wIW68-0006Yp-KA\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 14:26:54 -0400","from mail-wr1-x434.google.com ([2a00:1450:4864:20::434])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <matyas.bobek@gmail.com>)\n id 1wIW5n-0005W4-5n\n for qemu-devel@nongnu.org; Thu, 30 Apr 2026 14:26:35 -0400","by mail-wr1-x434.google.com with SMTP id\n ffacd0b85a97d-444826c16ffso1128650f8f.1\n for <qemu-devel@nongnu.org>; Thu, 30 Apr 2026 11:26:27 -0700 (PDT)","from acidburn.pod.cvut.cz (acidburn.pod.cvut.cz. [147.32.90.2])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-447b76e5c00sm14674925f8f.25.2026.04.30.11.26.25\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 30 Apr 2026 11:26:25 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1777573586; x=1778178386; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=FqtVcPHAZflQMEOZzPUgTgk2Z8Mej9pLLjAUASB2WVY=;\n b=ii8JR5AXRl85MnsjQi6uBcI1ftpheW4nRmC8ODHeRvJ2GFE4nAo6QCFzTypzvM4cKl\n CXIB8ZJxZUNakHqQ60EwpOTjAgJapNlECxsR0v3G3FRt8jO9rS8tJpxni5oZ5hxiJYR2\n J7IfeZMOPW2FmfhhajowUoZolnzpmwBeBQBHj+yOVlOITr99+Z0pMe4+4MUpnFW9jndz\n OLplFNmET0OnXRvD/8ytueg9LMHgpShUTvq7igZNmmYHRj6uobDJF6WZfZkjsb04K0Tq\n HY3+6BVOK1moScMjWWgjEcVkjapCNdIu4hLijb73ECO+PncpayO+iKozjXoTrbIvWG7W\n eHjQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777573586; x=1778178386;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=FqtVcPHAZflQMEOZzPUgTgk2Z8Mej9pLLjAUASB2WVY=;\n b=NcQTEUfrKdXsjQhVNXCtlvqJJ3zTGbfOqFI/F5jugi92PmIgQGaQhQ1rQ+89wOg4/g\n Rn3HxENuMtA3D+nehE4iU7R5SG6oXSVyzheJk7BKHbgxtGmyYA8crrs3yCfJk0qJvviE\n aOldVkW5FlOgVPcb9rqz1prLMQ5QaaQL/DPdcUR1CkihCJHcP0HKHKl3tys012s7sq28\n ftVaBkrggMFQAt+CQk9XJOoRDXINUdVSP7K2/Tu20QCSarGLy0ZFx133xG93PVJORjpm\n gTtVkfARVe4SliX1ud7QQ2E1ArZp5zrCMyFd3gzjEmcdH3y6MMuUSykCZBDqAClmwDo1\n 8eXg==","X-Gm-Message-State":"AOJu0YyLqRLDUgF07bgztf0KKdXOUNTOBFsqUrWpBQI4E+FRAW+OCooh\n a0fxCncI5Dp410ekB7Z7q5XFi/mYkUMiO6SHODtVng6hjZePKksmhiVS1u/ymIvz","X-Gm-Gg":"AeBDiesISdwqwKHvLkWGs9Yb9CxKX2lIZDgkm3rKe+YIOD7sE+AMeQii6yDHfV1dYQD\n Dki/xHnEZezsQ9/eJBFZM34V8JLEkyneCHh7ACAnSj/Qv67mHTTmCWjQb8DaKPg2p8hPi7JVLhI\n 7hZ9E/Sphg6VH/0tOECUkkcK86FDHdmIU9qbO//X6FWxKG83rzfAzu10jAmMXcblb/skopxQ2bd\n LO8VVpnzVpcOSNvqsn/nicMS0LIU0vHAwdWu6Q0qM7mGSL7nPLJwA0rLqB6N656ugLxqw9k7dXP\n kK5mdqfHyATYGwu8ZCifYeWhB4flmD+J6bpPjuSJUhIcJ3NxUsIgnCeAME2T1+HlButRZie0Qj3\n 6g0drWdidZP/KZ0a+5WHtzEhDrub56bvLtTDoOZUW5UwMw9O0twEd0z8bxKWCJJD3sJ3idZKxSy\n B7THmymFYi7UkvomMjpek6xeWEPzEJg4LOEgCFnbpmlc/YzqIb4+HncAyUpoJqkeCD","X-Received":"by 2002:a05:6000:3107:b0:43f:dfb6:78e1 with SMTP id\n ffacd0b85a97d-4493d7f9984mr6672655f8f.8.1777573586049;\n Thu, 30 Apr 2026 11:26:26 -0700 (PDT)","From":"=?utf-8?b?TWF0ecOhxaEgQm9iZWs=?= <matyas.bobek@gmail.com>","To":"qemu-devel@nongnu.org, Matyas Bobek <bobekmat@fel.cvut.cz>,\n Pavel Pisa <pisa@fel.cvut.cz>, Bernhard Beschow <shentey@gmail.com>","Cc":"qemu-arm@nongnu.org, Marc Kleine-Budde <mkl@pengutronix.de>,\n Oliver Hartkopp <socketcan@hartkopp.net>,\n Nikita Ostrenkov <n.ostrenkov@gmail.com>,\n Peter Maydell <peter.maydell@linaro.org>,\n =?utf-8?b?TWF0ecOhxaEgQm9iZWs=?= <matyas.bobek@gmail.com>","Subject":"[PATCH v3 7/7] docs/arm/sabrelite: Mention FlexCAN support","Date":"Thu, 30 Apr 2026 20:26:09 +0200","Message-ID":"\n <b9e833f68e4a4dfaf3a2102f1c8f439138e46612.1777571962.git.matyas.bobek@gmail.com>","X-Mailer":"git-send-email 2.53.0","In-Reply-To":"<cover.1777571962.git.matyas.bobek@gmail.com>","References":"<cover.1777571962.git.matyas.bobek@gmail.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Received-SPF":"pass client-ip=2a00:1450:4864:20::434;\n envelope-from=matyas.bobek@gmail.com; helo=mail-wr1-x434.google.com","X-Spam_score_int":"-20","X-Spam_score":"-2.1","X-Spam_bar":"--","X-Spam_report":"(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=ham autolearn_force=no","X-Spam_action":"no action","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"qemu development <qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<https://lists.nongnu.org/archive/html/qemu-devel>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"},"content":"Also added example command line usage of the Sabrelite board\nwith FlexCAN controllers.\n\nSigned-off-by: Matyáš Bobek <matyas.bobek@gmail.com>\nSigned-off-by: Pavel Pisa <pisa@fel.cvut.cz>\nTested-by: Pavel Pisa <pisa@fel.cvut.cz>\nReviewed-by: Bernhard Beschow <shentey@gmail.com>\nReviewed-by: Pavel Pisa <pisa@fel.cvut.cz>\n---\n docs/system/arm/sabrelite.rst |  1 +\n docs/system/devices/can.rst   | 24 ++++++++++++++++++++++++\n 2 files changed, 25 insertions(+)","diff":"diff --git a/docs/system/arm/sabrelite.rst b/docs/system/arm/sabrelite.rst\nindex 4ccb0560af..d3a3c01dd6 100644\n--- a/docs/system/arm/sabrelite.rst\n+++ b/docs/system/arm/sabrelite.rst\n@@ -24,6 +24,7 @@ The SABRE Lite machine supports the following devices:\n  * 4 SDHC storage controllers\n  * 4 USB 2.0 host controllers\n  * 5 ECSPI controllers\n+ * 2 FlexCAN CAN controllers\n  * 1 SST 25VF016B flash\n \n Please note above list is a complete superset the QEMU SABRE Lite machine can\ndiff --git a/docs/system/devices/can.rst b/docs/system/devices/can.rst\nindex 09121836fd..622f898952 100644\n--- a/docs/system/devices/can.rst\n+++ b/docs/system/devices/can.rst\n@@ -173,6 +173,30 @@ The test can also be run the other way around, generating messages in the\n guest system and capturing them in the host system. Other combinations are\n also possible.\n \n+Examples on how to use CAN emulation for FlexCAN on SabreLite board\n+-------------------------------------------------------------------\n+FlexCANs are connected to QEMU CAN buses by passing the bus IDs as machine\n+properties:\n+\n+* property ``canbus0`` for connecting ``flexcan1``\n+* property ``canbus1`` for connecting ``flexcan2``\n+\n+Note that upstream Linux SabreLite DTs have only a single FlexCAN (``flexcan1``)\n+enabled.\n+\n+An example command to run QEMU emulating a Sabrelite development board\n+with both FlexCANs connected to a single QEMU CAN bus (called ``qcan0``),\n+bridged to host system ``can0`` interface::\n+\n+  qemu-system-arm -M sabrelite -smp 4 -m 1G \\\n+    -object can-bus,id=qcan0 \\\n+    -machine canbus0=qcan0 -machine canbus1=qcan0 \\\n+    -object can-host-socketcan,if=can0,canbus=qcan0,id=qcan0-socketcan \\\n+    -kernel ... -dtb ... -initrd ...\n+\n+Note that in the Linux guest, bitrate for the FlexCAN device is ignored,\n+but needs to be set via the ``ip`` command.\n+\n Links to other resources\n ------------------------\n \n","prefixes":["v3","7/7"]}