From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F0731C4828D for ; Wed, 7 Feb 2024 19:28:33 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXna0-0006T1-KB; Wed, 07 Feb 2024 14:27:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXnZx-0006R5-Ut; Wed, 07 Feb 2024 14:27:29 -0500 Received: from zproxy3.enst.fr ([2001:660:330f:2::de]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXnZu-0004Sy-VY; Wed, 07 Feb 2024 14:27:28 -0500 Received: from localhost (localhost [IPv6:::1]) by zproxy3.enst.fr (Postfix) with ESMTP id 1D8C0A0529; Wed, 7 Feb 2024 20:27:22 +0100 (CET) Received: from zproxy3.enst.fr ([IPv6:::1]) by localhost (zproxy3.enst.fr [IPv6:::1]) (amavis, port 10032) with ESMTP id uK6sQRQDRVcw; Wed, 7 Feb 2024 20:27:21 +0100 (CET) Received: from localhost (localhost [IPv6:::1]) by zproxy3.enst.fr (Postfix) with ESMTP id 69699A06ED; Wed, 7 Feb 2024 20:27:21 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zproxy3.enst.fr 69699A06ED DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telecom-paris.fr; s=A35C7578-1106-11E5-A17F-C303FDDA8F2E; t=1707334041; bh=VqrU69F1Upxy2wSuSJcQIQbvaVpfBNHflNBbVNIunew=; h=Date:From:To:Message-ID:MIME-Version; b=ghoinMPTsN6/3/GLibRSYrz03/gywEaL7dXP88T0Usa2X2mJx/Iy0I4dPo01ijUUT db72jL+FBtnr4vLRN9OUSLT89yWBXYmKz0a86gmCGYV+I4wSlM+Eo3Vdr9nHQ6IhKD PzKngY2PXQoiDfi0wLmfynItc5qKRLqbjK+zFGQQ= X-Virus-Scanned: amavis at enst.fr Received: from zproxy3.enst.fr ([IPv6:::1]) by localhost (zproxy3.enst.fr [IPv6:::1]) (amavis, port 10026) with ESMTP id O-AmbFWFV8hZ; Wed, 7 Feb 2024 20:27:21 +0100 (CET) Received: from zmail-tp2.enst.fr (zmail-tp2.enst.fr [137.194.2.199]) by zproxy3.enst.fr (Postfix) with ESMTP id 05406A0529; Wed, 7 Feb 2024 20:27:20 +0100 (CET) Date: Wed, 7 Feb 2024 20:27:20 +0100 (CET) From: =?utf-8?B?SW7DqHM=?= Varhol To: Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Cc: qemu-devel , Arnaud Minier , Paolo Bonzini , qemu-arm , Samuel Tardieu , peter maydell , Alistair Francis , Thomas Huth , Laurent Vivier , =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Message-ID: <166919954.385629.1707334040744.JavaMail.zimbra@enst.fr> In-Reply-To: References: <20240126193657.792005-1-ines.varhol@telecom-paris.fr> Subject: Re: [PATCH 0/3] Add device DM163 (led driver, matrix colors shield & display) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [::ffff:80.125.0.74] X-Mailer: Zimbra 9.0.0_GA_4583 (ZimbraWebClient - FF122 (Linux)/9.0.0_GA_4583) Thread-Topic: Add device DM163 (led driver, matrix colors shield & display) Thread-Index: qPYjeKm+4dDFkfeuKlXBubwdHL2NFA== Received-SPF: pass client-ip=2001:660:330f:2::de; envelope-from=ivarhol-21@enst.fr; helo=zproxy3.enst.fr X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Hello, > De: "Philippe Mathieu-Daud=C3=A9" > Envoy=C3=A9: Lundi 5 F=C3=A9vrier 2024 15:03:59 >=20 > Hi In=C3=A8s, >=20 > On 26/1/24 20:31, In=C3=A8s Varhol wrote: > > This device implements the IM120417002 colors shield v1.1 for Arduino > > (which relies on the DM163 8x3-channel led driving logic) and features > > a simple display of an 8x8 RGB matrix. > >=20 > > This color shield can be plugged on the Arduino board (or the > > B-L475E-IOT01A board) to drive an 8x8 RGB led matrix. >=20 > Nice. Do you have an example? Or better, a test :) >=20 Actually I don't know how to test the display with QTest :/ (I've tested it by running custom executables) I've seen that `qtest_init_internal` sets `-display none` so I imagine there's no way to test the display visually. It seems to me that I can't use a qdev property (to access the DM163 buffer and check its content) either since there's no `visit_type_*` for arrays. I could technically access all the elements in the array=20 (returning a different element each time in the getter for example), but that seems sketchy. In short, how can I provide a test or an example? Best regards, Ines