Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3197577pxb; Mon, 9 Nov 2020 05:23:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJy5uT6y9Sp6Bhhom9jOVewEmVz0D7hjO820GAxEdZcGK4p3CwXa0KlE3TpjdFomyEjiIno+ X-Received: by 2002:a05:6402:b35:: with SMTP id bo21mr15855334edb.52.1604928182934; Mon, 09 Nov 2020 05:23:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604928182; cv=none; d=google.com; s=arc-20160816; b=SJDiSkSxf/boeR2iICvL9zGd4swCN9oUkgaJ0H6HNCSfcoBsdgpmgStAdcQyA7Ocl+ ES16hUgkaOQS7TLVyRxA0DIn4hgarEA8xbdAnj1L6h3Uzh0T6sOvZ880Ol4SWiNm0t0c grj3Ndma7k+DH20u/PKTxiCG4d+rV/nHZ6ufHcpU1s1UMNKYHOsHWACs6E2621zN8Ix5 6vi5VF/HENDT/dOmQ7luYQOgpGTz6XQO7yINFbnB8sQtvP6kBPU7jjdDhImIw8hSqbVf yIucs9N7LVWU+Tz6A2iClYZZo8h0JW7jfzJD35s7G77Db3yZqw1ydBuotglUc/gFmjGi tbqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=EFqrTA6I7W8izrkG5qicPfkS5mM1bGESjpDQuzyGxo4=; b=ooc2B2Jp6GD4uLwVpRLEHPLAxRupwdi/7EkLOfmhVeaUAiEDhHzPZZfGt6hwouQTqC /yId5jCZjoWyRxL5EGNcBEv1hEXGc6ot5dTxAgNjN5lmK1K7JAfPDrJ2AS72Bmx7kAC+ RjhBog2LX6Pte5ggM7dm1bMx012EoBdwtjOtj9Tp1WZKOpHe7Bf6xlf7Qym+LOovOp3k OQPO4wQZ4kDBWoPA3JqYLC/TkqJEhjwkEe0zMSYIGPOrZciAkLGoQ2uHTEcf8DQgWFnM bfZkhlWh1+RLs4pAeUDn/RqB29+ot96PuPJbSKT8M55i6/8ev/n8jwu2O01TX/Ty1wdI V6+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1EBfNupJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p14si6876599edm.185.2020.11.09.05.22.40; Mon, 09 Nov 2020 05:23:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1EBfNupJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387735AbgKINTX (ORCPT + 99 others); Mon, 9 Nov 2020 08:19:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:46730 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387704AbgKINTU (ORCPT ); Mon, 9 Nov 2020 08:19:20 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0BF31206D8; Mon, 9 Nov 2020 13:19:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604927959; bh=3jA+X4eawwUmyK0ONRZj1sgVPzj9BXzDyGc4hoede/s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1EBfNupJl+BjOIL0ZeWUTJ7WiLn5Eepmk9MvOW8wHJ0AStMD9GasDrOOmuc8Ftzkf S0iShwb4INTwEcwsmpkNCoCfexajMJhuu7JCoy0DnxdC4omu0Fs04Yfmqdg9SP6RQl paMR5qKrc2XI4Pwg9WTAY3QdP6n+gPxXOAfZxSOY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Lubomir Rintel , Arnd Bergmann , Sasha Levin Subject: [PATCH 5.9 080/133] ARM: dts: mmp3: Add power domain for the camera Date: Mon, 9 Nov 2020 13:55:42 +0100 Message-Id: <20201109125034.570357991@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201109125030.706496283@linuxfoundation.org> References: <20201109125030.706496283@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lubomir Rintel [ Upstream commit 202f8e5c4975a95babf3bcdfb2c18952f06b030a ] The camera interfaces on MMP3 are on a separate power island that needs to be turned on for them to operate and, ideally, turned off when the cameras are not in use. This hooks the power island with the camera interfaces in the device tree. Link: https://lore.kernel.org/r/20200925234805.228251-2-lkundrak@v3.sk Signed-off-by: Lubomir Rintel Signed-off-by: Arnd Bergmann Signed-off-by: Sasha Levin --- arch/arm/boot/dts/mmp3.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/mmp3.dtsi b/arch/arm/boot/dts/mmp3.dtsi index cc4efd0efabd2..4ae630d37d094 100644 --- a/arch/arm/boot/dts/mmp3.dtsi +++ b/arch/arm/boot/dts/mmp3.dtsi @@ -296,6 +296,7 @@ interrupts = ; clocks = <&soc_clocks MMP2_CLK_CCIC0>; clock-names = "axi"; + power-domains = <&soc_clocks MMP3_POWER_DOMAIN_CAMERA>; #clock-cells = <0>; clock-output-names = "mclk"; status = "disabled"; @@ -307,6 +308,7 @@ interrupts = ; clocks = <&soc_clocks MMP2_CLK_CCIC1>; clock-names = "axi"; + power-domains = <&soc_clocks MMP3_POWER_DOMAIN_CAMERA>; #clock-cells = <0>; clock-output-names = "mclk"; status = "disabled"; -- 2.27.0