Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753962AbcD2N4A (ORCPT ); Fri, 29 Apr 2016 09:56:00 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:5863 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753398AbcD2Nz6 (ORCPT ); Fri, 29 Apr 2016 09:55:58 -0400 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Fri, 29 Apr 2016 06:55:31 -0700 Subject: Re: [PATCH 0/3] bus: Add support for Tegra210 ACONNECT To: Stephen Warren , Thierry Reding , Alexandre Courbot , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala References: <1461937604-18481-1-git-send-email-jonathanh@nvidia.com> CC: , , From: Jon Hunter Message-ID: <572367E7.10207@nvidia.com> Date: Fri, 29 Apr 2016 14:55:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <1461937604-18481-1-git-send-email-jonathanh@nvidia.com> X-Originating-IP: [10.26.11.216] X-ClientProxiedBy: UKMAIL102.nvidia.com (10.26.138.15) To UKMAIL101.nvidia.com (10.26.138.13) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1622 Lines: 33 Ignore this, I ballsed it up! On 29/04/16 14:46, Jon Hunter wrote: > Add support for the ACONNECT bus which is part of the audio sub-system > on Tegra210. > > I did look to see if we could use the simple-pm-bus infrastructure for > this, however, in the end I found that it did was not a good fit because > of the way clocks for the bus are handled. The simple-pm-bus is tightly > coupled to the genpd subsystem and is reliant on the power-domain > associated with the bus to have the flag GENPD_FLAG_PM_CLK set and uses > the genpd function pointer, attach_dev(), as a hook to populate the > clocks. For Tegra this does not work because the power-domains are > instantiated from device-tree rather than platform code. In this case > for Tegra it is simpler to keep the clock management of devices within > the power-domain separated from the power-domain itself. > > Jon Hunter (2): > dt-bindings: bus: Add documentation for Tegra210 ACONNECT > bus: Add support for Tegra ACONNECT > > Shardar Shariff Md (1): > dmaengine: tegra-apb: proper default init of channel slave_id > > .../bindings/bus/nvidia,tegra210-aconnect.txt | 45 ++++++++ > drivers/bus/Kconfig | 9 ++ > drivers/bus/Makefile | 1 + > drivers/bus/tegra-aconnect.c | 113 +++++++++++++++++++++ > drivers/dma/tegra20-apb-dma.c | 16 ++- > 5 files changed, 182 insertions(+), 2 deletions(-) > create mode 100644 Documentation/devicetree/bindings/bus/nvidia,tegra210-aconnect.txt > create mode 100644 drivers/bus/tegra-aconnect.c