From: Sebastian Reichel <sre@kernel.org>
To: Dmitry Osipenko <digetx@gmail.com>
Cc: Rob Herring <robh+dt@kernel.org>, Andy Gross <agross@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
David Heidelberg <david@ixit.cz>,
Thierry Reding <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
Mika Westerberg <mika.westerberg@linux.intel.com>,
"Bruce E . Robertson" <bruce.e.robertson@intel.com>,
linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
Jonghwa Lee <jonghwa3.lee@samsung.com>,
John Stultz <john.stultz@linaro.org>,
Vinay Simha BN <simhavcs@gmail.com>,
linux-tegra@vger.kernel.org
Subject: Re: [PATCH v3 00/10] Summit SMB3xx driver & device-tree
Date: Wed, 26 Aug 2020 16:40:17 +0200 [thread overview]
Message-ID: <20200826144017.nolqvzu2exchmdn2@earth.universe> (raw)
In-Reply-To: <20200813213409.24222-1-digetx@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3198 bytes --]
Hi,
I queued patches 1-8 (so everything besides the DTS changes). I
would like to see some more cleanups and will send a separate
patchset for them in a jiffy. Please test them, since I do not
have the hardware.
-- Sebastian
On Fri, Aug 14, 2020 at 12:33:59AM +0300, Dmitry Osipenko wrote:
> We gathered existing patches, fixed and improved what we could and
> final result is an working charging driver with device-tree support
> for Nexus 7.
>
> At this moment charging works with:
> - Nexus 7 2012 (grouper and tilapia)
> - Nexus 7 2013 (flo and deb)
> - ... and there are more devices equipped with these chargers.
>
> Changelog:
>
> v3: - The uint32 type now isn't specified for standard units in the SMB
> DT binding because standard units already have a type.
> Thanks to Rob Herring for the suggestion!
>
> - The battery binding changes are rebased on top of the new battery.yaml
>
> - The new battery temperature DT properties now have shorter names
> and use <min max> format. Thanks to Rob Herring for the suggestion!
>
> - Added new patch that adds SMB charger node to the new Nexus 7 2012
> device-tree which has been merged into v5.9 kernel.
>
> v2: - Addressed v1 review comments from Rob Herring and Sebastian Reichel
> by moving out common battery properties from the charger node into the
> battery-cell node.
>
> - power_supply_register() of the SMB driver converted to resource-managed
> API variant.
>
> - Improved DT property names of the SMB binding by making them to follow
> the generic power-supply naming scheme (-microvolts at the end, etc).
>
> David Heidelberg (7):
> dt-bindings: power: supply: Add device-tree binding for Summit SMB3xx
> power: supply: smb347-charger: Use resource-managed API
> power: supply: smb347-charger: Implement device-tree support
> power: supply: smb347-charger: Support SMB345 and SMB358
> power: supply: smb347-charger: Remove virtual smb347-battery
> ARM: dts: qcom: apq8064-nexus7: Add SMB345 battery charger
> ARM: tegra: nexus7: Add SMB347 battery charger
>
> Dmitry Osipenko (3):
> dt-bindings: battery: Add temperature properties
> power: supply: Support battery temperature device-tree properties
> power: supply: smb347-charger: Replace mutex with IRQ disable/enable
>
> .../bindings/power/supply/battery.yaml | 24 +
> .../power/supply/summit,smb347-charger.yaml | 152 +++++
> .../boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 24 +
> .../tegra30-asus-nexus7-grouper-common.dtsi | 24 +-
> drivers/power/supply/Kconfig | 6 +-
> drivers/power/supply/power_supply_core.c | 19 +
> drivers/power/supply/smb347-charger.c | 565 +++++++++---------
> .../dt-bindings/power/summit,smb347-charger.h | 19 +
> include/linux/power_supply.h | 6 +
> 9 files changed, 568 insertions(+), 271 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/power/supply/summit,smb347-charger.yaml
> create mode 100644 include/dt-bindings/power/summit,smb347-charger.h
>
> --
> 2.27.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2020-08-26 14:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-13 21:33 [PATCH v3 00/10] Summit SMB3xx driver & device-tree Dmitry Osipenko
2020-08-13 21:34 ` [PATCH v3 01/10] dt-bindings: battery: Add temperature properties Dmitry Osipenko
2020-08-25 2:05 ` Rob Herring
2020-08-13 21:34 ` [PATCH v3 02/10] dt-bindings: power: supply: Add device-tree binding for Summit SMB3xx Dmitry Osipenko
2020-08-25 2:08 ` Rob Herring
2020-08-13 21:34 ` [PATCH v3 03/10] power: supply: Support battery temperature device-tree properties Dmitry Osipenko
2020-08-13 21:34 ` [PATCH v3 04/10] power: supply: smb347-charger: Use resource-managed API Dmitry Osipenko
2020-08-13 21:34 ` [PATCH v3 05/10] power: supply: smb347-charger: Implement device-tree support Dmitry Osipenko
2020-08-13 21:34 ` [PATCH v3 06/10] power: supply: smb347-charger: Support SMB345 and SMB358 Dmitry Osipenko
2020-08-13 21:34 ` [PATCH v3 07/10] power: supply: smb347-charger: Remove virtual smb347-battery Dmitry Osipenko
2020-08-13 21:34 ` [PATCH v3 08/10] power: supply: smb347-charger: Replace mutex with IRQ disable/enable Dmitry Osipenko
2020-08-13 21:34 ` [PATCH v3 09/10] ARM: dts: qcom: apq8064-nexus7: Add SMB345 battery charger Dmitry Osipenko
2020-08-13 21:34 ` [PATCH v3 10/10] ARM: tegra: nexus7: Add SMB347 " Dmitry Osipenko
2020-09-17 10:24 ` Thierry Reding
2020-08-26 14:40 ` Sebastian Reichel [this message]
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=20200826144017.nolqvzu2exchmdn2@earth.universe \
--to=sre@kernel.org \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=bruce.e.robertson@intel.com \
--cc=david@ixit.cz \
--cc=devicetree@vger.kernel.org \
--cc=digetx@gmail.com \
--cc=john.stultz@linaro.org \
--cc=jonathanh@nvidia.com \
--cc=jonghwa3.lee@samsung.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=mika.westerberg@linux.intel.com \
--cc=robh+dt@kernel.org \
--cc=simhavcs@gmail.com \
--cc=thierry.reding@gmail.com \
/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).