Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp333705pxm; Wed, 2 Mar 2022 16:38:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJx/NmVcmlXTqbqstm8JW/94o9iJZoL2Tp7lh8YzsreQn5Qc9mCrlTJQChc9QJiRabXQJZH5 X-Received: by 2002:a17:902:b582:b0:14c:a63d:3df6 with SMTP id a2-20020a170902b58200b0014ca63d3df6mr33420806pls.51.1646267899833; Wed, 02 Mar 2022 16:38:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646267899; cv=none; d=google.com; s=arc-20160816; b=fWDB5y7lgmeEbl6dVD0PSe9QZ+xTULr8HNtphhlIRIa/dXtA7ABBFfIXp4Sw/0ReZd /GdAw3r8/RYiE1PFE5vFGOhDNCnq6Nn4J5kXXuYm/7HLTZNL+4JtgwH6q30iKeGNzHiU b0xX9XdmKJJfxLCWqlE6VkolI2TYWkW360ipJ4+ULABUavilllXZplbvA/KNlsEb2drM V1Qw2SWCNmcT1t32dtFcZOryBevyJec2gzWtySQP7q40ZUmw8MmnMPxY4Hajt5HaPYon 3ZfwyWTIq1jUhiwjVH/xFV5gFqFOgK0LhWrWdxo1Xi+D4L7yFMLr2gF6tQBRFCsTXWD6 KwGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pfme3AN/tpOwfn+dA/SLUw0Rpi68Fad7nVGQgLXAPGA=; b=Z4yhrGvOuEgej8cWwcNeRHoVNQcnF2V7VnmVTuJiZLP0LL2kgTZJMF7Z1OMiJCgA27 V+OZYF1C4uoR2wPf6mYnP65EKeNEtws33eQIckSC/1JODg1xVRnQxlJBwjEjLiEePTUE Gn0r5wmBK7FVRcdXs2WGxW63EilAntPqhfjeafj4UlJp+2NHlZ2Iwfpp29c6Wb87OFXp 78dbizi4+bGASBlIcXUQh9lqKP/sxQeSHY9fEXtiWifa5h3CuOqtikjq+KF173cJw6qW hcJ88RnXmGVXqS22L/Orbw+RUojBw6nt6ids2jW1zT3oc2e3CogG6yUFOCtYXfYauaU2 NZCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eBbSYrey; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x6-20020a056a00188600b004e1de9aa546si635981pfh.22.2022.03.02.16.38.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 16:38:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eBbSYrey; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3EFF96337; Wed, 2 Mar 2022 15:51:27 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229693AbiCBXvz (ORCPT + 99 others); Wed, 2 Mar 2022 18:51:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229688AbiCBXvu (ORCPT ); Wed, 2 Mar 2022 18:51:50 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 511F14A901; Wed, 2 Mar 2022 15:51:05 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B470661B76; Wed, 2 Mar 2022 23:51:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1EA3FC340F4; Wed, 2 Mar 2022 23:51:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646265064; bh=5xLrGpY62nYRCu13K/OIwB4PVpVGnEDLpAk67ymdxVU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=eBbSYreyGTVWkKyO4T3IcevV+V+mTuhI76+73sHVV9zMgXVbT5mYyZk0c83VY0z1z 5aB2yrMvo4nMHSePlUhss7XZwDA+lE4c0gdGQC6Z1gHXEkS4O4G98C9gx6w7aOkIEm I1HPlEhl6TcfOnqHU+SnGR7L64iAI26ckTxtQiDryPBQOxD/hze9Xgr8knmWrx6Hb/ fwdS1M2ENB8fR1RCSiIRxoyzLnKJFwFVXvSJi132Wi1gzuw05JNec5KNDAN/NQ9XWB XzicY3bPx6u3SaLhjAQggJ5g7mgw4IHH3R9Q4Uwn2DUFx6hxLMXrQsvrqWZm3LMxFY K+Xh0LNtfLFdQ== Received: by mail-ej1-f45.google.com with SMTP id a23so7112367eju.3; Wed, 02 Mar 2022 15:51:04 -0800 (PST) X-Gm-Message-State: AOAM531UbsCGDksPtAtitb9lPql9esilY2VZZpgtJGljjdAg4mddlvSC WemxqXSFDh97ksX0z/FY2yTRekQgrtGTr5o+pg== X-Received: by 2002:a17:906:af79:b0:6cf:6b3f:5b3b with SMTP id os25-20020a170906af7900b006cf6b3f5b3bmr24918369ejb.14.1646265062254; Wed, 02 Mar 2022 15:51:02 -0800 (PST) MIME-Version: 1.0 References: <20220126071932.32615-1-jason-jh.lin@mediatek.com> In-Reply-To: <20220126071932.32615-1-jason-jh.lin@mediatek.com> From: Rob Herring Date: Wed, 2 Mar 2022 17:50:50 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v15 00/12] Add Mediatek Soc DRM (vdosys0) support for mt8195 To: "jason-jh.lin" Cc: Matthias Brugger , Chun-Kuang Hu , Philipp Zabel , AngeloGioacchino Del Regno , Enric Balletbo i Serra , Maxime Coquelin , David Airlie , Daniel Vetter , Alexandre Torgue , Hsin-Yi Wang , Fei Shao , Moudy Ho , "roy-cw.yeh" , CK Hu , Fabien Parent , Jitao shi , nancy.lin@mediatek.com, singo.chang@mediatek.com, devicetree@vger.kernel.org, "moderated list:ARM/STM32 ARCHITECTURE" , linux-arm-kernel , "moderated list:ARM/Mediatek SoC support" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 26, 2022 at 1:19 AM jason-jh.lin wrote: > > Change in v15: > - remove mt8195-mmsys.h comment for mux settings > - define the mask macro to replace using value as mask > to fix zero mask problem > - add EOF setting comment for MUTEX sof register > > Change in v14: > - rebase on mediatek-drm-next-5.17 > - rebase on "Add mmsys and mutex support for MDP" series > https://patchwork.kernel.org/project/linux-mediatek/list/?series=602528 > - rebase on "media: mediatek: support mdp3 on mt8183 platform" series > https://patchwork.kernel.org/project/linux-mediatek/list/?series=602834 > > Change in v13: > - remove dts patch > - rebase on kernel-5.16-rc1 > - rebase on mediatek-drm-next > > Change in v12: > - add clock-names property to merge yaml > - using BIT(nr) macro to define the settings of mmsys routing table > - fix clk_get and clk_prepare_enable error handling issue > > Change in v11: > - rebase on kernel-5.15-rc1 > - change mbox label to gce0 for dts node of vdosys0 > - change ovl compatibale to mt8192 to set smi_id_en=true in driver data > - move common module from display folder to common folder, > such as AAL, COCLOR, CCORR and MUTEX > > Change in v10: > - rebase on "drm/mediatek: add support for mediatek SOC MT8192" series > https://patchwork.kernel.org/project/linux-mediatek/list/?series=529489 > - rebase on "soc: mediatek: mmsys: add mt8192 mmsys support" series > https://patchwork.kernel.org/project/linux-mediatek/list/?series=524857 > - fix some typo and "mediatek" start with capital in every dt-bindings > - move mutex yaml from dfisplay folder to soc folder > - separate merge additional propoerties to an individual dt-bindings patch > > Change in v9: > - separate power and gce properties of mmsys into another dt-binding patch > - rebase on "Separate aal module" series > https://patchwork.kernel.org/project/linux-mediatek/list/?series=516463 > - keep mtk_ddp_clk_enable/disable in the same place > - change mtk_dsc_start config register to mtk_drm_ddp_write_mask > - remove the 0 setting of merge fifo config function > - add CCORR driver data for mt8195 > > Change in v8: > - add DP_INTF0 mux into mmsys routing table > - add DP_INTF0 mutex mod and enum into add/remove comp function > - remove bypass DSC enum in mtk_ddp_comp_init > > Change in v7: > - add dt=binding of mmsys and disp path into this series > - separate th modidfication of alphabetic order, remove unused define and > rename the define of register offset to individual patch > - add comment for MERGE ultra and preultra setting > > Change in v6: > - adjust alphabetic order for mediatek-drm > - move the patch that add mt8195 support for mediatek-drm as > the lastest patch > - add MERGE define for const varriable > > Change in v5: > - add power-domain property into vdosys0 and vdosys1 dts node. > - add MT8195 prifix and remove unused VDO1 define in mt8195-mmsys.h > > Change in v4: > - extract dt-binding patches to another patch series > https://patchwork.kernel.org/project/linux-mediatek/list/?series=519597 > - squash DSC module into mtk_drm_ddp_comp.c > - add coment and simplify MERGE config function > > Change in v3: > - change mmsys and display dt-bindings document from txt to yaml > - add MERGE additional description in display dt-bindings document > - fix mboxes-cells number of vdosys0 node in dts > - drop mutex eof convert define > - remove pm_runtime apis in DSC and MERGE > - change DSC and MERGE enum to alphabetic order > > Change in v2: > - add DSC yaml file > - add mt8195 drm driver porting parts in to one patch > - remove useless define, variable, structure member and function > - simplify DSC and MERGE file and switch threre order > > jason-jh.lin (12): > dt-bindings: arm: mediatek: mmsys: add power and gce properties > dt-bindings: arm: mediatek: mmsys: add mt8195 SoC binding > dt-bindings: display: mediatek: disp: split each block to individual > yaml > dt-bindings: display: mediatek: dsc: add yaml for mt8195 SoC binding > dt-bindings: display: mediatek: merge: add additional prop for mt8195 > dt-bindings: display: mediatek: add mt8195 SoC binding for vdosys0 > dt-bindings: arm: mediatek: move out common module from display folder > soc: mediatek: add mtk-mmsys support for mt8195 vdosys0 > soc: mediatek: add mtk-mutex support for mt8195 vdosys0 > drm/mediatek: add DSC support for mediatek-drm > drm/mediatek: add MERGE support for mediatek-drm > drm/mediatek: add mediatek-drm of vdosys0 support for mt8195 > > .../bindings/arm/mediatek/mediatek,mmsys.yaml | 32 ++- > .../display/mediatek/mediatek,disp.txt | 219 ---------------- > .../display/mediatek/mediatek,dither.yaml | 76 ++++++ > .../display/mediatek/mediatek,dsc.yaml | 71 +++++ > .../display/mediatek/mediatek,gamma.yaml | 77 ++++++ > .../display/mediatek/mediatek,merge.yaml | 106 ++++++++ > .../display/mediatek/mediatek,od.yaml | 53 ++++ > .../display/mediatek/mediatek,ovl-2l.yaml | 88 +++++++ > .../display/mediatek/mediatek,ovl.yaml | 103 ++++++++ > .../display/mediatek/mediatek,postmask.yaml | 69 +++++ > .../display/mediatek/mediatek,rdma.yaml | 117 +++++++++ > .../display/mediatek/mediatek,split.yaml | 58 +++++ > .../display/mediatek/mediatek,ufoe.yaml | 61 +++++ > .../bindings/soc/mediatek/mediatek,aal.yaml | 72 +++++ > .../bindings/soc/mediatek/mediatek,ccorr.yaml | 46 +++- > .../bindings/soc/mediatek/mediatek,color.yaml | 81 ++++++ > .../bindings/soc/mediatek/mediatek,mutex.yaml | 77 ++++++ > .../bindings/soc/mediatek/mediatek,wdma.yaml | 47 +++- > drivers/gpu/drm/mediatek/Makefile | 1 + > drivers/gpu/drm/mediatek/mtk_disp_drv.h | 8 + > drivers/gpu/drm/mediatek/mtk_disp_merge.c | 246 ++++++++++++++++++ > drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 6 + > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 63 +++++ > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 2 + > drivers/gpu/drm/mediatek/mtk_drm_drv.c | 32 ++- > drivers/gpu/drm/mediatek/mtk_drm_drv.h | 1 + > drivers/soc/mediatek/mt8195-mmsys.h | 130 +++++++++ > drivers/soc/mediatek/mtk-mmsys.c | 11 + > drivers/soc/mediatek/mtk-mutex.c | 103 +++++++- > include/linux/soc/mediatek/mtk-mmsys.h | 9 + > 30 files changed, 1832 insertions(+), 233 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt > create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml > create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,dsc.yaml > create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml > create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml > create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,od.yaml > create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,ovl-2l.yaml > create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml > create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,postmask.yaml > create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml > create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,split.yaml > create mode 100644 Documentation/devicetree/bindings/display/mediatek/mediatek,ufoe.yaml > create mode 100644 Documentation/devicetree/bindings/soc/mediatek/mediatek,aal.yaml > create mode 100644 Documentation/devicetree/bindings/soc/mediatek/mediatek,color.yaml > create mode 100644 Documentation/devicetree/bindings/soc/mediatek/mediatek,mutex.yaml > create mode 100644 drivers/gpu/drm/mediatek/mtk_disp_merge.c > create mode 100644 drivers/soc/mediatek/mt8195-mmsys.h Looks like this is in linux-next and now: Error: Documentation/devicetree/bindings/display/mediatek/mediatek,aal.example.dts:27.27-28 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,aal.example.dt.yaml] Error 1 Error: Documentation/devicetree/bindings/display/mediatek/mediatek,wdma.example.dts:27.27-28 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,wdma.example.dt.yaml] Error 1 Error: Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.example.dts:27.27-28 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.example.dt.yaml] Error 1 Error: Documentation/devicetree/bindings/display/mediatek/mediatek,dither.example.dts:27.27-28 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,dither.example.dt.yaml] Error 1 Error: Documentation/devicetree/bindings/display/mediatek/mediatek,postmask.example.dts:27.27-28 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,postmask.example.dt.yaml] Error 1 Error: Documentation/devicetree/bindings/display/mediatek/mediatek,ufoe.example.dts:27.27-28 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,ufoe.example.dt.yaml] Error 1 Error: Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.example.dts:27.27-28 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.example.dt.yaml] Error 1 Error: Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.example.dts:27.27-28 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.example.dt.yaml] Error 1 Error: Documentation/devicetree/bindings/display/mediatek/mediatek,od.example.dts:24.30-31 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,od.example.dt.yaml] Error 1 Error: Documentation/devicetree/bindings/display/mediatek/mediatek,color.example.dts:27.27-28 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,color.example.dt.yaml] Error 1 Error: Documentation/devicetree/bindings/display/mediatek/mediatek,ethdr.example.dts:35.50-51 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,ethdr.example.dt.yaml] Error 1 Error: Documentation/devicetree/bindings/display/mediatek/mediatek,split.example.dts:24.35-36 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,split.example.dt.yaml] Error 1 Error: Documentation/devicetree/bindings/display/mediatek/mediatek,merge.example.dts:27.35-36 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,merge.example.dt.yaml] Error 1 Error: Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.example.dts:27.27-28 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.example.dt.yaml] Error 1 Error: Documentation/devicetree/bindings/display/mediatek/mediatek,dsc.example.dts:27.27-28 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,dsc.example.dt.yaml] Error 1 Error: Documentation/devicetree/bindings/display/mediatek/mediatek,ovl-2l.example.dts:27.27-28 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,ovl-2l.example.dt.yaml] Error 1 Error: Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.example.dts:27.27-28 syntax error FATAL ERROR: Unable to parse input tree make[1]: *** [scripts/Makefile.lib:386: Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.example.dt.yaml] Error 1 Please fix 'make dt_binding_check'. Rob