Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1863913lqp; Mon, 15 Apr 2024 23:00:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWnZkz/wjLU5Cx/mGAvKptKSvYf/FDI0icG7VgrV1WwmvNj+bI+zpK6It333YCxUo0MBKWKMi2Q3TiB+4V5d64dJEPNzO4aoGUZ+YdeQw== X-Google-Smtp-Source: AGHT+IE/Zx5aR2uC/ZH5Y9fd1eBAb7FJ6aqhVRVP5uhgxyYVy4IF0Z3BrkYAGBlkAxYsmnMV3pGv X-Received: by 2002:a05:6a00:928e:b0:6ec:e785:98b9 with SMTP id jw14-20020a056a00928e00b006ece78598b9mr15501571pfb.27.1713247244005; Mon, 15 Apr 2024 23:00:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713247243; cv=pass; d=google.com; s=arc-20160816; b=NAR1sCioshvAEmM6ieJuAhw0SC+nC8diwSmufTijNbWsbfRfLDs6URANFy1ReZvSCk MdcTiT8XQxwAVVXnjpScGQdzQ85lK4DVo1beLKFMZlw0rO3gLSUrm3KAkSX6WmkNk/yA e5Wdgwoj/X0P+EBqzzNlJoZtCCbqFB8TDM44hyt+WGXvtEFX6CqRzqXDfoi35n4LN3Ik 6OTBehaEMC9xWcQIbeFJ/JYkRgYky5dGivODGnRS/l0nliHwt2gtOVjiallrOPeLkQZY D1RzKdCYOR8j1RpDc3e+owxRMMtuUchVcukP9Ob+xdEfshlgXcCGz6sszWMLzamQcBy5 57Ow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=E5fFVE00qLSrpepHJZYFR5SmMhmRqNzf7Fm4bTsP25M=; fh=8lvKNvBwLuakcou98Sx9JIQRgr6wmg68ZqR+i3ktn20=; b=TVEEz7UBC/XmiNbAIXqARdzDYd7xqVH3ms1dl4l5UhUFyu6GdgDbDc3zppFDzgHMka YkJZk+c/1OIdaBAddfuSd956yo/xmb5QW0zjJa8BymRFlRd9gkN+PXbRu7F5FmctZJod Kfa8+H4j7LhccKT6Nv9W7FhmWfS1F7FaQNe088PRnDCanYYRyPG6o5nHaIAi3YYlU7pa C98vgJXBgZ6M2z8+Df7Cc0NeTPUcSCgslE1KXEtp4cSVa9AnsoHMNrse8qxWn4K+cVus Mm6qyQRNxfC0GAhmKNW+4e8e0AxsWcTzEYgW/iYCpIJMnza8D9T4706Ipeyj60gl2Jv7 LFbw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=LTJxWsn+; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-146308-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146308-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id gu12-20020a056a004e4c00b006ed14fed3a9si9268302pfb.218.2024.04.15.23.00.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 23:00:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146308-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=LTJxWsn+; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-146308-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146308-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A870D2824D1 for ; Tue, 16 Apr 2024 06:00:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DEBDF3BBE2; Tue, 16 Apr 2024 06:00:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="LTJxWsn+" Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E74793B7A8; Tue, 16 Apr 2024 06:00:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713247237; cv=none; b=LneSA4cY4EbRdf3zYDPSSbldsOokWpcBkfGG/99jtaS4OfRMkKytaSggOrhINpLrCW6cTQJ0SNji3WBypg8qpRQAxn6LT3/JnRrBK2sFXJ0ao8COaf7OdB0Juhf3RsJO4EK8k9DhSYciq+2P7lO/oAGgVYiF2ZNufVOLr7m6kzs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713247237; c=relaxed/simple; bh=T9KxgbXgW9cKGCmcDq/ArW9UZsCC3yRG5VB2U0tTrJE=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=SuOMVsPeySekroEX+QFBZZUN8umAvRyZWCRkSQ778jEhUlqzGszlVK/Iai3kxjk5Oh387MTextz3VXjrSYn4A/jvddWbL23BdsM1EKw9VXJ2Gmq3BuFANLC+9pTRByUlzfjyd/JpGq9DeFA5V30I2NNrfVu6EXqRGyGOR4Bo0dg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=LTJxWsn+; arc=none smtp.client-ip=217.70.183.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id C328B1C0009; Tue, 16 Apr 2024 06:00:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1713247232; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=E5fFVE00qLSrpepHJZYFR5SmMhmRqNzf7Fm4bTsP25M=; b=LTJxWsn+dY7BpyM1yBDB7GpvCrAgnoN/1SeCkb+u286pztigVBrz61qwuNcKVxyWbuyXfe Q7wlt1ojVeq9j7d6SGrMRezeL6s2jkgaJS4AcP2pgDqpw8B4OAoTMwXrNbLAS2usFxTWgI uMrXwEnQWhJ7oP3GcVJn5GudLsw8JDsivQOKw4ySEEJQwqbdX4wrF4fAyxpAABWdqIkWBW h42pQkQU5Rk3/xuGa72Uhlfl/lebmEdcF1lZcWviBLhpy1FijOEI8tyHLBMuEzITsSiDWe jqhC5SZs69XZCs6/J3p17zughThmzuXfru75kBZqc3C9gwq9yCd0KWdUEZ8jkQ== From: Luca Ceresoli Subject: [PATCH 0/3] ASoC: dapm: improve debugfs output and introduce dapm-graph Date: Tue, 16 Apr 2024 08:00:23 +0200 Message-Id: <20240416-vizdapm-ng-v1-0-5d33c0b57bc5@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAPcTHmYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDEwNT3bLMqpTEglzdvHTdZHNTM8u0tESLVFMLJaCGgqLUtMwKsGHRsbW 1ANvQk39cAAAA To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: Thomas Petazzoni , Alexandre Belloni , Dimitris Papastamos , Jarkko Nikula , Mihai Serban , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Ceresoli X-Mailer: b4 0.13.0 X-GND-Sasl: luca.ceresoli@bootlin.com This patch series improves the tools available to understand and debug DAPM. Patches 1-2 add more information to the widget files exposed in debugfs. Patch 3 introduces dapm-graph, a script to generate a picture of the DAPM state inspired to vizdapm. Patch 1 is required for dapm-graph to work, while patch 2 allows to enhance its features but it is not required. Signed-off-by: Luca Ceresoli --- Luca Ceresoli (3): ASoC: dapm: debugfs: add component to route lines ASoC: dapm: debugfs: show the widget type tools/sound/dapm-graph: new tool to visualize DAPM state MAINTAINERS | 6 + sound/soc/soc-dapm.c | 54 ++++++++- tools/sound/dapm-graph | 303 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 361 insertions(+), 2 deletions(-) --- base-commit: 5568f556e601b02d673bc7edab8de0f11815eec7 change-id: 20240405-vizdapm-ng-c7569ffa8e58 Best regards, -- Luca Ceresoli