From: Pankaj Dubey <pankaj.dubey@samsung.com>
To: Vikas Sajjan <sajjan.linux@gmail.com>
Cc: "linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
linux-kernel@vger.kernel.org,
linux-samsung-soc <linux-samsung-soc@vger.kernel.org>,
devicetree@vger.kernel.org, mark.rutland@arm.com,
Kukjin Kim <kgene.kim@samsung.com>,
linux@arm.linux.org.uk, pawel.moll@arm.com,
ijc+devicetree@hellion.org.uk, Rob Herring <robh+dt@kernel.org>,
galak@codeaurora.org, chow.kim@samsung.com,
Tomasz Figa <t.figa@samsung.com>,
Tomasz Figa <tomasz.figa@gmail.com>,
sunil joshi <joshi@samsung.com>
Subject: Re: [PATCH 1/3] ARM: dts: Add PMU reg node to exynos4210
Date: Thu, 24 Apr 2014 21:57:33 +0900 [thread overview]
Message-ID: <53590A3D.1020308@samsung.com> (raw)
In-Reply-To: <CAGm_ybjfxprtLUX6Vs8QVvXoMOaHez4-Og8a9n3UevibvmzbZA@mail.gmail.com>
Hi Vikas,
On 04/24/2014 08:59 PM, Vikas Sajjan wrote:
> +Tomasz
>
>
> On Wed, Apr 2, 2014 at 1:32 PM, Pankaj Dubey <pankaj.dubey@samsung.com> wrote:
>> This patch adds pmu regnode to exynos4210 dtsi to handle
>> PMU register access via DT.
>>
>> Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
>> ---
>> arch/arm/boot/dts/exynos4210.dtsi | 5 +++++
>> 1 file changed, 5 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi
>> index cacf614..0a2c0fe 100644
>> --- a/arch/arm/boot/dts/exynos4210.dtsi
>> +++ b/arch/arm/boot/dts/exynos4210.dtsi
>> @@ -81,6 +81,11 @@
>> interrupts = <2 2>, <3 2>;
>> };
>>
>> + pmu_system_controller: system-controller@10020000 {
>> + compatible = "samsung,exynos4210-pmu", "syscon";
>> + reg = <0x10020000 0x5000>;
> Can we have 2 strings as "compatible" and these 2 strings are used by
> 2 different driver?
>
> Because once syscon driver gets probed, exynos-pmu.c [1] driver will
> never be probed.
>
> The new PMU driver [1] completely relies on this. With just
> exynos_defconfig, you will not notice this issue, since syscon is NOT
> enabled by exynos_defconfig. When I enabled "System Controller
> Register R/W Based on Regmap" in menuconfig, I could see PMU driver
> [1] is NEVER probed.
>
> Let me know, if I am missing something.
>
> [1] http://www.spinics.net/lists/arm-kernel/msg319750.html
You are correct. We also missed this because "SYSCON" option was
not enabled in exynos_defconfig.
I noticed this during preparation of V2 when I planned to use
"early_syscon_init" [1] as suggested by Sylwester here [2].
In V2 I will take care of this. I hope soon I will be able to post second
version of this series, just waiting for testing and internal code review.
[1] https://lkml.org/lkml/2014/4/8/239
[2] https://lkml.org/lkml/2014/4/2/171
>
>
>> + };
>> +
>> pinctrl_0: pinctrl@11400000 {
>> compatible = "samsung,exynos4210-pinctrl";
>> reg = <0x11400000 0x1000>;
>> --
>> 1.7.10.4
>>
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
--
Best Regards,
Pankaj Dubey
next prev parent reply other threads:[~2014-04-24 12:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-02 8:02 [PATCH 0/3] Add PMU node for Exynos4210, Exynos4412, Exynos4212 Pankaj Dubey
2014-04-02 8:02 ` [PATCH 1/3] ARM: dts: Add PMU reg node to exynos4210 Pankaj Dubey
[not found] ` <1396425778-4379-2-git-send-email-pankaj.dubey-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-24 11:59 ` Vikas Sajjan
2014-04-24 12:57 ` Pankaj Dubey [this message]
[not found] ` <53590A3D.1020308-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-24 13:26 ` Vikas Sajjan
2014-04-02 8:02 ` [PATCH 2/3] ARM: dts: Add PMU reg node to exynos4212 and exynos4412 Pankaj Dubey
[not found] ` <1396425778-4379-1-git-send-email-pankaj.dubey-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-02 8:02 ` [PATCH 3/3] Documentation: update samsung pmu binding information for Exynos4210/4212/4412 Pankaj Dubey
2014-04-25 11:54 ` [PATCH v2 0/5] Add PMU node for Exynos SoCs Pankaj Dubey
2014-04-25 11:54 ` [PATCH v2 1/5] ARM: dts: Add syscon handle in pmu node for exynos5250 Pankaj Dubey
[not found] ` <1398426857-5097-2-git-send-email-pankaj.dubey-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-04-25 20:55 ` Tomasz Figa
2014-04-28 11:22 ` Pankaj Dubey
2014-04-25 11:54 ` [PATCH v2 2/5] ARM: dts: Add PMU node to exynos4210 Pankaj Dubey
2014-04-25 11:54 ` [PATCH v2 3/5] ARM: dts: Add PMU node to exynos4212 and exynos4412 Pankaj Dubey
2014-04-25 11:54 ` [PATCH v2 4/5] arm: dts: Add syscon handle in pmu node for exynos5420 Pankaj Dubey
2014-04-25 11:54 ` [PATCH v2 5/5] Documentation: update samsung pmu binding information Pankaj Dubey
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=53590A3D.1020308@samsung.com \
--to=pankaj.dubey@samsung.com \
--cc=chow.kim@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=joshi@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=sajjan.linux@gmail.com \
--cc=t.figa@samsung.com \
--cc=tomasz.figa@gmail.com \
/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