From: Maxime Ripard <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
To: Timo Sigurdsson <public_timo.s-fWgRPtSzPNU3WX+qO2AYSQ@public.gmane.org>
Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
pawel.moll-5wv7dgnIgG8@public.gmane.org,
mark.rutland-5wv7dgnIgG8@public.gmane.org,
ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org,
galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
wens-jdAy2FN1RRM@public.gmane.org
Subject: Re: [RFC] ARM: dts: sunxi: Add regulators and board-specific operating points for LeMaker BananaPi
Date: Tue, 28 Jul 2015 14:55:00 +0200 [thread overview]
Message-ID: <20150728125500.GB2564@lukather> (raw)
In-Reply-To: <20150728090209.1D7BC6C80542-RzmsueL7+k6AvxNu/8lEInnhMCiq3JZZ@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 3436 bytes --]
On Tue, Jul 28, 2015 at 11:02:09AM +0200, Timo Sigurdsson wrote:
> Hi,
>
> Hans de Goede schrieb am 27.07.2015 14:43:
> >>> I've a simular patch here:
> >>>
> >>> https://github.com/jwrdegoede/linux-sunxi/commit/6a30b7d5be6012b81e5e1439a444e41c0ac1afc1
> >>>
> >>> I did not submit this upstream yet as it is part of a series to enable the
> >>> otg
> >>> controller on the bananapi which needs axp-usb-power-supply support for which
> >>> the actual powersupply driver changes are still pending.
> >> Oops, I see. Are you planning to submit this for 4.3 or later?
> >
> > I plan to submit this for 4.3.
>
> Ok, then I guess we can drop my patch.
Please don't.
> >>> IMHO we should just stick with the standard operating points unless we know
> >>> that there are stability issues with them (such as e.g. on the A10 OlinuxIno
> >>> Lime).
> >> I'd be fine with that as I don't have any stability issues with the lower
> >> voltages. What about the 1008MHz operating point that I "reintroduced"? It was
> >> dropped here [1] because there was no regulator support.
> >
> > That is in essence an overclocked setting, the max CPU voltage officially is
> > 1.4V, I do not think that we should provide any overclocked settings in the
> > official dts files. If people really want to overclock they will have to
> > modify there dts themselves IMHO.
>
> Personally, I would be fine with that. Even though I think, it might
> be good to have them in the official files just for convenience and
> because people who are used to the sunxi-3.4 kernels are used to
> having the 1008MHz opp (and it was in mainline for a short while,
> too).
It was used in mainline, and reverted because it was not stable
enough.
There's a lot of things we do differently in mainline, it's one of
them. If someone can provide an OPP for 1008MHz that is stable for all
the boards and within the operating limits of the SoC, I'd be totally
fine with that, but we didn't find it so far.
> For those who don't want to use that setting, it's easier to
> limit the maximum in userspace compared to compiling a new device
> tree blob.
Except that the kernel should not rely on the userspace to be stable
and harmless for the hardware. It should just work reliably by itself.
> But I do understand your point, so I guess it's just something that
> maintainers have to make a decision for. As I said, either way is
> fine for me.
>
> > > Can this be reenabled
> >> on board level (which means overriding the defaults inherited from
> >> sun7i-a20.dtsi) or should this be done at SOC level for all boards (which
> >> means we have to add regulator nodes for all boards in the first place)?
> >
> > Technically this is possible, but I do not think that it is a good idea.
>
> I guess the same applies here, too. It's something maintainers should have a
> common understanding on. I don't know how much variation there is among the
> A20 boards in terms of frequencies and voltages.
If you look at the FEX file, a lot. But most of them are just
variations of the same OPP.
I value much more a set of OPPs that has been tested on a wide range
of device, that we know are working reliably on all of them, over a
FEX file providing a set of OPPs that for some of them have never even
been tested before because the 3.4 kernel simply ignored them.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-07-28 12:55 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-27 1:28 [RFC] ARM: dts: sunxi: Add regulators and board-specific operating points for LeMaker BananaPi Timo Sigurdsson
[not found] ` <1437960486-2809-1-git-send-email-public_timo.s-fWgRPtSzPNU3WX+qO2AYSQ@public.gmane.org>
2015-07-27 8:07 ` Hans de Goede
[not found] ` <55B5E6DB.8020009-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-07-27 12:09 ` [linux-sunxi] " public_timo.s-fWgRPtSzPNU3WX+qO2AYSQ
[not found] ` <20150727120918.191F76C82FB4-RzmsueL7+k6AvxNu/8lEInnhMCiq3JZZ@public.gmane.org>
2015-07-27 12:43 ` Hans de Goede
[not found] ` <55B62768.6040403-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-07-28 9:02 ` Timo Sigurdsson
[not found] ` <20150728090209.1D7BC6C80542-RzmsueL7+k6AvxNu/8lEInnhMCiq3JZZ@public.gmane.org>
2015-07-28 12:55 ` Maxime Ripard [this message]
2015-07-28 14:57 ` Timo Sigurdsson
2015-07-28 12:49 ` [linux-sunxi] " Maxime Ripard
2015-07-28 14:24 ` Hans de Goede
[not found] ` <55B790BA.5000509-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-07-28 15:09 ` Timo Sigurdsson
[not found] ` <20150728150929.233B56C80391-RzmsueL7+k6AvxNu/8lEInnhMCiq3JZZ@public.gmane.org>
2015-07-28 15:29 ` [linux-sunxi] " Hans de Goede
[not found] ` <55B79FCA.7070907-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-08-02 22:00 ` Timo Sigurdsson
2015-07-28 14:45 ` Timo Sigurdsson
2015-07-27 12:36 ` public_timo.s-fWgRPtSzPNU3WX+qO2AYSQ
[not found] ` <20150727123653.36C046C8007E-RzmsueL7+k6AvxNu/8lEInnhMCiq3JZZ@public.gmane.org>
2015-07-27 12:54 ` [linux-sunxi] " Hans de Goede
[not found] ` <55B62A1B.6030601-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-07-27 13:14 ` Chen-Yu Tsai
[not found] ` <CAGb2v65ApKvrj6K+kw43u=0q6=auTsmQjCXhibgZkW+vd5nDqA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-28 9:02 ` Timo Sigurdsson
[not found] ` <20150728090216.892076C80D94-RzmsueL7+k6AvxNu/8lEInnhMCiq3JZZ@public.gmane.org>
2015-07-28 12:55 ` Maxime Ripard
2015-07-28 15:01 ` Timo Sigurdsson
2015-07-28 23:02 ` Stefan Monnier
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=20150728125500.GB2564@lukather \
--to=maxime.ripard-wi1+55scjutkeb57/3fjtnbpr1lh4cv8@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
--cc=linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
--cc=public_timo.s-fWgRPtSzPNU3WX+qO2AYSQ@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=wens-jdAy2FN1RRM@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).