Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3653898iob; Mon, 2 May 2022 02:01:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfhuMHPtJwDpSAbaL2ia44q2ouzExIMTazAlCW6ioZezjkge/Li3eCsoJwkvdgHQP8cYvY X-Received: by 2002:a63:8342:0:b0:3c2:1938:236a with SMTP id h63-20020a638342000000b003c21938236amr3378674pge.48.1651482096808; Mon, 02 May 2022 02:01:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651482096; cv=none; d=google.com; s=arc-20160816; b=sEs2bLXBB29+A2GrSqtMM/hqzWLn7Gm7L0/EteyHotY5086zFoA02Y0tJ+hJRXg4YY VDbWF4PHJTHnBqtXKGPVmsZr97016nmE9nlHfgzxliVC3hnXSfXb5OUXgaSV8bcbTw/4 +FgBnhXwfVO4lmCO0Lk6I5UHhYWPAzNimt7X0LbaXJ7jn1AuHAjg5Y3eYEzG+8lhbp3c 6GTdV7kDtzh+beB6HvIJxq5j04qJ/e5uWS0H9GxyNIToclPBJ6RVLn8h9XRf3bKYD1Tm VJUn2/0ee6Bu0PsHwTR5ONc4yBEVocapR8DJnfBEmcAkZSLDSqFFqssNlapanA0OpL9v Bedw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=UOtHfnrqy6H4SFxx3a7qWuibBoR7f/3uBuxPkiG14NU=; b=hbJLGhxi0Hkc7clSlO9ziOcyESge3Ju9WbxsrRlob2SDgf7d4l+tl9fNqeh6IL6k0y 5REmy+8e1PRDJqPMrx0I2XsY4jH2m2BN6Z0BDBbuyxwXPp2NLwGXhsuJ39diMpoCIyXs uygK51bFc0HQtynmHEqIjDqZFIy+hKmyxSOewIyM+vUJZ4ob68vNEKlhDk31phe/WEwa fnGQFnt+rdJaSrh0iI7OYLrUWPr+oVNb2Xkj/Gj6UojmH24eaBKk+KRT5Ovm5khn2wRx wPgNlCpFAYUihHLyw1I+bkgaWy/edD5TQiUx8YPhqLDnRiXsUDFoylLAEGbEGfLWPMZ1 fdtQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=rock-chips.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 71-20020a17090a09cd00b001bd14e01fb8si17005637pjo.166.2022.05.02.02.01.22; Mon, 02 May 2022 02:01:36 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=rock-chips.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378048AbiD2PnQ (ORCPT + 99 others); Fri, 29 Apr 2022 11:43:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231540AbiD2PnP (ORCPT ); Fri, 29 Apr 2022 11:43:15 -0400 Received: from mail-m121145.qiye.163.com (mail-m121145.qiye.163.com [115.236.121.145]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13E2AD76C6 for ; Fri, 29 Apr 2022 08:39:54 -0700 (PDT) Received: from [192.168.3.48] (unknown [58.22.1.245]) by mail-m121145.qiye.163.com (Hmail) with ESMTPA id 02F4C800387; Fri, 29 Apr 2022 23:39:52 +0800 (CST) Message-ID: <24c08c1e-e4b5-3731-de33-e75a9b4bdf1f@rock-chips.com> Date: Fri, 29 Apr 2022 23:39:53 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH] ASoC: hdmi-codec: Add option for ELD bypass To: Mark Brown Cc: Dmitry Osipenko , Jaroslav Kysela , Jiapeng Chong , Kuninori Morimoto , Liam Girdwood , Maxime Ripard , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <1651245218-47201-1-git-send-email-sugar.zhang@rock-chips.com> From: sugar zhang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgPGg8OCBgUHx5ZQUlOS1dZCBgUCR5ZQVlLVUtZV1 kWDxoPAgseWUFZKDYvK1lXWShZQUhPN1dZLVlBSVdZDwkaFQgSH1lBWUJJSE1WSUJITkkeGBlJSU NOVRMBExYaEhckFA4PWVdZFhoPEhUdFFlBWU9LSFVKSktITk9VS1kG X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6M006ISo4ED0xIhcLMhkYIh4y Mk1PCy1VSlVKTU5KSU9NTEJITUlIVTMWGhIXVQgOHBoJVQETGhUcOwkUGBBWGBMSCwhVGBQWRVlX WRILWUFZTkNVSUlVSlVJT05ZV1kIAVlBSU5NQjcG X-HM-Tid: 0a8075fa8274b03akuuu02f4c800387 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 Hi Mark, 在 2022/4/29 23:26, Mark Brown 写道: > On Fri, Apr 29, 2022 at 11:13:38PM +0800, Sugar Zhang wrote: > >> So, add this option to allow user to select the manual way >> to output audio as expected. such as multi-channels LPCM(7.1), >> or HBR bitstream for these sink devices. > Please check this with mixer-test, it'll help validate that you've got > the control interface correct. Okay, I have found it in the tools/testing/selftests/alsa/mixer-test.c > >> .info = hdmi_eld_ctl_info, >> .get = hdmi_eld_ctl_get, >> }, >> + HDMI_CODEC_ELD_BYPASS_DECL("ELD Bypass"), > This is a true/false value so the name should end with Switch. will do in v2. -- Best Regards! 张学广/Sugar 瑞芯微电子股份有限公司 Rockchip Electronics Co., Ltd.