* [PATCH 1/2] arm: boot: dts: am437x-idk: fix TPS62362 i2c bus
@ 2015-02-19 18:03 Felipe Balbi
2015-02-19 18:03 ` [PATCH 2/2] arm: configs: omap2plus_defconfig: enable TPS62362 regulator Felipe Balbi
2015-02-24 18:02 ` [PATCH 1/2] arm: boot: dts: am437x-idk: fix TPS62362 i2c bus Tony Lindgren
0 siblings, 2 replies; 3+ messages in thread
From: Felipe Balbi @ 2015-02-19 18:03 UTC (permalink / raw)
To: Tony Lindgren
Cc: Linux OMAP Mailing List, Linux ARM Kernel Mailing List,
Felipe Balbi
As it turns out, tps62362 is actually on I2C bus0,
not bus1. This has gone unnoticed because Linux
doesn't use (as of now) that regulator at all, it's
setup by the bootloader and left as is.
While at that, also add missing reg property for
our regulator.
Signed-off-by: Felipe Balbi <balbi@ti.com>
---
arch/arm/boot/dts/am437x-idk-evm.dts | 23 +----------------------
1 file changed, 1 insertion(+), 22 deletions(-)
diff --git a/arch/arm/boot/dts/am437x-idk-evm.dts b/arch/arm/boot/dts/am437x-idk-evm.dts
index f9a17e2ca8cb..2471f1ebd4ed 100644
--- a/arch/arm/boot/dts/am437x-idk-evm.dts
+++ b/arch/arm/boot/dts/am437x-idk-evm.dts
@@ -133,20 +133,6 @@
>;
};
- i2c1_pins_default: i2c1_pins_default {
- pinctrl-single,pins = <
- 0x15c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2) /* spi0_cs0.i2c1_scl */
- 0x158 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2) /* spi0_d1.i2c1_sda */
- >;
- };
-
- i2c1_pins_sleep: i2c1_pins_sleep {
- pinctrl-single,pins = <
- 0x15c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* spi0_cs0.i2c1_scl */
- 0x158 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* spi0_d1.i2c1_sda */
- >;
- };
-
mmc1_pins_default: pinmux_mmc1_pins_default {
pinctrl-single,pins = <
0x100 (PIN_INPUT | MUX_MODE0) /* mmc0_clk.mmc0_clk */
@@ -262,17 +248,10 @@
pagesize = <64>;
reg = <0x50>;
};
-};
-
-&i2c1 {
- status = "okay";
- pinctrl-names = "default", "sleep";
- pinctrl-0 = <&i2c1_pins_default>;
- pinctrl-1 = <&i2c1_pins_default>;
- clock-frequency = <400000>;
tps: tps62362@60 {
compatible = "ti,tps62362";
+ reg = <0x60>;
regulator-name = "VDD_MPU";
regulator-min-microvolt = <950000>;
regulator-max-microvolt = <1330000>;
--
2.3.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH 2/2] arm: configs: omap2plus_defconfig: enable TPS62362 regulator
2015-02-19 18:03 [PATCH 1/2] arm: boot: dts: am437x-idk: fix TPS62362 i2c bus Felipe Balbi
@ 2015-02-19 18:03 ` Felipe Balbi
2015-02-24 18:02 ` [PATCH 1/2] arm: boot: dts: am437x-idk: fix TPS62362 i2c bus Tony Lindgren
1 sibling, 0 replies; 3+ messages in thread
From: Felipe Balbi @ 2015-02-19 18:03 UTC (permalink / raw)
To: Tony Lindgren
Cc: Linux OMAP Mailing List, Linux ARM Kernel Mailing List,
Felipe Balbi
This regulator is used on AM437x Industrial Development Kit.
Signed-off-by: Felipe Balbi <balbi@ti.com>
---
arch/arm/configs/omap2plus_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index b7386524c356..8ff1a988c0f4 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -248,6 +248,7 @@ CONFIG_TWL6040_CORE=y
CONFIG_REGULATOR_PALMAS=y
CONFIG_REGULATOR_PBIAS=y
CONFIG_REGULATOR_TI_ABB=y
+CONFIG_REGULATOR_TPS62360=m
CONFIG_REGULATOR_TPS65023=y
CONFIG_REGULATOR_TPS6507X=y
CONFIG_REGULATOR_TPS65217=y
--
2.3.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] arm: boot: dts: am437x-idk: fix TPS62362 i2c bus
2015-02-19 18:03 [PATCH 1/2] arm: boot: dts: am437x-idk: fix TPS62362 i2c bus Felipe Balbi
2015-02-19 18:03 ` [PATCH 2/2] arm: configs: omap2plus_defconfig: enable TPS62362 regulator Felipe Balbi
@ 2015-02-24 18:02 ` Tony Lindgren
1 sibling, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2015-02-24 18:02 UTC (permalink / raw)
To: Felipe Balbi; +Cc: Linux OMAP Mailing List, Linux ARM Kernel Mailing List
* Felipe Balbi <balbi@ti.com> [150219 10:08]:
> As it turns out, tps62362 is actually on I2C bus0,
> not bus1. This has gone unnoticed because Linux
> doesn't use (as of now) that regulator at all, it's
> setup by the bootloader and left as is.
>
> While at that, also add missing reg property for
> our regulator.
Applying both into omap-for-v4.0/fixes thanks.
Tony
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-24 18:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-19 18:03 [PATCH 1/2] arm: boot: dts: am437x-idk: fix TPS62362 i2c bus Felipe Balbi
2015-02-19 18:03 ` [PATCH 2/2] arm: configs: omap2plus_defconfig: enable TPS62362 regulator Felipe Balbi
2015-02-24 18:02 ` [PATCH 1/2] arm: boot: dts: am437x-idk: fix TPS62362 i2c bus Tony Lindgren
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).