All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/6] ARM: dts: omap2420-n810: Add Tahvo/Betty LEDPWM and Vcore bindings
@ 2021-12-24 21:56 peter.vasil
  2021-12-24 21:56 ` [PATCH 4/6] leds: tahvo: Driver for Tahvo/Betty ASIC LEDPWM output peter.vasil
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: peter.vasil @ 2021-12-24 21:56 UTC (permalink / raw)
  To: linux-omap; +Cc: peter.vasil

From: Peter Vasil <peter.vasil@gmail.com>

Nokia Tahvo/Betty ASIC provides PWM output for LED control and voltage
regulator for adjustable Vcore output.
These are both used on N8x0 devices for display control; LEDPWM for
backlight and Vcore for framebuffer IC power.
---
 arch/arm/boot/dts/omap2420-n810.dts         | 13 +++++++++++++
 arch/arm/boot/dts/omap2420-n8x0-common.dtsi |  8 +++++++-
 2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/omap2420-n810.dts b/arch/arm/boot/dts/omap2420-n810.dts
index 09c1dbc0bb69..30f9f9e1a377 100644
--- a/arch/arm/boot/dts/omap2420-n810.dts
+++ b/arch/arm/boot/dts/omap2420-n810.dts
@@ -22,6 +22,19 @@ v28_aic: v28_aic {
 	};
 };
 
+&tahvo {
+	tahvo_ledpwm: tahvo_ledpwm {
+		compatible = "nokia,tahvo-ledpwm";
+	};
+	tahvo_vcore: tahvo_vcore {
+		compatible = "nokia,tahvo-vcore-regulator";
+		regulator-name = "tornado_vcore";
+		regulator-min-microvolt = <1005000>;
+		regulator-max-microvolt = <1475000>;
+		regulator-always-on;
+	};
+};
+
 &omap2420_pmx {
 	mcbsp2_pins: mcbsp2_pins {
 		pinctrl-single,pins = <
diff --git a/arch/arm/boot/dts/omap2420-n8x0-common.dtsi b/arch/arm/boot/dts/omap2420-n8x0-common.dtsi
index 63b0b4921e4e..88d44f5a5f63 100644
--- a/arch/arm/boot/dts/omap2420-n8x0-common.dtsi
+++ b/arch/arm/boot/dts/omap2420-n8x0-common.dtsi
@@ -22,9 +22,15 @@ &gpio3 0 GPIO_ACTIVE_HIGH /* gpio64 sel */
 			#size-cells = <0>;
 			retu: retu@1 {
 				compatible = "nokia,retu";
+				reg = <0x1>;
 				interrupt-parent = <&gpio4>;
 				interrupts = <12 IRQ_TYPE_EDGE_RISING>;
-				reg = <0x1>;
+			};
+			tahvo: tahvo@2 {
+				compatible = "nokia,tahvo";
+				reg = <0x2>;
+				interrupt-parent = <&gpio4>;
+				interrupts = <15 IRQ_TYPE_EDGE_RISING>;
 			};
 		};
 	};
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-02-03  7:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-24 21:56 [PATCH 3/6] ARM: dts: omap2420-n810: Add Tahvo/Betty LEDPWM and Vcore bindings peter.vasil
2021-12-24 21:56 ` [PATCH 4/6] leds: tahvo: Driver for Tahvo/Betty ASIC LEDPWM output peter.vasil
2022-02-03  7:13   ` Tony Lindgren
2021-12-24 21:56 ` [PATCH 5/6] regulator: tahvo-vcore: Add basic Tahvo/Betty ASIC Vcore output support peter.vasil
2021-12-24 21:56 ` [PATCH 6/6] mfd: retu: Add support for LEDPWM and Vcore regulator MFD cells peter.vasil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.