From patchwork Wed Jan 11 12:37:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen-KH Cheng X-Patchwork-Id: 41967 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3295098wrt; Wed, 11 Jan 2023 04:41:01 -0800 (PST) X-Google-Smtp-Source: AMrXdXunIUdhDQsS1RHXrWEsI7LkScxbrzt64VNsMCis56AcQ9IBexojWwnsqonjekIykSyRQyws X-Received: by 2002:aa7:9796:0:b0:58a:66a8:edf5 with SMTP id o22-20020aa79796000000b0058a66a8edf5mr6424198pfp.3.1673440860798; Wed, 11 Jan 2023 04:41:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673440860; cv=none; d=google.com; s=arc-20160816; b=ngocuC8gpo7+3ZsWDB35KT44AxN6ASt0T4sVRTaqT9WlOyO7jUadOFgYLMNxEtWgA5 4T633dLRHjsTSELGJmP2KApQtWjaZ5l7qFS5fRVzsnh8JYwfd7/U2c0RFuoCv62PgsGj uPAFMWo/f/75Yc/9WCN0xpcsSXDyTlhaThESrkNhr6Prx86XCReqO7vLdQKrRfGwhsnP 3TGTh3kv/UZheTJHWaNYOqaep491hvqifVWCHlfJ+ObLWZ0Mir39jX2QEEJ14r8mGl2q WhV0KY8zdvNT94wNzzfme9y4VyjimCgxQxbhfFfsFInwaEfQVVqS45180pDebltaQGyx xoDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=cqez+BT8T3P+bnOJ89Ly81+tB76MJsWmGJ/qmPRTHh4=; b=po67Q7QEKH6FI6aYkZNfb2oNpjhT1/WexydFnlYqmIOOUNNwKRbvaRZOwr/27FbEf0 mtL3PappYMqOFHl7aSp30bZA5s7T46zfMCdFrP11nvW7pZsQJwB2nYxsmOUl2wUKAiC/ b50qUDbR9/cmBh28Os+TmZDAK/okwpkd28Azn94DpRf+qHUGgyBhrewCrmEMX7TVaSP3 2yoSbv+KzGuaT3wZKY02NUAYE6Q5woNUaQRtI4PSJPdGr3xR/Gpkb48yiPT5gc2jL5Pb RIIXc9dWtBCK/R5ulj3VOjFLIsrzW4CVHvVQLCH6qCzBdkv9H0mELcncp7mgf8J+FElM johw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=RnFV5b7l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m21-20020a056a00081500b00580eef1f714si14189996pfk.265.2023.01.11.04.40.48; Wed, 11 Jan 2023 04:41:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=RnFV5b7l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238624AbjAKMiF (ORCPT + 99 others); Wed, 11 Jan 2023 07:38:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237970AbjAKMh2 (ORCPT ); Wed, 11 Jan 2023 07:37:28 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D2366558; Wed, 11 Jan 2023 04:37:25 -0800 (PST) X-UUID: b080e4e491ac11eda06fc9ecc4dadd91-20230111 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=cqez+BT8T3P+bnOJ89Ly81+tB76MJsWmGJ/qmPRTHh4=; b=RnFV5b7lc667HA65k5XkZ5KUiMvBwh5hTOo0+gl5PgSKMsRCL804Om7NsxdcywOnONTrJwo9kifbM/F2Tn1DtgrPxR//AACseNH/eMET9fc2ZcU1hUlKVQX5fQP/V++yU4EX2zxXw95fWDZbw2IXHY2AM+/Vl6x/Uo6vSGPYiiM=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.17,REQID:5c5c5857-bd87-409e-8543-63a066284747,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:95 X-CID-INFO: VERSION:1.1.17,REQID:5c5c5857-bd87-409e-8543-63a066284747,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTION :quarantine,TS:95 X-CID-META: VersionHash:543e81c,CLOUDID:885b5b54-dd49-462e-a4be-2143a3ddc739,B ulkID:230111203722OEEZ7EM0,BulkQuantity:0,Recheck:0,SF:38|28|17|19|48,TC:n il,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OS I:0,OSA:0 X-CID-APTURL: Status:success,Category:nil,Trust:0,Unknown:0,Malicious:0 X-CID-BVR: 0,NGT X-UUID: b080e4e491ac11eda06fc9ecc4dadd91-20230111 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1068262159; Wed, 11 Jan 2023 20:37:19 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Wed, 11 Jan 2023 20:37:19 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 11 Jan 2023 20:37:19 +0800 From: Allen-KH Cheng To: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Stephen Boyd , AngeloGioacchino Del Regno , CC: , , , , , , Allen-KH Cheng Subject: [PATCH 8/9] dt-bindings: display: mediatek: Fix the fallback for mediatek,mt8186-disp-ccorr Date: Wed, 11 Jan 2023 20:37:10 +0800 Message-ID: <20230111123711.32020-9-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230111123711.32020-1-allen-kh.cheng@mediatek.com> References: <20230111123711.32020-1-allen-kh.cheng@mediatek.com> MIME-Version: 1.0 X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754729924009963855?= X-GMAIL-MSGID: =?utf-8?q?1754729924009963855?= The mt8186-disp-ccorr is not fully compatible with the mt8183-disp-ccorr implementation. It causes a crash when system resumes if it binds to the device. We should use mt8192-disp-ccorr as fallback of mt8186-disp-ccorr. Fixes: 8a26ea19d4dc ("dt-bindings: display: mediatek: add MT8186 SoC binding") Signed-off-by: Allen-KH Cheng Reviewed-by: Rob Herring --- .../devicetree/bindings/display/mediatek/mediatek,ccorr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml b/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml index 63fb02014a56..117e3db43f84 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml @@ -32,7 +32,7 @@ properties: - items: - enum: - mediatek,mt8186-disp-ccorr - - const: mediatek,mt8183-disp-ccorr + - const: mediatek,mt8192-disp-ccorr reg: maxItems: 1