From: Chanwoo Choi <cw00.choi@samsung.com>
To: Tomasz Figa <t.figa@samsung.com>
Cc: kgene.kim@samsung.com, linux-samsung-soc@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, kyungmin.park@samsung.com,
rob.herring@calxeda.com, pawel.moll@arm.com,
mark.rutland@arm.com, swarren@wwwdotorg.org,
ijc+devicetree@hellion.org.uk, linux@arm.linux.org.uk
Subject: Re: [PATCH 1/5] ARM: dts: exynos4x12: Add ADC's dt data to read raw data
Date: Wed, 12 Mar 2014 12:31:55 +0900 [thread overview]
Message-ID: <531FD52B.8040007@samsung.com> (raw)
In-Reply-To: <531EFF7F.9010405@samsung.com>
Hi Tomasz,
On 03/11/2014 09:20 PM, Tomasz Figa wrote:
> Hi Chanwoo,
>
> On 11.03.2014 08:54, Chanwoo Choi wrote:
>> This patch add ADC(Analog to Digital Converter)'s dt data to get raw data
>> with IIO subsystem. Usually, ADC is used to check temperature, jack type, and
>> so on.
>>
>
> 8< ---
>
>> Register map
>> - <0x126C0000 0x100> : ADC register's base address
>> - <0x10020718 0x4> : ADC_PHY_CONTROL, TS-ADC control register address
>>
>> Clock
>> - <&clock 326> : ADC clock (clock name :'tsadc')
>>
>> Interrupt
>> - INTG10[3] : ADC for General ADC
>
> --- >8
>
> I don't think there is a need to include such data in commit message. A commit message should say what is done and why it's done (and sometimes how it's done, in case of some complex code being added) and I guess that's all.
OK, I'll remove it on patch description.
>
>>
>> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
>> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
>> ---
>> arch/arm/boot/dts/exynos4x12.dtsi | 12 ++++++++++++
>> 1 file changed, 12 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/boot/dts/exynos4x12.dtsi
>> index 5c412aa..5a3e551 100644
>> --- a/arch/arm/boot/dts/exynos4x12.dtsi
>> +++ b/arch/arm/boot/dts/exynos4x12.dtsi
>> @@ -80,6 +80,18 @@
>> };
>> };
>>
>> + adc: adc@126C0000 {
>> + compatible = "samsung,exynos-adc-v1";
>> + reg = <0x126C0000 0x100>, <0x10020718 0x4>;
>> + interrupt-parent = <&combiner>;
>> + interrupts = <10 3>;
>> + clocks = <&clock 326>;
>
> Please use clock macros instead of numbers, as introduced by Andrzej Hajda's patches merged to Kgene's tree.
>
OK, I'll modify it.
Thanks,
Chanwoo Choi
WARNING: multiple messages have this Message-ID (diff)
From: cw00.choi@samsung.com (Chanwoo Choi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/5] ARM: dts: exynos4x12: Add ADC's dt data to read raw data
Date: Wed, 12 Mar 2014 12:31:55 +0900 [thread overview]
Message-ID: <531FD52B.8040007@samsung.com> (raw)
In-Reply-To: <531EFF7F.9010405@samsung.com>
Hi Tomasz,
On 03/11/2014 09:20 PM, Tomasz Figa wrote:
> Hi Chanwoo,
>
> On 11.03.2014 08:54, Chanwoo Choi wrote:
>> This patch add ADC(Analog to Digital Converter)'s dt data to get raw data
>> with IIO subsystem. Usually, ADC is used to check temperature, jack type, and
>> so on.
>>
>
> 8< ---
>
>> Register map
>> - <0x126C0000 0x100> : ADC register's base address
>> - <0x10020718 0x4> : ADC_PHY_CONTROL, TS-ADC control register address
>>
>> Clock
>> - <&clock 326> : ADC clock (clock name :'tsadc')
>>
>> Interrupt
>> - INTG10[3] : ADC for General ADC
>
> --- >8
>
> I don't think there is a need to include such data in commit message. A commit message should say what is done and why it's done (and sometimes how it's done, in case of some complex code being added) and I guess that's all.
OK, I'll remove it on patch description.
>
>>
>> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
>> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
>> ---
>> arch/arm/boot/dts/exynos4x12.dtsi | 12 ++++++++++++
>> 1 file changed, 12 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/boot/dts/exynos4x12.dtsi
>> index 5c412aa..5a3e551 100644
>> --- a/arch/arm/boot/dts/exynos4x12.dtsi
>> +++ b/arch/arm/boot/dts/exynos4x12.dtsi
>> @@ -80,6 +80,18 @@
>> };
>> };
>>
>> + adc: adc at 126C0000 {
>> + compatible = "samsung,exynos-adc-v1";
>> + reg = <0x126C0000 0x100>, <0x10020718 0x4>;
>> + interrupt-parent = <&combiner>;
>> + interrupts = <10 3>;
>> + clocks = <&clock 326>;
>
> Please use clock macros instead of numbers, as introduced by Andrzej Hajda's patches merged to Kgene's tree.
>
OK, I'll modify it.
Thanks,
Chanwoo Choi
next prev parent reply other threads:[~2014-03-12 3:31 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-11 7:54 [PATCH 0/5] ARM: dts: exynos: Add missing dt data to bring kernel of Exynos4x12 Chanwoo Choi
2014-03-11 7:54 ` Chanwoo Choi
2014-03-11 7:54 ` Chanwoo Choi
2014-03-11 7:54 ` [PATCH 1/5] ARM: dts: exynos4x12: Add ADC's dt data to read raw data Chanwoo Choi
2014-03-11 7:54 ` Chanwoo Choi
2014-03-11 7:54 ` Chanwoo Choi
2014-03-11 12:20 ` Tomasz Figa
2014-03-11 12:20 ` Tomasz Figa
2014-03-12 3:31 ` Chanwoo Choi [this message]
2014-03-12 3:31 ` Chanwoo Choi
2014-03-11 7:54 ` [PATCH 2/5] ARM: dts: exynos4x12: Add PMU dt data to support PMU(Perforamnce Monitoring Unit) Chanwoo Choi
2014-03-11 7:54 ` Chanwoo Choi
2014-03-11 12:21 ` Tomasz Figa
2014-03-11 12:21 ` Tomasz Figa
[not found] ` <1394524494-30641-1-git-send-email-cw00.choi-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-03-11 7:54 ` [PATCH 3/5] ARM: dts: exynos4x12: Add GPS_ALIVE power domain Chanwoo Choi
2014-03-11 7:54 ` Chanwoo Choi
2014-03-11 7:54 ` Chanwoo Choi
2014-03-11 12:28 ` Tomasz Figa
2014-03-11 12:28 ` Tomasz Figa
2014-03-12 3:27 ` Chanwoo Choi
2014-03-12 3:27 ` Chanwoo Choi
2014-03-11 7:54 ` [PATCH 5/5] ARM: dts: exynos4412-trats2: Add ADC's dt data to get temperature of SoC/battery Chanwoo Choi
2014-03-11 7:54 ` Chanwoo Choi
2014-03-11 7:54 ` Chanwoo Choi
2014-03-11 13:09 ` Tomasz Figa
2014-03-11 13:09 ` Tomasz Figa
[not found] ` <531F0AEC.7010606-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-03-12 6:01 ` Chanwoo Choi
2014-03-12 6:01 ` Chanwoo Choi
2014-03-12 6:01 ` Chanwoo Choi
2014-03-11 7:54 ` [PATCH 4/5] ARM: dts: exynos: Move common dt data for interrupt combiner controller Chanwoo Choi
2014-03-11 7:54 ` Chanwoo Choi
2014-03-11 12:33 ` Tomasz Figa
2014-03-11 12:33 ` Tomasz Figa
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=531FD52B.8040007@samsung.com \
--to=cw00.choi@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=kgene.kim@samsung.com \
--cc=kyungmin.park@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=rob.herring@calxeda.com \
--cc=swarren@wwwdotorg.org \
--cc=t.figa@samsung.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.