devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Lifshitz <lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
To: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Igor Grinberg <grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>,
	Nikita Kiryanov <nikita-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	Nishanth Menon <nm-l0cyMroinI0@public.gmane.org>
Subject: Re: [PATCH v2 01/18] ARM: am57xx: cl-som-am57x: dts: add basic module support
Date: Tue, 01 Dec 2015 18:24:44 +0200	[thread overview]
Message-ID: <565DC9CC.1070000@compulab.co.il> (raw)
In-Reply-To: <20151130215415.GE23396-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>

Hi Tony,

On 11/30/2015 11:54 PM, Tony Lindgren wrote:
> * Dmitry Lifshitz <lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org> [151130 06:27]:
>> +++ b/arch/arm/boot/dts/am57xx-cl-som-am57x.dts
>> +		tps659038_pmic {
>> +			compatible = "ti,tps659038-pmic";
>> +
>> +			regulators {
>> +				smps12_reg: smps12 {
>> +					/* VDD_MPU */
>> +					regulator-name = "smps12";
>> +					regulator-min-microvolt = < 850000>;
>> +					regulator-max-microvolt = <1250000>;
>> +					regulator-always-on;
>> +					regulator-boot-on;
>> +				};
>> +
>> +				smps3_reg: smps3 {
>> +					/* VDD_DDR */
>> +					regulator-name = "smps3";
>> +					regulator-min-microvolt = <1500000>;
>> +					regulator-max-microvolt = <1500000>;
>> +					regulator-always-on;
>> +					regulator-boot-on;
>> +				};
>> +
>> +				smps45_reg: smps45 {
>> +					/* VDD_DSPEVE */
>> +					regulator-name = "smps45";
>> +					regulator-min-microvolt = < 850000>;
>> +					regulator-max-microvolt = <1250000>;
>> +					regulator-always-on;
>> +					regulator-boot-on;
>> +				};
>> +
>> +				smps6_reg: smps6 {
>> +					/* VDD_GPU */
>> +					regulator-name = "smps6";
>> +					regulator-min-microvolt = < 850000>;
>> +					regulator-max-microvolt = <1250000>;
>> +					regulator-always-on;
>> +					regulator-boot-on;
>> +				};
>> +
>> +				smps7_reg: smps7 {
>> +					/* VDD_CORE */
>> +					regulator-name = "smps7";
>> +					regulator-min-microvolt = < 850000>;
>> +					regulator-max-microvolt = <1160000>;
>> +					regulator-always-on;
>> +					regulator-boot-on;
>> +				};
>> +
>> +				smps8_reg: smps8 {
>> +					/* VDD_IVA */
>> +					regulator-name = "smps8";
>> +					regulator-min-microvolt = < 850000>;
>> +					regulator-max-microvolt = <1250000>;
>> +					regulator-always-on;
>> +					regulator-boot-on;
>> +				};
>> +
>> +				smps9_reg: smps9 {
>> +					/* PMIC_3V3 */
>> +					regulator-name = "smps9";
>> +					regulator-min-microvolt = <3300000>;
>> +					regulator-max-microvolt = <3300000>;
>> +					regulator-always-on;
>> +					regulator-boot-on;
>> +				};
>> +
>> +
>> +				ldo1_reg: ldo1 {
>> +					/* VDD_SD / VDDSHV8  */
>> +					regulator-name = "ldo1";
>> +					regulator-min-microvolt = <1800000>;
>> +					regulator-max-microvolt = <3300000>;
>> +					regulator-boot-on;
>> +					regulator-always-on;
>> +				};
>> +
>> +				ldo2_reg: ldo2 {
>> +					/* VDD_1V8 */
>> +					regulator-name = "ldo2";
>> +					regulator-min-microvolt = <1800000>;
>> +					regulator-max-microvolt = <1800000>;
>> +					regulator-always-on;
>> +					regulator-boot-on;
>> +				};
>> +
>> +				ldo3_reg: ldo3 {
>> +					/* VDDA_1V8_PHYA - supplies VDDA_SATA, VDDA_USB1/2/3 */
>> +					regulator-name = "ldo3";
>> +					regulator-min-microvolt = <1800000>;
>> +					regulator-max-microvolt = <1800000>;
>> +					regulator-always-on;
>> +					regulator-boot-on;
>> +				};
>> +
>> +				ldo4_reg: ldo4 {
>> +					/* VDDA_1V8_PHYB - supplies VDDA_HDMI, VDDA_PCIE/0/1 */
>> +					regulator-name = "ldo4";
>> +					regulator-min-microvolt = <1800000>;
>> +					regulator-max-microvolt = <1800000>;
>> +					regulator-always-on;
>> +					regulator-boot-on;
>> +				};
>> +
>> +				ldo9_reg: ldo9 {
>> +					/* VDD_RTC */
>> +					regulator-name = "ldo9";
>> +					regulator-min-microvolt = <1050000>;
>> +					regulator-max-microvolt = <1050000>;
>> +					regulator-always-on;
>> +					regulator-boot-on;
>> +				};
>> +
>> +				ldoln_reg: ldoln {
>> +					/* VDDA_1V8_PLL */
>> +					regulator-name = "ldoln";
>> +					regulator-min-microvolt = <1800000>;
>> +					regulator-max-microvolt = <1800000>;
>> +					regulator-always-on;
>> +					regulator-boot-on;
>> +				};
>> +
>> +				ldousb_reg: ldousb {
>> +					/* VDDA_3V_USB: VDDA_USBHS33 */
>> +					regulator-name = "ldousb";
>> +					regulator-min-microvolt = <3300000>;
>> +					regulator-max-microvolt = <3300000>;
>> +					regulator-always-on;
>> +					regulator-boot-on;
>> +				};
>> +
>> +				/* regen1 not used */
>> +			};
>> +		};
>
> Can you please put these into dra7-tps659038-common.dtsi so we don't have
> multiple copies of it? Then make other boards include that..

