[PATCH v5 4/5] ARM: EXYNOS: Add platform driver support for Exynos PMU
t.figa at samsung.com
Tue Jul 8 07:14:59 PDT 2014
On 05.07.2014 09:09, Pankaj Dubey wrote:
> On Monday, June 30, 2014 Tomasz Figa wrote:
>> On 25.06.2014 16:03, Pankaj Dubey wrote:
>>> + if (pmu_context->pmu_data && pmu_context->pmu_data->pmu_init)
>> In what conditions pmu_data will be NULL?
> What if we want driver to be probed but no data has been given?
> If driver gets probed it still can act as syscon provider, and other IPs can
> PMU registers, but PMU functionality itself will not be available, for same
> I have put a check for pmu_data in powerdown_conf also.
Is there any point in probing this driver just to register the syscon?
AFAIK if this driver errors out, the syscon platform driver will take
over and do what we want. That's why we have the second "syscon"
More information about the linux-arm-kernel