All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] OMAP2: Nokia N810: prepare tahvo cells for display
@ 2021-12-24 21:39 peter.vasil
  2021-12-24 21:39 ` [PATCH 1/6] dt-bindings: leds: Nokia Tahvo/Betty ASIC LEDPWM controller peter.vasil
  2021-12-24 21:39 ` [PATCH 2/6] dt-bindings: regulator: Nokia Tahvo/Betty ASIC Vcore regulator peter.vasil
  0 siblings, 2 replies; 6+ messages in thread
From: peter.vasil @ 2021-12-24 21:39 UTC (permalink / raw
  To: peter.vasil, linux-omap

Bye, and Merry Christmas everyone :-)
Peter

Peter Vasil (6):
[PATCH 1/6] dt-bindings: leds: Nokia Tahvo/Betty ASIC LEDPWM
[PATCH 2/6] dt-bindings: regulator: Nokia Tahvo/Betty ASIC Vcore
[PATCH 3/6] ARM: dts: omap2420-n810: Add Tahvo/Betty LEDPWM and Vcore
[PATCH 4/6] leds: tahvo: Driver for Tahvo/Betty ASIC LEDPWM output
[PATCH 5/6] regulator: tahvo-vcore: Add basic Tahvo/Betty ASIC Vcore
[PATCH 6/6] mfd: retu: Add support for LEDPWM and Vcore regulator MFD

 Documentation/devicetree/bindings/regulator/nokia,tahvo-vcore-regulator.yaml |  41 +++++++++++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/omap2420-n810.dts                                          |  13 +++++++++++++
 arch/arm/boot/dts/omap2420-n8x0-common.dtsi                                  |   8 +++++++-
 drivers/leds/Kconfig                                                         |  12 ++++++++++++
 drivers/leds/Makefile                                                        |   1 +
 drivers/leds/leds-tahvo.c                                                    |  85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/mfd/retu-mfd.c                                                       |   8 ++++++++
 drivers/regulator/Kconfig                                                    |   8 ++++++++
 drivers/regulator/Makefile                                                   |   1 +
 drivers/regulator/tahvo-vcore-regulator.c                                    | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 280 insertions(+), 1 deletion(-)



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

* [PATCH 1/6] dt-bindings: leds: Nokia Tahvo/Betty ASIC LEDPWM controller
  2021-12-24 21:39 [PATCH 0/6] OMAP2: Nokia N810: prepare tahvo cells for display peter.vasil
@ 2021-12-24 21:39 ` peter.vasil
  2022-02-03  7:07   ` Tony Lindgren
  2021-12-24 21:39 ` [PATCH 2/6] dt-bindings: regulator: Nokia Tahvo/Betty ASIC Vcore regulator peter.vasil
  1 sibling, 1 reply; 6+ messages in thread
From: peter.vasil @ 2021-12-24 21:39 UTC (permalink / raw
  To: peter.vasil, linux-omap

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

One of the functions of Tahvo/Betty ASIC MFD chip is a PWM output able
to drive LED with 127 levels of brightness.
On Nokia N8x0 Internet Tablet devices, this controls the LCD backlight.
---
 .../bindings/leds/nokia,tahvo-ledpwm.yaml     | 32 +++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/nokia,tahvo-ledpwm.yaml

diff --git a/Documentation/devicetree/bindings/leds/nokia,tahvo-ledpwm.yaml b/Documentation/devicetree/bindings/leds/nokia,tahvo-ledpwm.yaml
new file mode 100644
index 000000000000..6f6d9e4a9425
--- /dev/null
+++ b/Documentation/devicetree/bindings/leds/nokia,tahvo-ledpwm.yaml
@@ -0,0 +1,32 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/leds/nokia,tahvo-ledpwm.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Nokia Tahvo/Betty ASIC LEDPWM controller
+
+maintainers:
+  - Peter Vasil <peter.vasil@gmail.com>
+
+description:
+  One of the functions of Tahvo/Betty ASIC MFD chip is a PWM output able to
+  drive LED with 127 levels of brightness.
+  On Nokia N8x0 Internet Tablet devices, this controls the LCD backlight.
+
+properties:
+  compatible:
+    const: nokia,tahvo-ledpwm
+
+additionalProperties: false
+
+examples:
+  - |
+
+    tahvo {
+        tahvo_ledpwm {
+            compatible = "nokia,tahvo-ledpwm";
+        };
+    };
+
+...
-- 
2.25.1


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

* [PATCH 2/6] dt-bindings: regulator: Nokia Tahvo/Betty ASIC Vcore regulator
  2021-12-24 21:39 [PATCH 0/6] OMAP2: Nokia N810: prepare tahvo cells for display peter.vasil
  2021-12-24 21:39 ` [PATCH 1/6] dt-bindings: leds: Nokia Tahvo/Betty ASIC LEDPWM controller peter.vasil
@ 2021-12-24 21:39 ` peter.vasil
  2022-02-03  7:07   ` Tony Lindgren
  1 sibling, 1 reply; 6+ messages in thread
