From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 28DDC3DD53B for ; Wed, 24 Jun 2026 17:36:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782322599; cv=none; b=KxhMB42f7M685OLtw1iVjQxhz7Owi1pG89NTse1ckX72sGt2HyyRiq1K5CkfdP70Zj80vSS3gNYp9Qi76Nd+LPQvPRuH5Oy3utZYJdt3ominUFotHBgTgQ3CCZcsJBXmSRGf1LiP+LUDia3nyMreA6fDx6V5J96UNbSyhAFQfDc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782322599; c=relaxed/simple; bh=YWmTXO1Fa6ALM804M4S0oiKW6rp5tf136fWjq6VF5sA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MMdE0xM7scbmq6EYvGmyfx+OJwI3V4tkwubPVA6AQO89xl8XsHX/fd1FKKSwjMbXUorS/xLHyCiiz2Rd//cJiVPt6zrYTBS/LDKsmKasw9eceP/0r36MXki3ZcsfUo03pizEA6NOUijkGC7sV3mcftJTXOXOCMZyXlQY0pBC0fU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=q2jGzvdH; arc=none smtp.client-ip=209.85.221.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="q2jGzvdH" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-45ef189aa1cso999736f8f.0 for ; Wed, 24 Jun 2026 10:36:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782322596; x=1782927396; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=G06cM7MjeSchS2SfjoxKf8C946GFsoGL3igB1cEOCFY=; b=q2jGzvdHOieluiPGwljicDVsA2G3KAFdMRZxz2Kip/3EumF2thnSxH9uXDk9Jx6lP0 +WTwvQLdeg4B6v47yabvsgIR/V1FL1ij1YSyt4D610xOfUNyT8yhzIXADmtuAo+ln6vT 9bk7o4FFmoPdvoz95vQnM9slPKvDpwpIYkEpiqVTd5DEVw5Y815LHmh5qqlCr13Oxqjb JnKng+zSKbB1zxMCGhXG/MQuqwr6mIroWpONjtaSvpOXs318eGF8mGLBS1rZmvcZlacu TcWMtt3JzybTotL/+AzpUsN9RNxlvmhoLy5pzViKvq7BcQCH/FvqJAVE4YSCw9bxPPY/ yFsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782322596; x=1782927396; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=G06cM7MjeSchS2SfjoxKf8C946GFsoGL3igB1cEOCFY=; b=gqhGCPDUFG+KYQ32nE2YfD/dhKElbGRF8xfoOG+lLu5NqSGkHrUqxcyi/tOsewPrV1 bdlX/Jln7/BjOkiz0yDefE8OlkfIXqcEsNJuux69NuQe0wWSjDFf2Hencvo7RxMg6z47 cVcZ3PS9Yvun6HHROsfBu9D+4LeaT5yA6nujJ4gYlYTdUkQwF9OA9VqetMnnU558hcAI tdkA2xDB2lOMYOHhi0eJLGvxFX5HXeLJRKKeHfh34vKPN32HbDGy8rTUFsbg9KZyxlpM 6i7AnXQXsXqOH4v95zbo8FKUbQz2k1JW2Sk1fGxYgAjwG+ytZMfKRWDXnsATP19ZMgrw effA== X-Forwarded-Encrypted: i=1; AHgh+RpNr8CQfxuUNzggZZfCeVwZYyqEyajHkgDmo+BsQSp2tSaaMfRAlEs1Ofzq2i4cGdDyupnRsc5ykHi83S8=@vger.kernel.org X-Gm-Message-State: AOJu0Yx4rgPx8ZeZEuNLqvErEHHXQ2F330uQkC+segzL7leD/TswJ6e1 n3CVfKAhv0yezc1n1aV6TJv7Br1QNNuMnItV/lS2o4CRRARxugFo76Px X-Gm-Gg: AfdE7cnpZu9OGlx5IyE56J2+kmctYOy/Jf15Y5KPTfjPzyddQsA6uumc/zbVd87uYIN Df4D54FnfjU6PLsv2H8L/QYVMid9bDTCyEW8lQ7ipxsIqrL/+C/upfHV5KvnRcFLFlBOQugg2oS tJP5rWnd4z3AeJwLt3fWV5/5udI7CrEIgzqNK8ikCBX7y3hlJQVcjoiEOZSLTwgyFpz8IVUlhiy ZtTjTVraTBQcbiggAW2KWd8aSg2QX4VSFceY5LYZYvWNJu6rgRg6fzoR48o/4rjzwLS4K9Lay2n KoDgfh6M2dwWu+wXpNkf64US4YJTCl6p3TGxjnUIj8LqV124MFQXN7KOPsF/nhllrfKcXxKnhPZ 6H/NVC6JSOqno42qc/nCJuklDMYZrTfXvLv53rK5ZL9r2nLttcudgFIGoKRvr42ARYLXKIcXCOh +Xv1oLsA== X-Received: by 2002:a05:6000:2581:b0:45e:d8dc:922e with SMTP id ffacd0b85a97d-46c0b3e3a86mr7091212f8f.20.1782322596297; Wed, 24 Jun 2026 10:36:36 -0700 (PDT) Received: from luca-vm.. ([81.56.18.151]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-46c1b754471sm8165914f8f.0.2026.06.24.10.36.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2026 10:36:35 -0700 (PDT) From: Luca Leonardo Scorcia To: linux-mediatek@lists.infradead.org Cc: Luca Leonardo Scorcia , Chun-Kuang Hu , Philipp Zabel , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , CK Hu , Jitao shi , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2] dt-bindings: mediatek: cec: Correct the compatibles for mt7623-mt8167 Date: Wed, 24 Jun 2026 19:36:15 +0200 Message-ID: <20260624173627.19785-1-l.scorcia@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The HDMI CEC driver for both mt7623 and mt8167 is actually the same as mt8173-cec and the mt7623n.dtsi board include file already uses mt8173-cec compatible as a fallback, but the documentation lists them as separate entries. Correct the binding by adding the correct fallback. This change fixes the following dtbs_check errors: DTC [C] arch/arm/boot/dts/mediatek/mt7623n-rfb-emmc.dtb cec@10012000 (mediatek,mt7623-cec): compatible: ['mediatek,mt7623-cec', 'mediatek,mt8173-cec'] is too long DTC [C] arch/arm/boot/dts/mediatek/mt7623n-bananapi-bpi-r2.dtb cec@10012000 (mediatek,mt7623-cec): compatible: ['mediatek,mt7623-cec', 'mediatek,mt8173-cec'] is too long Signed-off-by: Luca Leonardo Scorcia --- Changes in v2: * Fixed yaml indent (sorry about that, I ran checks multiple times but it did not show anything - I had to clean everything and run them again to get them to show...). * Added details about the errors that are fixed with this patch. Initial version: [1] [1] https://lore.kernel.org/linux-mediatek/20260623135757.5111-1-l.scorcia@gmail.com/ .../bindings/display/mediatek/mediatek,cec.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,cec.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,cec.yaml index 080cf321209e..bc288b1c6f07 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,cec.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,cec.yaml @@ -15,10 +15,13 @@ description: | properties: compatible: - enum: - - mediatek,mt7623-cec - - mediatek,mt8167-cec - - mediatek,mt8173-cec + oneOf: + - const: mediatek,mt8173-cec + - items: + - enum: + - mediatek,mt7623-cec + - mediatek,mt8167-cec + - const: mediatek,mt8173-cec reg: maxItems: 1 -- 2.43.0