Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1675454lqz; Mon, 1 Apr 2024 13:34:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUBeQTP80gmwC5tx8o2USgr5j7B+k9qAJ/2w+Z9qNeWNQcwM/39fxgIRD7GYr+J+8WaXwQWj0KLx5m3egnqvcQpJR4eBe8sPDz5mXSnsg== X-Google-Smtp-Source: AGHT+IEI1j1CLPD0Tl2D8DuiQUFStK2LsdwyXmEwkbOdDdgMDtyfY1zgjlnlmuFMx3briYekOFMX X-Received: by 2002:ac2:5f59:0:b0:513:cbf2:50b2 with SMTP id 25-20020ac25f59000000b00513cbf250b2mr6648371lfz.13.1712003642832; Mon, 01 Apr 2024 13:34:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712003642; cv=pass; d=google.com; s=arc-20160816; b=f2tNY+QU8m+7Uqrv+Ofsc11zJyjg/bafTX9LxcW7XtuI1F6fgyu8xmU/qzLJ72vnm3 6YEeBWNrNKSJQpLRPUWtOUV/sfyQjQgDjOtp1MluThp001Wg/GX/Fh0xBmYaeMMPVHt/ aB3rrlsEd5TI8XnzxBcVCc0TiLkPSzz9CNBLsS0NMhHw826q1UVtM6PQmepbU3fFTCQP E0lNXtU5dDkcaI449GjzXvfRpmlXvzN2kfWP6Ahit1/2J80Xhg3iKj+PcrXKZjZbGiIx 9yFZqzU9GAoC83XQ7hOb0vihGpNNuqiHjuo5SaDb1pmm0QdlVzVf1hIGehkku6cayAqe c+uA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=NGbtrKVvMS3wVGFki5Rf2NIaUlWzz6uY1OnrfScTkhE=; fh=3H6OvBK5XN5mhy/Se0gpVzi3rJSVlKurIsPC3V05hXI=; b=nzqUOSp9jXjYLHYKGsr4jzka5tc/QHsDJJRqT7uFan71Gql3rbMoJO81UQOANMs332 ARVBQlPeKLG5zRnio5WjgruOzGZtoMKCuPsvchYd4JCH3PBiI4DITHg8GO0onjbPQ4rq dgkNrbzemgSk4WVy0eLwdQo23m8g3SZJh8kuJnnqlZE5ybrI4q6Q5f7ybiwF9AH9xrpk U2CQ6LHHovZUu3fHO1cGYBIf/dxOz6VcGBnkwdEGpe38dPckeM8ohb5NlubPV701kRbS b9PrUMq6NOZ/6GtW0r/ylEfK8JzeJKUdOgkCY4JV69D4orEo6SvI3KzIVd3fqOGvi9WT ZoKg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sVsJfVyb; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-127033-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127033-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q6-20020a056402518600b0056bf2d405b6si5057773edd.31.2024.04.01.13.34.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 13:34:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127033-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sVsJfVyb; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-127033-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127033-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 626D41F23062 for ; Mon, 1 Apr 2024 20:34:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2054C54BE9; Mon, 1 Apr 2024 20:33:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sVsJfVyb" Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4B90C2A1BF for ; Mon, 1 Apr 2024 20:33:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712003627; cv=none; b=MSok6iJK4Iv3+vVKp/x+FU11oenLMQZUbBd7Eyj9RMzQKFDsN4mhabe82/Cl8Zv4kegHUb2KRR0/r+FIyoaFM8fLKivQuz/Q1x+np1MaG2mq6bwN76azS0Aey988FZghvtemepBDTS1gifUaHjUqXGrzcf90oibu0YbIBPqsKz0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712003627; c=relaxed/simple; bh=Pl/YNaCowSJwtvM5CLxzriI2N0LVr+hVT798TnH3gks=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tjSBC5ngUk/POav5LvSh59MAt+3WWkAbBQ7o345etF+L7RgiU3Z+rKJnACXYhpSe2x0RqqHZiUZ27Bdu9eU4Hq6M8I8LRpk1d+Yt9NOB5RktdIZsSbwNykNCZmBBHqPzT8XKoss9DTBjJ1+gRZC5bWXL9mpsgfyfYH8qpwj0qdA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=sVsJfVyb; arc=none smtp.client-ip=209.85.167.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-515b3077d09so4811160e87.1 for ; Mon, 01 Apr 2024 13:33:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712003623; x=1712608423; darn=vger.kernel.org; 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=NGbtrKVvMS3wVGFki5Rf2NIaUlWzz6uY1OnrfScTkhE=; b=sVsJfVybnPY8cFeZSQPDs3wD+GHl6mgFcIBOoOAeo4tK8/p++ZH1TO3osA28iJ97R+ +k1lYs8x0M4yK1v2x6BHNZL/eWwjfmor0z2vFW2vtdq7HdnCH0aefIUKVgiih8i7FI86 Pf2rmMfXBhKD6hUWjsuuWqCFEgDDVKR9Yq7YmHfSwtJFIQvtDqq638e20oULsaxIFMZQ HbbnwnMVEHED/0AqvAaQ+ZmJFLvBNf3jSU+1lpDcXeuZBCuX3yxEsR4tt3AJZlGKeeWF NGPbIQYFcYCbqzwLZj8Yt9shQgzxy+dbSfGgAotcqnW6x3cBUqvj/v9b0WqfnasDFnps l1xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712003623; x=1712608423; 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=NGbtrKVvMS3wVGFki5Rf2NIaUlWzz6uY1OnrfScTkhE=; b=kBo5IkSMujAMxrFY+Ga9Yw1Vs2ONzvgYS7JtMJck5GrWfpfjnGIm27gmCLbMCmxUUD jQNViwusr8fZYCKINlDSLvVP8QKdgWhcuJa/RTvXGcJAl+0hYledaFjzCvovyfof003j Y9gaA6fZtWjw86or4v6xr3JL94QyY2xmeSDRqNpMu00KtG92lAPTDpwAlGGd0gw/Hik/ GxNnENAb+KgMW2ENEcd2VVMH+FTrvfMUmcLjFSXMI6E9uP9sW96rRH/TlT78MESZ6jqm iF/jQ8DZ2pb201hAIpYDJDaXozCjqsS3PB25cJcLka9tRlhglcvAFrvIO3kkwsfePNdu L4lw== X-Forwarded-Encrypted: i=1; AJvYcCWeSFnjznGgBpXgVoDPCjBFhS2mPjTnCRfN1WDCXILz1eZPem9txVjLIg4Aj2YenkFZ/nKwH0quI5gQiZFVqrsM+qtssi+Y534ygluG X-Gm-Message-State: AOJu0YxJ77A9Ltnwk8qpdfg18tzuTH6cZCe3Dh6xXhB0FxxU6qVZaoUN IlFEB7mY/kGo+9QsF2krBmr6oJfh8FpGqlCnlFNF4CvezrC2xwHNeSqJ5+9U+nI= X-Received: by 2002:a19:f70a:0:b0:515:c7c9:b14e with SMTP id z10-20020a19f70a000000b00515c7c9b14emr8046627lfe.57.1712003623433; Mon, 01 Apr 2024 13:33:43 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id j11-20020ac2550b000000b00515a6e4bdbdsm1478342lfk.250.2024.04.01.13.33.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 13:33:43 -0700 (PDT) From: Dmitry Baryshkov Date: Mon, 01 Apr 2024 23:33:40 +0300 Subject: [PATCH v3 1/9] dt-bindings: clk: qcom,dispcc-sm8x50: describe additional DP clocks Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240401-typec-fix-sm8250-v3-1-604dce3ad103@linaro.org> References: <20240401-typec-fix-sm8250-v3-0-604dce3ad103@linaro.org> In-Reply-To: <20240401-typec-fix-sm8250-v3-0-604dce3ad103@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bryan O'Donoghue Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2305; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Pl/YNaCowSJwtvM5CLxzriI2N0LVr+hVT798TnH3gks=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQxq3lIqm7YesxMjpRxoP5kv2/Ug6lRzhmWB9y8BpTpPax PZkb81ORmMWBkYuBlkxRRafgpapMZuSwz7smFoPM4iVCWQKAxenAExk+1kOhokG7wu+yt4UyJ59 4E/w7Q8fEmbbFn6cHhv2ui3+1pnAz4HeHOalXCt2mao3Wz/8dGbfbWuL8CjldneFWb9U3+Q/FX6 g9/WNysfIlPUvowRy8jyuZb+w+mLrIrfaoWD7h9jeSzfV3Y/8WiJYOEXC457qfk4bxT3HY3jdmy +K3hfnjJvz8UtppVz8n028KskRu/65L/xTbabI/dLI93IB75uH7y09JpRMVQpu0visnFuwVprrU UFko68i9yoxozMPNi843iCa3yVtpZL2+oGRDMf7wG9X2Bj8/ENFMm5IRf7/6KlyP7/BedF+ltLe W8UbX+6WFT9baTTz7fvGy+tNl+/6mscq9l2c+doZ1XnXAQ== X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A On the affected Qualcomm platforms the display clock controller has additional DP input clocks, describe them in DT schema. Signed-off-by: Dmitry Baryshkov --- .../bindings/clock/qcom,dispcc-sm8x50.yaml | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml b/Documentation/devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml index 59cc88a52f6b..5831579b572e 100644 --- a/Documentation/devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml @@ -27,6 +27,7 @@ properties: - qcom,sm8350-dispcc clocks: + minItems: 7 items: - description: Board XO source - description: Byte clock from DSI PHY0 @@ -35,8 +36,15 @@ properties: - description: Pixel clock from DSI PHY1 - description: Link clock from DP PHY - description: VCO DIV clock from DP PHY + - description: Link clock from eDP PHY + - description: VCO DIV clock from eDP PHY + - description: Link clock from DP1 PHY + - description: VCO DIV clock from DP1 PHY + - description: Link clock from DP2 PHY + - description: VCO DIV clock from DP2 PHY clock-names: + minItems: 7 items: - const: bi_tcxo - const: dsi0_phy_pll_out_byteclk @@ -45,6 +53,12 @@ properties: - const: dsi1_phy_pll_out_dsiclk - const: dp_phy_pll_link_clk - const: dp_phy_pll_vco_div_clk + - const: edp_phy_pll_link_clk + - const: edp_phy_pll_vco_div_clk + - const: dptx1_phy_pll_link_clk + - const: dptx1_phy_pll_vco_div_clk + - const: dptx2_phy_pll_link_clk + - const: dptx2_phy_pll_vco_div_clk '#clock-cells': const: 1 @@ -68,6 +82,20 @@ properties: A phandle to an OPP node describing required MMCX performance point. maxItems: 1 +allOf: + - if: + not: + properties: + compatible: + contains: + const: qcom,sc8180x-dispcc + then: + properties: + clocks: + maxItems: 7 + clock-names: + maxItems: 7 + required: - compatible - reg -- 2.39.2