Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3431312imm; Tue, 17 Jul 2018 04:54:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpehE7+8M1aK0AMoYbDcze9UyI1onA3bvP6YB2y8IfnhcUbFnPk34Kb487F+Qbz+U36w8RLU X-Received: by 2002:a17:902:1566:: with SMTP id b35-v6mr1338983plh.107.1531828439970; Tue, 17 Jul 2018 04:53:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531828439; cv=none; d=google.com; s=arc-20160816; b=YWlSTrrk80wrmrxcJuAovzljjqTiFMGtoAZlmEiKKcs7hcY8P9oLNJaD7I5egj1+R8 psRBfCiETba4nvLFVTnbDIBILjY4Giiq1bIT8ODAoQnl5/9Ghlco4sDvR98JQvG4K5vj 0ySIXd8cPtmjowzLa241/QdrQAyXpW9rbwZD0zuYsx3gCJbiB5D8/0KjU4SlNuBFfpGh hA8Wumh/GRikH7xRuq9EeC/T0PXVDLgj4h2wkafD257kUsFx+HsBAsA5ojjghq+zqqD+ yUMNPDVOG8q/+c1RWjASq5/4TE+WXhGptbxbu0PtFoSwupcbV/EfICzkOXq/iI/pqXPt OKuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=KYC/N6Zyk+gmyFkTsTEnL1uBAeUm4fwT2abmcDYyteY=; b=jcplJe5J0VrGYqTMtA6UCTi0uMULCzt3yjCSq8PaKibYKIh2/ItGw2bFe/xR04vrvJ 1FPJv2hSwbZljna30t59is8Sy1EDyqUeTlkhHJ+XmRYTUQbbBLw7BjsaS/7EAKa2HXeY fFvUyOKlJt9lzvqGeTrLnHuBkj4/TiZBaLu0hqO815amIyQdtnrIkj2nfYWIl+uSQ0IT kIJhsI8yKBqXhEuWMYLudXkT9Cj9bq53+THGMBs5p9jEuHxiVuV8wTufLXw/2ejHqCHE iHnqVK8DNtzGU/xrcTvS9VccpNFAERCSvyPbkj8lTdrtLOdV/Husb3CE8ooOJFUJqrk0 DzLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ragnatech-se.20150623.gappssmtp.com header.s=20150623 header.b=CZTcV1wD; 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 89-v6si679009ple.488.2018.07.17.04.53.44; Tue, 17 Jul 2018 04:53:59 -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; dkim=pass header.i=@ragnatech-se.20150623.gappssmtp.com header.s=20150623 header.b=CZTcV1wD; 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 S1731314AbeGQMZ1 (ORCPT + 99 others); Tue, 17 Jul 2018 08:25:27 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:33463 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730780AbeGQMZZ (ORCPT ); Tue, 17 Jul 2018 08:25:25 -0400 Received: by mail-lj1-f196.google.com with SMTP id s12-v6so744292ljj.0 for ; Tue, 17 Jul 2018 04:53:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech-se.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=KYC/N6Zyk+gmyFkTsTEnL1uBAeUm4fwT2abmcDYyteY=; b=CZTcV1wD5zvhgKxsa7/iAbXjR+UC04XsHwDPxN1M1WzaVSDYbvU2azcVIk+OWgWB3c Fz8IqR69YOt2tcvJG3Xq3YBNj6tW/UVVpwiBeD6tekyJbGY8jB/bHG/wMSlZmxDJe/gm YloNRsbJbyqzaUxtgAZxYWJ62rkcloUXa9E8+NRBGPkVo1z/uxqMIzLPTvV3TMQPot1h W5dfEm1p+bXg8U9/6yk7mR866umdaY+ogW9UgqLT9L6KGKWK2gMZSJo2z9yTrkBM5+7+ TNmaohq1JHB7NncJH+QDfy6iVxPWPOpobIG5pGX6dkm2I7BKISy6xeDvluWea8nWFhoU WIIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=KYC/N6Zyk+gmyFkTsTEnL1uBAeUm4fwT2abmcDYyteY=; b=GEniQFckdluXwL0vCGt8rc3uvNXVLOiMfjQnYaG1uVOakyOdob+4TqM0X0NcUxbV6D CEL4QPzsbNKBsLHBwjJVH+M1tCVpMzKWjMRnILaNutsiklx5s1aAcGWEoKpZYHAg2xWZ 1tkxF+3oq1kGIoCWkJmLPtJIQusRoOqNmMZfVN60DGU2G2+hPS9lrV1xuBq/y3VfBtj6 6PZ///7/IClx1B2FvxJuzEWYvPlfdH25MHcgM8rJbWWggpyjdcU/xUxu7s3JigTpANDY XZWckxcrcboYMP4Fl4CtIYoVG3zbnpHvcBBIQWYqEen6Kqtg+p1iiw5zta0F4y7yFdxD 5f+w== X-Gm-Message-State: AOUpUlEb9VMNOCt7x2GbVl+AqExaH8O/pJCdlqve0y85h/zlUcF25Xua L3155eZNUT8y6sX4M0ZGxssGtw== X-Received: by 2002:a2e:6a04:: with SMTP id f4-v6mr1279944ljc.109.1531828387418; Tue, 17 Jul 2018 04:53:07 -0700 (PDT) Received: from localhost (89-233-230-99.cust.bredband2.com. [89.233.230.99]) by smtp.gmail.com with ESMTPSA id o3-v6sm124315lfc.95.2018.07.17.04.53.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Jul 2018 04:53:06 -0700 (PDT) Date: Tue, 17 Jul 2018 13:53:06 +0200 From: Niklas =?iso-8859-1?Q?S=F6derlund?= To: Geert Uytterhoeven Cc: Marek Vasut , Liam Girdwood , Mark Brown , "Rafael J . Wysocki" , Pavel Machek , Len Brown , linux-pm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 3/3] regulator: bd9571mwv: Document "backup_mode" sysfs file Message-ID: <20180717115306.GH10087@bigcity.dyn.berto.se> References: <20180716153052.1830-1-geert+renesas@glider.be> <20180716153052.1830-4-geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180716153052.1830-4-geert+renesas@glider.be> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, Thanks for your work. On 2018-07-16 17:30:52 +0200, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > Acked-by: Pavel Machek Reviewed-by: Niklas S?derlund > --- > 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 > -- Regards, Niklas S?derlund