From patchwork Thu Nov 8 12:49:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10675523 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 30F8F5A4 for ; Fri, 9 Nov 2018 08:52:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 20E042DC2C for ; Fri, 9 Nov 2018 08:52:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 14F4F2E898; Fri, 9 Nov 2018 08:52:55 +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=-2.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FD632E88C for ; Fri, 9 Nov 2018 08:52:54 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 5A11B267AD3; Fri, 9 Nov 2018 09:52:46 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id D2B7E267ACC; Thu, 8 Nov 2018 13:49:45 +0100 (CET) Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by alsa0.perex.cz (Postfix) with ESMTP id 32CC3267877 for ; Thu, 8 Nov 2018 13:49:43 +0100 (CET) Received: by mail-wr1-f68.google.com with SMTP id v18-v6so1812379wrt.8 for ; Thu, 08 Nov 2018 04:49:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=EkoJoXBciY/DLr4VKETRPvsmkQMlKVc0rpvxLdGMh3E=; b=XEP3cHFCmYJRs+yIZLWbVbSPr07W7Rkr+y8STcqYqi8zb9hwoepkJYvLgnUCZER89p O8KsQCbGiE7QcU0NVl5lIQJ8ue0z+3PY+QHgnhrJbQMkwKKoFZwyPJJG2LEs+Ik5DxSl NyRqecr64l6vG1NxbvBxOLl9Qo2S4KkOPsv39LKe/SFtEgBp244VMju8iD5MxpXQ+sjA 1/0XM8sCTni5HzUNN2yzfwMmhtew0s7+2ICtCWEFz5ZuUbu6Tc571EOVMe0O28E5sCcj AWqFwbcUjCn0/nYMC10kBNqWNrf3MqdgYCGylzSYzunr4mrm+EUgAnrDp42DlFE6onEX qRww== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=EkoJoXBciY/DLr4VKETRPvsmkQMlKVc0rpvxLdGMh3E=; b=kNdrEAH0lZWAVQ5hlp1f+ghQCHJjgD+otOGmq8qSQv5KtvrBtzksLlnvlvs1KhL6pP b4AQRbesigBU0gXDLS0r/KpeCo89wWgbWWQ+KTedIUOychYARD85uqWAh5n/2LZaL2tg FWDv3xHzG7ugYb2sWOxDIwLr6zlTH19g4guhQ7Tfq3tufemkd+1QBrufgtolREF9xPlQ xg3lrOC7I9AmO1d8vHlpRDA0L65jumSuJll1IM9wStRQNSY89UB+liCU62+rVpPS/J7P 4+VhpmLtKHh48RlqYdPLh/Vp4I6eJG5AqjG/gWTJZfxXSM8Fl8HBwrBrtE37PLszcXx6 fliQ== X-Gm-Message-State: AGRZ1gJYTuEfBz/pTEBj8na2LWeGP70AOrXXNpug5g8sQ0ll0Y5ZW+pn dM6JV0FxTpBuh72bFbbR4I0v7lpyJHPLmQ== X-Google-Smtp-Source: AJdET5cvS08z8UIDjZdR9i183b03JHJ+4BnPCx4pnFo2V/lAydvRbReWMf5JKLzwPISfOI1K9Aigsw== X-Received: by 2002:a5d:4907:: with SMTP id x7-v6mr4029494wrq.272.1541681383446; Thu, 08 Nov 2018 04:49:43 -0800 (PST) Received: from cperon-Latitude-7490.devialet.com (static-css-csd-151233.business.bouyguestelecom.com. [176.162.151.233]) by smtp.gmail.com with ESMTPSA id y4-v6sm4956622wrd.61.2018.11.08.04.49.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Nov 2018 04:49:42 -0800 (PST) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Jaroslav Kysela , Takashi Iwai , Kuninori Morimoto , Liam Girdwood , Mark Brown , Rob Herring , Mark Rutland Date: Thu, 8 Nov 2018 13:49:34 +0100 Message-Id: <20181108124934.32381-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181108124934.32381-1-peron.clem@gmail.com> References: <20181108124934.32381-1-peron.clem@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 09 Nov 2018 09:52:41 +0100 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, =?utf-8?b?Q2w=?= =?utf-8?b?w6ltZW50IFDDqXJvbg==?= , linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH 2/2] ASoC: dt-bindings: add bindings for AK4118 transceiver X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Document the bindings for AK4118 S/PDIF transceiver Signed-off-by: Clément Péron --- .../devicetree/bindings/sound/ak4118.txt | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/ak4118.txt diff --git a/Documentation/devicetree/bindings/sound/ak4118.txt b/Documentation/devicetree/bindings/sound/ak4118.txt new file mode 100644 index 000000000000..6e11a2f7404c --- /dev/null +++ b/Documentation/devicetree/bindings/sound/ak4118.txt @@ -0,0 +1,22 @@ +AK4118 S/PDIF transceiver + +This device supports I2C mode. + +Required properties: + +- compatible : "asahi-kasei,ak4118" +- reg : The I2C address of the device for I2C +- reset-gpios: A GPIO specifier for the reset pin +- irq-gpios: A GPIO specifier for the IRQ pin + +Example: + +&i2c { + ak4118: ak4118@13 { + #sound-dai-cells = <0>; + compatible = "asahi-kasei,ak4118"; + reg = <0x13>; + reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW> + irq-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; + }; +};