From patchwork Mon Dec 6 13:04:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 12694888 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6609EC433EF for ; Mon, 6 Dec 2021 13:06:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5GpJcD671ttF9iCZDcSoBlGT/AQhhhOMZECF6NBZrV0=; b=bcYZd+NchdzVkr X+nVPRZobZyV7T6JDARTVJPuNFo40XxgR/RIuAyVEFYkjRG6Pv7lztGf0KqFEq+NfMC4doAsXX1oW nIsxRmh9M9MepIsCimh0qD2FFIfwMAOA+QDZXOXCXVFG2D0DTfdWLrnb4Y1WcU3AUu5PzcHyg/pDx grAp/hpmVoWjkuHsu0bKkzcFEXZOuGWWDPN/8LfQh+zg0hi1DUrPFanRNK9GnICx0mnmBjCqGSX8v cmS9XDctQusMH1BJY6N1hCURuF3y/xQXhvdlnUNcYedm75KHDlpLuzHfPSyYgHuGbrwjfIWlXpsdu MIyy//Oi1NKIEA8ANzVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muDg1-003txG-L1; Mon, 06 Dec 2021 13:05:05 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1muDfa-003tn2-2n for linux-arm-kernel@lists.infradead.org; Mon, 06 Dec 2021 13:04:39 +0000 Received: by mail-pj1-x1033.google.com with SMTP id y14-20020a17090a2b4e00b001a5824f4918so10756235pjc.4 for ; Mon, 06 Dec 2021 05:04:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=EZNxS2Er2+TWPCvjwKrCutia6d+RziQ5eq8Nih9Wpag=; b=NwQdgeQkNdIYvLlsCYBFOR7AArMeA4ocHnxglBH96EmJ72XZY4K6lP0WXCMPZC5MRd e+xFSAfy3OIMsGoCjnF1s7RECqJpn+ibnWq/3RijwIqsS0/GA1OD6qEdDWL9wxC28o7F QlNXB+IfCpWa0uCAhBQoxLGfF26k79BLgWYFM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EZNxS2Er2+TWPCvjwKrCutia6d+RziQ5eq8Nih9Wpag=; b=ddYv578Y/eUbpxzG0GhU3FQl9RLIH6lh29cDEpzebGaZtFl8nFdHKfdRi5vfZfn+ph vLMkNnxayVB05h8iuRS1FTwE/LIVNT0KRso0I1DlDpl5/sv25GbEFcpwEgBVth1Kg1SJ ZOqOHvg4QfFVycbx2GDerIY5v7XyUlnY0pQhJsfuZDuKHUKjxO6WOQnMR9mNeeOY+Oc0 +9hgCHSzTfHj4f6xyiivrsZn0C51+TSWVnkZmNE9v88MYFPQxhTokAGvyfK0NDJD5bY1 3eMfNGgyBBE5zoTgLYMqrwsPHVEwKVJNN+LXtifC6kDgt8jdgiAZ04R/Ph9p6Smfk510 USNw== X-Gm-Message-State: AOAM533Z+QH1hyRVlxQCy59oEJT7cpmXQ7CTOWo7phLu7vDY1iaLSQIk 1L60cxVwaIhTLa/59SvQdxm3Tg== X-Google-Smtp-Source: ABdhPJxzHx6MmM0wI6OVhtmYu60irjAp+3SFk9nmVn9Dxj4qPjt0SsnUvMGMavc7yAJJu47x0/ncFg== X-Received: by 2002:a17:902:b110:b0:142:7621:aecb with SMTP id q16-20020a170902b11000b001427621aecbmr43580422plr.55.1638795876908; Mon, 06 Dec 2021 05:04:36 -0800 (PST) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:5044:6464:4ad7:572c]) by smtp.gmail.com with ESMTPSA id v25sm12402292pfg.175.2021.12.06.05.04.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Dec 2021 05:04:36 -0800 (PST) From: Hsin-Yi Wang To: Matthias Brugger , Rob Herring , linux-media@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, yong.wu@mediatek.com Subject: [v6 3/3] arm64: dts: mt8183: add jpeg enc node for mt8183 Date: Mon, 6 Dec 2021 21:04:25 +0800 Message-Id: <20211206130425.184420-3-hsinyi@chromium.org> X-Mailer: git-send-email 2.34.1.400.ga245620fadb-goog In-Reply-To: <20211206130425.184420-1-hsinyi@chromium.org> References: <20211206130425.184420-1-hsinyi@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211206_050438_155057_4ED6B785 X-CRM114-Status: GOOD ( 10.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Maoguang Meng Add jpeg encoder device tree node. Signed-off-by: Maoguang Meng Signed-off-by: Hsin-Yi Wang Reviewed-by: AngeloGioacchino Del Regno --- v5->v6: no change, rebase to latest linux-next --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index ba4584faca5aea..ac6b0c12d3b339 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -1530,6 +1530,18 @@ larb4: larb@17010000 { power-domains = <&spm MT8183_POWER_DOMAIN_VENC>; }; + venc_jpg: venc_jpg@17030000 { + compatible = "mediatek,mt8183-jpgenc", "mediatek,mtk-jpgenc"; + reg = <0 0x17030000 0 0x1000>; + interrupts = ; + mediatek,larb = <&larb4>; + iommus = <&iommu M4U_PORT_JPGENC_RDMA>, + <&iommu M4U_PORT_JPGENC_BSDMA>; + power-domains = <&spm MT8183_POWER_DOMAIN_VENC>; + clocks = <&vencsys CLK_VENC_JPGENC>; + clock-names = "jpgenc"; + }; + ipu_conn: syscon@19000000 { compatible = "mediatek,mt8183-ipu_conn", "syscon"; reg = <0 0x19000000 0 0x1000>;