Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp715224ybx; Wed, 6 Nov 2019 07:22:11 -0800 (PST) X-Google-Smtp-Source: APXvYqx+tGBtfJ1k9P+GvWmun76zmgCobrZGznwSqjxwShXNLczDGArPGAgNnJGJzRR/EP6nMyLl X-Received: by 2002:a50:de06:: with SMTP id z6mr3307547edk.279.1573053731731; Wed, 06 Nov 2019 07:22:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573053731; cv=none; d=google.com; s=arc-20160816; b=yhdOF14zNXNJ4+LVndfc5auw1Iv+hSOzXwW6xxZ5ldKmPC7Op8HTf3IjYU74o1GBjl hIe3wmWmwqXuLPKV/p51bpOuHCCwwpGhEi2Enos7KclwGiSikTueaccZsEcarX0LgXpd kRQjQxzpTBX+cMTeHaGANcAzNLZR0tbbJftQeqsxiwN3SQzx+14nY2ZXZ84U/xwuRF8R DomBswRSbz/qIeMqeotmmI459KNaKLc3vlr3qCIX1TvILXK4jEspeTxEQXFRgriQ6T0S yA/FkDs+l04MJxo39J1+oLVTg3t7bWIxrOsaGl5r66Lep2EU4EizlhAOzGdqExEHlnAe 5Tfg== 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=q03BVDZ+STrPCuIDvolslu5uKOsLLuhYuWf+sRHpa0cIjbPIIqbmxu7Dlj7fVX0Hv9 pvj3jtThhKKFOury5OmLPBb49TEDvZKWxm8smGYrbPNo1hBtsKCw+57b73xELwTORyEQ 5hFbJ8lRlVzHNscv1NYmuLcuAsrsDF9yG+U0shbQP2++UEMw8qXNbGE5D0Obq5of3Hjc cpPAx01x0vc1y3RriA0PeNe0jDGoc/NG5LbXR7W6xvN90yXf8yHpTdu6nilXrjINoKMs xSFDGDtMiFWJ+sa9ELWnIdzGhjAFGvGj8N/cyzjaZdbT/Ffcwrcn6fgxgyTZNg2BeCNL fV6g== 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 f10si15627066edc.221.2019.11.06.07.21.48; Wed, 06 Nov 2019 07:22:11 -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 S1728019AbfKFPVH (ORCPT + 99 others); Wed, 6 Nov 2019 10:21:07 -0500 Received: from inva020.nxp.com ([92.121.34.13]:33162 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732033AbfKFPVG (ORCPT ); Wed, 6 Nov 2019 10:21:06 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id C9E221A0652; Wed, 6 Nov 2019 16:21:04 +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 BBBA01A064E; Wed, 6 Nov 2019 16:21:04 +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 E48A3205EB; Wed, 6 Nov 2019 16:21:03 +0100 (CET) From: Mirela Rabulea To: mchehab@kernel.org, shawnguo@kernel.org, robh+dt@kernel.org Cc: hverkuil-cisco@xs4all.nl, 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 2/5] firmware: imx: scu-pd: Add power domains for imx-jpeg Date: Wed, 6 Nov 2019 17:20:30 +0200 Message-Id: <1573053633-21437-3-git-send-email-mirela.rabulea@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1573053633-21437-1-git-send-email-mirela.rabulea@nxp.com> References: <1573053633-21437-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