It might looks the same set of regulators for multiple boards,
but it is not. Each board may apply its own regulators usage scheme, and 
this is our case (as compared to am57xx-beagle-x15.dts).

For the best of my knowledge, it used to be in a common *.dtsi file (at 
least in early OMAP5 DT support in TI kernel tree), but then I found 
that PMIC registration had been moved to the boards DT files.

> That allows to set them up as real controllable regulators instead of all
> this silly "regulator-always-on" stuff that has been going on since omap4 :)
>
> Regards,
>
> Tony
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Regards,

Dmitry
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2015-12-01 16:24 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-25  6:39 [PATCH 00/18] Add support for CL-SOM-AM57X and SBC-AM57X Dmitry Lifshitz
     [not found] ` <1448433590-1399-1-git-send-email-lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-25  6:39   ` [PATCH 01/18] ARM: am57xx: cl-som-am57x: dts: add basic module support Dmitry Lifshitz
     [not found]     ` <1448433590-1399-2-git-send-email-lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-25 20:05       ` Rob Herring
2015-11-25 21:36       ` Nishanth Menon
     [not found]         ` <565629D2.2010401-l0cyMroinI0@public.gmane.org>
2015-11-29 12:10           ` Dmitry Lifshitz
     [not found]             ` <565AEB19.4050107-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-29 17:06               ` Nishanth Menon
     [not found]                 ` <565B307E.2000203-l0cyMroinI0@public.gmane.org>
