Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1234370 > unrolled thread
| Started by | Eric Anholt <eric@anholt.net> |
|---|---|
| First post | 2015-09-28 21:30 +0200 |
| Last post | 2015-09-28 21:50 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 3/3] ARM: bcm2835: Add the auxiliary clocks to the device tree. Eric Anholt <eric@anholt.net> - 2015-09-28 21:30 +0200
Re: [PATCH 3/3] ARM: bcm2835: Add the auxiliary clocks to the device tree. Stephen Warren <swarren@wwwdotorg.org> - 2015-09-28 21:50 +0200
| From | Eric Anholt <eric@anholt.net> |
|---|---|
| Date | 2015-09-28 21:30 +0200 |
| Subject | Re: [PATCH 3/3] ARM: bcm2835: Add the auxiliary clocks to the device tree. |
| Message-ID | <qdMhA-gH-33@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Stephen Warren <swarren@wwwdotorg.org> writes:
> On 09/10/2015 03:22 PM, Eric Anholt wrote:
>> These will be used for enabling UART1, SPI1, and SPI2.
>
>> diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi
>
>> + aux_clocks: aux-clocks@0x7e215004 {
>> + compatible = "brcm,bcm2835-aux-clock";
>> + #clock-cells = <1>;
>> + reg = <0x7e215004 0x4>;
>
> Actually, I take back the ack on this patch. This HW module has two
> registers. The reg property should include both of those registers so
> that if SW needs to start using the other register at some time in the
> future, the entire set of registers is already represented in DT.
If I changed it to "reg = <0x7e215000 0x8>" and use a #define for the
clock register offset in patch 2/3, would I then have your ack?
[toc] | [next] | [standalone]
| From | Stephen Warren <swarren@wwwdotorg.org> |
|---|---|
| Date | 2015-09-28 21:50 +0200 |
| Subject | Re: [PATCH 3/3] ARM: bcm2835: Add the auxiliary clocks to the device tree. |
| Message-ID | <qdMAW-Dy-23@gated-at.bofh.it> |
| In reply to | #1234370 |
On 09/28/2015 01:26 PM, Eric Anholt wrote:
> Stephen Warren <swarren@wwwdotorg.org> writes:
>
>> On 09/10/2015 03:22 PM, Eric Anholt wrote:
>>> These will be used for enabling UART1, SPI1, and SPI2.
>>
>>> diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi
>>
>>> + aux_clocks: aux-clocks@0x7e215004 {
>>> + compatible = "brcm,bcm2835-aux-clock";
>>> + #clock-cells = <1>;
>>> + reg = <0x7e215004 0x4>;
>>
>> Actually, I take back the ack on this patch. This HW module has two
>> registers. The reg property should include both of those registers so
>> that if SW needs to start using the other register at some time in the
>> future, the entire set of registers is already represented in DT.
>
> If I changed it to "reg = <0x7e215000 0x8>" and use a #define for the
> clock register offset in patch 2/3, would I then have your ack?
I suspect the compatible should then be "brcm,bcm2835-aux" (or similar)
since the node would represent the entire aux module, not just the clock
gate feature of the module (assuming there are other features in the aux
module besides just the clock gate).
With the reg change and the compatible change if appropriate, you can
have my ack,
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web