Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1663400

Re: [PATCH] ARM: OMAP: PM: stop early on systems without twl

From Tony Lindgren <tony@atomide.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ARM: OMAP: PM: stop early on systems without twl
Date 2017-06-12 12:30 +0200
Message-ID <tRuLD-Ua-1@gated-at.bofh.it> (permalink)
References <tQAJs-7ia-27@gated-at.bofh.it> <tRsgN-7H6-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Tony Lindgren <tony@atomide.com> [170612 00:43]:
> * Sebastian Reichel <sre@kernel.org> [170609 15:36]:
> > Motorola Droid 4 has an OMAP4, but no TWL6030. It currently
> > complains verbosely about this during 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
> > 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 1410000 Vs max 1316660
> > omap2_set_init_voltage: unable to find boot up OPP for vdd_core
> > omap2_set_init_voltage: unable to set vdd_core
> > omap2_set_init_voltage: unable to find boot up OPP for vdd_iva
> > omap2_set_init_voltage: unable to set vdd_iva
> > 
> > While proper support for CPCAP should be added at some point,
> > let's exit early in omap2_common_pm_late_init() until that
> > has been implemented to avoid the above errors. There is still
> > a reminder about missing PM in dmesg:
> > 
> > Missing OMAP4 PM for this platform!
> 
> Great good to see this dmesg spam go away. Applying into
> omap-for-v4.13/soc-v3 thanks.

After running make randconfig builds over lunch I noticed
we can now get "undefined reference to `twl_rev'" so we
need something more here if CONFIG_TWL4030_CORE or
CONFIG_TWL6040_CORE is not selected or is a loadable module.

Maybe making the whole function depend on the following
might work:

#if IS_BUILTIN(CONFIG_TWL6040_CORE) || \
	IS_BUILTIN(CONFIG_TWL4030_CORE)
...
#endif

Anyways dropping for now.

Regards,

Tony

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] ARM: OMAP: PM: stop early on systems without twl Sebastian Reichel <sre@kernel.org> - 2017-06-10 00:40 +0200
  Re: [PATCH] ARM: OMAP: PM: stop early on systems without twl Tony Lindgren <tony@atomide.com> - 2017-06-12 09:50 +0200
    Re: [PATCH] ARM: OMAP: PM: stop early on systems without twl Tony Lindgren <tony@atomide.com> - 2017-06-12 12:30 +0200
      [PATCHv2] ARM: OMAP: PM: stop early on systems without twl Sebastian Reichel <sre@kernel.org> - 2017-06-13 11:50 +0200
        Re: [PATCHv2] ARM: OMAP: PM: stop early on systems without twl Tony Lindgren <tony@atomide.com> - 2017-06-14 07:50 +0200

csiph-web