From patchwork Sat Oct 19 05:26:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fei Shao X-Patchwork-Id: 13842554 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 EA9BFD3DEA7 for ; Sat, 19 Oct 2024 05:31:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=cJNuS83mrwWL8W8iH3SFWUNmmnjimhgt4bHtgaT67XI=; b=p+y0WxQaIAYiAVJjyqp9bA/h1d 3kG1Le22kAMxhl7IATjXOfG8yW2hBbBc+pk+jlTR23Jb2MydBEW7u8HYZeQwhgk29ih4UiXVz6k8O esMWX/63lGFYyKHFkiCiHdqvSpFK+NLkZRlvvqHveVDmPZzg9cHF6wfBnQITk6xD2qVgLquO/fYCM UwOBM3/dmGNI3ylh/BCLEYTdl10benmPk6qWfAs5jxv6sbquP7bD5jnQLYmxtPDjWetCsSzdHwrSt u4DbDMxWFJjh83mFqSsGSHGeXg1pCfUVfxPY5SCPNdkvxyXwxbcqD6PkeR80Ul4RO2WuCbL8MbwwL N7SD6kbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t223x-00000002azU-3ca2; Sat, 19 Oct 2024 05:31:41 +0000 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t222U-00000002aoj-0xI0 for linux-arm-kernel@lists.infradead.org; Sat, 19 Oct 2024 05:30:12 +0000 Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-7ea16c7759cso1825055a12.1 for ; Fri, 18 Oct 2024 22:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1729315809; x=1729920609; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=cJNuS83mrwWL8W8iH3SFWUNmmnjimhgt4bHtgaT67XI=; b=LqN0Uaq7CKKrt/7yx/ncIVcgiE+hbtVXbvDwdKrOwprpQnj7AvfJ3/z03IPmCi6WRV +7UU5CzgWjUVTlhkyLFvbcIrNaRFM4rNWFdNJ+Zkcc9LelQQdP0xf6b1fDtyQxeZUeAr t0GpPl4ERWFoo3pPNQyeA8yO0WT4rFZ86nyhE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729315809; x=1729920609; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cJNuS83mrwWL8W8iH3SFWUNmmnjimhgt4bHtgaT67XI=; b=K4dPORl6FCIXI7R2ct0gtLsuc2MJLmEpS3p9gccBeIBBBjhxGJtbv8/k7VlqQYuAkJ bqwS1uVYywE0cwv8ZJDLIECUMHrUiZWA95MXs6x0slIhj18EsGUp8JBlljd2gk9Fd39K uRwNfCKqsrgr/xeO8xUP4sGVsGzesxf0qjNgLAhB6piM0jhj4UUyxYRWmc/h+AUnkGqx wxOgO+dnAAcTtHBPY3Q41feWv0AUpN1QToaa2Q4MwHRFLcckl52gN1bu3IZT9ejcbyrw Q6m2YjEaRAn/BEAZ7nndFGaNgRnaLrMoy0Y93s536wug0nwKXy/Cc302/qkCdIi+VSsU pJMQ== X-Forwarded-Encrypted: i=1; AJvYcCUy4UT9fuvpPQrj05c292yvblh44cMAaJ28T3NjFmAfBZgnUpkswF866e1DwGLZfG8X6jrjZ35L9JsPDj6ila/g@lists.infradead.org X-Gm-Message-State: AOJu0Yyl6kVkV8K4p8KYemmKh938wK78AhKvX+dpKRfOU7A7uCPNHM1t TnpyW+ta7k+woiLUXI71MZObfj0TLGwfaWOzIQVXnhmlj5ktoHrGu7FG028Rjw== X-Google-Smtp-Source: AGHT+IH7n9UXYo5nlALMpZiRBbTQ8pp4m9cx7aacSoU54soAc/R6mjW8EzAU5xHiakUlodnb2D1f8Q== X-Received: by 2002:a05:6a21:458a:b0:1d7:118a:327b with SMTP id adf61e73a8af0-1d92c4a1d2emr6720501637.9.1729315808788; Fri, 18 Oct 2024 22:30:08 -0700 (PDT) Received: from fshao-p620.tpe.corp.google.com ([2401:fa00:1:10:baba:fa50:ff3b:337]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ea333bea3sm2370438b3a.57.2024.10.18.22.30.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2024 22:30:08 -0700 (PDT) From: Fei Shao To: AngeloGioacchino Del Regno , Chun-Kuang Hu Cc: Fei Shao , CK Hu , Conor Dooley , Krzysztof Kozlowski , Matthias Brugger , Philipp Zabel , Rob Herring , 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 Subject: [PATCH] dt-bindings: display: mediatek: dpi: Update device list with power-domains Date: Sat, 19 Oct 2024 13:26:56 +0800 Message-ID: <20241019052935.553886-1-fshao@chromium.org> X-Mailer: git-send-email 2.47.0.rc1.288.g06298d1525-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241018_223010_416298_D28AAE1E X-CRM114-Status: GOOD ( 10.81 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org There are two kinds of MediaTek DPI devices in the tree: the ones with a power domain and those without (or missing). The former are the majority and are more common in newer DTs. Only three older DTs fall into the latter category: MT2701, MT7623 and MT8192. However, the current binding only allows particular DPI devices to have power domains, which results in spurious binding check errors against existing and new DTs. Instead of diligently maintaining the allowed list, let's do it the other way around - create an exception list for devices that are fine not specifying a power domain. This list is expected to be fixed, and it encourages new MTK DPI devices to describe their power domain whenever possible; if not, those should be listed with proper rationale. Signed-off-by: Fei Shao Acked-by: Conor Dooley --- .../bindings/display/mediatek/mediatek,dpi.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml index 3a82aec9021c..c464642bbfb6 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml @@ -81,14 +81,13 @@ required: allOf: - if: - not: - properties: - compatible: - contains: - enum: - - mediatek,mt6795-dpi - - mediatek,mt8173-dpi - - mediatek,mt8186-dpi + properties: + compatible: + contains: + enum: + - mediatek,mt2701-dpi + - mediatek,mt7623-dpi + - mediatek,mt8192-dpi then: properties: power-domains: false