Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753847AbcD2NyH (ORCPT ); Fri, 29 Apr 2016 09:54:07 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:7827 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752670AbcD2NyF (ORCPT ); Fri, 29 Apr 2016 09:54:05 -0400 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Fri, 29 Apr 2016 06:53:21 -0700 From: Jon Hunter To: Stephen Warren , Thierry Reding , Alexandre Courbot , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala CC: , , , Jon Hunter Subject: [PATCH 0/3] bus: Add support for Tegra210 ACONNECT Date: Fri, 29 Apr 2016 14:53:44 +0100 Message-ID: <1461938027-23034-1-git-send-email-jonathanh@nvidia.com> X-Mailer: git-send-email 2.1.4 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1452 Lines: 30 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 (3): dt-bindings: bus: Add documentation for Tegra210 ACONNECT bus: Add support for Tegra ACONNECT arm64: tegra: Add ACONNECT bus node for Tegra210 .../bindings/bus/nvidia,tegra210-aconnect.txt | 45 ++++++++ arch/arm64/boot/dts/nvidia/tegra210.dtsi | 12 +++ drivers/bus/Kconfig | 9 ++ drivers/bus/Makefile | 1 + drivers/bus/tegra-aconnect.c | 113 +++++++++++++++++++++ 5 files changed, 180 insertions(+) create mode 100644 Documentation/devicetree/bindings/bus/nvidia,tegra210-aconnect.txt create mode 100644 drivers/bus/tegra-aconnect.c -- 2.1.4