From mboxrd@z Thu Jan 1 00:00:00 1970 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 F3636C433EF for ; Mon, 20 Jun 2022 01:03:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235034AbiFTBDG (ORCPT ); Sun, 19 Jun 2022 21:03:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234884AbiFTBDF (ORCPT ); Sun, 19 Jun 2022 21:03:05 -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 1C332101D for ; Sun, 19 Jun 2022 18:03:04 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id s21so4298241lfs.13 for ; Sun, 19 Jun 2022 18:03:04 -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:mime-version :content-transfer-encoding; bh=LYx02C+EGoQu6KMZwxBVohOCqcqGTmt/TOzhzyy1LWE=; b=m3sa52vAAbFrpDwICO52CQsJYLvI4DPQ04un6oUG38P7j4Q+ZThELmIAd3gmRaRFAq 6pDh3TdB+B1NEgQsF/FJLuH6ZDCupihbcEG2ive+X5rT8oUOAqL0BXVOqNlnSrTCMGHe PuWZE1pedoKE4aSLbr6jrcuR8AGE3QKbNl8ADEKMmYJ97gwwIdnuuDB+HJfG0o7iqZrc 289OTNHwAtpeeg9pBqDdGeT7eVGQOJGlqTNPh2+Rhkuk4rtQgfiYSMjVyfodxJHFNwqR 58Cxyj0YS0rSfMc66y/HkYsrIXGPAJG7rQX1vtrgY+0v6x9FOMib6Nj4QcrQufltmpwI HxjQ== 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:mime-version :content-transfer-encoding; bh=LYx02C+EGoQu6KMZwxBVohOCqcqGTmt/TOzhzyy1LWE=; b=HRFLX2GaYABT95pj906bNmCLfA4h7ZNYtTssN2ZGw/o0cZ0pKx9qrDhIkHvL/SIzcv A7hB7sJAgHOo79L0Xo+5BxsVgDl8WxbNtHOC6xr3XLTZ+Ohib1Nstl4Q+pe98MEgnLR8 npphXd9A3YkoFBdow7+F1GL2YEOyThpS15i0gVTSaOckqYl/BciLdSN6yAtT3o409L3B nxJZrcnOqMpjOYPZ5jK1aICzWV9KIWCQ5ZL31FEUGkGOSHF+EwmD73nMC+IkFisk4E5S IQM6Cw8LFEHrgZr+lXqpI9j6VYo2WWSyKG1U57XyPhoVbsZ4MYjLIxmPpfcq6ZIx+ECH X2xA== X-Gm-Message-State: AJIora/JlIR2t5ZwENwhhBW6zY5k9vEvA+vaWq+FbBe+AAChptoOVBlW RQ3CFc+0PqIlUJNcuHsnROWWmg== X-Google-Smtp-Source: AGRyM1sMWLywf7r4SVgZehvoyw4bAZ3HVrwRR/gdH4/29NKbQUy4lNRoKx8COczxk47Uko6qNZvqoQ== X-Received: by 2002:a05:6512:2828:b0:47f:68dc:9feb with SMTP id cf40-20020a056512282800b0047f68dc9febmr3098074lfb.475.1655686982374; Sun, 19 Jun 2022 18:03:02 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id a1-20020a19e301000000b00477a6c86f17sm1550334lfh.8.2022.06.19.18.03.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jun 2022 18:03:01 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , 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 v2 0/3] drm/msm/hdmi: turn MSM8996 HDMI PHY into OF clock provider Date: Mon, 20 Jun 2022 04:02:57 +0300 Message-Id: <20220620010300.1532713-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On MSM8996 the HDMI PHY is the QMP PHY, it provides an HDMI PLL clock used by the MMCC. Add support for providing this clock to the OF framework by registerding the clock provider and adding #clock-cells property to the DT node. Changes since v1: - Also handle the xo clock (include it into the dtsi, use parent_data instead of parent_names). The patches were changed, so I didn't pick up the R-b tags. Dmitry Baryshkov (3): dt-bindings: phy: qcom,hdmi-phy-qmp: add clock-cells and XO clock drm/msm/hdmi: make hdmi_phy_8996 OF clk provider arm64: dts: qcom: msm8996: add #clock-cells and XO clock to the HDMI PHY node .../bindings/phy/qcom,hdmi-phy-qmp.yaml | 14 ++++++++--- arch/arm64/boot/dts/qcom/msm8996.dtsi | 8 ++++-- drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c | 25 +++++++++++-------- 3 files changed, 31 insertions(+), 16 deletions(-) -- 2.35.1