Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932153AbbLVAy1 (ORCPT ); Mon, 21 Dec 2015 19:54:27 -0500 Received: from regular1.263xmail.com ([211.150.99.134]:50530 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752213AbbLVAyZ (ORCPT ); Mon, 21 Dec 2015 19:54:25 -0500 X-263anti-spam: KSV:0;BIG:0;ABS:1;DNS:0;ATT:0;SPF:S; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 1 X-SKE-CHECKED: 1 X-ADDR-CHECKED: 0 X-RL-SENDER: wxt@rock-chips.com X-FST-TO: heiko@sntech.de X-SENDER-IP: 103.29.142.67 X-LOGIN-NAME: wxt@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Subject: Re: [PATCH v1 2/2] dt-bindings: sound: add devicetree document for rt5616 To: frowand.list@gmail.com References: <1450703894-32623-2-git-send-email-wxt@rock-chips.com> <1450709768-14898-1-git-send-email-wxt@rock-chips.com> <56786BF7.7070608@gmail.com> Cc: broonie@kernel.org, robh+dt@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, bardliao@realtek.com, heiko@sntech.de From: Caesar Wang Message-ID: <56789F33.1010803@rock-chips.com> Date: Tue, 22 Dec 2015 08:54:11 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <56786BF7.7070608@gmail.com> 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: 1803 Lines: 82 Hi 在 2015年12月22日 05:15, Frank Rowand 写道: > On 12/21/2015 6:56 AM, Caesar Wang wrote: >> Add the description for rt5616 codec. >> >> Signed-off-by: Caesar Wang >> >> --- >> >> Changes in v1: >> - As Heiko comments, remove the not exist option properties. >> >> Documentation/devicetree/bindings/sound/rt5616.txt | 36 ++++++++++++++++++++++ >> 1 file changed, 36 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/sound/rt5616.txt >> >> diff --git a/Documentation/devicetree/bindings/sound/rt5616.txt b/Documentation/devicetree/bindings/sound/rt5616.txt >> new file mode 100644 >> index 0000000..2030a22 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/sound/rt5616.txt >> @@ -0,0 +1,36 @@ >> +RT5616 audio CODEC >> + >> +This device supports I2C only. >> + >> +Required properties: >> + >> +- compatible : "realtek,rt5616". >> + >> +- reg : The I2C address of the device. >> + >> +Pins on the device (for linking into audio routes) for RT5616: >> + >> + * IN1P >> + * IN2P >> + * IN2N >> + * LOUTL >> + * LOUTR >> + * CPN2 >> + * CPP2 >> + * CPN1 >> + * CPP1 >> + * HPO_R >> + * HPO_L >> + * ADCDAT1 >> + * DACDAT1 >> + * LRCK1 >> + * BCLK1 >> + * MCLK >> + * GPIO1 >> + >> +Example: >> + >> +rt5616 { > The node name should be rt5616@1b (including the reg value > from the node). In general, that's right. Okay, fixed in next version. > >> + compatible = "realtek,rt5616"; >> + reg = <0x1b>; >> +}; >> > > > -- caesar wang | software engineer | wxt@rock-chip.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/