Message ID | 1373290193-25300-3-git-send-email-richard.genoud@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Jul 08, 2013 at 03:29:50PM +0200, Richard Genoud wrote: > Signed-off-by: Richard Genoud <richard.genoud@gmail.com> > --- > arch/arm/boot/dts/at91sam9x5.dtsi | 3 +++ There was no binding document in your first patch - there should be one for any new DT bindings.
2013/7/8 Mark Brown <broonie@kernel.org>: > On Mon, Jul 08, 2013 at 03:29:50PM +0200, Richard Genoud wrote: >> Signed-off-by: Richard Genoud <richard.genoud@gmail.com> >> --- >> arch/arm/boot/dts/at91sam9x5.dtsi | 3 +++ > > There was no binding document in your first patch - there should be one > for any new DT bindings. The dma binding is documented here Documentation/devicetree/bindings/dma/atmel-dma.txt But you're right, I shoud update Documentation/devicetree/bindings/misc/atmel-ssc.txt. Thanks
On Tue, Jul 09, 2013 at 10:27:53AM +0200, Richard Genoud wrote: > The dma binding is documented here > Documentation/devicetree/bindings/dma/atmel-dma.txt > But you're right, I shoud update > Documentation/devicetree/bindings/misc/atmel-ssc.txt. No, you need to write a binding for this machine driver - the DMA and SSC need to be documented as well but so too does the audio driver that pulls them together with the CODEC.
2013/7/9 Mark Brown <broonie@kernel.org>: > On Tue, Jul 09, 2013 at 10:27:53AM +0200, Richard Genoud wrote: > >> The dma binding is documented here >> Documentation/devicetree/bindings/dma/atmel-dma.txt >> But you're right, I shoud update >> Documentation/devicetree/bindings/misc/atmel-ssc.txt. > > No, you need to write a binding for this machine driver - the DMA and > SSC need to be documented as well but so too does the audio driver that > pulls them together with the CODEC. Ok, I understand ! Richard.
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index 57d45f5..cf78ac0 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b/arch/arm/boot/dts/at91sam9x5.dtsi @@ -542,6 +542,9 @@ compatible = "atmel,at91sam9g45-ssc"; reg = <0xf0010000 0x4000>; interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>; + dmas = <&dma0 1 AT91_DMA_CFG_PER_ID(13)>, + <&dma0 1 AT91_DMA_CFG_PER_ID(14)>; + dma-names = "tx", "rx"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; status = "disabled";
Signed-off-by: Richard Genoud <richard.genoud@gmail.com> --- arch/arm/boot/dts/at91sam9x5.dtsi | 3 +++ 1 file changed, 3 insertions(+)