From patchwork Fri Jun 11 11:20:08 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: 458664 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=-18.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable 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 B3043C48BE5 for ; Fri, 11 Jun 2021 11:21:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 94AA2613C8 for ; Fri, 11 Jun 2021 11:21:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231519AbhFKLXO (ORCPT ); Fri, 11 Jun 2021 07:23:14 -0400 Received: from mail-pj1-f45.google.com ([209.85.216.45]:46054 "EHLO mail-pj1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230460AbhFKLXO (ORCPT ); Fri, 11 Jun 2021 07:23:14 -0400 Received: by mail-pj1-f45.google.com with SMTP id z3-20020a17090a3983b029016bc232e40bso5807054pjb.4 for ; Fri, 11 Jun 2021 04:21:16 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=+TF/AKS432hY9gR11OMft7K70W+Hrnb7AyCqWhl4m9s=; b=kzB4gw24qhVUKpuUQIjKWomf8BIdL1Fg7KnXflR1IuODTngrvXRCM2ee7VG4kMIYrx FraXhSHmF4qCxX9316LNxIUAEARG5YyydibAzknTNpQHsZ0lQCJ/H7FppmO1KHAOqHAC 1RFGe9fvIDQfXctM/31iLKVAGwldADJ4YvoOY= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=+TF/AKS432hY9gR11OMft7K70W+Hrnb7AyCqWhl4m9s=; b=AoxIxIrzWOXKHIU8kOtnWFHtm07ouZAXxWq4AgdvBY+T/hoa01Dy0sfP8finU1PUmL J2FhCu9IMs+DFnlW2aN6XqrCIw+YfZjkoPZOEPJxdnAJjva8FZ15crGa3552uq5lS8Sv HgL2n7SU76Z8Qr83lTILMVHbRmNbSaSKVy/I3vTMZsCzm/aXFjyST1U7oE4r2Ql7ze2A /Hapty/FptDDK0T8+dwR1d4s1sAm+sp4rYRp8kvTvBbZzNb6Ogl4EVkPe5QseSFpPOgU kBmnyMKLlbqSitcQUkiW618C3MPmwpCcPeogSOKm5UPsttkWT6LR4NMNGceQBo9Ui15B SFPg== X-Gm-Message-State: AOAM530oxg/5pqOh4zX1LwsEPXxPoH9yEg+zXPb059hPjLLPmmzdihFN K9g1MI0R/oCxyyujtYGlsg6zXA== X-Google-Smtp-Source: ABdhPJzhyiMKNoEeS0T1XF+LkKWfd1mMcozpdh1MQXRAbZevrhSbdTNkCMSX0EPOoKiVskph4615Iw== X-Received: by 2002:a17:902:b909:b029:113:d052:9e27 with SMTP id bf9-20020a170902b909b0290113d0529e27mr3437886plb.73.1623410416401; Fri, 11 Jun 2021 04:20:16 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:73d3:4412:54cc:752d]) by smtp.gmail.com with ESMTPSA id y5sm5177189pfo.25.2021.06.11.04.20.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Jun 2021 04:20:16 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , Rob Herring Cc: 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 Subject: [PATCH v4 2/3] dt-bindings: mediatek: Add mediatek, mt8183-jpgenc compatible Date: Fri, 11 Jun 2021 19:20:08 +0800 Message-Id: <20210611112009.2955944-2-hsinyi@chromium.org> X-Mailer: git-send-email 2.32.0.272.g935e593368-goog In-Reply-To: <20210611112009.2955944-1-hsinyi@chromium.org> References: <20210611112009.2955944-1-hsinyi@chromium.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add mediatek,mt8183-jpgenc compatible to binding document. Signed-off-by: Hsin-Yi Wang Reviewed-by: Matthias Brugger --- .../devicetree/bindings/media/mediatek-jpeg-encoder.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml b/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml index 28f26e79fcb3a..e4e791d76cdaa 100644 --- a/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml +++ b/Documentation/devicetree/bindings/media/mediatek-jpeg-encoder.yaml @@ -17,6 +17,7 @@ properties: items: - enum: - mediatek,mt2701-jpgenc + - mediatek,mt8183-jpgenc - const: mediatek,mtk-jpgenc reg: maxItems: 1 From patchwork Fri Jun 11 11:20:09 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: 458665 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=-18.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 644BFC48BE0 for ; Fri, 11 Jun 2021 11:20:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 46574613CD for ; Fri, 11 Jun 2021 11:20:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231545AbhFKLWU (ORCPT ); Fri, 11 Jun 2021 07:22:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230248AbhFKLWT (ORCPT ); Fri, 11 Jun 2021 07:22:19 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCF9EC061574 for ; Fri, 11 Jun 2021 04:20:21 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id o17-20020a17090a9f91b029015cef5b3c50so5659109pjp.4 for ; Fri, 11 Jun 2021 04:20:21 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=4QwvH5bGqHeUyZVp5Ps3bAzGRgv84nKw9pL18XwdnBM=; b=kk3HFX3t7+pm4U/kjbmmasXspVI2T+d5ttTTpONnlHt9FJYS47YoPl6FI4PGXes9Wc 6QS1tcKLLxH/Y0PD3TQ9KyiAySH3iNieFqIF9+2m7FSXNetsYOKvLEh6swUIljF9NFG0 2eC5PsZkx/XLvDuBZG5ZICFggERngLC8Vp8Ls= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=4QwvH5bGqHeUyZVp5Ps3bAzGRgv84nKw9pL18XwdnBM=; b=anP3FZp4kIpxb5+jx1hRX29mNAvXw0l0C5R7NDiMH/EqsKU0Me5LMuwppsOroB85AA 41wj4Epm4WqVIGJapwTiyH7udDJeLGVeKD7QXwif52Jqm3+z6a7RSsnJohreN7VXhSOj oJADRw40ZjLBk8KMcMKk944Vv9YIzVi5RUuv0dkHFbfJNCLEz+3eLtNXWkb54lOPyVWh xxLbEM+1Yy0xlK0HzL364/cvh8XDJe6P1xlvdf02cyblvInJWq1SggKf7nkPqNE/ar6l btmTtXtUZG0BcwtCGc5n2FPLvPUqV/IZV7Tn2DdHfFLfiAcoTcKzrcp4GNK83h7Pcwfd KqVw== X-Gm-Message-State: AOAM531ktZUW5r+6FjXl3DxhNb2v3f9v/4UnRxcJhGKOq0r67FObUSUC 45Kbxk6RhXMgU2DOo0SgG6wTuA== X-Google-Smtp-Source: ABdhPJzduBIz6I4dCv6hcEL/NSQSitCklTwTnFZIr9rbFuPwFRYv2RhdaiZve2JcmaimUOSyRSHFlA== X-Received: by 2002:a17:90b:3696:: with SMTP id mj22mr3994602pjb.42.1623410418179; Fri, 11 Jun 2021 04:20:18 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:73d3:4412:54cc:752d]) by smtp.gmail.com with ESMTPSA id y5sm5177189pfo.25.2021.06.11.04.20.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Jun 2021 04:20:17 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger , Rob Herring Cc: 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 Subject: [PATCH v4 3/3] arm64: dts: mt8183: add jpeg enc node for mt8183 Date: Fri, 11 Jun 2021 19:20:09 +0800 Message-Id: <20210611112009.2955944-3-hsinyi@chromium.org> X-Mailer: git-send-email 2.32.0.272.g935e593368-goog In-Reply-To: <20210611112009.2955944-1-hsinyi@chromium.org> References: <20210611112009.2955944-1-hsinyi@chromium.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Maoguang Meng Add jpeg encoder device tree node. Signed-off-by: Maoguang Meng Signed-off-by: Hsin-Yi Wang --- 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 c5e822b6b77a3..d54b4532fc3f3 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -1329,6 +1329,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>;