From patchwork Thu Mar 24 15:26:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin LABBE X-Patchwork-Id: 12790773 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 8FAA5C433F5 for ; Thu, 24 Mar 2022 15:27:19 +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: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=5eaoO3XbrM6KziLtNIFBwev9JRv2ko0t0Ncdr25wPXo=; b=gFTVJIAkJfTasC Pt/HKnOkLDRwsA75WNYLjmeCSs80TIOSH0rpR7OpUX40UDYzQi9ecWzVNaNEZsHnXgwZMyEs0C90b b/jCPvwvk5T6WVhATjkpLeIxIo3FmeaYwdRkJp6F9BQxpPlp7/JCCsMVS132ZmbRHbeepQOL8rAyh 4TgFf9p5soqxW64+aSN3MbFKCqkZ02sNuxw6MZpd2Q4vpgmN160dN9Rw7jaWYx1cKDIEZvxDLYUkJ dUJ3JL5euYww3cBVGqb3xcHv1aMhzC4+45knuCb+IEjvoMm9oLBd+9qxp3LEO8jqjX9afOdRfl9PX 8Dixi/ASciu60nvaftSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXPMk-00H26A-3g; Thu, 24 Mar 2022 15:27:10 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nXPMf-00H24m-TS for linux-mediatek@lists.infradead.org; Thu, 24 Mar 2022 15:27:08 +0000 Received: by mail-wm1-x32d.google.com with SMTP id n35so2932357wms.5 for ; Thu, 24 Mar 2022 08:27:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=f+ay7tqudhjbGbdnObBg9rVW5P7BZjQ31rnVnGMAZWk=; b=yoqOuL45S1UOIOGTlbIjvOP0bcxCkdJmgO8ybdxTGcfeYXEDM/kYQY5Z6U5IvTUlrA teugwQjBm4bNPPo/5MKruClvWqHLscb3DjwlkqT2o8KXo2YvAG0f1lr6wGfUt2IVH/GI LuMWm36r+7lU5phOt6LmbSOkARXaNetUPuFetaALFUzIeVHEe2XfAxuPP6W1+tOXLv1R +4S5S29KOI8tD1M7ubPpTaVDFXTViYra3jR6/wt2Jl+gK4n/A6aq1GicM2o4Ef6lFni2 67DImm+X4wY+/1BLE/ziAbPoBDrAfVPdB8yjTWNJt+E7LRg78xdK03pNl8d5o10QmszF 06dg== 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:mime-version :content-transfer-encoding; bh=f+ay7tqudhjbGbdnObBg9rVW5P7BZjQ31rnVnGMAZWk=; b=DX5hZtsn+R71F5L1nRMLJAdIAo3Rce3PPxo8bdVdH2rRbC2RJWMAmyrwQJMZn7cJ3I v1AHzn4owiVwRCu6Us/ScEGqZ3f0hcqioC2Dz0xQGuilnPzK8KFZtFWz88Hy5h7gnyOQ q8J2sQj5Z2i5nQJuMDTvG6lz4OnsrXepVsCPWGICCcgDTcwMQLUkWADHNNynyNg/B61V mYIlnjk3OJrKQlH8zsWWXSlM66RiuDs7U/HCC9xLUpHwhBUVaTCWarz1UC+QpY6QQGgF 4/Hj48IcAtnnjx1Hq1lSSO4hwYOKtTE1aU5RUBX4Ib2ME5K+MK748cq29fe+xmHaCCHv t5nA== X-Gm-Message-State: AOAM530E0oM1m1HNnvER3HdZJLduxWEqqOy6I3s8q31gzjtCJks80Hzm rhsuUdbvUr77ebTYAN5iYinQhQ== X-Google-Smtp-Source: ABdhPJws87KVaVeOTw0TuPGtZNrXPQklwZMoptawtDOQ+Tbg5xeUk0cUlzKNYP316LQXkP4tCMCcwQ== X-Received: by 2002:a05:600c:ac5:b0:38c:9a51:3059 with SMTP id c5-20020a05600c0ac500b0038c9a513059mr5382446wmr.2.1648135624059; Thu, 24 Mar 2022 08:27:04 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id g17-20020a05600c4ed100b0038ca32d0f26sm2808104wmq.17.2022.03.24.08.27.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Mar 2022 08:27:03 -0700 (PDT) From: Corentin Labbe To: airlied@linux.ie, alexandre.torgue@foss.st.com, chunkuang.hu@kernel.org, daniel@ffwll.ch, krzk+dt@kernel.org, matthias.bgg@gmail.com, mcoquelin.stm32@gmail.com, p.zabel@pengutronix.de, robh+dt@kernel.org Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Corentin Labbe Subject: [PATCH] dt-bindings: display: mediatek: Add includes on examples Date: Thu, 24 Mar 2022 15:26:58 +0000 Message-Id: <20220324152658.1132110-1-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220324_082705_981864_8391F7AE X-CRM114-Status: UNSURE ( 8.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org make dt_binding_check fail on lot of mediatek bindings due to missing includes. Signed-off-by: Corentin Labbe --- 2 files remains to be fixed, but their examples use some variable undefined, so I cannot do anything: - display/mediatek/mediatek,ethdr.yaml - display/mediatek/mediatek,merge.yaml .../display/mediatek/mediatek,aal.yaml | 4 + .../display/mediatek/mediatek,ccorr.yaml | 4 + .../display/mediatek/mediatek,color.yaml | 4 + .../display/mediatek/mediatek,dither.yaml | 4 + .../display/mediatek/mediatek,dsc.yaml | 4 + .../display/mediatek/mediatek,gamma.yaml | 4 + .../display/mediatek/mediatek,mutex.yaml | 4 + .../display/mediatek/mediatek,od.yaml | 1 + .../display/mediatek/mediatek,ovl-2l.yaml | 5 + .../display/mediatek/mediatek,ovl.yaml | 5 + .../display/mediatek/mediatek,postmask.yaml | 4 + .../display/mediatek/mediatek,rdma.yaml | 5 + .../display/mediatek/mediatek,split.yaml | 3 + .../display/mediatek/mediatek,ufoe.yaml | 3 + .../display/mediatek/mediatek,wdma.yaml | 5 + 17 files changed, 59 insertions(+), 257 deletions(-) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml index 225f9dd726d2..63755d4d21d7 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,aal.yaml @@ -66,6 +66,10 @@ additionalProperties: false examples: - | + #include + #include + #include + #include aal@14015000 { compatible = "mediatek,mt8173-disp-aal"; diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml index 6894b6999412..b32355b32dfa 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml @@ -65,6 +65,10 @@ additionalProperties: false examples: - | + #include + #include + #include + #include ccorr0: ccorr@1400f000 { compatible = "mediatek,mt8183-disp-ccorr"; diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml index bc83155b3b4c..ffdef0b30de8 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml @@ -75,6 +75,10 @@ additionalProperties: false examples: - | + #include + #include + #include + #include color0: color@14013000 { compatible = "mediatek,mt8173-disp-color"; diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml index 9d89297f5f1d..7ac58022a2ed 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml @@ -65,6 +65,10 @@ additionalProperties: false examples: - | + #include + #include + #include + #include dither0: dither@14012000 { compatible = "mediatek,mt8183-disp-dither"; diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dsc.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsc.yaml index 1ec083eff824..1ab30b0efffe 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dsc.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsc.yaml @@ -60,6 +60,10 @@ additionalProperties: false examples: - | + #include + #include + #include + #include dsc0: disp_dsc_wrap@1c009000 { compatible = "mediatek,mt8195-disp-dsc"; diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml index 247baad147b3..4f8ba492dc0a 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml @@ -66,6 +66,10 @@ additionalProperties: false examples: - | + #include + #include + #include + #include gamma@14016000 { compatible = "mediatek,mt8173-disp-gamma"; diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.yaml index 6eca525eced0..ad3a69d1254c 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,mutex.yaml @@ -71,6 +71,10 @@ additionalProperties: false examples: - | + #include + #include + #include + #include mutex: mutex@14020000 { compatible = "mediatek,mt8173-disp-mutex"; diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,od.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,od.yaml index 7519db315217..1f92566ff5ed 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,od.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,od.yaml @@ -45,6 +45,7 @@ additionalProperties: false examples: - | + #include od@14023000 { compatible = "mediatek,mt8173-disp-od"; diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl-2l.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl-2l.yaml index e3cef99d0f98..e810e152404a 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl-2l.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl-2l.yaml @@ -66,6 +66,11 @@ additionalProperties: false examples: - | + #include + #include + #include + #include + #include ovl_2l0: ovl@14009000 { compatible = "mediatek,mt8183-disp-ovl-2l"; diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml index 93d5c68a2dbd..14673f979edc 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml @@ -81,6 +81,11 @@ additionalProperties: false examples: - | + #include + #include + #include + #include + #include ovl0: ovl@1400c000 { compatible = "mediatek,mt8173-disp-ovl"; diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,postmask.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,postmask.yaml index 6ac1da2e8871..d0d45d1e4f15 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,postmask.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,postmask.yaml @@ -58,6 +58,10 @@ additionalProperties: false examples: - | + #include + #include + #include + #include postmask0: postmask@1400d000 { compatible = "mediatek,mt8192-disp-postmask"; diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml index b56e22fbcd52..2265fef6a795 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml @@ -94,6 +94,11 @@ additionalProperties: false examples: - | + #include + #include + #include + #include + #include rdma0: rdma@1400e000 { compatible = "mediatek,mt8173-disp-rdma"; diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,split.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,split.yaml index 4f08e89c1067..83e6cb40ba7c 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,split.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,split.yaml @@ -49,6 +49,9 @@ additionalProperties: false examples: - | + #include + #include + #include split0: split@14018000 { compatible = "mediatek,mt8173-disp-split"; diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,ufoe.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,ufoe.yaml index 6e8748529e73..69cddc2ee531 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ufoe.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ufoe.yaml @@ -51,6 +51,9 @@ additionalProperties: false examples: - | + #include + #include + #include ufoe@1401a000 { compatible = "mediatek,mt8173-disp-ufoe"; diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,wdma.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,wdma.yaml index f9f00a518edf..60e9f890ebf1 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,wdma.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,wdma.yaml @@ -64,6 +64,11 @@ additionalProperties: false examples: - | + #include + #include + #include + #include + #include wdma0: wdma@14011000 { compatible = "mediatek,mt8173-disp-wdma";