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 81C13C433EF for ; Mon, 4 Jul 2022 16:11:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233897AbiGDQLx (ORCPT ); Mon, 4 Jul 2022 12:11:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233153AbiGDQLw (ORCPT ); Mon, 4 Jul 2022 12:11:52 -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 B33446152 for ; Mon, 4 Jul 2022 09:11:51 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id t24so16548110lfr.4 for ; Mon, 04 Jul 2022 09:11:51 -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=rvpMkL8rwQeoEo+SMzO+GF3s7pNzolh8BqnzxKkFoo4=; b=PRa8oeritKHlX5Cuo59DeIr0jqFFxqZ1SUAiCm7V/3n46EK/pO7XM36ROBw3DzXSXQ YxJhUduCoQbUeCSf4f+YyP0BecLCr5Bdx0rzFxhPwJiYWfbtX1FSwGRSAoCvzxET1Aze d8bQuCcF05gDIgavHgfmsknIUBq4J7Cv/dhY0Q7FDmoPhqCMKh/YwDkOgUpXAZTVm6kx xj6PcFZA+zxLttELoWt2i3Nsro/aZyINoJiHx3vMmZ313zFWalf6OIYMpBFqs/QB+Zh2 facRBNtre9zuGmBE7bQfhiLwEWoNOsuccYUiGxdwwsf9Fwk8OCu0Shq5UH8A38/eTp84 QPig== 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=rvpMkL8rwQeoEo+SMzO+GF3s7pNzolh8BqnzxKkFoo4=; b=hujhxwgaeiDLv2qhYmaOc5G3w2TyK/JrBriU/BETtOH41MGocnNrMYw/4IsYj2wAXb nZ6AdM+X3CUzlOeE5qemN4sgFqRbG/dlKnC7c6WWWmhllfDoRDl5T8JYusnEenIxo79J 9nDUsekaNh4PHBNHB1tEzJh7i3F7Lgpleb6xYOx9i9KjnW0AJDxKkQ1sX10ygxIedv6C 5khVvY3sU5o2aJfRsBHHCdRWvrBvFYQ2CBbtfSkT8zBswCTNdPP4CeQ8s8sO0lBZRESF zRlrouD1e9Y0bX13Uo1GKurkibdwJ81OAGlQ5D1ffT5ov4wKKDLgGmhmr3iYQ3Mx1bBN tBgQ== X-Gm-Message-State: AJIora/uTX6lDMbusgmPbgWrdwFl0Pobs0muqDxYJsYabwN0yuNF/76x jUTcXOAzY/n/fiqeU4PJjCSOnA== X-Google-Smtp-Source: AGRyM1tTn7DtmPOMMB8Ftu3ZrQuStfkpwldPqX63M2wVWQqfl+bhBR3Ly0in/NV3wLfdHb+lrvQP0g== X-Received: by 2002:ac2:489c:0:b0:47f:6c54:7c56 with SMTP id x28-20020ac2489c000000b0047f6c547c56mr18196383lfc.529.1656951110018; Mon, 04 Jul 2022 09:11:50 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id bj16-20020a2eaa90000000b0025d254180d7sm381273ljb.113.2022.07.04.09.11.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 09:11:49 -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, Kishon Vijay Abraham I , Vinod Koul , linux-phy@lists.infradead.org Subject: [PATCH v3 0/3] drm/msm/hdmi: turn MSM8996 HDMI PHY into OF clock provider Date: Mon, 4 Jul 2022 19:11:45 +0300 Message-Id: <20220704161148.814510-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: linux-arm-msm@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. The dt-bindings from this series depends on changes from [1] (part of linux-next, but not of the msm-next yet). [1]: https://patchwork.freedesktop.org/series/104836/ Changes since v2: - Added minItems: 2 to clock-names property (Rob) - Explicitly mentioned dependencies 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 | 15 ++++++++--- arch/arm64/boot/dts/qcom/msm8996.dtsi | 8 ++++-- drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c | 25 +++++++++++-------- 3 files changed, 32 insertions(+), 16 deletions(-) -- 2.35.1 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BA705CCA481 for ; Mon, 4 Jul 2022 16:11:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=W8CxDUj+uFxSR1CkNwVvalkejLWMNGIw85r8nJ7ryf8=; b=cq3UuU4UHAj7Hx zoJKLQ5v62GOKg3CMlZ4+TiipeBgbXMdP0rmtewwsU4w9RxZj4KtS0y4OgQfxNu0lLHCHaVPZ6LeU Pgvc0oyy40fxqu3MqleL7GYLVHBVATpkeclfo40KDPTXL5U1YQgdvr/5/iWR8i+KgNkL63JBsRDYS Dvqqe53BOOkv3ccNesWG3pVog/01QLo7FcEQjrXSFChDFvnj5uybN4WW711gKUtGZFdJKcjMe7bDy 87l1oB2/mQoq8lsmGNMv66nOKZ3hv5mpZB4/YSJ6rD3ZGa62tMggpigHT5JlEGUUAp5Iep+ztwTmV vrm9XWkzkJNIP8/Os3gQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8Og1-009uN2-58; Mon, 04 Jul 2022 16:11:57 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8Ofy-009uLb-5I for linux-phy@lists.infradead.org; Mon, 04 Jul 2022 16:11:56 +0000 Received: by mail-lf1-x131.google.com with SMTP id t19so15884017lfl.5 for ; Mon, 04 Jul 2022 09:11:51 -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=rvpMkL8rwQeoEo+SMzO+GF3s7pNzolh8BqnzxKkFoo4=; b=PRa8oeritKHlX5Cuo59DeIr0jqFFxqZ1SUAiCm7V/3n46EK/pO7XM36ROBw3DzXSXQ YxJhUduCoQbUeCSf4f+YyP0BecLCr5Bdx0rzFxhPwJiYWfbtX1FSwGRSAoCvzxET1Aze d8bQuCcF05gDIgavHgfmsknIUBq4J7Cv/dhY0Q7FDmoPhqCMKh/YwDkOgUpXAZTVm6kx xj6PcFZA+zxLttELoWt2i3Nsro/aZyINoJiHx3vMmZ313zFWalf6OIYMpBFqs/QB+Zh2 facRBNtre9zuGmBE7bQfhiLwEWoNOsuccYUiGxdwwsf9Fwk8OCu0Shq5UH8A38/eTp84 QPig== 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=rvpMkL8rwQeoEo+SMzO+GF3s7pNzolh8BqnzxKkFoo4=; b=pEW2YMipNJ3rxDF63ZO53YeXw1Hl9IsQfg9kw25XxzUzbCgAcqL+kdjNtrJ7fdNAk6 EiBdxnHxy33u2o+3DHwrT8F9UrkMT8DiCsub5UzxfXvGvqi6wI2k3PnAo9RlTG2W8xIT 751namQNygytSGLeo7eNKfedzHD0yqHMidfOCc6AO6g5nnpa5gh3My7A9ONUOx5g1Br9 sV5flv64pal46BUt1DiYpod87s6Lt/r2R2gzMbTZey2gpET0zxJevFUFcGKrlPkwyyKR DwkM+Z4RH1foECx7Q+GxW87ED4VAxYcgTFuUP2KkuPz3UKPXNVJp9rlLpOGXJe3z++Ol NX7w== X-Gm-Message-State: AJIora8K9VSbgJ93nyVjRwS6CKm0nZQwHB+arn+dRJoCazl924i8Dv5F oeGW5u0VqQmiCZKsgQP/+cLlvj28Rt6exQ== X-Google-Smtp-Source: AGRyM1tTn7DtmPOMMB8Ftu3ZrQuStfkpwldPqX63M2wVWQqfl+bhBR3Ly0in/NV3wLfdHb+lrvQP0g== X-Received: by 2002:ac2:489c:0:b0:47f:6c54:7c56 with SMTP id x28-20020ac2489c000000b0047f6c547c56mr18196383lfc.529.1656951110018; Mon, 04 Jul 2022 09:11:50 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id bj16-20020a2eaa90000000b0025d254180d7sm381273ljb.113.2022.07.04.09.11.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 09:11:49 -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, Kishon Vijay Abraham I , Vinod Koul , linux-phy@lists.infradead.org Subject: [PATCH v3 0/3] drm/msm/hdmi: turn MSM8996 HDMI PHY into OF clock provider Date: Mon, 4 Jul 2022 19:11:45 +0300 Message-Id: <20220704161148.814510-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220704_091154_240095_59961CC3 X-CRM114-Status: UNSURE ( 9.15 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.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. The dt-bindings from this series depends on changes from [1] (part of linux-next, but not of the msm-next yet). [1]: https://patchwork.freedesktop.org/series/104836/ Changes since v2: - Added minItems: 2 to clock-names property (Rob) - Explicitly mentioned dependencies 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 | 15 ++++++++--- arch/arm64/boot/dts/qcom/msm8996.dtsi | 8 ++++-- drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c | 25 +++++++++++-------- 3 files changed, 32 insertions(+), 16 deletions(-) -- 2.35.1 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C2D53C43334 for ; Mon, 4 Jul 2022 16:23:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 26D6510F84C; Mon, 4 Jul 2022 16:16:29 +0000 (UTC) Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by gabe.freedesktop.org (Postfix) with ESMTPS id E275410E1C6 for ; Mon, 4 Jul 2022 16:11:51 +0000 (UTC) Received: by mail-lf1-x132.google.com with SMTP id z13so16469157lfj.13 for ; Mon, 04 Jul 2022 09:11:51 -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=rvpMkL8rwQeoEo+SMzO+GF3s7pNzolh8BqnzxKkFoo4=; b=PRa8oeritKHlX5Cuo59DeIr0jqFFxqZ1SUAiCm7V/3n46EK/pO7XM36ROBw3DzXSXQ YxJhUduCoQbUeCSf4f+YyP0BecLCr5Bdx0rzFxhPwJiYWfbtX1FSwGRSAoCvzxET1Aze d8bQuCcF05gDIgavHgfmsknIUBq4J7Cv/dhY0Q7FDmoPhqCMKh/YwDkOgUpXAZTVm6kx xj6PcFZA+zxLttELoWt2i3Nsro/aZyINoJiHx3vMmZ313zFWalf6OIYMpBFqs/QB+Zh2 facRBNtre9zuGmBE7bQfhiLwEWoNOsuccYUiGxdwwsf9Fwk8OCu0Shq5UH8A38/eTp84 QPig== 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=rvpMkL8rwQeoEo+SMzO+GF3s7pNzolh8BqnzxKkFoo4=; b=xbi/bqJL2ypthN7qzk2TuL+3nRNcoexalibbaLX/BeEWLappsNf1E0Jzm27bHaTdHZ YCAMc2Xklyqf2QmAHmn6pCBIruz/8penFeydua1AKcOxf3ml+eZdaA2NKUI4KSn2dgQj WACgPoeR9Uo5yeTNHoYOOcDnwgYZFb9BvImVxIwcfNGxWUCMoJ5trLzhhUfJpc/eZiGx Z8r1Q7s+TQh4Cz4+XscRecae88RWzMXM3+UXMNFpNR/VXHe66UVe8IJ7PkImxyrUJNEL aWT12K9eTK5/xfPY+dydihru+mPlGdFRBx6l0l/PriJFafS659+MRAbqHcW/0tnJbtNo yS+w== X-Gm-Message-State: AJIora/RfUiQwTqalmzWUicKyc4j3lMkQXi+Ff1dhMo9IKOAE86+ETZo 6jTARUY5YdD8Bq0/a+tF+IgClw== X-Google-Smtp-Source: AGRyM1tTn7DtmPOMMB8Ftu3ZrQuStfkpwldPqX63M2wVWQqfl+bhBR3Ly0in/NV3wLfdHb+lrvQP0g== X-Received: by 2002:ac2:489c:0:b0:47f:6c54:7c56 with SMTP id x28-20020ac2489c000000b0047f6c547c56mr18196383lfc.529.1656951110018; Mon, 04 Jul 2022 09:11:50 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id bj16-20020a2eaa90000000b0025d254180d7sm381273ljb.113.2022.07.04.09.11.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 09:11:49 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Subject: [PATCH v3 0/3] drm/msm/hdmi: turn MSM8996 HDMI PHY into OF clock provider Date: Mon, 4 Jul 2022 19:11:45 +0300 Message-Id: <20220704161148.814510-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, David Airlie , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , Vinod Koul , linux-phy@lists.infradead.org, Kishon Vijay Abraham I , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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. The dt-bindings from this series depends on changes from [1] (part of linux-next, but not of the msm-next yet). [1]: https://patchwork.freedesktop.org/series/104836/ Changes since v2: - Added minItems: 2 to clock-names property (Rob) - Explicitly mentioned dependencies 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 | 15 ++++++++--- arch/arm64/boot/dts/qcom/msm8996.dtsi | 8 ++++-- drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c | 25 +++++++++++-------- 3 files changed, 32 insertions(+), 16 deletions(-) -- 2.35.1