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: 588950 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 2BB81CCA482 for ; Thu, 7 Jul 2022 21:32:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236618AbiGGVcR (ORCPT ); Thu, 7 Jul 2022 17:32:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236631AbiGGVcJ (ORCPT ); Thu, 7 Jul 2022 17:32:09 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F5C032EFE for ; Thu, 7 Jul 2022 14:32:08 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id c15so23870346ljr.0 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=5f12TOFsqH++ZxuEIykWIWEGTlKIjhP/vzGFv52rLFcdbVIi5H6gaYr86VIMeLXa/g JvCdE3ZjBSxRljp2xXehA6yDglyqO2nhxPq/HfNxd9aMpS1q/e+lYfuGHkXQAsOeJSek v3PubMI6uTdEUPciINAo/cStFp8YJRftmJIlcwZFpjCT7ifudABBWv79ABHUf8AfMzCU ZIdr+6wk5sIkF8fRPCYKM9X1jhA95FJQ1Ug74FQ8+AV7TmFl4vYuULuj5Agc4doJzyo/ SdJR91JcYF2VIBP3nu0QmWYlOFN+wrjOWiwy3wi1/tVRrn0OqcCLZ6K1DOdAwybp66uB eTeg== X-Gm-Message-State: AJIora9ct3NT4oz9ON0Vcb1T/iyTCVdKHq9lzmRr7swxguzA464apuxI SMxaZumk90GMx7ZsK3YveWpwQw== 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: linux-arm-msm@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: 588161 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 D2AEBCCA483 for ; Thu, 7 Jul 2022 21:32:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236631AbiGGVcS (ORCPT ); Thu, 7 Jul 2022 17:32:18 -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 S236679AbiGGVcQ (ORCPT ); Thu, 7 Jul 2022 17:32:16 -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 4560233360 for ; Thu, 7 Jul 2022 14:32:09 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id bn33so2422990ljb.13 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=mS/yKyu5Lj9fVU7X3xxS0x6rI9notgJ46ZdOSHZAm8xtW2L2Yntz0S/2AwCNQX7p0c VBoRXcSRwHxhobR7BMsWEOM2w4bTGUTrqv0phBYIs6yH386xvcvX5QADtwCpdA+tO9Ze 6ekZ3D6eMWsbS2Jx2jgujL8qmszbr+muMFykbd/GT1lP1qzCg4+DPw+4Ab3EDAbBnfmD QtRNYebiwqZ4KQOdzdQI8iz80FIl69JqUpq/KH1f5JqaEX0cZGzFUrw+zwrFr8wbcnCz GxrMH3jzrBUtz2IC5WbNqUNY1rL2iyfwq+DLjCucYb6Bpg9hnFOcTnIqOEkniPzTrKqj 8O5Q== X-Gm-Message-State: AJIora9dEn5rl+YYR8kZXn+ByA6DyDN5KFtSCDn3wG/9TL8N0ctGDypT 4Jg3ypelUFjg+mdfH25nNUWMiQ== 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: linux-arm-msm@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: 588160 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 C29CACCA489 for ; Thu, 7 Jul 2022 21:32:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236684AbiGGVcU (ORCPT ); Thu, 7 Jul 2022 17:32:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236681AbiGGVcQ (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 3312333E01 for ; Thu, 7 Jul 2022 14:32:10 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id i18so33279329lfu.8 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=uBj4DqK7/hZb8MAP+Ulsjn9RLGWgMT1s78lwph39VEQnUNgRN6WpnzR1sz2w74wrX/ HkgzxzZO6o8FpoS9ImUjXcxGNdP4WnuYjxTUHPc64txFT6y+D/hwfW2jUQ+97EhCfqKr cBDi1AKoI5yCA9LOiUQK/Mm2MsQqx94l4yyO0CudFi6V6nV0HcEjpmbivxeyU8IrbS3j CRnXcS5NjwjYFHYfAnAVuNrvo2h365p9pElul7utp3fDf7hzBcOzLgBCzt8M4wqrMZBa oElOsl00nuzqRBwy+RcOSVAxmzTi+Pzi3AtEOMmCTlMxGva2T1+Bz+Iy1e3twAh419sZ XoXQ== X-Gm-Message-State: AJIora8p0qxGnW9iLo+IkUaO+cURIigXt62BIu84VQ6Zufv3j+5kh2pq Mn18+dV2DMAHbPZfDSb0jnFnQw== 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: linux-arm-msm@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: 588159 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 3E39BC433EF for ; Thu, 7 Jul 2022 21:32:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236779AbiGGVcU (ORCPT ); Thu, 7 Jul 2022 17:32:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236773AbiGGVcR (ORCPT ); Thu, 7 Jul 2022 17:32:17 -0400 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 4FEDD4506A for ; Thu, 7 Jul 2022 14:32:11 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id z25so15722777lfr.2 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=mff0N02E+ThoSkOBLYCyu5crLOyYRmCCwTRfJXgkyUhOj9kq06BGMN1NTQsqi5lRz5 sPBWhne/kKY+1tEA4G9EfVggBJ6oOGTAGwReKg+5pUxO10iWl2/qdaik1vzZ1RGCIIil NoLiVPM5vcjTMq4CjoT5rEQ67PeumKxYlpHeo5Bfo+aFAF2/4YpnYOJTUe78zEjsSfSD B0rl6ccSrfIGV3tPL/jJ2R+KHp6mUYnt64TPMcGdgCkBaNx9CHNbjfwqw9bMnIbtrLU8 1K0DLoPMkIwNASJdmsf7dleN+6HPGD9HoypzoqE0WoDt+0gfPhwl+BHRBNnr4nmzkBUh 4bcw== X-Gm-Message-State: AJIora/YQRzrJfsEZbwZIdf8dnppSfn8BCLB6I5jbG2dfux3/a03qhd4 QGR4jtqtoSRf+4103xcnaqGJJQ== 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: linux-arm-msm@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 Reviewed-by: Stephen Boyd --- .../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: 588949 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 4EFD1CCA485 for ; Thu, 7 Jul 2022 21:32:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236679AbiGGVcT (ORCPT ); Thu, 7 Jul 2022 17:32:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236684AbiGGVcQ (ORCPT ); Thu, 7 Jul 2022 17:32:16 -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 D7A0533E0F for ; Thu, 7 Jul 2022 14:32:10 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id m16so1956333ljh.10 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=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=J9rimpUoAYk5O8OFK1uVO4RxbBxE3M1RnF9qJE2zWvPblv7bHggreayWVhu3J0Eru6 0jQ9E/F0+mQlqAuZLuT9YMR6c5tAGkZ9SU8EEwLmIRRoeuU33hr+IgtmAqRxj4VMt1B1 NEz7a7a8eAwyfE0sISQwZgV5C0/kq5TdWzJ+10Nrs2GGCLvcyWRPHFdmm7lo61LJZ/ay AxqrHGlUfwrh+SSxAsXr93wAPEURg4EW2J9vUqBay2OyOMTWpBf0fVpofK5uEOdT4mCZ 8oTRWIBNDmqf7Hz3F5tlXJFybZT5oYclq5+SKKwFlpOChxAJGMpGKoK30Py2X4sREESE 8eLQ== X-Gm-Message-State: AJIora9IWyOWzc4/Ux4R8vJbnHWvdbOm1M4DtOWJm0ECx5+SKHew7R62 brF8/X8nd3CJUgKsc+WYfNqJQA== 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: linux-arm-msm@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: 588948 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 A3645CCA482 for ; Thu, 7 Jul 2022 21:32:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236418AbiGGVcU (ORCPT ); Thu, 7 Jul 2022 17:32:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236792AbiGGVcR (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 20B0D4D171 for ; Thu, 7 Jul 2022 14:32:13 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id n15so23798687ljg.8 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=y69Pg11B/NKmT8B2BqiWo+2n+kU4S+3nyiyWnnhPEse6vOCSk74fWuYZokc0pydGIp zAdOJOxwpHc3YVeEU/VS5QmZ/T9kb5MsGXYS6z0APSQDLFrt+z0AtmKWFyGnkDr+i1PO SxkQX6qQhgibtzL+pPTDzR3lJzqIzCj7zDvGTZHA2P9C1gIvboEaZU8iym2ZCw0lRmkP cKSU2Q49RpsLtcOEyE6n5u+4IB0EsKnPA2iXKdoUpsOuzK0B2vl5y3YngdI7y6WXRQFR qsq4/LjjA2A9y7wbujYparAJp6x/8nRVNGVTMFdbfRl1bew0b7q4UWgXq+JZ40nvpkKQ 6Rwg== X-Gm-Message-State: AJIora/vXHmKWTmVvuwsVh97DVnLKDehkkU3uR3KjzdbgQo5dEBTHGOE 6+Ymke71xKxD/UgU2QT23roXSQ== 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: linux-arm-msm@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 --- .../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: 588947 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 078BECCA483 for ; Thu, 7 Jul 2022 21:32:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236793AbiGGVcV (ORCPT ); Thu, 7 Jul 2022 17:32:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236797AbiGGVcR (ORCPT ); Thu, 7 Jul 2022 17:32:17 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14D6C4D173 for ; Thu, 7 Jul 2022 14:32:14 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id e12so33301959lfr.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=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=v9M0zTHtoDCTZBcbSHKnfJ/GIrcw8AE/pT1aPF/siNMw0KEeNB7glQJVb3/C/1qOAT U07Tki+9KfX4MHh3hn9bYH5YPdHAqOqOPukire/RgdnaAvySDUU+seE/IVLaZWynNak4 0DLOdsefO84kp4I8YkC/reaXHReBetf+DvbH+2mmXeUSOYMjZ1GgVZzhK6kgC02YYOPc 2DM1xlLtRX4/o3B70tWXVYUXevPPbQRt2cIl8ipgTi1X8D1kCsYBJdVufVEwE4JX0Y5R DKTfMCLBN6zChQdIYzDrbymcHHZ3dOmdZJHu/KKXfpHihqiM0/hGJu4vANgmm0JHG6Np Bwsg== X-Gm-Message-State: AJIora+MNIAUq0nZSZDd2qbzAuhX9p8wT8pDVIXtT6PGoY+gHRCYizev m17jdwZ7WY5XYegP9OfhD2+bdQ== 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: linux-arm-msm@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: 588158 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 105CECCA486 for ; Thu, 7 Jul 2022 21:32:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236799AbiGGVcV (ORCPT ); Thu, 7 Jul 2022 17:32:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236804AbiGGVcR (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 174784D4C8 for ; Thu, 7 Jul 2022 14:32:15 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id u14so23848830ljh.2 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=h3jVRsaOOa3gOSH6Qrf8aqda3KCANSNV24n5aO/ftcq3KnXwhXvCjAiYq1MUxnGgvA zf7WqxUbUCTalsSVb3GsSGzjQ9RLVSWTrk2l290CkPdvHK+VsOqpwFN/GaTxRIdMunNu IYED/gZ1sh5AWEgz4Pr15nmMBK4CnTAKIhT3DX6gTySn8jSytRMW/BynTLB/H0TofwM4 MbDq+Gr87tGfDTX2YrSugEPjKhqXp+AAGJgY+IsK7vIG1454+FV63NiJhsc6K/Ue+eki ce5e4wsqZlFh4O6MFSt+fDagbRBjxG6b9E0N1bsstDis0RZHf3YwXWhvRu34dtJIn3Ox 5TNg== X-Gm-Message-State: AJIora/j2pTHJ7y+Jn94Q8Pc1Udz+QnAVbwtJe9ZyTMAo+Ou0E7fYZs7 M5UbgUhrdiSfV+J8WiIFg6Xsww== 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: linux-arm-msm@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: 588946 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 47CDACCA48B for ; Thu, 7 Jul 2022 21:32:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236800AbiGGVcX (ORCPT ); Thu, 7 Jul 2022 17:32:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236587AbiGGVcR (ORCPT ); Thu, 7 Jul 2022 17:32:17 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD5DA4D4DC for ; Thu, 7 Jul 2022 14:32:15 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id t24so33339996lfr.4 for ; Thu, 07 Jul 2022 14:32:15 -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=8Pm0p+iSQ078W1+1wNuG+AelnLP1MXU/b2lc+hOwcDYOGoOFepz/iWv4IuIKkxou6/ QOA9kvnemBdz4va5moB0XD0Lz50V7MP3HIjdF5QDfwGQMNTsWQ0clU0YYU6hNeGbYLCX My2f4yRNUGsY8sjwGuVgXMWJgNjM+m897Kw7q0U9/eUszDg1yDd4+mohiYfOX7aQiwej 3sYoC5nsYQ80cw6vvd9Zg/Lpp4iA5Axke4//oz+pWe6WXNUAOtMABWboIJYEbEbGEhzp xSJpVcrYWguVp1R8Hd3fBZX3qVlUGxJ+5FiUHO/8xUn4l6b68O2/Tif1n+y8p5fWVm5x mR0Q== X-Gm-Message-State: AJIora/viEHbfmYNIWtCzS5H4qHV4aOL5jCWdCBNNbld7UQ72yqZd6BT 9dGmW0MyBdXaEX7MNaCLTDk0cA== 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: linux-arm-msm@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 {