From patchwork Fri Sep 25 23:48:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 11801005 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CECDF1580 for ; Fri, 25 Sep 2020 23:48:32 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9FDC52086A for ; Fri, 25 Sep 2020 23:48:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="wqkOscw9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9FDC52086A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=U2DTa8qeLZhE/TaKGNctBoavC0gAWTLw0yUbo8qbzAg=; b=wqkOscw9kJJ4Oj9Faj5nm8qdv NQFhDi7u5vTxlv7OPlJheJHF/SHMUM8yTtFsNOYgkjgK9GkyGZwLhtcjSH6comqQF0DQcSgYiAx7U TmcIzHAqsvKP0LW66tzB6oJQj9hDPjh8aKLQIqx25nLZ5MTakHC25AMPhx15Pur6jPv23Yc7UDSuw gAZp+0YOlv7xp0IkyY3HyF9J4BeDFQJybRRkFuszLeRVo1C9JWz3wZBsxLHI7bxe6t8UGZaIMt2SR h/AnFVZrL51+qRrEiM8inOyWDhbhGdPhCJRx8Q8zhPPzDnx6WXaGrwJgvWu+F+8wbzgncojiBcY8v Y+y/tDvkw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kLxRt-00006d-6j; Fri, 25 Sep 2020 23:48:21 +0000 Received: from mail.v3.sk ([167.172.186.51] helo=shell.v3.sk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kLxRk-0008Vg-O9 for linux-arm-kernel@lists.infradead.org; Fri, 25 Sep 2020 23:48:14 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 30B1BDFAA1; Fri, 25 Sep 2020 23:46:32 +0000 (UTC) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 9Bo6cczJWBk4; Fri, 25 Sep 2020 23:46:31 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 55761DFA9E; Fri, 25 Sep 2020 23:46:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 1B47My6PVQgS; Fri, 25 Sep 2020 23:46:31 +0000 (UTC) Received: from localhost (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id 20D54DFAA2; Fri, 25 Sep 2020 23:46:31 +0000 (UTC) From: Lubomir Rintel To: Arnd Bergmann , Olof Johansson Subject: [PATCH 1/2] ARM: dts: mmp3: Add power domain for the camera Date: Sat, 26 Sep 2020 01:48:04 +0200 Message-Id: <20200925234805.228251-2-lkundrak@v3.sk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200925234805.228251-1-lkundrak@v3.sk> References: <20200925234805.228251-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200925_194812_935591_31BDC1A4 X-CRM114-Status: GOOD ( 12.09 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel , SoC Team , Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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. Signed-off-by: Lubomir Rintel --- 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 @@ camera0: camera@d420a000 { 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 @@ camera1: camera@d420a800 { 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";