* [PATCH 0/3] bus: Add support for Tegra210 ACONNECT
@ 2016-04-29 13:46 ` Jon Hunter
0 siblings, 0 replies; 6+ messages in thread
From: Jon Hunter @ 2016-04-29 13:46 UTC (permalink / raw)
To: Stephen Warren, Thierry Reding, Alexandre Courbot, Rob Herring,
Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA, Jon Hunter
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
--
2.1.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 0/3] bus: Add support for Tegra210 ACONNECT
@ 2016-04-29 13:46 ` Jon Hunter
0 siblings, 0 replies; 6+ messages in thread
From: Jon Hunter @ 2016-04-29 13:46 UTC (permalink / raw)
To: Stephen Warren, Thierry Reding, Alexandre Courbot, Rob Herring,
Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala
Cc: linux-tegra, linux-kernel, devicetree, Jon Hunter
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
--
2.1.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/3] bus: Add support for Tegra210 ACONNECT
2016-04-29 13:46 ` Jon Hunter
@ 2016-04-29 13:55 ` Jon Hunter
-1 siblings, 0 replies; 6+ messages in thread
From: Jon Hunter @ 2016-04-29 13:55 UTC (permalink / raw)
To: Stephen Warren, Thierry Reding, Alexandre Courbot, Rob Herring,
Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/3] bus: Add support for Tegra210 ACONNECT
@ 2016-04-29 13:55 ` Jon Hunter
0 siblings, 0 replies; 6+ messages in thread
From: Jon Hunter @ 2016-04-29 13:55 UTC (permalink / raw)
To: Stephen Warren, Thierry Reding, Alexandre Courbot, Rob Herring,
Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala
Cc: linux-tegra, linux-kernel, devicetree
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 0/3] bus: Add support for Tegra210 ACONNECT
@ 2016-04-29 13:53 ` Jon Hunter
0 siblings, 0 replies; 6+ messages in thread
From: Jon Hunter @ 2016-04-29 13:53 UTC (permalink / raw)
To: Stephen Warren, Thierry Reding, Alexandre Courbot, Rob Herring,
Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA, Jon Hunter
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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 0/3] bus: Add support for Tegra210 ACONNECT
@ 2016-04-29 13:53 ` Jon Hunter
0 siblings, 0 replies; 6+ messages in thread
From: Jon Hunter @ 2016-04-29 13:53 UTC (permalink / raw)
To: Stephen Warren, Thierry Reding, Alexandre Courbot, Rob Herring,
Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala
Cc: linux-tegra, linux-kernel, devicetree, Jon Hunter
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-04-29 13:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-29 13:46 [PATCH 0/3] bus: Add support for Tegra210 ACONNECT Jon Hunter
2016-04-29 13:46 ` Jon Hunter
[not found] ` <1461937604-18481-1-git-send-email-jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-04-29 13:55 ` Jon Hunter
2016-04-29 13:55 ` Jon Hunter
2016-04-29 13:53 Jon Hunter
2016-04-29 13:53 ` Jon Hunter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.