From patchwork Sat Mar 4 15:55:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13159961 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 0ED4EC6FA99 for ; Sat, 4 Mar 2023 15:55:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C781610E185; Sat, 4 Mar 2023 15:55:49 +0000 (UTC) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 11C5510E185 for ; Sat, 4 Mar 2023 15:55:48 +0000 (UTC) Received: by mail-lf1-x12e.google.com with SMTP id i9so7338141lfc.6 for ; Sat, 04 Mar 2023 07:55:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677945346; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=R0Z7PCtKUkVqJsivDDGD4tHBvmMLAeq4ZfR9VxFnexc=; b=NeIS309oRrzfgN4mcRpjduIs0ET1CsXpx7F6fk9c4qTkRUxXkwIAgBjxR9Y24NA+em Id0bIt3Y5P4pUDCjh5FcwPZhIP7Z5mPuOvO+nfRbUESV6+Jg1JUf/+fVYPr3GGWbl53b ZEHOKfXgea1Pu5aKgm0bOHCi3csUk4/tIqN6mnYh2fEPhCAL2gGLC6p4ASn7ycwGJ0VC kSawh9xsfTcVOKwPdUnmKM40crzSlk/NTkV9P3WCUvGUClE0nu0FcG5PFNjoSEyIoh6A azixturFbvDwFXnJV+O5iJO2XQlS0I1K8U3TWe1C00W3oKuN6IKn9bE9dQ7bAKfVODHZ Lfxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677945346; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R0Z7PCtKUkVqJsivDDGD4tHBvmMLAeq4ZfR9VxFnexc=; b=aoXdnsd9vFWsp5rr7P1/wtkZW2IgFV+TCT5YClx6N4g1b/DChqBWnDbSvPbRUXG53b eHVKhhtQ/pbdoLfUSpkb7VCV1IzxR663ViaJJyeDJJdtnx/jOCFQoJcKT5ZlMYws3xrJ 9Yg1uHHxrmOcvSurpawXclLI3FxubD9YMuyyUBb68/0AnSBFJ27mDGJhQ34A9BQVKmNQ Os3NqwOJzCBIoapSXURLgFtgFevEj1v4RTTaLhqcH1Zmrz/BnW/WRmn4PdxrW7w5u3Ku ydZ6Iki14N8MFgqLzYjij8t6KTzy62IMH+uQfsKoMQjQEAArM5Ppouhr+Nuv0KPK7gLO Xu+w== X-Gm-Message-State: AO0yUKXl6bRz6FzzWFP3y8hAdp+fHGpyIflLEYLVyaWuNL1fvF5FZJat k7ezC38SztWRFItZKHDpshOS2YjDy2ysri6VNoE= X-Google-Smtp-Source: AK7set/y8YiW4dmjB5HIHYzfGSUEp60S4ncz2/1dxkl1a9e85GDK8H1qoZ4fCSD2H0mcQi3JvK7NfQ== X-Received: by 2002:a05:6512:50e:b0:4d1:3d1d:4914 with SMTP id o14-20020a056512050e00b004d13d1d4914mr1705736lfb.33.1677945346240; Sat, 04 Mar 2023 07:55:46 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id n10-20020a19550a000000b004b40c2fccfdsm864128lfe.59.2023.03.04.07.55.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 07:55:45 -0800 (PST) From: Konrad Dybcio Date: Sat, 04 Mar 2023 16:55:34 +0100 Subject: [PATCH v3 1/2] dt-bindings: display/msm: dsi-controller-main: Fix deprecated compatible MIME-Version: 1.0 Message-Id: <20230304-topic-dsi_fixup-v3-1-b8565944d0e6@linaro.org> References: <20230304-topic-dsi_fixup-v3-0-b8565944d0e6@linaro.org> In-Reply-To: <20230304-topic-dsi_fixup-v3-0-b8565944d0e6@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Krishna Manikandan , Bryan O'Donoghue X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677945343; l=1144; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=5kzj2YWxyC8wUuhDCqozlnQie7hmtcE8bSzx7ndtKT4=; b=olX0NwynmYUDEuRLxQzz5x+tMQUX0Hk65zsshFPLVTSumrfcaOfAj0K/vUwUoug6uYb6Jh7ADOy+ SZb+1LQvAIb7B91UXDsBmx1I1PihC85gXkyLh20jXAsMg46ih3lx X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Konrad Dybcio , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The point of the previous cleanup was to disallow "qcom,mdss-dsi-ctrl" alone. This however didn't quite work out and the property became undocumented instead of deprecated. Fix that. Fixes: 0c0f65c6dd44 ("dt-bindings: msm: dsi-controller-main: Add compatible strings for every current SoC") Signed-off-by: Konrad Dybcio Reviewed-by: Bryan O'Donoghue Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml | 2 +- 1 file changed, 1 insertion(+), 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 f195530ae964..d534451c8f7f 100644 --- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml @@ -35,7 +35,7 @@ properties: - items: - enum: - qcom,dsi-ctrl-6g-qcm2290 - - const: qcom,mdss-dsi-ctrl + - qcom,mdss-dsi-ctrl # This should always come with an SoC-specific compatible deprecated: true reg: From patchwork Sat Mar 4 15:55:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13159962 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 70137C6FA99 for ; Sat, 4 Mar 2023 15:56:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AAF51892A1; Sat, 4 Mar 2023 15:55:51 +0000 (UTC) Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by gabe.freedesktop.org (Postfix) with ESMTPS id AFBFA10E1AB for ; Sat, 4 Mar 2023 15:55:49 +0000 (UTC) Received: by mail-lf1-x12b.google.com with SMTP id r27so7306870lfe.10 for ; Sat, 04 Mar 2023 07:55:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677945348; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=UUfSWCmSqctfdIKxSMclQIa/UdA2xHO3GVwbTIGP+Jw=; b=PL4hOCXwcQwhChwJLWuT40JgbydMXX1w1Ok3GV2HcRNUnf8zEduVQ/ZjNa2m8PJtTc ntvKxL1jXYvoPFEflMcaOIiVGGXo+Hy2uVPCFAmW0AMcGFv58IzOkAco1KipXGQg0mqv h5/bRKwQxiCdTPOb45qWWQm+iKloXx+qcLDPc9PYgbdRZUBWblZalBGwXxCLsI8V6pwB rlgh6ZsAeHIQGkmEnM9BR/mUateJU96S6iV1/PFQ2pbG6M99Is17JFnl6WC9a/PmNqc8 6Wj2Xp6uCCpeU3xJajRTwbaOl3ZHTF03W2hBxVDxCtA15G4USoni4GXQa9GcUQc2crNG QG2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677945348; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UUfSWCmSqctfdIKxSMclQIa/UdA2xHO3GVwbTIGP+Jw=; b=oAilNInq2wrPLkh8Q84LbBWcjgO33QolCMHFXOU7dGvJ+6utlVK2qxyzmZnKwqlB9I lhDrQB6qSKTxlBKeDaU4yOm4jYziUmuFpKsQ4yYY/D5/PNnGyy8QRRQ180fAY1a1RWgi V85kUp4lM0W4UJyA7axqX9DVOAttHAy43jXX7YIpLg26TiOWD2U35rNjMpN3nqUbf7Dx scoFAoSgs7NN0e5r3cOHpvOJpVDMQYnrMTl0lSrTORz+h+yPV/Rbuq0o0m8muGLGLKcp 6dfhpod34mjX4zWg2SOvFEa6vv1PM1Z40ObB9jTZM2akszplMktmaIuuH+Y+FTWzdqMt S/bQ== X-Gm-Message-State: AO0yUKU1Np/cFTIv6o7d5mYv5NRi3Gt2GFwFzKXn7GDPUiND1pxd1WKV djMex41LcgOCSOJo3ViL99PkGNTma334Mek+yBI= X-Google-Smtp-Source: AK7set+voqdIxWURE/9hVlo/PHV3DGjojAixNk3U856OsXfzIgpki790/QTv3mY0chnqmCbFMMlI4Q== X-Received: by 2002:ac2:44cb:0:b0:4b5:a207:8d70 with SMTP id d11-20020ac244cb000000b004b5a2078d70mr1400947lfm.5.1677945347847; Sat, 04 Mar 2023 07:55:47 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id n10-20020a19550a000000b004b40c2fccfdsm864128lfe.59.2023.03.04.07.55.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 07:55:47 -0800 (PST) From: Konrad Dybcio Date: Sat, 04 Mar 2023 16:55:35 +0100 Subject: [PATCH v3 2/2] dt-bindings: display: msm: sm6115-mdss: Fix DSI compatible MIME-Version: 1.0 Message-Id: <20230304-topic-dsi_fixup-v3-2-b8565944d0e6@linaro.org> References: <20230304-topic-dsi_fixup-v3-0-b8565944d0e6@linaro.org> In-Reply-To: <20230304-topic-dsi_fixup-v3-0-b8565944d0e6@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Krishna Manikandan , Bryan O'Donoghue X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677945343; l=1143; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=+hbEivqnmBNoExWXUNGA4lvz7CNdOA406GKFbpznxOI=; b=ydR3fv88VhonRdoeqjo/P/BmNkD3Hjtm9lvD2paCBN6qQhef8xWMXJHwtprfDhE1Ur8n9Atfsmr4 +zHVz7G7CvQfmi+rtosB8Q9ZQLtAr9zDvdNU9gNF2m8p+ZO16iRF X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Konrad Dybcio , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 --- .../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..605b1f654d78 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, please don't use + deprecated: true + const: qcom,dsi-ctrl-6g-qcm2290 "^phy@[0-9a-f]+$": type: object