2015-07-03 08:15:22

by Alban

[permalink] [raw]
Subject: [PATCH] DEVICETREE: Misc fix for the AR7100 SPI controller binding

Fix the clocks property documentation and use lower case for
hex values in the example.

Signed-off-by: Alban Bedel <[email protected]>
---
Documentation/devicetree/bindings/spi/spi-ath79.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/spi/spi-ath79.txt b/Documentation/devicetree/bindings/spi/spi-ath79.txt
index f1ad9c3..9c696fa 100644
--- a/Documentation/devicetree/bindings/spi/spi-ath79.txt
+++ b/Documentation/devicetree/bindings/spi/spi-ath79.txt
@@ -3,7 +3,7 @@ Binding for Qualcomm Atheros AR7xxx/AR9xxx SPI controller
Required properties:
- compatible: has to be "qca,<soc-type>-spi", "qca,ar7100-spi" as fallback.
- reg: Base address and size of the controllers memory area
-- clocks: phandle to the AHB clock.
+- clocks: phandle of the AHB clock.
- clock-names: has to be "ahb".
- #address-cells: <1>, as required by generic SPI binding.
- #size-cells: <0>, also as required by generic SPI binding.
@@ -12,9 +12,9 @@ Child nodes as per the generic SPI binding.

Example:

- spi@1F000000 {
+ spi@1f000000 {
compatible = "qca,ar9132-spi", "qca,ar7100-spi";
- reg = <0x1F000000 0x10>;
+ reg = <0x1f000000 0x10>;

clocks = <&pll 2>;
clock-names = "ahb";
--
2.0.0


2015-07-28 15:56:44

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH] DEVICETREE: Misc fix for the AR7100 SPI controller binding

On Fri, Jul 3, 2015 at 3:14 AM, Alban Bedel <[email protected]> wrote:
> Fix the clocks property documentation and use lower case for
> hex values in the example.
>
> Signed-off-by: Alban Bedel <[email protected]>

Applied. Thanks.

Rob

> ---
> Documentation/devicetree/bindings/spi/spi-ath79.txt | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/spi/spi-ath79.txt b/Documentation/devicetree/bindings/spi/spi-ath79.txt
> index f1ad9c3..9c696fa 100644
> --- a/Documentation/devicetree/bindings/spi/spi-ath79.txt
> +++ b/Documentation/devicetree/bindings/spi/spi-ath79.txt
> @@ -3,7 +3,7 @@ Binding for Qualcomm Atheros AR7xxx/AR9xxx SPI controller
> Required properties:
> - compatible: has to be "qca,<soc-type>-spi", "qca,ar7100-spi" as fallback.
> - reg: Base address and size of the controllers memory area
> -- clocks: phandle to the AHB clock.
> +- clocks: phandle of the AHB clock.
> - clock-names: has to be "ahb".
> - #address-cells: <1>, as required by generic SPI binding.
> - #size-cells: <0>, also as required by generic SPI binding.
> @@ -12,9 +12,9 @@ Child nodes as per the generic SPI binding.
>
> Example:
>
> - spi@1F000000 {
> + spi@1f000000 {
> compatible = "qca,ar9132-spi", "qca,ar7100-spi";
> - reg = <0x1F000000 0x10>;
> + reg = <0x1f000000 0x10>;
>
> clocks = <&pll 2>;
> clock-names = "ahb";
> --
> 2.0.0
>