From: peter.vasil @ 2021-12-24 21:39 UTC (permalink / raw
  To: peter.vasil, linux-omap

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

One of the functions of Tahvo/Betty ASIC MFD chip is a voltage regulator for
Vcore output, adjustable from 1.005V to 1.475V. On Nokia N8x0 Internet Tablet
devices, this controls power to the Epson S1D13745 framebuffer IC.
---
 .../nokia,tahvo-vcore-regulator.yaml          | 41 +++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/regulator/nokia,tahvo-vcore-regulator.yaml

diff --git a/Documentation/devicetree/bindings/regulator/nokia,tahvo-vcore-regulator.yaml b/Documentation/devicetree/bindings/regulator/nokia,tahvo-vcore-regulator.yaml
new file mode 100644
index 000000000000..5e1e98c32311
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/nokia,tahvo-vcore-regulator.yaml
@@ -0,0 +1,41 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/regulator/nokia,tahvo-vcore-regulator.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Nokia Tahvo/Betty ASIC Vcore regulator
+
+maintainers:
+  - Peter Vasil <peter.vasil@gmail.com>
+
+description: |
+  One of the functions of Tahvo/Betty ASIC MFD chip is a voltage regulator
+  for Vcore output, adjustable from 1.005V to 1.475V.
+  On Nokia N8x0 Internet Tablet devices, this controls power to the Epson
+  S1D13745 framebuffer IC.
+
+allOf:
+  - $ref: "regulator.yaml#"
+
+properties:
+  compatible:
+    const: nokia,tahvo-vcore-regulator
+
+required:
+  - compatible
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    tahvo {
+        tahvo_vcore {
+            compatible = "nokia,tahvo-vcore-regulator";
+            regulator-name = "tornado_vcore";
+            regulator-min-microvolt = <1500000>;
+            regulator-max-microvolt = <3000000>;
+            regulator-always-on;
+        };
+    };
+...
-- 
2.25.1


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

* Re: [PATCH 1/6] dt-bindings: leds: Nokia Tahvo/Betty ASIC LEDPWM controller
  2021-12-24 21:39 ` [PATCH 1/6] dt-bindings: leds: Nokia Tahvo/Betty ASIC LEDPWM controller peter.vasil
@ 2022-02-03  7:07   ` Tony Lindgren
  2022-02-03  7:11     ` Tony Lindgren
  0 siblings, 1 reply; 6+ messages in thread
From: Tony Lindgren @ 2022-02-03  7:07 UTC (permalink / raw
  To: peter.vasil; +Cc: linux-omap

* peter.vasil@gmail.com <peter.vasil@gmail.com> [211224 21:53]:
> From: Peter Vasil <peter.vasil@gmail.com>
> 
> One of the functions of Tahvo/Betty ASIC MFD chip is a PWM output able
> to drive LED with 127 levels of brightness.
> On Nokia N8x0 Internet Tablet devices, this controls the LCD backlight.

Reviewed-by: Tony Lindgren <tony@atomide.com>

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

* Re: [PATCH 2/6] dt-bindings: regulator: Nokia Tahvo/Betty ASIC Vcore regulator
  2021-12-24 21:39 ` [PATCH 2/6] dt-bindings: regulator: Nokia Tahvo/Betty ASIC Vcore regulator peter.vasil
@ 2022-02-03  7:07   ` Tony Lindgren
  0 siblings, 0 replies; 6+ messages in thread
From: Tony Lindgren @ 2022-02-03  7:07 UTC (permalink / raw
  To: peter.vasil; +Cc: linux-omap

* peter.vasil@gmail.com <peter.vasil@gmail.com> [211224 21:53]:
> From: Peter Vasil <peter.vasil@gmail.com>
> 
> One of the functions of Tahvo/Betty ASIC MFD chip is a voltage regulator for
> Vcore output, adjustable from 1.005V to 1.475V. On Nokia N8x0 Internet Tablet
> devices, this controls power to the Epson S1D13745 framebuffer IC.

Reviewed-by: Tony Lindgren <tony@atomide.com>

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

* Re: [PATCH 1/6] dt-bindings: leds: Nokia Tahvo/Betty ASIC LEDPWM controller
  2022-02-03  7:07   ` Tony Lindgren
@ 2022-02-03  7:11     ` Tony Lindgren
  0 siblings, 0 replies; 6+ messages in thread
From: Tony Lindgren @ 2022-02-03  7:11 UTC (permalink / raw
  To: peter.vasil; +Cc: linux-omap

* Tony Lindgren <tony@atomide.com> [220203 07:07]:
> * peter.vasil@gmail.com <peter.vasil@gmail.com> [211224 21:53]:
> > From: Peter Vasil <peter.vasil@gmail.com>
> > 
> > One of the functions of Tahvo/Betty ASIC MFD chip is a PWM output able
> > to drive LED with 127 levels of brightness.
> > On Nokia N8x0 Internet Tablet devices, this controls the LCD backlight.
> 
> Reviewed-by: Tony Lindgren <tony@atomide.com>

Just noticed that the binding patches should be sent to Rob Herring
and devicetree list for merging. Please take a look at the MAINTAINERS
file for details and resend :)

Regards,

Tony

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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-24 21:39 [PATCH 0/6] OMAP2: Nokia N810: prepare tahvo cells for display peter.vasil
2021-12-24 21:39 ` [PATCH 1/6] dt-bindings: leds: Nokia Tahvo/Betty ASIC LEDPWM controller peter.vasil
2022-02-03  7:07   ` Tony Lindgren
2022-02-03  7:11     ` Tony Lindgren
2021-12-24 21:39 ` [PATCH 2/6] dt-bindings: regulator: Nokia Tahvo/Betty ASIC Vcore regulator peter.vasil
2022-02-03  7:07   ` Tony Lindgren

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.