devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Saravanan Sekar <sravanhome@gmail.com>
To: sre@kernel.org, lee.jones@linaro.org, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, jic23@kernel.org,
	lars@metafoo.de, andy.shevchenko@gmail.com
Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-iio@vger.kernel.org, Saravanan Sekar <sravanhome@gmail.com>,
	Sebastian Reichel <sebastian.reichel@collabora.com>
Subject: [PATCH v5 8/8] power: supply: mp2629: Add USB fast charge settings
Date: Sat, 29 Oct 2022 11:30:00 +0200	[thread overview]
Message-ID: <20221029093000.45451-9-sravanhome@gmail.com> (raw)
In-Reply-To: <20221029093000.45451-1-sravanhome@gmail.com>

Allows the user to change the USB device fast charge setting to advertise
host on enumeration helps to accelerate the charging cycle. Altering this
value resets USB existing connection.

Signed-off-by: Saravanan Sekar <sravanhome@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com>
---
 .../ABI/testing/sysfs-class-power-mp2629         | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-class-power-mp2629 b/Documentation/ABI/testing/sysfs-class-power-mp2629
index 914d67caac0d..b386d02cb010 100644
--- a/Documentation/ABI/testing/sysfs-class-power-mp2629
+++ b/Documentation/ABI/testing/sysfs-class-power-mp2629
@@ -1,3 +1,19 @@
+What:		/sys/class/power_supply/mp2629_battery/usb_fast_charge
+Date:		June 2022
+KernelVersion:	5.20
+Description:
+		Represents a USB device fast charge settings.Altering this
+		value resets USB existing connection
+		USB DP:DM[0:0] 0.6V : Hi-Z
+		USB DP:DM[0:1] 3.3V : 0.6V
+		USB DP:DM[1:0] 0.6V : 0.6V
+		USB DP:DM[1:1] 0.6V : 3.3V
+
+                Access: Read, Write
+
+                Valid values: Represented in bit DP & DM setting. Valid
+			      range is [0, 3].
+
 What:		/sys/class/power_supply/mp2629_battery/batt_impedance_compen
 Date:		April 2020
 KernelVersion:	5.7
-- 
2.32.0


  parent reply	other threads:[~2022-10-29  9:30 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-29  9:29 [PATCH v5 0/8] Add support for mp2733 battery charger Saravanan Sekar
2022-10-29  9:29 ` [PATCH v5 1/8] iio: adc: mp2629: fix wrong comparison of channel Saravanan Sekar
2022-10-29 12:28   ` Jonathan Cameron
2022-10-29  9:29 ` [PATCH v5 2/8] mfd: mp2629: fix failed to get iio channel by device name Saravanan Sekar
2022-10-29  9:29 ` [PATCH v5 3/8] iio: adc: mp2629: fix potential array out of bound access Saravanan Sekar
2022-10-29 12:30   ` Jonathan Cameron
2022-10-29  9:29 ` [PATCH v5 4/8] power: supply: fix wrong interpretation of register value Saravanan Sekar
2022-10-29 22:52   ` Andy Shevchenko
2022-10-29  9:29 ` [PATCH v5 5/8] mfd: mp2629: Add support for mps mp2733 battery charger Saravanan Sekar
2022-10-29 12:36   ` Jonathan Cameron
2022-10-29  9:29 ` [PATCH v5 6/8] iio: adc: mp2629: restrict input voltage mask for mp2629 Saravanan Sekar
2022-10-29 12:35   ` Jonathan Cameron
2022-10-29  9:29 ` [PATCH v5 7/8] power: supply: Add support for mp2733 battery charger Saravanan Sekar
2022-10-29  9:30 ` Saravanan Sekar [this message]
2022-10-29 22:02 ` [PATCH v5 0/8] " Sebastian Reichel
2022-10-29 22:11   ` saravanan sekar
2022-11-04  1:54 ` Krzysztof Kozlowski
2022-11-04  7:13   ` saravanan sekar
2022-11-04 12:58     ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221029093000.45451-9-sravanhome@gmail.com \
    --to=sravanhome@gmail.com \
    --cc=andy.shevchenko@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jic23@kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lars@metafoo.de \
    --cc=lee.jones@linaro.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=sebastian.reichel@collabora.com \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).