Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2469922imm; Mon, 16 Jul 2018 08:32:04 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfYPKcaqPi0jbTfODtHK331pIoq0FfuhMbbItTFurQGF7dDyz7oG38Kg3KtNQ/zuQ4lUaAT X-Received: by 2002:a17:902:3303:: with SMTP id a3-v6mr17123550plc.209.1531755124515; Mon, 16 Jul 2018 08:32:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531755124; cv=none; d=google.com; s=arc-20160816; b=LwquimF0lAxSbeJ+poWKVLOLxs0xHLy7wTLnN43D5TUXPWZaAIzqnAXDjfEXIvKqY4 Sfwad7wyFOZPIlhKuy7JF+GwJFLYhyFWA+ioJE2ehDX4JS2aLg1bQnqEebmJPfkq0/8x iVXx/vqEHxst4BijOLmZSNcZVrPcS2jbF9cLJ3qZ5kilJojaw6yXU+WsovfVzWnNfTH3 n7LjXuLIj5k8N9YyI0cm5DIbOSzF7LM0gyeN1T8HZh4qW7ygW2ikRjdDsqjUh1F0ka/m ZhbZfWvwIQErckchJkptCRuAxEFQebw0x9RYMuK7tiZh7Yb03LGwYGs5NjbeKHHtIxxl pHCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=kyrkZeOkbuOJGuBgSuDMRbaJ8FRmNQBel2GFYZKt8/w=; b=y3JPMPJLBMX7/NWkUcmIlNnpzEveox6f/HRhH7UaQM5NVLyp0qgtfN9uIDxOyF6j+q EqeG6Sou+jffWWVJBH0ZoEGk+rPn2sYI+GLY6uxQVCFOuRVpu56tDlPGjbty5HmXbz4M 2Zh+0jqAt08i2kHzpHKx/eCUrH6iI7MBQf2PuEKJRoZZmOaTK9et1PmER5VlLUBHMvTr vyUA9RJr7+TrH/u3u/AClvYhVjHRtMQvmY0K3395thpKpjO9XwLiFY7n5LbUVXcV4pUk vcusdnxHgaplXEzmGTMjLhmoub+4N8f4KO50/NOkHYEhtxHZ+oPk3wVUwAOUrXampFEp F2rQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v28-v6si28335469pfi.22.2018.07.16.08.31.49; Mon, 16 Jul 2018 08:32:04 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731041AbeGPP6x (ORCPT + 99 others); Mon, 16 Jul 2018 11:58:53 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:34080 "EHLO andre.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728839AbeGPP6w (ORCPT ); Mon, 16 Jul 2018 11:58:52 -0400 Received: from ramsan.of.borg ([84.194.111.163]) by andre.telenet-ops.be with bizsmtp id BTWu1y00G3XaVaC01TWuJr; Mon, 16 Jul 2018 17:30:54 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.86_2) (envelope-from ) id 1ff5Sg-0007N1-5G; Mon, 16 Jul 2018 17:30:54 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1ff5Sg-0000UQ-3C; Mon, 16 Jul 2018 17:30:54 +0200 From: Geert Uytterhoeven To: Marek Vasut , Liam Girdwood , Mark Brown Cc: "Rafael J . Wysocki" , Pavel Machek , Len Brown , linux-pm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v4 3/3] regulator: bd9571mwv: Document "backup_mode" sysfs file Date: Mon, 16 Jul 2018 17:30:52 +0200 Message-Id: <20180716153052.1830-4-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180716153052.1830-1-geert+renesas@glider.be> References: <20180716153052.1830-1-geert+renesas@glider.be> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Geert Uytterhoeven Acked-by: Pavel Machek --- v4: - Add Acked-by, v3: - New. --- .../testing/sysfs-driver-bd9571mwv-regulator | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-bd9571mwv-regulator diff --git a/Documentation/ABI/testing/sysfs-driver-bd9571mwv-regulator b/Documentation/ABI/testing/sysfs-driver-bd9571mwv-regulator new file mode 100644 index 0000000000000000..4d63a7904b94a993 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-bd9571mwv-regulator @@ -0,0 +1,27 @@ +What: /sys/bus/i2c/devices/.../bd9571mwv-regulator.*.auto/backup_mode +Date: Jul 2018 +KernelVersion: 4.19 +Contact: Geert Uytterhoeven +Description: Read/write the current state of DDR Backup Mode, which controls + if DDR power rails will be kept powered during system suspend. + ("on"/"1" = enabled, "off"/"0" = disabled). + Two types of power switches (or control signals) can be used: + A. With a momentary power switch (or pulse signal), DDR + Backup Mode is enabled by default when available, as the + PMIC will be configured only during system suspend. + B. With a toggle power switch (or level signal), the + following steps must be followed exactly: + 1. Configure PMIC for backup mode, to change the role of + the accessory power switch from a power switch to a + wake-up switch, + 2. Switch accessory power switch off, to prepare for + system suspend, which is a manual step not controlled + by software, + 3. Suspend system, + 4. Switch accessory power switch on, to resume the + system. + DDR Backup Mode must be explicitly enabled by the user, + to invoke step 1. + See also Documentation/devicetree/bindings/mfd/bd9571mwv.txt. +Users: User space applications for embedded boards equipped with a + BD9571MWV PMIC. -- 2.17.1