mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
To: Kukjin Kim <kgene.kim@samsung.com>
Cc: Doug Anderson <dianders@chromium.org>,
	Olof Johansson <olof@lixom.net>,
	Yuvaraj Kumar C D <yuvaraj.cd@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	linux-samsung-soc@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Subject: [PATCH 0/6] tps65090 DTS refactoring and improvements
Date: Tue, 12 Aug 2014 18:44:22 +0200	[thread overview]
Message-ID: <1407861868-20097-1-git-send-email-javier.martinez@collabora.co.uk> (raw)

This series does a refactoring by creating dtsi files for the
tps65090 PMU that can be included by DT board files that have
this component. This not only allow to remove duplicated code
but also makes it easier to maintain the tps65090 information.

So the series also improve the tps65090 description by adding
regulator constraints information and also the power scheme
for some boards that are using a simplistic model for the
connection between the regulators in the tps65090.

The refactoring was made after Doug Anderson suggestion on a
previous patch that just attempted to add the constraints to
the Peach machines DTS [0].

Patch 01/06 creates a .dtsi fragment for the tps65090 and patch
02/06 removes the duplicated definitions from the Exynos Snow
board. Patch 03/06 creates a fragment that is more specific for
the tps65090 usage in Chrome OS machines and patch 04/06 uses it
for Peach boards. Patch 05/06 model the real regulators relation
instead of the simplistic model that was used before and finally
patch 06/06 adds the tps65090 regulators constraints according to
the data manual.

NOTES: The NVIDIA Tegra114 Dalmore evaluation board also uses this
PMU and can be converted to use the .dtsi but I didn't include in
this series to avoid unnecessary cross subsystem churn. Once this
is included I can post as a follow-up patch.

Maybe the Snow can also use the cros-tps65090.dtsi instead of just
the tps65090.dtsi but someone with the schematics for this board
has to double check and can be done in a follow-up patch as well.

Javier Martinez Canillas (6):
  ARM: dts: Create fragment for tps65090 PMU
  ARM: dts: Use tps65090 fragment in exynos5250-snow
  ARM: dts: Create cros-tps65090 fragment
  ARM: dts: Use cros-tps65090 fragment in Peach boards
  ARM: dts: Improve cros-tps65090 power scheme
  ARM: dts: Add tps65090 FETs constraints

 arch/arm/boot/dts/cros-tps65090.dtsi       |  81 ++++++++++++++++++++++
 arch/arm/boot/dts/exynos5250-snow.dts      | 108 ++++++++++++++---------------
 arch/arm/boot/dts/exynos5420-peach-pit.dts |  95 ++++++-------------------
 arch/arm/boot/dts/exynos5800-peach-pi.dts  |  94 ++++++-------------------
 arch/arm/boot/dts/tps65090.dtsi            |  75 ++++++++++++++++++++
 5 files changed, 251 insertions(+), 202 deletions(-)
 create mode 100644 arch/arm/boot/dts/cros-tps65090.dtsi
 create mode 100644 arch/arm/boot/dts/tps65090.dtsi

Best regards,
Javier

[0]: https://lkml.org/lkml/2014/8/11/202

             reply	other threads:[~2014-08-12 16:45 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-12 16:44 Javier Martinez Canillas [this message]
2014-08-12 16:44 ` [PATCH 1/6] ARM: dts: Create fragment for tps65090 PMU Javier Martinez Canillas
2014-08-12 16:58   ` Mark Brown
2014-08-12 17:21     ` Javier Martinez Canillas
2014-08-12 17:33       ` Mark Brown
2014-08-13 16:12   ` Stephen Warren
2014-08-12 16:44 ` [PATCH 2/6] ARM: dts: Use tps65090 fragment in exynos5250-snow Javier Martinez Canillas
2014-08-12 16:44 ` [PATCH 3/6] ARM: dts: Create cros-tps65090 fragment Javier Martinez Canillas
2014-08-12 17:26   ` Doug Anderson
2014-08-12 18:58     ` Javier Martinez Canillas
2014-08-12 16:44 ` [PATCH 4/6] ARM: dts: Use cros-tps65090 fragment in Peach boards Javier Martinez Canillas
2014-08-12 16:44 ` [PATCH 5/6] ARM: dts: Improve cros-tps65090 power scheme Javier Martinez Canillas
2014-08-12 16:44 ` [PATCH 6/6] ARM: dts: Add tps65090 FETs constraints Javier Martinez Canillas
2014-08-12 17:25   ` Mark Brown
2014-08-12 18:49     ` Javier Martinez Canillas
2014-08-12 21:27       ` Mark Brown
2014-08-13 11:31         ` Javier Martinez Canillas
2014-08-13 12:29           ` Mark Brown
2014-08-13 13:34             ` Javier Martinez Canillas
2014-08-13 15:51               ` Mark Brown
2014-08-13 16:58                 ` Javier Martinez Canillas
2014-08-13 16:16   ` Stephen Warren
2014-08-13 17:01     ` Javier Martinez Canillas

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=1407861868-20097-1-git-send-email-javier.martinez@collabora.co.uk \
    --to=javier.martinez@collabora.co.uk \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dianders@chromium.org \
    --cc=kgene.kim@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=yuvaraj.cd@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

all inboxes | Powered by JetHome®