Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8795074imu; Thu, 15 Nov 2018 18:14:52 -0800 (PST) X-Google-Smtp-Source: AJdET5dDPLn0TQk0kqCOalpQu6A2q7FeDLru5SCQxUr/PjMDVZHlcK4QhIY8aK734GpEBWcmDmnV X-Received: by 2002:a65:434d:: with SMTP id k13mr8212686pgq.269.1542334492071; Thu, 15 Nov 2018 18:14:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542334492; cv=none; d=google.com; s=arc-20160816; b=0kOpD7N0wmWSrypfXJ2JRhMiJvOYFZKzKDVQ3sIBwm44sAkUGa7Dn6Dr+GE3R1lzMU /+WFJdIAaHzj+IJDNngE6GFVpRKbHLHosEg+RDmQR3GrJrT0Zfo0SckRhQENaeZC2wGH UmQytd4GXSaWYu58zLoJd3AoV5yT3R6hzXe+Grjaqa/887fm12IcSqlFZF6VfKhuhsEu ZT7VV7P03Jbf0kHSJ7jgNqduXRGetR/xpWQagUPhDX1XXyrd/UFNuMov4BmwgVBKVMuB VC5PgV3grCZqCS+XGq6O1ThKE2XwWtmrYMOKCiqnUt+UiQaleeTizo3/I926GRFXSzEG XaKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=P7KMfBGq1zleDXk2tIXwLz1VcjicjRlXzvKzqntLxKA=; b=y4whusi7JiYhoACVQjbP1mSpG/NYfNlyKti0ndW0T1i+LVAPNTV2pvO73KCJjDXy85 SLrRHLxA4IS61jbsK4hFnOTjXFCieGnQHKmE1WTL5qlhXXNvMxDZJboKF2kB7rURKuZU z1IXEtf4TAJBEwuuJ2BHMWfSfEDaMUN4qj3NS+6N8/KcM+M5pvEB3rHGM6ACe9ENpTv0 DNyB3BSrvR9YqwP6gWedawu03i529agQOs11FdF5r33OShaAQsUUJ8XY6RAIon4VkqqV IrMPX+iNyWbIphqc0tTIqwO7WBXddg2BNasGRWFzNP5tsVguI0U+y4spgwbX74RSe0o8 FbVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="fozUjd/w"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bj11si9507096plb.21.2018.11.15.18.14.37; Thu, 15 Nov 2018 18:14:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="fozUjd/w"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389204AbeKPMXd (ORCPT + 99 others); Fri, 16 Nov 2018 07:23:33 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:33793 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726518AbeKPMXd (ORCPT ); Fri, 16 Nov 2018 07:23:33 -0500 Received: by mail-pg1-f195.google.com with SMTP id 17so9612938pgg.1 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=lqYKY7+cTrJUE7B96+tTXjcq8cdwrBlBHksZy74x6MElXWkqPzZ+sGNwCLTiNIYbIQ WckC/C98n+9GR8ZH7SE/xnS/uUkaNiP+tlour+igZFkp29HAlsSf45wpy59HJZ0Xdfew ljeBVZDfiNSForh/ubaHqmLwVTfDZY7omPyF4uX09ITcgSyB3BVURAcysH35oebA7q4S EbD5LQNktceC3x7j4dYPp/iHFanpnOFkSQkvNGOl4NS0eVY+L5LGjRowlINImURP9LZN Yt/NuWOk3p5Ezw0K0wToVFXqsN980WzQYWL8uQj9CDjwwlrQVwvdWx1xbdGnLMMYa+Ai kgLA== X-Gm-Message-State: AGRZ1gKrnPeJk2/aIXYM2spBNC4PVydb9L8vEhuhjFTpy5o/uan3pA1N KvXMuPXtbaOzfRTQaHqVUP8Gpu328RM= 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 Cc: Mark Brown , oder_chiou@realtek.com, alsa-devel@alsa-project.org, dgreid@chromium.org, tzungbi@chromium.org, Cheng-Yi Chiang Subject: [PATCH v2] ASoC: rt5663: Add documentation for power supply support 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; }; -- 2.19.1.1215.g8438c0b245-goog