devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • * [PATCH AUTOSEL 4.19 07/47] arm64: dts: rockchip: fix isp iommu clocks and power domain
           [not found] <20190726134210.12156-1-sashal@kernel.org>
           [not found] ` <20190726134210.12156-1-sashal-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
    @ 2019-07-26 13:41 ` Sasha Levin
      1 sibling, 0 replies; 4+ messages in thread
    From: Sasha Levin @ 2019-07-26 13:41 UTC (permalink / raw)
      To: linux-kernel, stable
      Cc: Helen Koike, Manivannan Sadhasivam, Heiko Stuebner, Sasha Levin,
    	devicetree, linux-rockchip
    
    From: Helen Koike <helen.koike@collabora.com>
    
    [ Upstream commit c432a29d3fc9ee928caeca2f5cf68b3aebfa6817 ]
    
    isp iommu requires wrapper variants of the clocks.
    noc variants are always on and using the wrapper variants will activate
    {A,H}CLK_ISP{0,1} due to the hierarchy.
    
    Tested using the pending isp patch set (which is not upstream
    yet). Without this patch, streaming from the isp stalls.
    
    Also add the respective power domain and remove the "disabled" status.
    
    Refer:
     RK3399 TRM v1.4 Fig. 2-4 RK3399 Clock Architecture Diagram
     RK3399 TRM v1.4 Fig. 8-1 RK3399 Power Domain Partition
    
    Signed-off-by: Helen Koike <helen.koike@collabora.com>
    Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
    Signed-off-by: Heiko Stuebner <heiko@sntech.de>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
     arch/arm64/boot/dts/rockchip/rk3399.dtsi | 8 ++++----
     1 file changed, 4 insertions(+), 4 deletions(-)
    
    diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
    index df7e62d9a670..cea44a7c7cf9 100644
    --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
    +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
    @@ -1643,11 +1643,11 @@
     		reg = <0x0 0xff914000 0x0 0x100>, <0x0 0xff915000 0x0 0x100>;
     		interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH 0>;
     		interrupt-names = "isp0_mmu";
    -		clocks = <&cru ACLK_ISP0_NOC>, <&cru HCLK_ISP0_NOC>;
    +		clocks = <&cru ACLK_ISP0_WRAPPER>, <&cru HCLK_ISP0_WRAPPER>;
     		clock-names = "aclk", "iface";
     		#iommu-cells = <0>;
    +		power-domains = <&power RK3399_PD_ISP0>;
     		rockchip,disable-mmu-reset;
    -		status = "disabled";
     	};
     
     	isp1_mmu: iommu@ff924000 {
    @@ -1655,11 +1655,11 @@
     		reg = <0x0 0xff924000 0x0 0x100>, <0x0 0xff925000 0x0 0x100>;
     		interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH 0>;
     		interrupt-names = "isp1_mmu";
    -		clocks = <&cru ACLK_ISP1_NOC>, <&cru HCLK_ISP1_NOC>;
    +		clocks = <&cru ACLK_ISP1_WRAPPER>, <&cru HCLK_ISP1_WRAPPER>;
     		clock-names = "aclk", "iface";
     		#iommu-cells = <0>;
    +		power-domains = <&power RK3399_PD_ISP1>;
     		rockchip,disable-mmu-reset;
    -		status = "disabled";
     	};
     
     	hdmi_sound: hdmi-sound {
    -- 
    2.20.1
    
    ^ permalink raw reply related	[flat|nested] 4+ messages in thread

  • end of thread, other threads:[~2019-07-26 13:41 UTC | newest]
    
    Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20190726134210.12156-1-sashal@kernel.org>
         [not found] ` <20190726134210.12156-1-sashal-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
    2019-07-26 13:41   ` [PATCH AUTOSEL 4.19 02/47] ARM: dts: rockchip: Make rk3288-veyron-minnie run at hs200 Sasha Levin
    2019-07-26 13:41   ` [PATCH AUTOSEL 4.19 03/47] ARM: dts: rockchip: Make rk3288-veyron-mickey's emmc work again Sasha Levin
    2019-07-26 13:41   ` [PATCH AUTOSEL 4.19 04/47] ARM: dts: rockchip: Mark that the rk3288 timer might stop in suspend Sasha Levin
    2019-07-26 13:41 ` [PATCH AUTOSEL 4.19 07/47] arm64: dts: rockchip: fix isp iommu clocks and power domain Sasha Levin
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).