Re: [RFC PATCH v2 1/4] regulator: Add helper function to get "poweroff-source" property

From: Heiko Stübner
Date: Fri Oct 10 2014 - 08:33:48 EST


Hi Grant,

Am Freitag, 10. Oktober 2014, 12:47:08 schrieb Grant Likely:
> What I'm more concerned about is the semantics of the property. What
> do the generic code paths gain by standardizing this property? Is it
> expected that
[seems to be missing some text in the original mail]

We currently see an influx of system-power-controller variants. While in the
past it only was
ti,system-power-controller

there is now already
maxim,system-power-controller
rockchip,system-power-controller

Romain's work would introduce "active-semi,system-power-controller", I have a
"netronix,system-power-controller" sitting in some distant tree and there may
be more already waiting somewhere.

So in the worst case I'd think you could expect such a property for every
pmic-vendor in vendor-prefixes.txt ... as it seems to be a quite common use-
case these days to have the pmic handle system power on its own.


Heiko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/