From patchwork Wed Feb 15 10:55:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 9573841 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0DDAE601D8 for ; Wed, 15 Feb 2017 10:56:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F1BAE1FF1E for ; Wed, 15 Feb 2017 10:56:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E5DB72846C; Wed, 15 Feb 2017 10:56:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HK_RANDOM_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7EF131FF1E for ; Wed, 15 Feb 2017 10:56:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=0QM/tP+VwwdDMqU17WojulVM7fK7flxL5/2JZn/BDAs=; b=LdP 6NXht6EpgMkAEmI3KHYGtff+iviNzGrI3EcO6Ti77yDPkW0hfz0wKpEHFN1BfEFJVTHeqF7JK3dK4 Ss/rIHGY6/VCyS/E6L6U3fNkIQ2nH39GVluCLiqg2UsIJVhEEACOnIxKy6mr4RafGO8Ttj/t/N5Th fcsb02GXtLr17BFE02GtlJ4liNjo7ln4gHl0GmvPNh58PbyMbnMER7637WjSzmkXTBHHqj0YukChB HqwBHh3Kxem0nOMLFZxCIMxmxdEp8wtp1pCm1FwtO9ZSZqbEBQhV1oyEiAz/3I7w/ID0FQlBrpLr9 eDCOBJR45pWaReUGUq9Adlj26rqcvCg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cdxFz-0007Gq-Ne; Wed, 15 Feb 2017 10:56:19 +0000 Received: from mail-pg0-x22b.google.com ([2607:f8b0:400e:c05::22b]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cdxFw-0007FO-TN for linux-arm-kernel@lists.infradead.org; Wed, 15 Feb 2017 10:56:18 +0000 Received: by mail-pg0-x22b.google.com with SMTP id z67so4299705pgb.1 for ; Wed, 15 Feb 2017 02:55:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=4bd0Qv0Zu3db8pr04peKN6F8u5bt3uOwGKgbD0KR3Ug=; b=Exw1UiMHtg2zYb9TOwNYCOTRDK3bb9Vv9tclVv4IArowdIB/WEX7M9E32iRHvUY9fC 8aKeuZP78qLBCLTtQ/5gr6FGLu9yMVUX8sNfr5mGd84rG9yUzsYnWdeAvZafj/I6ENtm En4EixLN2dEEEtUv2Ge1YwFtB8GgvO+6iwjL8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4bd0Qv0Zu3db8pr04peKN6F8u5bt3uOwGKgbD0KR3Ug=; b=QGVF8Ov78gr0OEyTe7H9DMlTvw4WmY/Vhl2Va8JV7hDeyhoD3hIq53PLNg1HUIU6c7 mFhmN7UUBA1wFF4A5Pnm7y2HD0uDplHSYfZylIqUf4Dv8XbBUeyZTLc+RqpldV7yTqcX OwhsvWGiPQ2UKpFL1cZL477h74IN3GranoULhB2udGmIkBfR0XpySFuJD8vMg/rOiFDI u8jgy9mts5Zv/o+6pBDAv391ZU0I85tlJ9gw0xqjGsh9IgqV1lidmBTgWFW5L9LQCzFU /7E93Cw2LcY6weWpLlg1GQP/2jXZAnTkSXCIC4NEHFTBx9WcmlvLk1BDKwdtjn6WzCYa DPqQ== X-Gm-Message-State: AMke39kkmRo/CbLqG2x3jftVD9NzoBs0nLom1sTabIVKC0GC+fpVKhFF/jFHwK8YPQfNb9Wa X-Received: by 10.84.168.131 with SMTP id f3mr42855748plb.163.1487156155715; Wed, 15 Feb 2017 02:55:55 -0800 (PST) Received: from localhost.localdomain ([45.56.152.11]) by smtp.gmail.com with ESMTPSA id f65sm6814031pfk.5.2017.02.15.02.55.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Feb 2017 02:55:55 -0800 (PST) From: Baoyou Xie To: jun.nie@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, perex@perex.cz, tiwai@suse.com, lars@metafoo.de, arnd@arndb.de, kuninori.morimoto.gx@renesas.com, ckeepax@opensource.wolfsonmicro.com, bardliao@realtek.com, nh6z@nh6z.net, Paul.Handrigan@cirrus.com, oder_chiou@realtek.com, axel.lin@ingics.com, petr@barix.com, yesanishhere@gmail.com, srinivas.kandagatla@linaro.org Subject: [PATCH v1 1/3] ASoC: zx-96p22: add documentation for zte's aud96p22 controller Date: Wed, 15 Feb 2017 18:55:08 +0800 Message-Id: <1487156110-12840-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170215_025616_983352_217A378E X-CRM114-Status: GOOD ( 11.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, xie.baoyou@zte.com.cn, linux-kernel@vger.kernel.org, chen.chaokai@zte.com.cn, wang.qiang01@zte.com.cn, baoyou.xie@linaro.org, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds dt-binding documentation for zte's aud96p22 controller. Signed-off-by: Baoyou Xie Acked-by: Rob Herring --- .../devicetree/bindings/sound/zte,zx-96p22.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/zte,zx-96p22.txt diff --git a/Documentation/devicetree/bindings/sound/zte,zx-96p22.txt b/Documentation/devicetree/bindings/sound/zte,zx-96p22.txt new file mode 100644 index 0000000..4184566 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/zte,zx-96p22.txt @@ -0,0 +1,24 @@ +ZTE zx96p22 controller + +Required properties: + - compatible : Must be "zte,zx-aud96p22" + - #sound-dai-cells: Should be 0 + - reg : Offset of I2C register for zx96p22 + +Example: + + audio_i2c0: audio_i2c0@1486000 { + compatible = "zte,zx296718-i2c"; + reg = <0x01486000 0x1000>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&audiocrm AUDIO_I2C0_WCLK>; + clock-frequency = <1600000>; + status = "ok"; + inner_codec: aud96p22@22 { + compatible = "zte,zx-aud96p22"; + #sound-dai-cells = <0>; + reg = <0x22>; + }; + };