2015-11-30 13:29                   ` Dmitry Lifshitz
     [not found]                     ` <565C4F54.50405-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-30 13:36                       ` Nishanth Menon
2015-11-30 13:36                       ` Nishanth Menon
2015-11-30 15:55               ` Rob Herring
2015-11-30 14:25       ` [PATCH v2 " Dmitry Lifshitz
     [not found]         ` <1448893551-676-1-git-send-email-lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-30 21:54           ` Tony Lindgren
     [not found]             ` <20151130215415.GE23396-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-12-01 16:24               ` Dmitry Lifshitz [this message]
     [not found]                 ` <565DC9CC.1070000-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-12-01 16:43                   ` Tony Lindgren
     [not found]                     ` <20151201164317.GS23396-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-12-01 16:47                       ` Nishanth Menon
     [not found]                         ` <565DCF34.8070001-l0cyMroinI0@public.gmane.org>
2015-12-01 17:03                           ` Tony Lindgren
2015-11-25  6:39   ` [PATCH 02/18] ARM: am57xx: cl-som-am57x: dts: add RTC support Dmitry Lifshitz
     [not found]     ` <1448433590-1399-3-git-send-email-lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-30 21:50       ` Tony Lindgren
2015-11-25  6:39   ` [PATCH 03/18] ARM: am57xx: cl-som-am57x: dts: add I2C3 support Dmitry Lifshitz
2015-11-25  6:39   ` [PATCH 04/18] ARM: am57xx: cl-som-am57x: dts: add EEPROM support Dmitry Lifshitz
     [not found]     ` <1448433590-1399-5-git-send-email-lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-30 14:23       ` Igor Grinberg
2015-11-30 14:33       ` [PATCH v2 " Dmitry Lifshitz
     [not found]         ` <1448894037-1337-1-git-send-email-lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-30 14:44           ` Igor Grinberg
2015-11-25  6:39   ` [PATCH 05/18] ARM: am57xx: cl-som-am57x: dts: add eMMC support Dmitry Lifshitz
2015-11-25  6:39   ` [PATCH 06/18] ARM: am57xx: cl-som-am57x: dts: add spi-flash support Dmitry Lifshitz
     [not found]     ` <1448433590-1399-7-git-send-email-lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-30 14:26       ` [PATCH v2 " Dmitry Lifshitz
2015-11-25  6:39   ` [PATCH 07/18] ARM: am57xx: cl-som-am57x: dts: add dual EMAC support Dmitry Lifshitz
2015-11-25  6:39   ` [PATCH 08/18] ARM: am57xx: cl-som-am57x: dts: add USB support Dmitry Lifshitz
2015-11-25  6:39   ` [PATCH 09/18] ARM: am57xx: cl-som-am57x: dts: add touchscreen support Dmitry Lifshitz
2015-11-25  6:39   ` [PATCH 10/18] ARM: am57xx: cl-som-am57x: dts: add analog audio support Dmitry Lifshitz
2015-11-25  6:39   ` [PATCH 11/18] ARM: am57xx: sbc-am57x: dts: add basic board support Dmitry Lifshitz
     [not found]     ` <1448433590-1399-12-git-send-email-lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-25 20:05       ` Rob Herring
2015-11-25  6:39   ` [PATCH 12/18] ARM: am57xx: cl-som-am57x: dts: add MMC1 support Dmitry Lifshitz
     [not found]     ` <1448433590-1399-13-git-send-email-lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-30 14:28       ` [PATCH v2 " Dmitry Lifshitz
2015-11-25  6:39   ` [PATCH 13/18] ARM: am57xx: sbc-am57x: dts: add usb vbus pinmux Dmitry Lifshitz
2015-11-25  6:39   ` [PATCH 14/18] ARM: am57xx: sbc-am57x: dts: add EEPROM support Dmitry Lifshitz
2015-11-25  6:39   ` [PATCH 15/18] ARM: am57xx: sbc-am57x: dts: add GPIO extender support Dmitry Lifshitz
     [not found]     ` <1448433590-1399-16-git-send-email-lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-25 21:41       ` Nishanth Menon
2015-11-30 14:28       ` [PATCH v2 15/18] ARM: am57xx: sbc-am57x: dts: add GPIO expander support Dmitry Lifshitz
2015-11-25  6:39   ` [PATCH 16/18] ARM: am57xx: sbc-am57x: dts: add LCD support Dmitry Lifshitz
2015-11-25  6:39   ` [PATCH 17/18] ARM: am57xx: compulab-sb-som: dts: add HDMI connector Dmitry Lifshitz
2015-11-25  6:39   ` [PATCH 18/18] ARM: am57xx: sbc-am57x: dts: add HDMI support Dmitry Lifshitz
2015-11-30 14:27   ` [PATCH v2 07/18] ARM: am57xx: cl-som-am57x: dts: add dual EMAC support Dmitry Lifshitz
2015-12-01 18:03   ` [PATCH V2 00/19] Add support for CL-SOM-AM57X and SBC-AM57X Dmitry Lifshitz
     [not found]     ` <1448993001-19495-1-git-send-email-lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-12-01 18:03       ` [PATCH V3 01/19] ARM: dts: am57xx: cl-som-am57x: add basic module support Dmitry Lifshitz
     [not found]         ` <1448993001-19495-2-git-send-email-lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-12-02 15:23           ` Rob Herring
2015-12-03 16:20             ` Tony Lindgren
2015-12-01 18:03       ` [PATCH V2 02/19] ARM: dts: am57xx: cl-som-am57x: dts: add RTC support Dmitry Lifshitz
2015-12-01 18:03       ` [PATCH V2 03/19] ARM: dts: am57xx: cl-som-am57x: add I2C3 support Dmitry Lifshitz
2015-12-01 18:03       ` [PATCH V3 04/19] ARM: dts: am57xx: cl-som-am57x: add EEPROM support Dmitry Lifshitz
2015-12-01 18:03       ` [PATCH V2 05/19] ARM: dts: am57xx: cl-som-am57x: add eMMC support Dmitry Lifshitz
2015-12-01 18:03       ` [PATCH V3 06/19] ARM: dts: am57xx: cl-som-am57x: add spi-flash support Dmitry Lifshitz
2015-12-01 18:03       ` [PATCH V3 07/19] ARM: dts: am57xx: cl-som-am57x: add dual EMAC support Dmitry Lifshitz
2015-12-01 18:03       ` [PATCH V2 08/19] ARM: dts: am57xx: cl-som-am57x: add USB support Dmitry Lifshitz
2015-12-01 18:03       ` [PATCH V2 09/19] ARM: dts: am57xx: cl-som-am57x: add touchscreen support Dmitry Lifshitz
2015-12-01 18:03       ` [PATCH V2 10/19] ARM: dts: am57xx: cl-som-am57x: add analog audio support Dmitry Lifshitz
2015-12-01 18:03       ` [PATCH V2 11/19] ARM: dts: am57xx: sbc-am57x: add basic board support Dmitry Lifshitz
     [not found]         ` <1448993001-19495-12-git-send-email-lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-12-02 15:17           ` Rob Herring
2015-12-01 18:03       ` [PATCH V3 12/19] ARM: dts: am57xx: cl-som-am57x: add MMC1 support Dmitry Lifshitz
2015-12-01 18:03       ` [PATCH V2 13/19] ARM: dts: am57xx: sbc-am57x: add usb vbus pinmux Dmitry Lifshitz
2015-12-01 18:03       ` [PATCH V2 14/19] ARM: dts: am57xx: sbc-am57x: add EEPROM support Dmitry Lifshitz
2015-12-01 18:03       ` [PATCH V3 15/19] ARM: dts: am57xx: sbc-am57x: add GPIO expander support Dmitry Lifshitz
2015-12-01 18:03       ` [PATCH V2 16/19] ARM: dts: am57xx: sbc-am57x: add LCD support Dmitry Lifshitz
2015-12-01 18:03       ` [PATCH V2 17/19] ARM: dts: am57xx: compulab-sb-som: add HDMI connector Dmitry Lifshitz
2015-12-01 18:03       ` [PATCH V2 18/19] ARM: dts: am57xx: sbc-am57x: add HDMI support Dmitry Lifshitz
2015-12-01 18:03       ` [PATCH 19/19] ARM: dts: am57xx: cl-som-am57x: skip resetting ETH PHYs Dmitry Lifshitz

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=565DC9CC.1070000@compulab.co.il \
    --to=lifshitz-utxizqzc01rs1mouv/rt9w@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org \
    --cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=nikita-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org \
    --cc=nm-l0cyMroinI0@public.gmane.org \
    --cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.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).