]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: OMAP2+: Remove bogus warnings for machines without twl PMIC
authorTony Lindgren <tony@atomide.com>
Wed, 16 Oct 2019 14:37:05 +0000 (07:37 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 16 Oct 2019 14:51:15 +0000 (07:51 -0700)
commitccd369455a2369779ee38cbb709719cce8409974
tree33020dff3f6d3af3b72ac6154a89535f3777c4f4
parentdfc065aa896330ce1c13db7ab223b34e94de2f1d
ARM: OMAP2+: Remove bogus warnings for machines without twl PMIC

In general we want to see a quiet dmesg output with no errors or warnings
unless something is really wrong and needs attention. We currently see
these bogus warnings on boot:

twl: not initialized
twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for 1375000 Vs max 1316660
twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for 1375000 Vs max 1316660
twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for 1375000 Vs max 1316660
twl6030_uv_to_vsel:OUT OF RANGE! non mapped vsel for 1375000 Vs max 1316660
...

Let's avoid these by checking if a device tree node for cpcap PMIC exists.

Cc: Merlijn Wajer <merlijn@wizzup.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Sebastian Reichel <sre@kernel.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_twl.c