From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Sat, 16 Jul 2016 15:30:44 -0500 From: Rob Herring To: Andi Shyti Cc: Mark Rutland , Kukjin Kim , Krzysztof Kozlowski , Mark Brown , Sylwester Nawrocki , Tomasz Figa , Michael Turquette , Stephen Boyd , Chanwoo Choi , Jaehoon Chung , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-spi@vger.kernel.org, Andi Shyti Subject: Re: [PATCH v3 2/7] bindings: spi-samsung: document the clocks and the clock-name property Message-ID: <20160716203044.GA13087@rob-hp-laptop> References: <1468317736-18841-1-git-send-email-andi.shyti@samsung.com> <1468317736-18841-3-git-send-email-andi.shyti@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1468317736-18841-3-git-send-email-andi.shyti@samsung.com> List-ID: On Tue, Jul 12, 2016 at 07:02:11PM +0900, Andi Shyti wrote: > These two properties were not documented but used in the spi > dts. Add the related documentation. > > Suggested-by: Krzysztof Kozlowski > Signed-off-by: Andi Shyti > Reviewed-by: Michael Turquette > Reviewed-by: Krzysztof Kozlowski > --- > Documentation/devicetree/bindings/spi/spi-samsung.txt | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/spi/spi-samsung.txt b/Documentation/devicetree/bindings/spi/spi-samsung.txt > index 57d5539..f45c6eb 100644 > --- a/Documentation/devicetree/bindings/spi/spi-samsung.txt > +++ b/Documentation/devicetree/bindings/spi/spi-samsung.txt > @@ -24,6 +24,15 @@ Required SoC Specific Properties: > - dma-names: Names for the dma channels. There must be at least one channel > named "tx" for transmit and named "rx" for receive. > > +- clocks: specifies the clock IDs provided to the SPI controller; they are > + required for interacting with the controller itself, for synchronizing the bus > + and as I/O clock (the latter is required by exynos5433 and exynos7). > + > +- clock-names: string names of the clocks in the 'clocks' property; for all the > + the devices the names must be "spi", "spi_busclkN" (where N is determined by > + "samsung,spi-src-clk"), while Exynos5433 should specify a third clock This sounds like you are describing the configuration of the clocks, not the connections. The binding here should list clocks for all possible vaules of N as those are all the input clocks to the block. > + "spi_ioclk" for the I/O clock. > + > Required Board Specific Properties: > > - #address-cells: should be 1. > -- > 2.8.1 >