Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1672589imm; Mon, 3 Sep 2018 06:37:15 -0700 (PDT) X-Google-Smtp-Source: ANB0VdazYapUWjMPSv1GJlO5xF3o2762jrPDOV5MSR5dYKhEOuCsCmp9RJRw+tvBQfohPC1sOnT2 X-Received: by 2002:a17:902:5acc:: with SMTP id g12-v6mr28747417plm.90.1535981835579; Mon, 03 Sep 2018 06:37:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535981835; cv=none; d=google.com; s=arc-20160816; b=q1z6rMi0z7/g08lhB6eJ/wlKGNzukYkqhYq/kBCvoDjBjRHsMzRdy2GH/eu8HGagEI sXw8dzK33smnhVbI+3Od4asHA3HpSEGAnd+yVOo5oG4kt9bchUIW1yWYkNprx986gB7V 0qvdW8H9jBr/+y8spy0O7JvvBdGasxDF59A6Iq5YGEwUbAzMedb5lhT0WBzyxGE/lnVO rg6sXhVKFcY4WyAdTLfnTI3Hh13KpCJArDM0/OJTh1vJSVQqKaTGaqH3XKPGdoFdTytW eto+HZzYzLNtjav4JbiHlXRNWGq4LqKIzAgBmog2DHXgaKZShN2DO2yV9NhmTmNjlsBa 2pvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=YhiT1GA+V7+NhnWs+eW1qLDwPqebwFCUiAUdkgfyL1E=; b=wXPO4MuouhH9jljFT1Pu1Vnsl+NHawzBfH6J+5VQtNWUdoG4ONYN2LaSDiKt/iqLue LEXUjADekwxGYIFeQGEAmA6svsZPcjw7qKb6ekp1J8TRwDZ5MxCOpQ5XScASUaLf3HVc F2bUjH7A0eStXic7Osuz2yEOLbQZa+SPshz7yoLv9Lt12ziHnVp/6WczReQkGGBO4xNx CZl7vgRn5t3iA6JX2FxsDGM6JMir6P8U6VZVDUzDWt5qmp4xmx4ooo04xTa4IeZbJA0D i2ZViqkxSTwprR5BYXi6gKbW7onWLY5eWYfQNvyv7ia9LfefU8o6MgQC+jOMbDUn56V5 c30g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s2-v6si17935054plp.144.2018.09.03.06.37.00; Mon, 03 Sep 2018 06:37:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727468AbeICRzt (ORCPT + 99 others); Mon, 3 Sep 2018 13:55:49 -0400 Received: from hermes.aosc.io ([199.195.250.187]:52356 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbeICRzt (ORCPT ); Mon, 3 Sep 2018 13:55:49 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 2E01EFF89E; Mon, 3 Sep 2018 13:35:30 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH 2/3] drm/sun4i: change A64 HDMI PHY binding to R40 Date: Mon, 3 Sep 2018 21:34:33 +0800 Message-Id: <20180903133434.58188-3-icenowy@aosc.io> In-Reply-To: <20180903133434.58188-1-icenowy@aosc.io> References: <20180903133434.58188-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Allwinner A64 SoC is proven to have no PLL-VIDEO mux in the HDMI PHY clock, although it has two PLL-VIDEOs. The R40 SoC has this mux. Change the binding compatible string from sun50i-a64 to sun8i-r40, and let A64 to use H3 compatible string. The compatible string is introduced in v4.19, and during the RC stage we can still change it. Signed-off-by: Icenowy Zheng --- drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c b/drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c index 82502b351aec..744a8a2a15c0 100644 --- a/drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c +++ b/drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c @@ -396,7 +396,7 @@ static struct regmap_config sun8i_hdmi_phy_regmap_config = { .name = "phy" }; -static const struct sun8i_hdmi_phy_variant sun50i_a64_hdmi_phy = { +static const struct sun8i_hdmi_phy_variant sun8i_r40_hdmi_phy = { .has_phy_clk = true, .has_second_pll = true, .phy_init = &sun8i_hdmi_phy_init_h3, @@ -419,8 +419,8 @@ static const struct sun8i_hdmi_phy_variant sun8i_h3_hdmi_phy = { static const struct of_device_id sun8i_hdmi_phy_of_table[] = { { - .compatible = "allwinner,sun50i-a64-hdmi-phy", - .data = &sun50i_a64_hdmi_phy, + .compatible = "allwinner,sun8i-r40-hdmi-phy", + .data = &sun8i_r40_hdmi_phy, }, { .compatible = "allwinner,sun8i-a83t-hdmi-phy", -- 2.18.0