Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754764AbcJEMJL (ORCPT ); Wed, 5 Oct 2016 08:09:11 -0400 Received: from down.free-electrons.com ([37.187.137.238]:48964 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752236AbcJEMJJ (ORCPT ); Wed, 5 Oct 2016 08:09:09 -0400 Subject: Re: [PATCH 08/14] dt-bindings: sound: Add sun8i analog codec documentation To: Chen-Yu Tsai , Maxime Ripard References: <06ea14939405c3eb0fb9be655d26ee564a04a53d.1475571575.git.mylene.josserand@free-electrons.com> <20161004162430.GQ5228@lukather> Cc: Vinod Koul , Michael Turquette , Stephen Boyd , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Lee Jones , Mark Rutland , Rob Herring , linux-kernel , dmaengine@vger.kernel.org, linux-arm-kernel , linux-clk , Linux-ALSA , devicetree , linux-sunxi , Thomas Petazzoni , Alexandre Belloni From: Mylene Josserand Message-ID: Date: Wed, 5 Oct 2016 14:08:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1677 Lines: 58 Hello, On 05/10/2016 04:59, Chen-Yu Tsai wrote: > On Wed, Oct 5, 2016 at 12:24 AM, Maxime Ripard > wrote: >> Hi, >> >> On Tue, Oct 04, 2016 at 11:46:21AM +0200, Mylène Josserand wrote: >>> Add the documentation for dt-binding of the analog audiocodec >>> driver for SUN8I SoC. >>> >>> Signed-off-by: Mylène Josserand >>> --- >>> .../devicetree/bindings/sound/sun8i-codec-analog.txt | 20 ++++++++++++++++++++ >>> 1 file changed, 20 insertions(+) >>> create mode 100644 Documentation/devicetree/bindings/sound/sun8i-codec-analog.txt >>> >>> diff --git a/Documentation/devicetree/bindings/sound/sun8i-codec-analog.txt b/Documentation/devicetree/bindings/sound/sun8i-codec-analog.txt >>> new file mode 100644 >>> index 0000000..a03ec20 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/sound/sun8i-codec-analog.txt >>> @@ -0,0 +1,20 @@ >>> +* Allwinner A23/A33 Analog Codec >>> + >>> +This codec must be handled as a PRCM subnode. >> >> Like Mark was saying, you should probably reference the sun6i-prcm.txt >> binding here Okay, I will explain more how it works. >> >>> +Required properties: >>> +- compatible: must be either "allwinner,sun8i-codec-analog" >> >> Our compatible prefix is -, and using the older SoC that >> introduced that block. >> >> In this case, that would be sun6i-a31, I think? > > sun6i-a31s actually, but a31s has extra line out controls, > so the right one would be sun8i-a23. Both are listed in my > original driver. It is noted. Thanks! -- Mylène Josserand, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com