From patchwork Thu Nov 1 12:40:06 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: 10663947 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 37297109C for ; Thu, 1 Nov 2018 12:40:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 232E02BBBF for ; Thu, 1 Nov 2018 12:40:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 16BAB2BBC9; Thu, 1 Nov 2018 12:40:45 +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 17F862BBBF for ; Thu, 1 Nov 2018 12:40:44 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id B38A02677E4; Thu, 1 Nov 2018 13:40:42 +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 097632678A9; Thu, 1 Nov 2018 13:40:41 +0100 (CET) Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by alsa0.perex.cz (Postfix) with ESMTP id 8F6EA2677D0 for ; Thu, 1 Nov 2018 13:40:38 +0100 (CET) Received: by mail-pl1-f194.google.com with SMTP id p16-v6so2753906plr.8 for ; Thu, 01 Nov 2018 05:40:38 -0700 (PDT) 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=VGdp9ZKJwg8hbaEdgskIM9KEKDkvXQybtx6r/e+gbsk=; b=HtJsnJqLEtbQXAM6V4qhfpHV1F6UqWAkFj9JYAmScvwteJ/RcpbYWxKqrt12I5W7zT HCbd7lgHWfuoRjydeU8fbYAsxL57hNzOEPsE5FTA0C7UoXxGK1wTlRZPhoUAKpusjOR9 NipzD9xdWkwn2Ts85AJiN4c9VS0Uyj+Sgv+/c= 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=VGdp9ZKJwg8hbaEdgskIM9KEKDkvXQybtx6r/e+gbsk=; b=bldxEEAc4RFtD93Y/5Wat55LkPzgDoQhock//QOY9oV9eVg0f5mI+MDSvWcaQwnacF 6VLf3lCfM2yWqVLRrLRwo/sXtIltcgeXRTPsLrGjRBKdaoseS+Zt66PermVALefkh0l1 KyM7KKyj1AHqYPJdnHxqx2WdeGPErJOX4LXQqPIANIdHJFIWzIfFa4vo5JETO4QslrOs yP1lv0/IGRWFxXngZ7IhpCLqoXqzO3GU+YK4+nhE4/Gx/7rCHDP3rXkp/gXPBqL2rHfe CCJT8mSPlbwcMxOLPe9+gIxpEzgVG9C2B9P8gLBCCX/Weo0H1Vs9chhcLdHREETx3HS0 3kRA== X-Gm-Message-State: AGRZ1gIHdNP94owHABHZ2aLWBwq4tECoU/081BXedh8VmUzawvLgZIPm qDh6Uf5jmB1uOEf5NanS1lzgbA== X-Google-Smtp-Source: AJdET5eUtOLWKR9T0HY1zG37XFieaK02RE96eA7nllyLZpg4j/i2kMXrROCoihh46jIXwGXD1Qd4MQ== X-Received: by 2002:a17:902:7b8e:: with SMTP id w14-v6mr7344061pll.289.1541076037267; Thu, 01 Nov 2018 05:40:37 -0700 (PDT) Received: from cychiang-z840.tpe.corp.google.com ([2401:fa00:1:b:e688:dfd2:a1a7:2956]) by smtp.gmail.com with ESMTPSA id g20-v6sm10856210pfj.145.2018.11.01.05.40.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 05:40:35 -0700 (PDT) From: Cheng-Yi Chiang To: linux-kernel@vger.kernel.org Date: Thu, 1 Nov 2018 20:40:06 +0800 Message-Id: <20181101124007.243258-1-cychiang@chromium.org> X-Mailer: git-send-email 2.19.1.568.g152ad8e336-goog MIME-Version: 1.0 Cc: oder_chiou@realtek.com, alsa-devel@alsa-project.org, Mark Brown , dgreid@chromium.org, Cheng-Yi Chiang Subject: [alsa-devel] [PATCH 1/2] CHROMIUM: 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 --- Documentation/devicetree/bindings/sound/rt5663.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/rt5663.txt b/Documentation/devicetree/bindings/sound/rt5663.txt index 23386446c63d6..d4058dfde0392 100644 --- a/Documentation/devicetree/bindings/sound/rt5663.txt +++ b/Documentation/devicetree/bindings/sound/rt5663.txt @@ -36,6 +36,9 @@ Optional properties: "realtek,impedance_sensing_num" is 2. It means that there are 2 ranges of impedance in the impedance sensing function. +- avdd-supply: Power supply for AVDD, providing 1.8V. +- cpvdd-supply: Power supply for CPVDD, providing 3.5V. + Pins on the device (for linking into audio routes) for RT5663: * IN1P @@ -51,4 +54,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>; };