From patchwork Wed Jan 18 09:18:28 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: 45141 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2251437wrn; Wed, 18 Jan 2023 02:15:53 -0800 (PST) X-Google-Smtp-Source: AMrXdXs9LqGEYe47hBXe3I896HFHjjwMskfug/SdiqaU6JEsbQISgXVlozixjX6XcyGR/3Hl2DFu X-Received: by 2002:a05:6a20:8f02:b0:af:c871:bf4b with SMTP id b2-20020a056a208f0200b000afc871bf4bmr8840184pzk.26.1674036953325; Wed, 18 Jan 2023 02:15:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674036953; cv=none; d=google.com; s=arc-20160816; b=oyR4Qpr2uKQlkIUSqy48Yu/yk8RSzMWR6f6e6BYy3T4xKOwsjRryS8lopo4nWN5Mdc e7QWmRNjre6If4W22bC1cjHzc8wEjCKZfG8kc/UdLdOyXy0P8ZTZh3qWUsHJpLWdNt9o T/5EAc7EoHAYLnjCnqpqT0tJNkRVY5Kwa1b0hXADVjIZgePzP20FBV9KfGXXfERDIdNz oksgDgT3lS6XoaMn9KRCxl+yKAhvtXrA6TILN2yNl2y63ccSxDn2FGbiK/neWogZrztj k/0gxKaFDFWwsDzrxLrfE+PaTG92IGBOJKxZQbvKblmj8dPRYIj3MqYTc960/7q0uija DSeQ== 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=+PmesaT5LEuJY2z5WkzPQb6nGpARQUchY4IIwzlhfDw=; b=BJ5nqsM2Af9QGvGM1PwGIXuev5WTatu7p9O9lTrqMiTgDE01luyUeAYS+z8mTGrAo6 iNHhhNWMTVqO5MAuGRJkUBmWZ2prPUjqPZlHWSUoqktYB5H05O71euQYKQl3nu2pp+l0 QjK4W4igRfEecAizW3mz5qCJ7zAqW9liowpLbsAyWxlalmRjuzB5HcTFsucQxM/qE0cV XM71WvW0A6bTRqSJubjBKHGYQFJ4hDBmKI8dBEMDMY+C8XsvV4Olc96VcGvnN3ff71oE stUDvt9nloVgfo2D09AmUkzxUjIme07p8ODkFGNlNHC+/10QnmlDsmR8sMwJGD5nG7H3 ufgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="qhG/m6r7"; 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 13-20020a63194d000000b004ced9993982si5092627pgz.862.2023.01.18.02.15.40; Wed, 18 Jan 2023 02:15:53 -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="qhG/m6r7"; 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 S230232AbjARKOc (ORCPT + 99 others); Wed, 18 Jan 2023 05:14:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230102AbjARKL1 (ORCPT ); Wed, 18 Jan 2023 05:11:27 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49D9A9AAAF; Wed, 18 Jan 2023 01:18:39 -0800 (PST) X-UUID: 16d88e72971111eda06fc9ecc4dadd91-20230118 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=+PmesaT5LEuJY2z5WkzPQb6nGpARQUchY4IIwzlhfDw=; b=qhG/m6r7GZk0fCmEn/BChy6i1VbLhu6C1mfgoqJvfw4dhToZ5fDnwBWyDKlB7tiOOyGO904I2jyWOP6E5j8wm0m02XOHxKlSnnA3kr5qomIfAAgwuhREViyTBoObKY20TieCKnMlB4pBSo+MPZJCs5+xzvPbBPIDR+iD3kntepg=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.18,REQID:d7b400b8-5220-4660-ba3b-0e74e3f3b90b,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:3ca2d6b,CLOUDID:844b0055-dd49-462e-a4be-2143a3ddc739,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0 X-CID-BVR: 0,NGT X-UUID: 16d88e72971111eda06fc9ecc4dadd91-20230118 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1463040071; Wed, 18 Jan 2023 17:18:37 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Wed, 18 Jan 2023 17:18:35 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 18 Jan 2023 17:18:35 +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 v2 8/9] dt-bindings: display: mediatek: Fix the fallback for mediatek,mt8186-disp-ccorr Date: Wed, 18 Jan 2023 17:18:28 +0800 Message-ID: <20230118091829.755-9-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230118091829.755-1-allen-kh.cheng@mediatek.com> References: <20230118091829.755-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?1755354972599282699?= X-GMAIL-MSGID: =?utf-8?q?1755354972599282699?= 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 Reviewed-by: Matthias Brugger --- .../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