From patchwork Fri Feb 17 11:13:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58516 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp832804wrn; Fri, 17 Feb 2023 03:29:30 -0800 (PST) X-Google-Smtp-Source: AK7set+PYyRKSg2g2KQFrcQKOhg7rvlzPOY5G8zmTSTw1J/rlRDn8ELLg1le4XL/tUeygJGegS8W X-Received: by 2002:a17:902:e845:b0:19b:c2d:1222 with SMTP id t5-20020a170902e84500b0019b0c2d1222mr4385437plg.52.1676633369860; Fri, 17 Feb 2023 03:29:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676633369; cv=none; d=google.com; s=arc-20160816; b=EPZXcJgh8p7Zi0VSt0eUxF9QHSIvqlAeL61y3Cx/95sBX/F5GhrY7+9DOkce4Vun0D AwgWfGofY1CLlgqb7bBskuvbB26p3Li0pDeHFTPrfcZHbZkH/TD5zJoe3YH+Z0vI0HdN qr0TPBJteg21HuBUBuqyF6zu0flHXm/lNUiT8iqlxzqAoK3oPYegvPy32xhQNQ7GCdTm bTHIAvocyh2/AXhwZ9lEY0MwyXroq+vZdrUGvECTSQuCFXNehjUW68GiWUTOXil4ZkOS 1YphkdDiDL1RrydeuiRtZ4rGo7gaDZhHLux30Dn8KLVAqOOpfymZR6T2AUyjzyyOOSjG 90zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=20OCfuLzA9fqgo8AT1mDWVtFNDiuNjsVIu2uoLHzxWk=; b=jxRGOQcqWu5Z+V3kjnUQ2iiKrjAq9mOoZ+qwqaNQan8A3NRtHBf+PQUNJPFJ8+ojtY 2R9OCcs0fALvx+5DkeB5X4yLsPeWyKAqBTuDQmBqroRNmHh/lAEWgHyTC8xaGSwZLlld vS25JfflYbW/FnMoGG/s9pvzp93p80EptnIuIYhSKcUOwYTyYKzqU1U3PTYVDEe9wvae fBaV9oM6ahH24CsRFpaiqW1djkXT6NQKAMTWKSrtyGpT3+bhAXCVJuzDHdKFZhJdbbFz x2uSwooRbDrv4kJ77DSHMWiw2A2j0B3hBeIKMv9iAOcL1X02X/8ngQwWdkDv3zQydMjv GEsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M7B9dusj; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r136-20020a632b8e000000b004fbd2e67637si4216004pgr.624.2023.02.17.03.29.16; Fri, 17 Feb 2023 03:29:29 -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=@linaro.org header.s=google header.b=M7B9dusj; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229893AbjBQLN6 (ORCPT + 99 others); Fri, 17 Feb 2023 06:13:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229756AbjBQLNx (ORCPT ); Fri, 17 Feb 2023 06:13:53 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7538065368 for ; Fri, 17 Feb 2023 03:13:38 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id bi36so1039644lfb.6 for ; Fri, 17 Feb 2023 03:13:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=20OCfuLzA9fqgo8AT1mDWVtFNDiuNjsVIu2uoLHzxWk=; b=M7B9dusj6MIYmuDnw4a2+gkHtOEil5pVYeLlsyq0LtpccdoRJkVfAhfKtNG1wbNmgT Yx671npsFn+FMm+XEgqGdrr0U3yCjYo8GltBUXigdpmsl+gfVQMTefQrjVUqDP0m8akd mkqBdIFYbEmBbNObAt2vFzbJKot1qX5m3/NXq7YRTypAyFv7Pwp2JxIrudmJvK0QoZV8 OVm3wCu1WOdeW1ja5/iLUHMZnRnDAOPp/BYu60DfwqiXnTqN8w0WC0aWvRNnUE5PaIhf Dxm3z5FY4/x9+CySIcYZ8tNc0etWFFWxscTPmj3Y/WGCBEz33RRn8sQVXgUM6zEE8KfX fn9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=20OCfuLzA9fqgo8AT1mDWVtFNDiuNjsVIu2uoLHzxWk=; b=newctMS0VG+p3BBMoKzar6qtYvV1Li3ihFkvREGjo8FG8gf1JGpTMaVxMEGpl4LiqN HkvH6osShfv+3MkOumHhqi1gs60tYq7xaMhrBLkxIE+uDHPtlidjt87HiF82vzG/B1Q5 U6FDicB3z1Vpw1Auyr5dNaAvJvb796ZqiycL8/srDv6Zafo0MM0k/MkAlxNWJhTwy+Zb 6UsDp+4xWHUI0w4m4pUFMVc+xKGxSoraeqvWYnAPKL2DySh5DUpvy7ofmQlZ11TRJXws VDPPsfBUt+OWUsPRcEIMUO+kH0hZ0LDfTENevt6jf+E0V3TH1PuXi0qsaDNKTLq4Bspm G7HA== X-Gm-Message-State: AO0yUKXC/uW1wtyLHJZ3npr9+rzOakpsKDnzXAtlbCANjw0pkmld5sI5 Qi/dSxaaX4sgw/MxI+pygklcPA== X-Received: by 2002:ac2:598b:0:b0:4dc:8510:bfed with SMTP id w11-20020ac2598b000000b004dc8510bfedmr327637lfn.65.1676632399844; Fri, 17 Feb 2023 03:13:19 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id h11-20020ac250cb000000b004b564e1a4e0sm642683lfm.76.2023.02.17.03.13.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 03:13:19 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Krishna Manikandan , "Bryan O'Donoghue" , dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: display/msm: dsi-controller-main: Fix deprecated QCM2290 compatible Date: Fri, 17 Feb 2023 12:13:15 +0100 Message-Id: <20230217111316.306241-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 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_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1758077512184573954?= X-GMAIL-MSGID: =?utf-8?q?1758077512184573954?= SM6115 previously erroneously added just "qcom,dsi-ctrl-6g-qcm2290", without the generic fallback. Fix the deprecated binding to reflect that. Fixes: 0c0f65c6dd44 ("dt-bindings: msm: dsi-controller-main: Add compatible strings for every current SoC") Signed-off-by: Konrad Dybcio --- Depends on (and should have been a part of): https://lore.kernel.org/linux-arm-msm/20230213121012.1768296-1-konrad.dybcio@linaro.org/ v1 -> v2: New patch .../devicetree/bindings/display/msm/dsi-controller-main.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml index 41cdb631d305..ee19d780dea8 100644 --- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml @@ -37,7 +37,6 @@ properties: - items: - enum: - qcom,dsi-ctrl-6g-qcm2290 - - const: qcom,mdss-dsi-ctrl deprecated: true reg: From patchwork Fri Feb 17 11:13:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58523 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp836699wrn; Fri, 17 Feb 2023 03:39:27 -0800 (PST) X-Google-Smtp-Source: AK7set8xh1gNHTFUUtxPrbbqoV9BXnNkltQxa3QACxMD02W9dlsJ9KksF/+Xg3X3eAWasVnSs4G/ X-Received: by 2002:a17:906:a287:b0:87b:dac1:bbe6 with SMTP id i7-20020a170906a28700b0087bdac1bbe6mr10422191ejz.36.1676633967326; Fri, 17 Feb 2023 03:39:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676633967; cv=none; d=google.com; s=arc-20160816; b=cO3gWZHBx/9uZv58UlAEJcAtMponEmpCgU02j7CbhpQKjDOa2tlmpmNHJP7TuIOc/1 iR/h6SiEOKmn9mTBkr4OBn60tr/baWkjz/KjTWgxMNkJ14JB0nQWRdz+1UY21HJuRqfd 3hDIrQdljhf4xXhwFXkw8V+bvBYHwFAMjdDLXzlcQBOURncgG0mivBptNQDKsPzwipWE vxC/grgCzjK+2v1TKaBg4C0OUQ0k++T4p+Y07ZF6SjCn0r6VStAROsVk87dY2DzD2Zds LZOf0fJfxcBoXDTKFmsF6jWg+l5kRJnhddS3nQ/0Xf/jVRrWOomwB1tmkoW9ZLkkuqPV HUFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hs8Yxp1MVlT0I86oaYY4unW9sTOxwBrv4kqwbTUdvms=; b=ctOegJsjliPyWDku2yJvuXwrrBVqt2pBqXisZc4r4b0kGZfqemcC1Lez/AcFWklt3C m7CkK2gmFyjHH2x7tOVBPu1wfisREHbbg/B10MVzVg6n5Bf05bAWJvSlHirSXQE1DeVx Yvbd9xSXHv0x5ivp73+l9TT8sb9DaqKGOhYRlamvTOIQp34ixUQ61ebeg+VpyxddrtJX 4cPpGRBs04T+5bIgoophR5GRwVtwKRpDzAY1k4bYJFwhH2Chn3R8HyQdmnYmxCFz8Yxs horxmhRRm+QVeAnsKWx5n1Pq9D9Srbe2DklyAnCqSuIyL9CuvmLL55Sz2Ty1z/JHIuyt xDBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CGC563Md; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mr47-20020a17090782af00b0087bfda67d4bsi3612782ejc.470.2023.02.17.03.39.03; Fri, 17 Feb 2023 03:39:27 -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=@linaro.org header.s=google header.b=CGC563Md; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229934AbjBQLOA (ORCPT + 99 others); Fri, 17 Feb 2023 06:14:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229839AbjBQLNy (ORCPT ); Fri, 17 Feb 2023 06:13:54 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C36F466663 for ; Fri, 17 Feb 2023 03:13:38 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id bi36so1039721lfb.6 for ; Fri, 17 Feb 2023 03:13:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hs8Yxp1MVlT0I86oaYY4unW9sTOxwBrv4kqwbTUdvms=; b=CGC563MdG5ZK3KHRue7aFJyu4Qnz5uziqhEbG4CsGGHsvLQEojFDL7WA+mLIDUIYhi /bFndr3aVqCYYfFvbp+nWjTxYHkp7/r35T07SX4F/p4FWasT9dOMUFDg4Xda1dglXy9F PGC48gU7jQdiXLtBlm/U1tejAbRSQIc1GcusXhTSmWJKO8lKbCu7lygQFsA8EkqWasQi kmjY8YfAwEoSxdNE0+et+Pr2zriuPlpXO5w5ps4Kd7jerOZ53+45+96+CffC/ZoAyniQ GupQVFTR6ctOzUXuh0LryBWoof8+SpejsVhrH8XshLe3J5gkEaNape3WO0jJwMLagK/q fxOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hs8Yxp1MVlT0I86oaYY4unW9sTOxwBrv4kqwbTUdvms=; b=nscOUy0DZVundaWSbYLXEDlZ3hIv+wyYK3ljOH+mS4YS5aJ7cALweM5E+HMNrLF24+ ZreXoLF9iSrBYWZWbunucuQ/dISpAVubU1HYJ7oPy1DA1nvCPm8Vknnpo0wzBKSgv7PJ eUbzNG5zBxXFxA0WOsusXgnSksTrK3mnTPn2CXX307ziu7Hy+pQNhZ/96C11z53aV7Ng 3xrXA95vACiR39NlXDs05I+i+q5CuoOOh1eSNfseMtjEpJ9mpMLm5LdJfPz+GPaWJVSZ xW0ummnjzEEMZV8Kvm+0kCU3ZoL7/hCjxmLQFwpJN9+2PXPIUbYE5hjX4lueUtjf8Fcv OVYg== X-Gm-Message-State: AO0yUKULnDF8WAAZFaPKClC6tfn3RbLBXYIZ2mPK/yGuVFfaPwLXWqZf mxyEdPHDcN6l5v2vhg/CSb0ZkA== X-Received: by 2002:a19:5202:0:b0:4cb:430b:c6b with SMTP id m2-20020a195202000000b004cb430b0c6bmr172623lfb.29.1676632401630; Fri, 17 Feb 2023 03:13:21 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id h11-20020ac250cb000000b004b564e1a4e0sm642683lfm.76.2023.02.17.03.13.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 03:13:21 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Krishna Manikandan , "Bryan O'Donoghue" , dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] dt-bindings: display: msm: sm6115-mdss: Fix DSI compatible Date: Fri, 17 Feb 2023 12:13:16 +0100 Message-Id: <20230217111316.306241-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217111316.306241-1-konrad.dybcio@linaro.org> References: <20230217111316.306241-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 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_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1758078138772370018?= X-GMAIL-MSGID: =?utf-8?q?1758078138772370018?= Since the DSI autodetection is bound to work correctly on 6115 now, switch to using the correct per-SoC + generic fallback compatible combo. Signed-off-by: Konrad Dybcio Reviewed-by: Krzysztof Kozlowski --- Depends on (and should have been a part of): https://lore.kernel.org/linux-arm-msm/20230213121012.1768296-1-konrad.dybcio@linaro.org/ v1 -> v2: - Deprecate the old compatible instead of removing it (Krzysztof) .../devicetree/bindings/display/msm/qcom,sm6115-mdss.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/msm/qcom,sm6115-mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,sm6115-mdss.yaml index 2491cb100b33..6fd1703e415f 100644 --- a/Documentation/devicetree/bindings/display/msm/qcom,sm6115-mdss.yaml +++ b/Documentation/devicetree/bindings/display/msm/qcom,sm6115-mdss.yaml @@ -40,7 +40,13 @@ patternProperties: type: object properties: compatible: - const: qcom,dsi-ctrl-6g-qcm2290 + oneOf: + - items: + - const: qcom,sm6115-dsi-ctrl + - const: qcom,mdss-dsi-ctrl + - description: Old binding with separate driver logic, please don't use + deprecated: true + const: qcom,dsi-ctrl-6g-qcm2290 "^phy@[0-9a-f]+$": type: object