From patchwork Tue May 28 05:56:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Courbot X-Patchwork-Id: 10963751 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8694892A for ; Tue, 28 May 2019 05:57:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 743822871A for ; Tue, 28 May 2019 05:57:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 685FF28725; Tue, 28 May 2019 05:57:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1D8B22871A for ; Tue, 28 May 2019 05:57:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2OjEUhLS6sj2yTdxJOfI7vw/M5UOFcv3ogYjaWsj1G8=; b=EbDvYO96y8R5RI WHL114nlRytoH9m1GtCRyEdLjuXy2EM2Dec1wE4q15jxqtVWKitkMYo5L8lcaMu7bIZt6yfvOT7vl wNOFDwLPUS346f4la5SP4JMiF+lSN0/O5R8p8YzAFG/Rl3V/FywbrUtpQKsbEAoPFpAe4AtqLG/LD lI+tVQrul1MrsGCCzfRhhnkpX1Y79hFSy8BR/GuuS4vLMk0wKfJQuEJiyN2pDsfWoLpbe4XadjnzU rbEuEpln6lW3VVTQrywDhacL69uj/atGpB7qgncM+6bXI9Mt91aJDGZ2X/8o53noIrNVXMB9V/M1Y ZgIKutOajCoi0rJMmSag==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVV7N-0002lc-8R; Tue, 28 May 2019 05:57:49 +0000 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVV7J-0002hI-0i for linux-mediatek@lists.infradead.org; Tue, 28 May 2019 05:57:47 +0000 Received: by mail-pl1-x643.google.com with SMTP id g69so7873501plb.7 for ; Mon, 27 May 2019 22:57:44 -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=GqYVB277WEFaDrjqHl9u9gzan9xp6pYbuiY2CwT3+wA=; b=AadNY3xF3iC0+GIj+AEcn/1/ebmF5bRb4x1ra9pHFJ24l47TmWvTXmPE7BrP8SspLO SgbojQcgijYA22qNoy/MhFCU4A2X+iyJdfyLFYTbao2CqYB4Ilo+6qs6fee9BcslVD93 myeKCwSC+QF2PDXzcx/2qaV9jofGKwHdNF+D8= 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=GqYVB277WEFaDrjqHl9u9gzan9xp6pYbuiY2CwT3+wA=; b=VTFzgIZYdSRsvrj5RmX3ROmjBDbk/jT7WmBTXfa9KNnt6wmdT9k+H9CeZd4XDyI+/n E+dbYKFU7pQTWZB/I1/VgN3k29Cfy3C0oU/0GnhTA+bwKEL49W/ULdbajOXEuFlFfhO4 /aaqmybgMvQBz9e1Ti5fgEuQp4wHxTxvr9vY0eTdQT+17V7BBU0hI2hi4BE2hN3m5tQS ws9tQELvOFklRcG1Pt6j9dGEB/9shrOfuZfUHXSCZLnfMZ5lQ2qR75Qccjff3pgn3jcv hoUdt8Z7yQSXQ4UanVKarKImRN4VO32Isf2gLAvChsKbAvzNBApcB+mjuNb4OZJczX2Z YvwQ== X-Gm-Message-State: APjAAAUxAm8pLzg7nYvIq1DvHplr1BMO/Pr0gVGMTkYjiLuXyWDiX2CW OYdPA9gUUe8trrjTRj74eYqBpA== X-Google-Smtp-Source: APXvYqxIBAI0HKWcz4VbpCo99CLIBzk+Qjzv17nOkj2dGauUT7BgjmEXMM+WYYbthMzYg7QjlTOctg== X-Received: by 2002:a17:902:bf08:: with SMTP id bi8mr20531914plb.206.1559023064671; Mon, 27 May 2019 22:57:44 -0700 (PDT) Received: from acourbot.tok.corp.google.com ([2401:fa00:4:4:9712:8cf1:d0f:7d33]) by smtp.gmail.com with ESMTPSA id w1sm13950551pfg.51.2019.05.27.22.57.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 May 2019 22:57:44 -0700 (PDT) From: Alexandre Courbot To: Yunfei Dong , Tiffany Lin , Andrew-CT Chen , Hans Verkuil , Mauro Carvalho Chehab Subject: [RFCv1 12/12] media: mtk-vcodec: enable MT8183 decoder Date: Tue, 28 May 2019 14:56:35 +0900 Message-Id: <20190528055635.12109-13-acourbot@chromium.org> X-Mailer: git-send-email 2.22.0.rc1.257.g3120a18244-goog In-Reply-To: <20190528055635.12109-1-acourbot@chromium.org> References: <20190528055635.12109-1-acourbot@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190527_225745_256196_CD5748AE X-CRM114-Status: UNSURE ( 9.32 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Alexandre Courbot , linux-media@vger.kernel.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Yunfei Dong Now that all the supporting blocks are present, enable decoder for MT8183. Signed-off-by: Yunfei Dong Co-developed-by: Alexandre Courbot Signed-off-by: Alexandre Courbot [acourbot: refactor, cleanup and split] Change-Id: I5696b186fae16f12b97745247331732beb1192e2 --- drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c b/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c index 8be0c04f7e81..60dd312500a4 100644 --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c @@ -401,6 +401,10 @@ static const struct of_device_id mtk_vcodec_match[] = { .compatible = "mediatek,mt8173-vcodec-dec", .data = &mtk_frame_8173_pdata, }, + { + .compatible = "mediatek,mt8183-vcodec-dec", + .data = &mtk_req_8183_pdata, + }, {}, };