From nobody Tue Nov 26 08:47:36 2024 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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 87BE8174EF0 for ; Sat, 19 Oct 2024 05:30:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729315811; cv=none; b=Qny0COcEtgjrRxNCK+AIAcmSzVuNpYSgXXYPfvb37/aIL3nP4EV9XXUyL9yIllVl2/Cx7Efw7oLQkXqQGfeHJg/YpYVu+DPPN6XrZ5+1fg50Hnny3vRSA+jNbzcJRs0rFAgz1EEaUPp+ZNULKYtN4chGWed3RqC+CJhLVz2SEqE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729315811; c=relaxed/simple; bh=2rABYizdoNQ/oKIRusin4/uvQCSNqBZYhvbp98Qmdd8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ctBSKmUXROUdagZSH1P79TfZ9ePi/hb5YxCzGyU1wLanP02xYXVyU9uwJuN2DMflLui+hVbaOz++JJsTf3Cl3gkT56ktMyFLRqrwhl5l+jT8lllxiiX9pYxM8s28jCaCfzAWNgS3hIxbpNk/D/9sZD2iz38lF6GjAQ9Yoq5gwxw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=h9YJIla7; arc=none smtp.client-ip=209.85.214.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="h9YJIla7" Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-20cdb889222so29449465ad.3 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=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=cJNuS83mrwWL8W8iH3SFWUNmmnjimhgt4bHtgaT67XI=; b=h9YJIla7KViGmD1a4TTR1+wdAMewo/FRAlQze81FHNheXcqccKBqWoWvOCmSWsx3Nc OOX0SSDljo1VpEzTRLI+mugkLaK+7ztvm4Lj+WcSyF5OPskOVyNtD1Dtx8FEF6BvLvxk A5z0AgrdYFwQrFi53yDLAROOjrS+3TjCRc6kg= 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=koOnMt7TW6qR0nYLht7GXAkDy3cv3AaUZVWOgpHJydjSqdV1XRVVnEuDek3geOsiVq UpmyF/K97h9Oey1EXDLQsFG44AGhXxSoH+/JRD+0sUgTHNP1VaenFFRtlYEams9+FWsD NQ0+L2sqehXJuvP/orOVl7r1WUcaz8+sgoNH+yrJ06Efpn+gReERxyR5r2ztSsKkdgom TrfSIooRuwSn63JkIgXOAOcFVJd9WVe4lcf/OPipDGgR87gLkiL/tSJl5ITWya8m7lHO VICQ7+b6QLHpO61u+Ge3HAD1k/Xd216GcSVgEdU0Qn6sbnM+w6UTAqnW+tbApYksXwIi ivRw== X-Forwarded-Encrypted: i=1; AJvYcCW7o/OZe5Xm3pFCQ6vlWDFQigHTkAE3z0qkC4CdoGAHMMoD/VTCZbMutLR9sKBkovzNEQFoofTX9ixPCRE=@vger.kernel.org X-Gm-Message-State: AOJu0YzR1E9FNN5CnKd7C1atR5ou29AiL+KywrdXJGXzFQQBT/F7GusC N7KaIaOnjGU6tLt+z40OXx9GJqu/skqDg7kfDiHMxEz6UW2zDchBQJFxyDEy1aM3iKqBJ7C7dys = 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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,dp= i.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.ya= ml 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: =20 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 --=20 2.47.0.rc1.288.g06298d1525-goog