From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757422AbbJILwQ (ORCPT ); Fri, 9 Oct 2015 07:52:16 -0400 Received: from bhuna.collabora.co.uk ([93.93.135.160]:33703 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751406AbbJILwO convert rfc822-to-8bit (ORCPT ); Fri, 9 Oct 2015 07:52:14 -0400 Message-ID: <1444391528.9895.274.camel@collabora.co.uk> Subject: Re: [PATCH v4 1/8] ASoC: dt-bindings: add rockchip tranceiver bindings From: Sjoerd Simons To: Rob Herring Cc: linux-rockchip@lists.infradead.org, Jaroslav Kysela , "devicetree@vger.kernel.org" , Linux-ALSA , Heiko Stuebner , Mark Brown , "linux-kernel@vger.kernel.org" , Kumar Gala , Ian Campbell , Takashi Iwai , Liam Girdwood , Pawel Moll , Mark Rutland , Russell King , "linux-arm-kernel@lists.infradead.org" Date: Fri, 09 Oct 2015 13:52:08 +0200 In-Reply-To: References: <1444311079-2892-1-git-send-email-sjoerd.simons@collabora.co.uk> <1444311079-2892-2-git-send-email-sjoerd.simons@collabora.co.uk> Organization: Collabora Ltd. Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Evolution 3.16.5-1 Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey Rob, On Thu, 2015-10-08 at 11:50 -0500, Rob Herring wrote: > On Thu, Oct 8, 2015 at 8:31 AM, Sjoerd Simons > wrote: > > Add devicetree bindings for the spdif tranceiver found on > > found on rk3066, rk3188 and rk3288 SoCs > > > > Signed-off-by: Sjoerd Simons > > > > --- > > > > Changes in v4: > > - Require rockchip,grf on RK3288 as the 8 channel solution has to > > be > > selected on that SoC > > - Make the compatibility string one of a known list rather then > > requiring a precise list of options. > > - Change the clock names to hclk and mclk instead of spdif_hclk and > > spdif_mclk to better match the implementation and data sheets. > > > > Changes in v3: None > > Changes in v2: None > > > > .../devicetree/bindings/sound/rockchip-spdif.txt | 44 > > ++++++++++++++++++++++ > > 1 file changed, 44 insertions(+) > > create mode 100644 > > Documentation/devicetree/bindings/sound/rockchip-spdif.txt > > > > diff --git a/Documentation/devicetree/bindings/sound/rockchip > > -spdif.txt b/Documentation/devicetree/bindings/sound/rockchip > > -spdif.txt > > new file mode 100644 > > index 0000000..33dd82c > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/sound/rockchip-spdif.txt > > @@ -0,0 +1,44 @@ > > +* Rockchip SPDIF transceiver > > + > > +The S/PDIF audio block is a stereo transceiver that allows the > > +processor to receive and transmit digital audio via an coaxial > > cable or > > +a fibre cable. > > + > > +Required properties: > > + > > +- compatible: should be one of the following: > > + - "rockchip,rk3288-spdif", "rockchip,rk3188-spdif" or > > + "rockchip,rk3066-spdif" > > +- reg: physical base address of the controller and length of > > memory mapped > > + region. > > +- interrupts: should contain the SPDIF interrupt. > > > +- #address-cells: should be 1. > > +- #size-cells: should be 0. > > Why do you need these? Are you going to have sub nodes? Oh good spot, it looks like I indeed don't need this. (for reference, this came from the rockchip i2s' drivers device-tree documentation and i mindlessly left it in). Thanks!, -- Sjoerd Simons Collabora Ltd.