Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp922129lql; Tue, 12 Mar 2024 01:58:31 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVpZzedFXvDKPoiNBO7HsBBZfQtFerO8rxZsRNgMH8Gc3vEAi/AZUEskCEUhfzlhLh0IcMsalaTScdluuFgaXf/UI+3g8pLdA/2REr42w== X-Google-Smtp-Source: AGHT+IE/j/1/jGw//0QsYsl+L2ENt8Z4/Vc8NUrl59lWpht9LYswOLTd0oaiPQ3XVcrv+vCsbqqm X-Received: by 2002:a17:90b:2289:b0:29b:aa6f:c0e2 with SMTP id kx9-20020a17090b228900b0029baa6fc0e2mr6370341pjb.5.1710233910745; Tue, 12 Mar 2024 01:58:30 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id n4-20020a17090ac68400b0029b9c61d76esi6602010pjt.105.2024.03.12.01.58.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 01:58:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99981-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=BCHJIMkT; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-99981-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99981-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id F2293B2150D for ; Tue, 12 Mar 2024 08:58:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61DEA77F2F; Tue, 12 Mar 2024 08:58:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="BCHJIMkT" Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D82077F12 for ; Tue, 12 Mar 2024 08:58:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710233892; cv=none; b=BkDn/a5TkEWUxS7dBxZzAa0XmOBoL7v193nxSdXRYtqOW4+OPEPs2y9iWt+oncMsicRCpSKU8LuWWcsyClDDjhIL8dBSTkpAqr8mxAzR4LkN6QF4rV5hp0UkQKOtZvOJBsPbXLcHMW0i74pPAOY3bpDgnuQ7nyS8n/sM77Zw+/U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710233892; c=relaxed/simple; bh=AU1Zl+tSRS2NV45KDCYOlwTwF/5xzBM2xGuo+H38t9s=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=tPFfSOiU9Zd7WCg1dcFjzxw4UQgeL948aFNjFKdMawqnE5DkdyppaHz9ztNumpdw5CHoTqSfvhE7QDgL1ozl0wWkI8AuUkZA7FPic/qJLdVDJGa8zD/1ltzsR6UbDDtbUvAQatT/YlIW1B6CYs2mEDIsleUphjIcIEfVWE3AzyM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=BCHJIMkT; arc=none smtp.client-ip=209.85.221.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-33e76d653b5so3878753f8f.3 for ; Tue, 12 Mar 2024 01:58:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1710233888; x=1710838688; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=VjT8Br7RwB5Cf9wT37+1E/wNuS7CDeDlSSoF+6MfTlU=; b=BCHJIMkTyMqepjdVgkNxd/ed4PdVWRkXFYOMqMAsnMHKT0EOoiXQyaLQTZxaZ8oPHv TnHttj9RZeRMWoVvh70+xoDgKSvwMMDAf9EdRopGrSmNU4/KY4YR7zEzLkmwG3scs+Ba 7P35Sm+cM2Zi0cttKHBWhLcOzVxsB8y36CI7It14nYZuCtpo2sDfOR0HSFhJiraDfind KuEqqKGKBiPHtq9GKsDeRnLfcBFW0ufaZF9MWDGp8ml7tO7jGMffKiBHs9zVGm0Sr8UJ YdnizJ00pfffCXyA1c7VKMBiW4eqsA50xbNuFB5AHlVn/KkjgkHcGgnb+8E5rn7s2mRo GG8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710233888; x=1710838688; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VjT8Br7RwB5Cf9wT37+1E/wNuS7CDeDlSSoF+6MfTlU=; b=css5EJDwM+QM6aRkAbNpz54zpzD4EOsS30mudPvAoPuBbJj8hakzIyQTxCpX/gNYNZ sNPg5qd2exjhlIV1qHHeERpq6HwV/XHsuxfRiFGQRwhYJsPnEi7IUEMVvb7xPBrtVERz +44niCQOFqFLgO3a2xdgr8VG5lQaRVwvUL8vUczR7t2/rA2ZkSQYzzrwNOXNkfFB0zai yA/OfiXkp7Q0h6LwspLBilf2OoTo6cuufJ49j3Lb5nuZ0wTKCahe5XzmV8GWKVmFihOi v9kZnuw3CkjkWKG4nbTEWxOW6gqPE8puLwbdebGTNTTpZKuEjSN6EH2Vn1g6qFb+scFc 2MBA== X-Forwarded-Encrypted: i=1; AJvYcCW0G8GXIXshLW65+vG+6TasD1PgtkEvIiV9/UsPW6dnADS/ft/RuRLX6rOowIL8frlLt3pNsCkiSdOu8zxdQdpCEgpL7LuRoqTiOi1U X-Gm-Message-State: AOJu0YxlGZfwsWcFCOxBkVOAcPd6w4uP5WHxawUPW96m0d2znVnXI/E0 7uLtW3ihl37L9xzG/zr/4AFnhBwchSZHooaP4wQw1vYezvZGC+KOCuMcfM5sv44= X-Received: by 2002:a05:6000:1c3:b0:33e:8b95:b351 with SMTP id t3-20020a05600001c300b0033e8b95b351mr5064003wrx.9.1710233888438; Tue, 12 Mar 2024 01:58:08 -0700 (PDT) Received: from [192.168.1.172] ([93.5.22.158]) by smtp.gmail.com with ESMTPSA id i5-20020adfb645000000b0033e87c6bcb2sm7367141wre.8.2024.03.12.01.58.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Mar 2024 01:58:08 -0700 (PDT) Message-ID: <7ddad394-e880-4ef8-8591-cb803a2086ae@baylibre.com> Date: Tue, 12 Mar 2024 09:58:05 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 00/18] Add audio support for the MediaTek Genio 350-evk board Content-Language: en-US To: Mark Brown Cc: Liam Girdwood , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Lee Jones , Flora Fu , Jaroslav Kysela , Takashi Iwai , Sumit Semwal , =?UTF-8?Q?Christian_K=C3=B6nig?= , Catalin Marinas , Will Deacon , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, Nicolas Belin , Fabien Parent References: <20240226-audio-i350-v1-0-4fa1cea1667f@baylibre.com> <4ffde184-cf68-4b71-b81d-9b5894529926@sirena.org.uk> From: Alexandre Mergnat In-Reply-To: <4ffde184-cf68-4b71-b81d-9b5894529926@sirena.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 27/02/2024 16:06, Mark Brown wrote: > On Mon, Feb 26, 2024 at 03:01:38PM +0100, Alexandre Mergnat wrote: >> This serie aim to add the following audio support for the Genio 350-evk: >> - Playback >> - 2ch Headset Jack (Earphone) >> - 1ch Line-out Jack (Speaker) >> - 8ch HDMI Tx >> - Capture >> - 1ch DMIC (On-board Digital Microphone) >> - 1ch AMIC (On-board Analogic Microphone) >> - 1ch Headset Jack (External Analogic Microphone) >> >> Of course, HDMI playback need the MT8365 display patches [1] and a DTS >> change documented in "mediatek,mt8365-mt6357.yaml". > > Given the number of custom controls here could you please post the > output of mixer-test and pcm-test from a system with this driver running > next time you post, this will help with review since it checks a bunch > of things around the new controls. Hi Mark, I'm a bit lost for mixer-test and pcm-test. Currently, I cross-compile the alsa lib project to be able to build the tests and put it on my board. I can execute it, but I still have 2 issues: 1) I've a lot of missing module in my environment (Encode.so, Encode.pm, Symbol.pm, IO/Handle.pm, ...). AFAII, I've to cross compile the missing perl modules and install them in the rootfs 2) I don't know how to configure pcm-test.conf & Lenovo_ThinkPad_P1_Gen2.conf (or new file to match with my board). My test cmd: /run_kselftest.sh -c alsa I'm wondering if I'm going to the wrong way because I don't find guide/readme whereas it's not trivial at all. -- Regards, Alexandre