From patchwork Fri Nov 16 02:12:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cheng-yi Chiang X-Patchwork-Id: 10685507 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 BC6121747 for ; Fri, 16 Nov 2018 02:13:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC6992D596 for ; Fri, 16 Nov 2018 02:13:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E4B62D5A0; Fri, 16 Nov 2018 02:13:17 +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_INVALID, DKIM_SIGNED,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 79CBB2D596 for ; Fri, 16 Nov 2018 02:13:16 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id EA501267AFF; Fri, 16 Nov 2018 03:13:13 +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 0C233267B00; Fri, 16 Nov 2018 03:13:08 +0100 (CET) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by alsa0.perex.cz (Postfix) with ESMTP id 532A2267AFC for ; Fri, 16 Nov 2018 03:13:06 +0100 (CET) Received: by mail-pf1-f193.google.com with SMTP id v68-v6so10626970pfk.0 for ; Thu, 15 Nov 2018 18:13:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=P7KMfBGq1zleDXk2tIXwLz1VcjicjRlXzvKzqntLxKA=; b=fozUjd/wqKo2gI9UE3oy0U1Kp15FoToznX3ds/OJIiv+1Q2Gl/BBhLwm3yQujE5YEC z0f+0LwFYS7CtDNO39FB+WY9v4ObQfDqoYuNikNv2pQ2PX9sI30wNCttxXvoU3uQtg4s sClLTdKbEFKQ7brzlqi/Zbz1r4xDpV0Iih4Kg= 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:mime-version :content-transfer-encoding; bh=P7KMfBGq1zleDXk2tIXwLz1VcjicjRlXzvKzqntLxKA=; b=JPZRCKpP1rKBVXcqpoLgaaP/X2WM5r9/6+KLUxhSuwspQMbwj5Tta4VOuheg70OZ57 QrTlDZHsaaYuxpzX6jdIIOVOXzCqMbOu9bXindvQb/scaQu0SV+G7me22aB3KePo2kHH Xc0ovO/jFTFLPTRQoZTs6xR9TJEwL3aqyGsJjRrj9Nrk5WkAcsx8CeUsKzl4UjB69hgy GI4NrkEkirTo6ZCYzSNdt642YIH3Jz12LY0BmHOM+0RNDC3m8Fg2FpmraDZ5uRJAyBMW NC4br5zlbEyfth8UIGY8/ujbByUJpLQJt8decWRnhyrsuJ/MNXc/VDFIc4CuWdFjkxSX pZpg== X-Gm-Message-State: AGRZ1gJfNiww4pdtJYeHQUNWgGo4MeUByoFByXZqQDiflQPtw+gHoDHa KT0iFZ+uL/IR0iisyc3og+SPRw== X-Google-Smtp-Source: AJdET5dHFLsVfeS5YLjiQRb+huzDbocKza37UVlBgk0Jr5dhvGRn0MrWGGRED1tDr8hO3kfPGIh82g== X-Received: by 2002:a62:8a0d:: with SMTP id y13-v6mr9115425pfd.142.1542334384485; Thu, 15 Nov 2018 18:13:04 -0800 (PST) Received: from cychiang-z840.tpe.corp.google.com ([2401:fa00:1:b:e688:dfd2:a1a7:2956]) by smtp.gmail.com with ESMTPSA id b27sm19576389pfh.113.2018.11.15.18.13.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Nov 2018 18:13:03 -0800 (PST) From: Cheng-Yi Chiang To: linux-kernel@vger.kernel.org Date: Fri, 16 Nov 2018 10:12:43 +0800 Message-Id: <20181116021243.179183-1-cychiang@chromium.org> X-Mailer: git-send-email 2.19.1.1215.g8438c0b245-goog MIME-Version: 1.0 Cc: oder_chiou@realtek.com, alsa-devel@alsa-project.org, tzungbi@chromium.org, Mark Brown , dgreid@chromium.org, Cheng-Yi Chiang Subject: [alsa-devel] [PATCH v2] ASoC: rt5663: Add documentation for power supply support 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 rt5663 codec driver will support setting CPVDD and AVDD power supply from device tree. Signed-off-by: Cheng-Yi Chiang --- Moved power supply properties to required properties. Documentation/devicetree/bindings/sound/rt5663.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/rt5663.txt b/Documentation/devicetree/bindings/sound/rt5663.txt index 23386446c63d6..2a55e91334082 100644 --- a/Documentation/devicetree/bindings/sound/rt5663.txt +++ b/Documentation/devicetree/bindings/sound/rt5663.txt @@ -10,6 +10,10 @@ Required properties: - interrupts : The CODEC's interrupt output. +- avdd-supply: Power supply for AVDD, providing 1.8V. + +- cpvdd-supply: Power supply for CPVDD, providing 3.5V. + Optional properties: - "realtek,dc_offset_l_manual" @@ -51,4 +55,6 @@ rt5663: codec@12 { compatible = "realtek,rt5663"; reg = <0x12>; interrupts = <7 IRQ_TYPE_EDGE_FALLING>; + avdd-supply = <&pp1800_a_alc5662>; + cpvdd-supply = <&pp3500_a_alc5662>; };