Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp751723ybl; Fri, 13 Dec 2019 04:08:05 -0800 (PST) X-Google-Smtp-Source: APXvYqzL1ZSIsV2EdZOxrrQ+ksjU4Ba3H9qbJXczBaHuplDrGMgL+mVWFzTH11zXlNM8+SaPASHB X-Received: by 2002:a05:6830:4da:: with SMTP id s26mr13466441otd.141.1576238885574; Fri, 13 Dec 2019 04:08:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576238885; cv=none; d=google.com; s=arc-20160816; b=CPjB7H0BNa2zor2vfswBjlgRO+q1Z3mrQTzbka++U4C7944w8UZVQroxePU0Ing3+K phQMr/pihgW1uA8gjpnBCAcCjKbq0AGcXWQxY1OYN1yn0q40QIDvo9S5oZfhIqGJko1t 37xd6DuscHTXeQ9emZhOznR7Vul/aSHEGKgMKYjwv0pKbF/ylQRsiRfGfn9DwYAK9lC+ 4qwuVnWV0EUp+zgue7HPrOEs9wJh8phDJXcrCc27jsYA1TB1FZ9RWH6fN3D3PjP3lfYK H4zEaTM1DTFYvdXCzUWhNBUFlh/4901zTuJ1Y1UfoKusG3jXa621+llxZpBMTIqa7X+9 19rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=hnRLUW7YNrxD4ZjgovOtUv6tRtEkyhH4Dnki4QgytWU=; b=dPGv2QT9+VgVBfjciJFrTcaV1/2ihnaoCT//Coj60om6Wh7tKVBHSecigaLYx33n7W D/iEGP1ZbHstZ4bCa/1cSOssmBtvsYuHbhL59Lvf7ZhYbL2nWPQgPU73NNIEjLsKSVZK rBgGe7t59sjs3IIl80ZtDj1nQwZxUTNfS4s5IrbQcJ/GXBeUCW2F0agVWRgoUD7VIYpK EoLiyVX+WFu3iOz0OD4KCW60Pnz2UG4ArFlZ9VtqA+V0cyLelJCLibcGIGaafUmctszG tFnEEueWXy8vCjG5MXwm6Nr/aLy8IFMd2t+W7jyunWfiAxMXCqsiwv6M0uz4WJ1TqEFO oGvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y4si5851197otk.219.2019.12.13.04.07.53; Fri, 13 Dec 2019 04:08:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726960AbfLMMHF (ORCPT + 99 others); Fri, 13 Dec 2019 07:07:05 -0500 Received: from inva020.nxp.com ([92.121.34.13]:36626 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726717AbfLMMHD (ORCPT ); Fri, 13 Dec 2019 07:07:03 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id CB75F1A0079; Fri, 13 Dec 2019 13:07:01 +0100 (CET) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B4EB61A08FE; Fri, 13 Dec 2019 13:07:01 +0100 (CET) Received: from fsr-ub1664-134.ea.freescale.net (fsr-ub1664-134.ea.freescale.net [10.171.74.111]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id DA126203B1; Fri, 13 Dec 2019 13:07:00 +0100 (CET) From: Mirela Rabulea To: mchehab@kernel.org, hverkuil-cisco@xs4all.nl, shawnguo@kernel.org, robh+dt@kernel.org Cc: paul.kocialkowski@bootlin.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, s.hauer@pengutronix.de, aisheng.dong@nxp.com, daniel.baluta@nxp.com, leonard.crestez@nxp.com, robert.chiras@nxp.com, laurentiu.palcu@nxp.com, mark.rutland@arm.com, devicetree@vger.kernel.org, p.zabel@pengutronix.de, laurent.pinchart+renesas@ideasonboard.com, niklas.soderlund+renesas@ragnatech.se, dafna.hirschfeld@collabora.com, Mirela Rabulea Subject: [PATCH v3 2/6] firmware: imx: scu-pd: Add power domains for imx-jpeg Date: Fri, 13 Dec 2019 14:06:17 +0200 Message-Id: <1576238781-5911-3-git-send-email-mirela.rabulea@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1576238781-5911-1-git-send-email-mirela.rabulea@nxp.com> References: <1576238781-5911-1-git-send-email-mirela.rabulea@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The power domains are for imx8qxp/imx8qm JPEG encoder & decoder. Each has 4 slots and a wrapper. Signed-off-by: Mirela Rabulea --- drivers/firmware/imx/scu-pd.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/firmware/imx/scu-pd.c b/drivers/firmware/imx/scu-pd.c index b556612..e7bf48a 100644 --- a/drivers/firmware/imx/scu-pd.c +++ b/drivers/firmware/imx/scu-pd.c @@ -158,6 +158,12 @@ static const struct imx_sc_pd_range imx8qxp_scu_pd_ranges[] = { /* DC SS */ { "dc0", IMX_SC_R_DC_0, 1, false, 0 }, { "dc0-pll", IMX_SC_R_DC_0_PLL_0, 2, true, 0 }, + + /* IMAGE SS */ + { "img-jpegdec-mp", IMX_SC_R_MJPEG_DEC_MP, 1, false, 0 }, + { "img-jpegdec-s0", IMX_SC_R_MJPEG_DEC_S0, 4, true, 0 }, + { "img-jpegenc-mp", IMX_SC_R_MJPEG_ENC_MP, 1, false, 0 }, + { "img-jpegenc-s0", IMX_SC_R_MJPEG_ENC_S0, 4, true, 0 }, }; static const struct imx_sc_pd_soc imx8qxp_scu_pd = { -- 2.7.4