From patchwork Wed Jun 9 04:48:54 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: 12308981 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05366C47095 for ; Wed, 9 Jun 2021 04:53:58 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id BDAFF61009 for ; Wed, 9 Jun 2021 04:53:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BDAFF61009 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: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:In-Reply-To:References: List-Owner; bh=/tWbykOkJRFoHV7ynP4lo5gblRSFE0JBTACbJCwK2C0=; b=CH6gCxNesgsWRM RJOUrO9g7dXAELTrpzHdxWTdItsfriRZuUM9dG7Qp5ZQDas5iifNxBv2W8Gr01L4Vi5FVkdKOujIC ZCBXCCO3LRXK4uccd1AfVdn6bPZnyFz9pAXkWrG40prNbQ6y7AXb69Yk5WidOH0Vf3Dpc+vNRZeAx lGX33ZVD/jdZI7pxZoLzgY/72jnOm0dMQdDZ7RVp4N35Wwd7Es7fNSM/M8uyOluJ4RYwU21xhFfA4 s0pfDNX6Q/EPdOUDKFv7F8iIUUd67x0/qtm7+DnRjBABfL/hvevMJYnTIUMXlTI9AaeVbLiSpSjAT /MmFNfkS896K7c3YxKzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqqCF-00Bhvi-Ev; Wed, 09 Jun 2021 04:52:07 +0000 Received: from mail-pg1-f178.google.com ([209.85.215.178]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqqCB-00BhSD-IT for linux-arm-kernel@lists.infradead.org; Wed, 09 Jun 2021 04:52:04 +0000 Received: by mail-pg1-f178.google.com with SMTP id e22so18384121pgv.10 for ; Tue, 08 Jun 2021 21:50:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iYok65sFwc6WEDcag9xh0Hf6j7gDgq0CQ1KsKHhgvjo=; b=IiKc5ndp1M+CHWA+wdg+354lmwNXghTKdybF8tq0RZvCL5COD05uofXz0TjPvIqrWD 2Zd0UlSBCO8bso5l3lOkrxIqxpFUkoAtZW9Vodvtph2lfU6bzvov7tO/ZuOj6l+ULzzt HjWDkmXNfdxxOHBFRr+e80s0Z+H6fkvwtboE4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iYok65sFwc6WEDcag9xh0Hf6j7gDgq0CQ1KsKHhgvjo=; b=X0rIBbFlDQLHq6Ii4WVyvs2ehgTYezafFNwS6YmMtFs3CAz5rl3PZTcljC3B4j61/v 4kuxhBK0FsNSZNN5QAGSsQXRowZxrC5h3Ud57RHlvgfyJr1xjVbnf++LQEv/8oXofJEH X7ik1M43Ex7OSI95AeN/cJ4mUP1mY1HZoHIqwPM5tm6sSIgzjEP/Bsph7zh1ctgZpQBH wXn3tawYYJZNPlh62pODnUTxHE/hlFbK3n8IHkObcHxEnkQo3zactia/Pnq7RKtHFzZs 3JYOzS4V1ATXCnKw98lk9lEIKwrRgwCvYUF5edmTnCJE8WIViLVbfYnMuna1Ad/dmiiO 3wFw== X-Gm-Message-State: AOAM533sNlIOpUhQnwoiBIMLXNgf33es1ys1qYGupXDLtVJwNRf/+mSt 6wnLef7eoMUSEbXxnbTYltfsSg== X-Google-Smtp-Source: ABdhPJzu5e6c64mB7KD2PoLwdt2R2dL9vCR7lWw3zZp8Cn9JbjCwrAk24pXd1HLgFvQL4XbwwXG88A== X-Received: by 2002:a62:dd83:0:b029:2e8:e511:c32f with SMTP id w125-20020a62dd830000b02902e8e511c32fmr3335696pff.49.1623214139561; Tue, 08 Jun 2021 21:48:59 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:83f0:56eb:3535:6bd5]) by smtp.gmail.com with ESMTPSA id h18sm12865110pgl.87.2021.06.08.21.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 21:48:58 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger Cc: Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, maoguang.meng@mediatek.com, yong.wu@mediatek.com, tfiga@chromium.org Subject: [PATCH v2] arm64: dts: mt8183: add jpeg enc node for mt8183 Date: Wed, 9 Jun 2021 12:48:54 +0800 Message-Id: <20210609044854.393452-1-hsinyi@chromium.org> X-Mailer: git-send-email 2.32.0.rc1.229.g3e70b5a671-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210608_215203_623035_21392676 X-CRM114-Status: GOOD ( 10.23 ) 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 --- v2: rebase to latest v1: https://patchwork.kernel.org/project/linux-media/patch/20200914094012.5817-1-maoguang.meng@mediatek.com/ --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index c5e822b6b77a3..fffe0c52909ce 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -1329,6 +1329,17 @@ 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 = ; + 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>;