From patchwork Thu Jul 7 21:31:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 588724 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B9C3C433EF for ; Thu, 7 Jul 2022 21:32:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236802AbiGGVcR (ORCPT ); Thu, 7 Jul 2022 17:32:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236618AbiGGVcJ (ORCPT ); Thu, 7 Jul 2022 17:32:09 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FFDE33355 for ; Thu, 7 Jul 2022 14:32:08 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id m16so1956183ljh.10 for ; Thu, 07 Jul 2022 14:32:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=g6bqacWTPjjHFhRsWqJbDsVdZPKLV6uJiyhcths+p2o=; b=D3idN/ahpbAGCpkBL2rzgaEyQ1TIrb1+uPATnXA2dqwS8zUPdqYqe4CPzf1a3Z7AH6 efTjks/bwKfxavNw8+z2KSteIFR9KodVqjk+zSzps7jbYdJh4OCF9OITA80xsjcYeqn5 bPm39Et/XN0vGI1kgnFeJlgx4hT0CKt8jQWkIjUL+PFUWzlcJyfc455cdMH46UhZMGir cziZp5RhdQaFUHPaei/WbNnP9I3tVbZiZCvRV7Am5HC2ltPDhseamHHO++jyXH++5EDz K5Uu/E4rs8cow2D6MT3xTBUj5O/dn6e/4JsAI7V5X0ReuRbLYlAEPbSsynQzPyu1tbqo Sjvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=g6bqacWTPjjHFhRsWqJbDsVdZPKLV6uJiyhcths+p2o=; b=Tr4kSKDq/y8tRBrCV93CtMQuQPMh6jXV6oFs3LQGXdMavJbyin8wIc1ER8WOboAoR1 Zo13DXPSJhkH4akrTIYIXKj/UfpaJuHS1MlY4vHVoICDdTG8qtwJKpPOv4RBYMEpT7cZ T6f50sBoYi7Yt7wPZpJlWp9Ccunsv0Q9tHWK1n/7a43UWMU73jEvhji4qEhRhsvT+7Zq 8N4pCT6Nz3KdJ29t8PaPqF6gSMGbFV3QJwr8KUEIf5mvFAFlqWjandi0V50OKciqSvIz 3zWoFu72ohxsVGkm0QvTW4esTeomh/O/tScSJxt5SXenEji/yKMopzFPnOSVSEXV8+ED AINw== X-Gm-Message-State: AJIora+6OnFum3fov+bDNgRP8kdTyNu1eF+3UA/0GYGNyb6Z/Mo01QDs BDr/tK1Kuj5BN/9DPUzuTZXAJVSAGQe9EQ== X-Google-Smtp-Source: AGRyM1sacladqzbG8GlUA/pcU7R2qRjDGR2pawi6m/WmFWatggQdqeMK61Fa9aR5YjMaV1FMKOVW1A== X-Received: by 2002:a2e:96c1:0:b0:258:e8ec:3889 with SMTP id d1-20020a2e96c1000000b00258e8ec3889mr33145ljj.6.1657229526635; Thu, 07 Jul 2022 14:32:06 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id o19-20020ac24e93000000b0047f8cb94004sm7046709lfr.35.2022.07.07.14.32.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 14:32:06 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 1/9] dt-bindings: msm/dp: drop extra p1 region Date: Fri, 8 Jul 2022 00:31:56 +0300 Message-Id: <20220707213204.2605816-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> References: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The p1 region was probably added by mistake, none of the DTS files provides one (and the driver source code also doesn't use one). Drop it now. Fixes: 687825c402f1 ("dt-bindings: msm/dp: Change reg definition") Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml index 94bc6e1b6451..d6bbe58ef9e8 100644 --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml @@ -29,7 +29,6 @@ properties: - description: aux register block - description: link register block - description: p0 register block - - description: p1 register block interrupts: maxItems: 1 From patchwork Thu Jul 7 21:31:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 588252 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45E0ACCA480 for ; Thu, 7 Jul 2022 21:32:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236805AbiGGVcS (ORCPT ); Thu, 7 Jul 2022 17:32:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236655AbiGGVcK (ORCPT ); Thu, 7 Jul 2022 17:32:10 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4106B3335F for ; Thu, 7 Jul 2022 14:32:09 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id 19so2963655ljz.4 for ; Thu, 07 Jul 2022 14:32:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=f332h430XPLujzbnB28D655qOD0xftQe2GUMxOaYHEE=; b=vD8jwtSVMM/mdnUH1BdycUkk5hOIjujpy8d5BecrgwAj+8TPU9rVVtHkMAmkRTxhxx 0KqlOsuqqhWUYhkoKxhkwbJg6L5YA9nF93IvRKRiPaBzGdrNxs/H+OJuum727PQl97NK AvhzA+f2+8ZoihCqKTDRs7undVxbsfEpLgXgCDIyGaT3qEhUvjflrF6A1aU9C30FSrJ7 z8agQE8yY7LObd9J9ssWbFVI71FsDzXGd970M6i0kRrNCRAROna+fpvo0aJWSFiC7cm2 OP/qeHqs1oCd9eWUGkemU0fcd0BCGQkf+mci2HFZz8jmFDfHAVfdlCNj7LVYQRaUkJCw XeUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=f332h430XPLujzbnB28D655qOD0xftQe2GUMxOaYHEE=; b=jQm5b7IvKfLXm+WIz1Wn1ChAVK33zzhH4uNVBdnM5R/LbCAg82tX3clijeTq4HyVWo XdxOsQEhPFmU3OLOUqy+D0wlH4dKYF1aUk6IJO3Elt5hJsDqIWviu5jr/ds7kYR5hue0 SjiBhjfUg++AxAdJgTQosfZSaDublUfkDg7QW2QV3+kpH8DQS4veLPBEV/x2chCJQWoB qfVRQ175eSCRjMyXGMKv583TjLDY2GZiXxm7m9vAmAwqg4KnaBuvXRyAqQkjA5uoNUNS wsebG+R1IesAEHWC0uOJw/aMd57iZro3btjuHO9W2/D2zoAtUBh3t3PgeBZJ4P43UWRj 6sjQ== X-Gm-Message-State: AJIora+K3QOOS1VQlSBcbD+n8WPMCbYkTBmYOf1sRnqCckHXkEZKcUhm 8472dcmUcHi+Ded1ekXNqWh4yQ== X-Google-Smtp-Source: AGRyM1tPOhQoRZlBs5GK3iTsOL1N01Bqd8BlBXjJFeIqnAoL/BBF8qFhZsLjhmLbeD8bH2pdElo8mw== X-Received: by 2002:a2e:3015:0:b0:25d:51a1:25ea with SMTP id w21-20020a2e3015000000b0025d51a125eamr24534ljw.320.1657229527614; Thu, 07 Jul 2022 14:32:07 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id o19-20020ac24e93000000b0047f8cb94004sm7046709lfr.35.2022.07.07.14.32.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 14:32:06 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 2/9] dt-bindings: msm/dp: bring back support for legacy DP reg property Date: Fri, 8 Jul 2022 00:31:57 +0300 Message-Id: <20220707213204.2605816-3-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> References: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The commit 687825c402f1 ("dt-bindings: msm/dp: Change reg definition") changed reg property to list separate register blocks, which broke validation of DT files using single register block. Restore compatibility with older (single register block) DT files by declaring it as a deprecated alternative. Signed-off-by: Dmitry Baryshkov --- .../bindings/display/msm/dp-controller.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml index d6bbe58ef9e8..dde82d5f6610 100644 --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml @@ -24,11 +24,15 @@ properties: - qcom,sm8350-dp reg: - items: - - description: ahb register block - - description: aux register block - - description: link register block - - description: p0 register block + oneOf: + - items: + - description: ahb register block + - description: aux register block + - description: link register block + - description: p0 register block + - items: + - description: DP register block + deprecated: true interrupts: maxItems: 1 From patchwork Thu Jul 7 21:31:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 588723 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E18E1CCA486 for ; Thu, 7 Jul 2022 21:32:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236655AbiGGVcS (ORCPT ); Thu, 7 Jul 2022 17:32:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236672AbiGGVcQ (ORCPT ); Thu, 7 Jul 2022 17:32:16 -0400 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 2FC463336A for ; Thu, 7 Jul 2022 14:32:10 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id bf9so10065604lfb.13 for ; Thu, 07 Jul 2022 14:32:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Bai7uA9Zgr1Dxz6AfyxoBBI60z5ndVSBWprohGAiax4=; b=qEEHXBHCgDuyEBTWfYy2HkBs5w4OvbEUbUNseSTVjgEZx+VeadXa9ccQqCkUP5WuQN vpn8YrRRCsnN/3nY/PloQQTMl1e7EpdqeybEIXhliof9CXdUuhPFt4IUghqQ5+xur/s6 Tze1TgJwR5Ffx4ipVMFuyDue/h38WE5kW6HCtNu6FAQ0MdQZqpkEcogHyrDJM2lpuLfB 4Z/t5jEiC/r+FgknJzN0CYmj25oDUfEPjnL8+2tSlCrSkYhJFPbmW4fjBWLpm5IPQyrK GGTaAh3scH07p4/eQXuOZq5lB9DrsLMtabWKjciA46Spa+DwfoWe2G2qcRYsnhxaZBHf Tyvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Bai7uA9Zgr1Dxz6AfyxoBBI60z5ndVSBWprohGAiax4=; b=4XXMFJ0l571aRkpD17zP+U6v/3i6YDZ9KcUGpbny2Oos2GQ3WZ6Uo3a7CgRZ+N6fu0 BZrS3/kD8VoHpq793dQgz8OohAj1OvRB96mDLDoM+8yez4lizu0TA75LF4ATovqX36dv WBL2FXeUJN+YxgZb/SxbvNUpOOjxFtCcx337MFvDxs1EN0c+f3jYM9jf6ZgJ0a4AUX/z uJvExgEVWQOsMHh/DxzrC/1jtfEOtuxYgO5olCBWUmaf+3zjjtgCmhW07Ofc38oLgBUZ mB2keI9Hxc1hfHz/npz6u8kh5N68YuOoPKvkoZwLcvbD0zbtDsjfBcO6SDV0zTGD+spV wVvw== X-Gm-Message-State: AJIora9DvgXXjM2cXNfBfbT8NLb6AO1s/gMwe9HJvWBQEPz5P2APNLSq +sRvIK1mq+4fovaUPF4JCOTPYQ== X-Google-Smtp-Source: AGRyM1s0dJc5gcVjYEXPgUWqRTH19P4dhK1AZJwU2duhUmKpruScIAJJg7eI5CiOAKTtl2Cr0u2CCA== X-Received: by 2002:a05:6512:234e:b0:487:8835:e92a with SMTP id p14-20020a056512234e00b004878835e92amr162026lfu.190.1657229528577; Thu, 07 Jul 2022 14:32:08 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id o19-20020ac24e93000000b0047f8cb94004sm7046709lfr.35.2022.07.07.14.32.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 14:32:08 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 3/9] dt-bindings: msm/dp: mark vdda supplies as deprecated Date: Fri, 8 Jul 2022 00:31:58 +0300 Message-Id: <20220707213204.2605816-4-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> References: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The commit fa384dd8b9b8 ("drm/msm/dp: delete vdda regulator related functions from eDP/DP controller") removed support for VDDA supplies from the DP controller driver. These supplies are now handled by the eDP or QMP PHYs. Mark these properties as deprecated and drop them from the example. Signed-off-by: Dmitry Baryshkov --- .../devicetree/bindings/display/msm/dp-controller.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml index dde82d5f6610..75344694466f 100644 --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml @@ -79,8 +79,10 @@ properties: "#sound-dai-cells": const: 0 - vdda-0p9-supply: true - vdda-1p2-supply: true + vdda-0p9-supply: + deprecated: true + vdda-1p2-supply: + deprecated: true ports: $ref: /schemas/graph.yaml#/properties/ports @@ -143,9 +145,6 @@ examples: power-domains = <&rpmhpd SC7180_CX>; - vdda-0p9-supply = <&vdda_usb_ss_dp_core>; - vdda-1p2-supply = <&vdda_usb_ss_dp_1p2>; - ports { #address-cells = <1>; #size-cells = <0>; From patchwork Thu Jul 7 21:31:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 588722 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F572CCA479 for ; Thu, 7 Jul 2022 21:32:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236672AbiGGVcT (ORCPT ); Thu, 7 Jul 2022 17:32:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236751AbiGGVcR (ORCPT ); Thu, 7 Jul 2022 17:32:17 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FDE633E10 for ; Thu, 7 Jul 2022 14:32:11 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id t25so33277798lfg.7 for ; Thu, 07 Jul 2022 14:32:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FQ3ulOTd9YQetXSjeiiQJmb1xAaBiHtF+6lK/e/6dKE=; b=NP9Hf6Lj/UnC4B3F+w8ENKeepJJ11z2mUCuaJuqcVosGX0WztK6UPJcMPebyFA45bL 03tJnpGkfCD6tvUQuzOVHXwYI8Zp2f+F9sL0+YwkXBKGyWo/4VLPai/2b2IivS6eAp52 9yB6Deuv9ts382p1qnlGzvZZcYVqiClmjHFHPD6zZWKUy8KMqQLBbbiEdEMNmHlugmLZ 1cuNL+9akEgDglzfMBpgRvq6DSHvJvkE+p36OvbfbVo/jzkY1D5wMpbvFJzibKoBmw/1 KxyGAAyNGZ1Sc+WZK/5w2WZ6QV5oYp/tlPUyAs3KSaOrBe3iCIJyuAd/W56gOeIuI8Mn Vvcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FQ3ulOTd9YQetXSjeiiQJmb1xAaBiHtF+6lK/e/6dKE=; b=RC9wpnmpO6tZpWuEPFpmhgsxOgyaKLUQ+/f1URarVT2NoA759TbYAsDwDAm66SNAPA vQIbIUdcd8Zxg+No2P5c7R2goVfzcKL0a80sj9RkQhXAcv9qAfI1msEeEaXhxS95kTXo QQQ8uM06HvDQ/2r9Zde58o4t6gDuWWEew1g+vinjBkhTDn/U/raDt9xV+NT+jZiK1hUW htiDiYJxoMt2KB+0WfbvPEr5u1LuQElzXoDr27j3N9DyJ+kq69ekwVomYJSRfXXv964i XtGgAQijELPIqfsbpG67iCOUokNnI+uWHdrM4m0h87Wvnka0Q1QwXgoEaNtFwHMt2/w1 lAcA== X-Gm-Message-State: AJIora+n0DBCQFenzAAmVadu0fh7pZfcN14MfxWDxUzQ6Fq2EAdw43NU JXTwNrSEPeqFICTxFaFYPJp7Zw== X-Google-Smtp-Source: AGRyM1vw3ulfh2afxtg/pP0/p/ek20FusHvC8eHTLJ93RWMOeI4sRSsmM9E7qrOgiJHh02iIDzPyAg== X-Received: by 2002:a05:6512:3d89:b0:481:bcf:cecd with SMTP id k9-20020a0565123d8900b004810bcfcecdmr124021lfv.511.1657229529643; Thu, 07 Jul 2022 14:32:09 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id o19-20020ac24e93000000b0047f8cb94004sm7046709lfr.35.2022.07.07.14.32.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 14:32:09 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 4/9] dt-bindings: msm/dp: add missing properties Date: Fri, 8 Jul 2022 00:31:59 +0300 Message-Id: <20220707213204.2605816-5-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> References: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Document missing definitions for opp-table (DP controller OPPs), aux-bus (eDP AUX BUS) and data-lanes (DP/eDP lanes mapping) properties. Signed-off-by: Dmitry Baryshkov --- .../bindings/display/msm/dp-controller.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml index 75344694466f..f00eae66196f 100644 --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml @@ -73,9 +73,21 @@ properties: operating-points-v2: maxItems: 1 + opp-table: true + power-domains: maxItems: 1 + aux-bus: + $ref: /schemas/display/dp-aux-bus.yaml# + + data-lanes: + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 1 + maxItems: 4 + items: + maximum: 3 + "#sound-dai-cells": const: 0 From patchwork Thu Jul 7 21:32:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 588721 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FBBDCCA48A for ; Thu, 7 Jul 2022 21:32:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236681AbiGGVcU (ORCPT ); Thu, 7 Jul 2022 17:32:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236418AbiGGVcR (ORCPT ); Thu, 7 Jul 2022 17:32:17 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EC234D157 for ; Thu, 7 Jul 2022 14:32:12 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id bx13so23827856ljb.1 for ; Thu, 07 Jul 2022 14:32:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=deR1nxfWNzf3dpwLPDYkcufOtw07ZRiv7QMZfcD7n5Q=; b=aCvAysEOZv/lB2z2SXSndq3Rm/9OxE9vikZvWZXDkgaVHdKCRluxhSy/OrPtjbibpc gAETvrlfJtC+eM3bFRzoOZcxo9CP96APqbcPOHsLXe8VGWmOmMwxaqp24dCYthWZYRie RvSb3ak/GBBOEW6JTFEYqQXWF9/kfkg8yiH5MmJU5JXq+yZrOCz4L9K882Od2aewaAo/ yRhbSbESWtTkkObDlbVapdi8EjKTqx0GY+ors3TxuhMo8X/ocsp+EQ7zIzJg4vPdpANI A2Mrp8FdxxEvrE78B3hEhmmBD+EKIXxxa6JNtXUDtVEwXE6XTWPhPzwWJVWlosA4qrIo FDpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=deR1nxfWNzf3dpwLPDYkcufOtw07ZRiv7QMZfcD7n5Q=; b=kSiIMs1KhCj7jRLI9iZfzsulq1SLqIRObJLfIvwPKV3W83+0XyUFH/2OfJrOacSXrZ 8wCea9KQ0iVN0Bwj4ccKb2C2rHZ4etMJwNtKgvX+0MV/rPfgJeUhms+7YML9x9lCEtSs 0qQoLhLZp1WdE7rOvwfowLSbeJs8GBmcLx3jG5ksnUvYQERuxUSwFLWZs+9bIEJVvAnd 7/iq0xZv9T7C1y4Mp+qe56XE+0BS5hv4DycqP4M9K+HAEg++Ai7kiHhwGaYjPCp355cE QOZJL7KTHvjyei15wWkZ41LHA+w3zOJTz+Pj7QSbWBLnJyKRhuo9KT0Lik6cY6oRV00p e8og== X-Gm-Message-State: AJIora8UMx8dA3SdMNzGh6vM9iAvIRPn1uyOtyHGfeFf+8LydZKKL7WU tNVcD6UJfDKNhPT8jcgl3FRCdA== X-Google-Smtp-Source: AGRyM1syma+AzNNuFCY/QL5hX+OuBGxgZPtBeQejNm2Im/56/APYMORKQOJbo+AE8PAWbCqVxfie8A== X-Received: by 2002:a05:651c:545:b0:25b:c791:816c with SMTP id q5-20020a05651c054500b0025bc791816cmr12841ljp.161.1657229530435; Thu, 07 Jul 2022 14:32:10 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id o19-20020ac24e93000000b0047f8cb94004sm7046709lfr.35.2022.07.07.14.32.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 14:32:09 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 5/9] dt-bindings: msm/dp: account for clocks specific for qcom,sc7280-edp Date: Fri, 8 Jul 2022 00:32:00 +0300 Message-Id: <20220707213204.2605816-6-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> References: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On SC7280 platform the eDP controller uses an extended amount of clocks. Since it is the only known platform using such configuration, use if-then-else rather than listing each and every compatible string in the if conditions. Signed-off-by: Dmitry Baryshkov --- .../bindings/display/msm/dp-controller.yaml | 60 +++++++++++++++---- 1 file changed, 48 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml index f00eae66196f..1ef845005b14 100644 --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml @@ -38,20 +38,12 @@ properties: maxItems: 1 clocks: - items: - - description: AHB clock to enable register access - - description: Display Port AUX clock - - description: Display Port Link clock - - description: Link interface clock between DP and PHY - - description: Display Port Pixel clock + minItems: 5 + maxItems: 7 clock-names: - items: - - const: core_iface - - const: core_aux - - const: ctrl_link - - const: ctrl_link_iface - - const: stream_pixel + minItems: 5 + maxItems: 7 assigned-clocks: items: @@ -119,6 +111,50 @@ required: - power-domains - ports +allOf: + - if: + properties: + compatible: + contains: + enum: + - qcom,sc7280-edp + then: + properties: + clocks: + items: + - description: XO clock + - description: eDP reference clock + - description: AHB clock to enable register access + - description: Display Port AUX clock + - description: Display Port Link clock + - description: Link interface clock between DP and PHY + - description: Display Port Pixel clock + clock-names: + items: + - const: core_xo + - const: core_ref + - const: core_iface + - const: core_aux + - const: ctrl_link + - const: ctrl_link_iface + - const: stream_pixel + else: + properties: + clocks: + items: + - description: AHB clock to enable register access + - description: Display Port AUX clock + - description: Display Port Link clock + - description: Link interface clock between DP and PHY + - description: Display Port Pixel clock + clock-names: + items: + - const: core_iface + - const: core_aux + - const: ctrl_link + - const: ctrl_link_iface + - const: stream_pixel + additionalProperties: false examples: From patchwork Thu Jul 7 21:32:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 588250 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9145CCA487 for ; Thu, 7 Jul 2022 21:32:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236773AbiGGVcV (ORCPT ); Thu, 7 Jul 2022 17:32:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236793AbiGGVcR (ORCPT ); Thu, 7 Jul 2022 17:32:17 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 243F04D172 for ; Thu, 7 Jul 2022 14:32:13 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id y18so12958327ljj.6 for ; Thu, 07 Jul 2022 14:32:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4qmHqomtPIyCyTmU9c0GuY++F1fuqEtzhO4HzH/F14o=; b=JqL35clNBQYGPpaEjGmP1beT+IT1EyV8unkvRsu5HYH9lBGYNo8xV8yONYTT2/4waM IL+rG1NWqVUWLiB+qBszuthBY4ieC94jIpRIfmk/47TSLj5BnjI2Ccy64RKUULYP4DrQ 0YXS3RxG7Dw5reRbvYjC2YN3uhuQilzvFhiTCDRB052/MbM1RINhz3eEIYv0Xvu9/ZIG thmEVSfE6eP6P/+9pErPme9PIGxByD4IxyC2nPV27Yr5TijqJkipUQfG1XmuMZ6KgZHv tbZmH7a9yV/I7dd3Y1DeyQR5OklzSRZjn23nsxSsRpBCIzwoXhfGNL0YvNOy+BDljE3l Ku9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4qmHqomtPIyCyTmU9c0GuY++F1fuqEtzhO4HzH/F14o=; b=pZgCdkaoncjqTXigvbS9tMFYCdJCXK3CxJNFAz3swPv1tGdzTMxp3Ntasvj/NYl50A dfy7ZgLBy+myJJIgYO2g+o2pzGgBiJSQOljkkVTkhx8fTeMXx9i5votgka1vOtBTgdQ4 LE//JEnd5tbt5MNfnvAN26YTt+8DTc0l2wXF5VRZjEneHXNC+0cdFxZFUZ6vQY3UOUyI gXEuD5F2bcXi2cJX26fqUdSnkJpAvBuaZf1tnkPXTBz5KbCBQgJ0KdsT1yC9D+RAMS7b WDl1vpCFqoneejLLkmuwZEbG1bqlLNuBTR2cH9TsU1Saq5Cv0jqxRWpdxyM9dbhwCOI6 cvOA== X-Gm-Message-State: AJIora83fAztrff0R6ZmL5QjHw4IL5vXKTPsHceYwMsuW9j9ryQawyMT yKA+QS1Kfjtie+jdPqJ6CcYzNQ== X-Google-Smtp-Source: AGRyM1u/zrZV5WDyRRmrgrTfbAEEMXa9NwgyyQheuXKk49R9ljtdKrfrkROt+ndm+hSOiQv8gSUPfQ== X-Received: by 2002:a2e:2284:0:b0:25d:490f:60d3 with SMTP id i126-20020a2e2284000000b0025d490f60d3mr20372lji.486.1657229531507; Thu, 07 Jul 2022 14:32:11 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id o19-20020ac24e93000000b0047f8cb94004sm7046709lfr.35.2022.07.07.14.32.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 14:32:10 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 6/9] dt-bindings: msm/dp: handle DP vs eDP difference Date: Fri, 8 Jul 2022 00:32:01 +0300 Message-Id: <20220707213204.2605816-7-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> References: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The #sound-dai-cells property should be used only for DP controllers. It doesn't make sense for eDP, there is no support for audio output. Also aux-bus should not be used for DP controllers. Take care of these differences. Signed-off-by: Dmitry Baryshkov Reviewed-by: Stephen Boyd --- .../bindings/display/msm/dp-controller.yaml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml index 1ef845005b14..491f4aefe0db 100644 --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml @@ -107,7 +107,6 @@ required: - clock-names - phys - phy-names - - "#sound-dai-cells" - power-domains - ports @@ -155,6 +154,24 @@ allOf: - const: ctrl_link_iface - const: stream_pixel + # AUX BUS does not exist on DP controllers + # Audio output also is present only on DP output + - if: + properties: + compatible: + contains: + enum: + - qcom,sc7280-edp + - qcom,sc8180x-edp + then: + properties: + "#sound-dai-cells": false + else: + properties: + aux-bus: false + required: + - "#sound-dai-cells" + additionalProperties: false examples: From patchwork Thu Jul 7 21:32:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 588251 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B2731CCA488 for ; Thu, 7 Jul 2022 21:32:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236751AbiGGVcU (ORCPT ); Thu, 7 Jul 2022 17:32:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236779AbiGGVcR (ORCPT ); Thu, 7 Jul 2022 17:32:17 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E00234D15C for ; Thu, 7 Jul 2022 14:32:12 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id t25so33277969lfg.7 for ; Thu, 07 Jul 2022 14:32:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IhjBNRgDY3D4V2rQwtlvIRuVCHJhruesxJluDAINOWs=; b=VUbk51kgK6DWakFxbopkmxoVeUdQfuTBMzzkRp1o9o0TohK4VU5w6H0cmE9AGZ/IgD 5zFriWo3SMyG9WWdwzHFq+HAHv28Y1gLiWW8GxYjMVpjuS1LJFxYkryE1PmDoGTYp451 z4dts5pr+AxlcwoM0jDhH96C/wiYS+kL/sJG4MQTHbzc8nil0XiZ1LtYJuSW0bXYk9cA 95YOvAJJWSWwNCkJqN0k6RUh54ADoFCr6z2cNdvqxmCFU97OZwsHL+/GcElb1I94kOgx h1cgYs/y5OFeYYfYtVDyhG0D3/BDp3gTQCbOdqN0Ejv9M2m5ypPZ7KoF19Fq44nV6SwH XvIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IhjBNRgDY3D4V2rQwtlvIRuVCHJhruesxJluDAINOWs=; b=mgrm24iSMUoZ876fE3E1WBKLWkc2VbFcaCtKgNk6gzD1dw4ziOIhWa8wm+7fadk2pt +qKwxwuis5akEyjsHYdyW9ik71tiaCXH3kr501J8OBcL0ZoeoOtmFxO7t1i9cxdc6Uyu KbPPaMmvzyer0Whd99+fnfkpb5Y+dtaBw+cFYaNu82EUIwQrP2G1Y8KUOdqqk8g9vis2 GyroQbgt/oVOqWZ/gcl1rFSYG3Xvo4ibOwQXwcUFlx2FEkQ81Nwnu++9+cQePi6XKyqQ vupUTr27uGBye7iN35KREkEo9uKH8JBKXq6kzd3Iu94Kwg2/JvGCY7YakXZC48etLJyT pVqw== X-Gm-Message-State: AJIora/qjzz09EmrHjpBmgZBWSG/lw0JGEprw/9QMfPD4FlJZPJPDiyg VNQcMgOJv+C684EYF7Ar6bnaOw== X-Google-Smtp-Source: AGRyM1vTK4quBnMmp1glbsvEm1q+zLVGJvI7AgXn5761ZrteP/d/rp7gn6cwUMDjPfLOSwVH2NZtsQ== X-Received: by 2002:a05:6512:1043:b0:481:31f:5505 with SMTP id c3-20020a056512104300b00481031f5505mr163208lfb.112.1657229532475; Thu, 07 Jul 2022 14:32:12 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id o19-20020ac24e93000000b0047f8cb94004sm7046709lfr.35.2022.07.07.14.32.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 14:32:12 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 7/9] arm64: dts: qcom: sc7180: drop #clock-cells from displayport-controller Date: Fri, 8 Jul 2022 00:32:02 +0300 Message-Id: <20220707213204.2605816-8-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> References: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Drop #clock-cells from DP device node. It is a leftover from the times before splitting the it into controller and PHY devices. Now clocks are provided by the PHY, while the controller doesn't provide any clocks. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 47ce5787ed5b..dc2767cd852d 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -3092,7 +3092,6 @@ mdss_dp: displayport-controller@ae90000 { <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>; clock-names = "core_iface", "core_aux", "ctrl_link", "ctrl_link_iface", "stream_pixel"; - #clock-cells = <1>; assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>, <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>; assigned-clock-parents = <&dp_phy 0>, <&dp_phy 1>; From patchwork Thu Jul 7 21:32:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 588249 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E535DCCA480 for ; Thu, 7 Jul 2022 21:32:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236792AbiGGVcV (ORCPT ); Thu, 7 Jul 2022 17:32:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236799AbiGGVcR (ORCPT ); Thu, 7 Jul 2022 17:32:17 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F330F4D4C7 for ; Thu, 7 Jul 2022 14:32:14 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id w2so7477421ljj.7 for ; Thu, 07 Jul 2022 14:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qg3phGBpGh0Q4w+FACeCRFYbTOaYwTMtzSGkLURYM0A=; b=wRlDiZ4VRTDJ6qMcTYxer9cy7CLyvVmSBx02kXtJ/Axs3g7m8u+E8XShj1WNL2roFQ oSZCU/eiLRR2fW8dsAUVQWm33tuuENdcW22ZZTIAYSFsw51rz+qbmYRfc/7hlMZHwlrA fphv8ZxjjIBydQ5H0ujyM7aPIBnzhA3fh6hShWrmCfgCffm/luEep8BSc1WuIb9tiqBH ZYqkWsKJE01ICoogLJfDASLBjPjKifRijaDYlKCFAviV5Kmw3b2CW/LI+VL0JEa138ft iSKMpAB3jCDAIBpJ95ksDwcKIZgr6b7VZVwVYFqGeUWBH95i7C9H9Y5kPX4g0rpVeTZh LIcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qg3phGBpGh0Q4w+FACeCRFYbTOaYwTMtzSGkLURYM0A=; b=k92BAjth6UgH+taQDZYtL3NwxesrbpKETtExL1nsraaQuUgTVRgXRDe+LymYrpK5iG 4CcX5Vn3EU/POvFUdB2BSY/B8sKljTpsGwDznhbmS67+zT4RUWJPieRGwhS/LYbGKNS1 wUpPfkFBJzjqsSGV8b5gmZdI65DogOLIASDipbusEQc5b+JxaKQd3j45CDIrkreeWFdi S0XtZIHgOUNjckufPzN1C2FLoM30nGPFjSzm3vDBTW7UPt/IehlW9nnaABTK6YiDu2O/ 7MzrndsrL6MDKIBsNzCW1JuTaUn5dLnto9dNVXZ1MTbnnSe4+pYpf8LMoJTEoL0f66/6 Qjaw== X-Gm-Message-State: AJIora9NatxJEB7r8ujKd/mR6SoEG4DIGp0dkeMcUrZbrGhOQv9iLaAn fo1cd7PuUQWrwJ+kahpUBUyH1w== X-Google-Smtp-Source: AGRyM1tUvRA4gmZUMQz2K5Uvhi/UzUkWkncKpm7W09yQh/5HP/RFKJt4MpQ5Apk13MYqMp5gGA+WOQ== X-Received: by 2002:a2e:a60a:0:b0:25a:7304:6879 with SMTP id v10-20020a2ea60a000000b0025a73046879mr15260ljp.85.1657229533396; Thu, 07 Jul 2022 14:32:13 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id o19-20020ac24e93000000b0047f8cb94004sm7046709lfr.35.2022.07.07.14.32.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 14:32:12 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 8/9] arm64: dts: qcom: sc7280: drop #clock-cells from displayport-controller Date: Fri, 8 Jul 2022 00:32:03 +0300 Message-Id: <20220707213204.2605816-9-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> References: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Drop #clock-cells from DP device node. It is a leftover from the times before splitting the it into controller and PHY devices. Now clocks are provided by the PHY, while the controller doesn't provide any clocks. Signed-off-by: Dmitry Baryshkov Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index a3def1022ea2..21ab986968e2 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -3730,7 +3730,6 @@ mdss_edp: edp@aea0000 { "ctrl_link", "ctrl_link_iface", "stream_pixel"; - #clock-cells = <1>; assigned-clocks = <&dispcc DISP_CC_MDSS_EDP_LINK_CLK_SRC>, <&dispcc DISP_CC_MDSS_EDP_PIXEL_CLK_SRC>; assigned-clock-parents = <&mdss_edp_phy 0>, <&mdss_edp_phy 1>; @@ -3825,7 +3824,6 @@ mdss_dp: displayport-controller@ae90000 { "ctrl_link", "ctrl_link_iface", "stream_pixel"; - #clock-cells = <1>; assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>, <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>; assigned-clock-parents = <&dp_phy 0>, <&dp_phy 1>; From patchwork Thu Jul 7 21:32:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 588720 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC707CCA488 for ; Thu, 7 Jul 2022 21:32:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236797AbiGGVcV (ORCPT ); Thu, 7 Jul 2022 17:32:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236800AbiGGVcR (ORCPT ); Thu, 7 Jul 2022 17:32:17 -0400 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 AB8194D4C6 for ; Thu, 7 Jul 2022 14:32:14 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id bf9so10065947lfb.13 for ; Thu, 07 Jul 2022 14:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LmG27VAvPqwLokCgRV28hmE5ll7C/l8IW7AnNAbPsYQ=; b=jDaLV0ZBuyPjn14Y17cRatbbTN/Tkwejw4WZCqmEGWAVvzFp01TyY1lb64FKqPlpYy eiLpoye+eG9hRhG2corcbLnLmL06G3Wqmp0K8G+bh4rBR9T8hX5Rji1Eaq+Fm+JCK5Tw vsUAMAY+2SS0uWh+gmcBL9AatnNo/C3ffGAnS6eAhcW5qOdILnjx6kkxPdVsxCgCPS84 md7dr7V/DVs2gt0zvyoB8+7rJ25h082E8Ju/0CGiSExSSk/y7QvDUOqRs8QadyMjyw7n F7vrk3O66oVEGvZUCZ2hUdvkkVNaUL0A8ADnCYayOxEupDTsERiQioKlE/p40Uw8vFR8 KUpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LmG27VAvPqwLokCgRV28hmE5ll7C/l8IW7AnNAbPsYQ=; b=TuqhfzaJAhJtr+zaLz6Sd58Me/m0px8+3NfYWAVVycp1z05BgsP8giQN2a4VMqnbr9 Gca0xGYrmK59lS16bROQkn/Km+XJvvexCi2jC759TrDCFeuof32IP2IlGcmmqHXBvR4Y Pu+KPROOrPSCk6Tw+9/cYcRQMtsHv3+CGb9Qd5jDJtSyMi7vUmOrSPQvlY5W4q87Cobl AeYq6icfaIkzu2/mccIsjio02y9MqnR8+GMZe5vNSyVKpIogNq47EXn4dshh0pyAawki zMXvaq1ZvM54O8DsTtMNGQF/gh5vG9XCUqpLK9gKcfa8HP0L4eDyGes89F2ITAe3DNsg s4AQ== X-Gm-Message-State: AJIora/xY7PtfrK8Sayc1zskL5hHEWMrFk2Cor+9imou0qNHnEInc4Sx FH+cTgkLvPoUHJBFRW0Iz+KYTA== X-Google-Smtp-Source: AGRyM1smbr0/8AujEHBcLyNC+lvRU2ijM+Qi7JuhUY4++YSEHvrLz3qMQdbflIiMW/6j79iVTBfIag== X-Received: by 2002:ac2:53b6:0:b0:486:3357:c67d with SMTP id j22-20020ac253b6000000b004863357c67dmr128289lfh.433.1657229534248; Thu, 07 Jul 2022 14:32:14 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id o19-20020ac24e93000000b0047f8cb94004sm7046709lfr.35.2022.07.07.14.32.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 14:32:13 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 9/9] arm64: dts: qcom: sc7280: drop address/size-cells from eDP node Date: Fri, 8 Jul 2022 00:32:04 +0300 Message-Id: <20220707213204.2605816-10-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> References: <20220707213204.2605816-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Drop #address/#size-cells from eDP device node. For eDP the panels are not described directly under the controller node. They are either present under aux-bus child node, or they are declared separately (e.g. in a /soc node). Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 21ab986968e2..004cbbb084a2 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -3740,9 +3740,6 @@ mdss_edp: edp@aea0000 { operating-points-v2 = <&edp_opp_table>; power-domains = <&rpmhpd SC7280_CX>; - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; ports {