From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Rutland Subject: [PATCH 3/7] Documentation: devicetree: fix up pl022 clocks Date: Tue, 11 Feb 2014 11:37:08 +0000 Message-ID: <1392118632-11312-4-git-send-email-mark.rutland@arm.com> References: <1392118632-11312-1-git-send-email-mark.rutland@arm.com> Return-path: In-Reply-To: <1392118632-11312-1-git-send-email-mark.rutland-5wv7dgnIgG8@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, pawel.moll-5wv7dgnIgG8@public.gmane.org, Mark Rutland , Mark Brown , Linus Walleij , Arnd Bergmann List-Id: devicetree@vger.kernel.org Currently the pl022 driver expects clocks, and dts provide them, yet the binding does not mention clocks at all. This patch adds a description of the clocks, "apb_pclk" (as required by the primecell binding) and "sspclk" for the pl022 itself. The "sspclk" name was chosen to match the official documentation, as currently a variety of names are used in its place; it is expected that any operating system supporting these can continue to do so in the absence of an "sspclk" entry. Signed-off-by: Mark Rutland Cc: Mark Brown Cc: Linus Walleij Cc: Arnd Bergmann Cc: Rob Herring Cc: Pawel Moll --- Documentation/devicetree/bindings/spi/spi_pl022.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/spi_pl022.txt b/Documentation/devicetree/bindings/spi/spi_pl022.txt index 22ed679..326e8e2 100644 --- a/Documentation/devicetree/bindings/spi/spi_pl022.txt +++ b/Documentation/devicetree/bindings/spi/spi_pl022.txt @@ -21,6 +21,8 @@ Optional properties: - dma-names: Names for the dma channels, if present. There must be at least one channel named "tx" for transmit and named "rx" for receive. +- clocks: phandle + clock-specifiers, one for each entry in clock-names. +- clock-names: should contain "apb_pclk" and "sspclk". SPI slave nodes must be children of the SPI master node and can -- 1.8.1.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html