Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp401390imn; Mon, 25 Jul 2022 21:14:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vQRJzMp5tM9QXyVShTfFp/6YBfzLjUMislDnNbqZerQW45GILIyU5hXdNs90lFiK8JRu2H X-Received: by 2002:a17:906:8a45:b0:72b:31d4:d537 with SMTP id gx5-20020a1709068a4500b0072b31d4d537mr12527067ejc.170.1658808883595; Mon, 25 Jul 2022 21:14:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658808883; cv=none; d=google.com; s=arc-20160816; b=e2ayH8jS4BrzxQIchal1Avbqfqif69sOv0SZkzkSsa4hEyrqFXCaQZSVTa72O1QnvB v6rt0KIgWJCJ+kiRILFcKskU8jkmLV0wNJR831nk6Bt2kG2eZvOhOCcfYFpnsvB37qKG LDrnUum8YspwHnt7uRCEEdAm2AtsgO3CMiPgAoBeaqcaFjPOLPZCiC0C/Xf5+MWBVbUz 5kp5on49/XG2PfSgizYmwBzYEAnTao6c74H146VTKIBz5jgPZ4uCKxvK7JNeJooz1Nli ME8lcKphkJIJ5YBwaHRh05DfrYnnl6i6V78jLPpj4d3Rx0lMT1ZtduJO7ErgLilVNMDs 2QBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=B35ZTE2adzguA+KA+PCVmrFGgSP+8khovmRbpkdhlpk=; b=nQ761rkmppMGIkly0UMIfJwEf4CFVBZa3G96BzN27vipLiY7SIiMz9LNkqGS2B7m6l 01wDYp6gy10tJR0GL2WTdav3UTKmJOEbAGvlghz3Dlj0wMCZAb3v3e+SQr0CXdRRPU96 xU8AkZ9wYZ/1xeIiPBfxcB/ytL2gjz+qh82iZOnPGRVT8+wp8qmp4JY/aSZFTqXq+bSJ KGHZFPGuxYS+yTEWuKhTZpbghwgVqSoaNP9Uce2LoB68/sZ2aCWzqBA/rnaLnzsl8fXv 5yOq2pdYA4ojrXpx5O1zLyASerq/hi1XEr3TreAeM1+vyTjjHek+xR6mBMcszD6fPzf3 3lAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=iCdcCg7d; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j7-20020a50ed07000000b0043a9041dd22si13856949eds.297.2022.07.25.21.14.17; Mon, 25 Jul 2022 21:14:43 -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=@chromium.org header.s=google header.b=iCdcCg7d; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231512AbiGZEDC (ORCPT + 99 others); Tue, 26 Jul 2022 00:03:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231184AbiGZEDA (ORCPT ); Tue, 26 Jul 2022 00:03:00 -0400 Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DD322A24E for ; Mon, 25 Jul 2022 21:02:59 -0700 (PDT) Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-31f1d1c82c8so36930717b3.8 for ; Mon, 25 Jul 2022 21:02:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=B35ZTE2adzguA+KA+PCVmrFGgSP+8khovmRbpkdhlpk=; b=iCdcCg7dM7MrFzki/3KEbQYMzTmQgc9+qWJAZrNU8ELqn0bE3XgMEc1d2okpbiVLZ+ 6GDIDf1M6474U1hs605YAbEATDzljM+GguLrWnC/0MReW8WUUI/rjOo2uG1R4JD4nwmd dQFWCaW1ru1zC9yXCYQ8og8B/ViW4imjyb9yE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=B35ZTE2adzguA+KA+PCVmrFGgSP+8khovmRbpkdhlpk=; b=Q64zexHx+TI54VNRjKHC5UYqiILy3dPG3+G5lNGqX/d/HI7y1AluTFIdfyF/YfZ2C1 mFWMnS+mpYDCSg01IzLBVXeMIZBII6+cOda3kaXBZskbatQPN6WEGJ2JpvvEhGL0G5Z/ C0kKUIszC6FM1qBz4T/5mUZkDuVTnMS1rqS+GZcmjnoq/Z7Xb3TRWyF19pl8Rq0nORCI 7XAsdxWek0sOuo8TB2Obum1+aqTYavP2sIBq/BWfDsSVI7+sCy8P5iy+04a6EoPHjFNT IlV3hNc2k2Wv6rwCfz3/zJYc8/gPuEZb1XOGwkATlSoid3mrGsl8tIQoX3BtViYOFJWV IRWw== X-Gm-Message-State: AJIora8zmtfDzQH3e10U65riQIMcILbxuWK1MOxOexFWfXaXI+5z609P 95+ik1xUkVNwC4fgdiGgRXAwG68nw5hSUmTnU8uAaA== X-Received: by 2002:a0d:d90f:0:b0:31e:5401:8533 with SMTP id b15-20020a0dd90f000000b0031e54018533mr28793ywe.167.1658808178849; Mon, 25 Jul 2022 21:02:58 -0700 (PDT) MIME-Version: 1.0 References: <20220721145017.918102-1-angelogioacchino.delregno@collabora.com> <20220721145017.918102-7-angelogioacchino.delregno@collabora.com> In-Reply-To: From: Chen-Yu Tsai Date: Tue, 26 Jul 2022 12:02:48 +0800 Message-ID: Subject: Re: [PATCH v2 6/8] arm64: dts: mediatek: cherry: Enable DSP, audio codec and sound card To: AngeloGioacchino Del Regno Cc: matthias.bgg@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 25, 2022 at 6:49 PM AngeloGioacchino Del Regno wrote: > > Il 25/07/22 12:44, Chen-Yu Tsai ha scritto: > > On Thu, Jul 21, 2022 at 10:53 PM AngeloGioacchino Del Regno > > wrote: > >> > >> All machines of the Cherry platform have a working DSP (integrated > >> into the MT8195 SoC), and audio support, some with a different audio > >> codec: specifically, some using Realtek's RT5682I and some RT5682S. > >> > >> Write a configuration for all the audio bits to enable functionality. > > > > I think we're still missing some code for SOF that implements the > > machine_select() callback, plus the firmware has to be fetched from > > the ChromeOS rootfs. > > > > It might make sense to have SOF disabled for now. Removing the adsp > > reference and the overriding dai-link entry from the sound node > > should do the trick. > > > > Uhm... I think that we should either have audio, with DSP, or not have it > at all... the userspace configurations will differ, so we'd end up with > two different confs of which one will get unused and cluttering the ucm2 > conf git. You're right. I haven't even figured out which ones to pull in. > At this point, I think that the most sensible option is to either omit > this commit, or keep audio disabled until the machine_select() callback > gets in... Agreed. ChenYu