All of lore.kernel.org
 help / color / mirror / Atom feed
From: peter.vasil@gmail.com
To: linux-omap@vger.kernel.org
Cc: peter.vasil@gmail.com
Subject: [PATCH 3/6] ARM: dts: omap2420-n810: Add Tahvo/Betty LEDPWM and Vcore bindings
Date: Fri, 24 Dec 2021 22:56:32 +0100	[thread overview]
Message-ID: <20211224215635.1585808-3-peter.vasil@gmail.com> (raw)

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


             reply	other threads:[~2021-12-24 21:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-24 21:56 peter.vasil [this message]
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

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=20211224215635.1585808-3-peter.vasil@gmail.com \
    --to=peter.vasil@gmail.com \
    --cc=linux-omap@vger.kernel.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 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.