Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp101659pxk; Fri, 11 Sep 2020 01:20:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRRFlnWNNfoxYGX6KCppJqQZJ1vk62if4hfIVUOQhpZVMjZs0F2GWKPGz75OWZgCAAw/8W X-Received: by 2002:a05:6402:2c7:: with SMTP id b7mr851829edx.125.1599812449238; Fri, 11 Sep 2020 01:20:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599812449; cv=none; d=google.com; s=arc-20160816; b=zkT9aLPXFb5h13s0ybLPK9LzOalo3D82L/hAeHwrPeJGVWCSXaRMVu3TDukLuCsE6s Iq05PWqlKQNB0tuRCqfsYqrnSWwC6a9KCIByjYCtJGyz8UT5nsxc0yYKGZReY5x4JfH5 XrWJOrXPy/nOpOooG/DzF01pytWj79NRFRmv5kdfE2/hA/9t5hrEF6g5XthyoaL3Jowk 1OOXjr1BIuFfWt7IJ1VYRvfDpXVgo4xawGny2YwXcV4cdslvC7Y35NAM99THH+iA+W+C d2VFz+fgMnTmSwfhUdYC7vG5sl/33zZP24bNNDW1oBcsz70SDl42tTNY9ByftpgkaLDc DCWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=LyN0IjmsHwavnL72AyGhxA2PceM0193RLDzNcCwxkJw=; b=ugYIzcwOv67CEZ1raH+KoRXQjJ51ZdVEMqT9Ucw3MTWRljevtNf/qsFAiIjwPV4vg7 uLTYhQtqwCi6X4it/5Whwf1oGrXIFUGoaL/idqxGaEOS0ESvj85Ht4AkuJoMgUS6aBE+ MlWupdTXyFjU9SeChl5x23h4LuR/fnmcgcaQ4hYDvdjeqDf6FKKhFYHWp5lFG3Vaapab yIektWPyOO0LPdrBolJN6ZvvTa4WGyrU5ILJefQLNLFVbCyhmAPv+7CRfQnAEEzCjoUZ qS8dbHgZmcytz9kPcVSVm3+Trr2JMV1dxV4jQ5pRrz0/O3ONBT9jrzK4ozEimHBM6Xg7 jlVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fYQMaZJN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d26si805487edu.514.2020.09.11.01.20.26; Fri, 11 Sep 2020 01:20:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fYQMaZJN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725776AbgIKITu (ORCPT + 99 others); Fri, 11 Sep 2020 04:19:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725601AbgIKITr (ORCPT ); Fri, 11 Sep 2020 04:19:47 -0400 Received: from mail-qv1-xf42.google.com (mail-qv1-xf42.google.com [IPv6:2607:f8b0:4864:20::f42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACA56C061573 for ; Fri, 11 Sep 2020 01:19:47 -0700 (PDT) Received: by mail-qv1-xf42.google.com with SMTP id p15so4260369qvk.5 for ; Fri, 11 Sep 2020 01:19:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LyN0IjmsHwavnL72AyGhxA2PceM0193RLDzNcCwxkJw=; b=fYQMaZJN1SXjCj1hdOHLPagG/CreN9QGAkYOR+hfQDg6i9OhyTAWOkscNnnVOhTjrL TLqcdwU0JQa6sg0ka1Dt/X8vF86qF6/aaf30dU3YLpbX7C5DT0i1MOgwqUMhAGBXYhHS R8fApsrN7FdU6FVy66n/Bcqabpyc6M4i0as4+mM2L7NP/zr6bQqnGWiBdDa6dg/OTom/ Lv/pD/efWe5L54+mSGhYmm8ydWDitlTtTWqCeVLgi2YKqdLHEHBO7XAIvkSJVL/lB47a EjOsG+tyfcVyHW9yLOpPwkU4zAgDYp8UAcrf2U87yTjoLoho9RMXjP5Ow3DZw49nZgP9 TptQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LyN0IjmsHwavnL72AyGhxA2PceM0193RLDzNcCwxkJw=; b=XPOGaZXZ45oerHWEzYSWwccj2q6TOJaatBiTjJop9tqtt7JOIAQ0dli4FDJl1ogTrr pWbiuZYdj7TmOm6oiLZB/ADwa6KRgr9sHv4xHkvfyX2wlPgbVLxIrmEEQ0LPbfhnbQZQ 6v5EV+AVGe6YRhnsNjVkDHxjQgqnEpmfpXCd8AHW+dRU8NvFJVdgv3chsjW/fLO+Xwbu XvZUQA7uktr34ALUbijhCauaBTOqv5W2rWO6OYiskKjxdZq+BO+rTIShss9AktWk1q7O peNf/jMK/MGS95+XCRupv8gJSXzqMeZdPRQlOjgDhXYyTnw/ye0bhTovHhHeHvPk5NDL jCew== X-Gm-Message-State: AOAM533b7O8AXzNoMTTzpXpOHxFketEq12l8qoqGPiOljZBkGcgT8eb1 H+Wr5+/41mETwLtS6t71CIvigvxtKDQZdZunt/8= X-Received: by 2002:a0c:8485:: with SMTP id m5mr875942qva.22.1599812387007; Fri, 11 Sep 2020 01:19:47 -0700 (PDT) MIME-Version: 1.0 References: <1599747032-20055-1-git-send-email-shengjiu.wang@nxp.com> <20200910142121.GC4898@sirena.org.uk> In-Reply-To: <20200910142121.GC4898@sirena.org.uk> From: Shengjiu Wang Date: Fri, 11 Sep 2020 16:19:36 +0800 Message-ID: Subject: Re: [PATCH] ASoC: ak4458: Add DSD support for ak4458 and ak4497 To: Mark Brown Cc: Shengjiu Wang , linux-kernel , alsa-devel@alsa-project.org, Takashi Iwai , Liam Girdwood Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 10, 2020 at 10:23 PM Mark Brown wrote: > > On Thu, Sep 10, 2020 at 10:10:32PM +0800, Shengjiu Wang wrote: > > > ak4458 can't support DSD512 format, but ak4497 can, so add > > a new variable in ak4458_drvdata to distinguish these two > > platform. > > > In hw_params(), calculate bit clock according to different DSD > > format and configure DSD register. > > > + SOC_ENUM("AK4497 DSD Data Input Pin", ak4497_dsdp_enum), > > This control name doesn't seem to match up with the description - it's > talking about a pin but the description sounds like setting a different > format for the data? I will add more description. Thanks. best regards wang shengjiu