Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp1892065imd; Sun, 4 Nov 2018 11:51:32 -0800 (PST) X-Google-Smtp-Source: AJdET5f6sLIzxN9pFTIZX1ohO9O50QoA/G3V0hj19Y4AsZjaEDUm9KdCCt1K85XPi27N65GllsC9 X-Received: by 2002:a17:902:780f:: with SMTP id p15-v6mr19074313pll.197.1541361092377; Sun, 04 Nov 2018 11:51:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541361092; cv=none; d=google.com; s=arc-20160816; b=vg0Q2oLWEDgDZEqdhcLCNG1QKvhLlWPbYUy9A8Liv45ljHg/gt+dfL0D3FFNeyHRXM 5mxEjJCp5Hsu/KiKBII87eY+QCJgsFFP4f2Fc08P9Xsn26PvsKCz20cQuVmujzw49HGK XdZlSNMxRgfMqVYKyLsSsAElYP3ki7nrQnFpxi2r2InmMqunTS6y0BCJ7TAanmG90NIk ZACWU388SpJj6KZ+NtVbqqNZ9DinMRnUTvfftjiWGX8kM3nxcysUCwf6CSL6ozxgt2uy jAdSYHzLvQXiOFvWsb46xHz12lRGOJsP9l/IV8U384QIEPRS8HlwXvqMjln8SptS3wHu TN1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=lSqre/ZM/21J8lczOmQErcXinLBf7fID70z0yjr5szM=; b=bVDawdu1NkW63Srvv1T+1jXYaHeCekI1jv4Fo6EbbKP+Enh45XVPR55y9grureJzXQ o1P6peRYlstlfsAAw1P12zttEi5nfc94r/RL/WG775FGkdm4A39x3PtTHGdfGHHfn9Og kAdTd5/6/8zJfSn0r5v5RNaMNkTtXzP7vqjokHaIRXZ8BFigVrqgO+TRENFIDj+H2yAS d9xvONkTy7oQcffyBeWioTRkeqNvuzrWojn5pG52GChPYkINPIQBYTRfwOXHgizqe+Pv SCPRTSpHFpEGFa+l1fcymkLtTUpb9KnjhxTXchH914nAAaSTNyPCmUEHLT76OWh3GzgH m46A== 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 r29si12604080pga.477.2018.11.04.11.51.16; Sun, 04 Nov 2018 11:51:32 -0800 (PST) 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 S2387658AbeKEDoW (ORCPT + 99 others); Sun, 4 Nov 2018 22:44:22 -0500 Received: from mailoutvs16.siol.net ([185.57.226.207]:47632 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731728AbeKEDoV (ORCPT ); Sun, 4 Nov 2018 22:44:21 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTP id A4987521294; Sun, 4 Nov 2018 19:28:26 +0100 (CET) X-Virus-Scanned: amavisd-new at psrvmta11.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta11.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id MAK7tY_kv6Nd; Sun, 4 Nov 2018 19:28:26 +0100 (CET) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTPS id 5751A521233; Sun, 4 Nov 2018 19:28:26 +0100 (CET) Received: from localhost.localdomain (cpe1-8-82.cable.triera.net [213.161.8.82]) (Authenticated sender: 031275009) by mail.siol.net (Postfix) with ESMTPSA id D4E695212AE; Sun, 4 Nov 2018 19:28:23 +0100 (CET) From: Jernej Skrabec To: maxime.ripard@bootlin.com, wens@csie.org Cc: robh+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, airlied@linux.ie, architt@codeaurora.org, a.hajda@samsung.com, Laurent.pinchart@ideasonboard.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sunxi@googlegroups.com, jernej.skrabec@siol.net Subject: [PATCH v3 20/28] drm/sun4i: dw-hdmi-phy: Reorder quirks by family Date: Sun, 4 Nov 2018 19:26:57 +0100 Message-Id: <20181104182705.18047-21-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181104182705.18047-1-jernej.skrabec@siol.net> References: <20181104182705.18047-1-jernej.skrabec@siol.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently, quirks and compatibles are sorted alphabetically. However, they should be sorted by family release date and then alphabetically. Fix that by moving A64 quirks and compatible to bottom. No functional change is made. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c b/drivers/gpu/drm/sun= 4i/sun8i_hdmi_phy.c index 365cb5a9fb77..adc3ba7df7e3 100644 --- a/drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c +++ b/drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c @@ -403,13 +403,6 @@ static struct regmap_config sun8i_hdmi_phy_regmap_co= nfig =3D { .name =3D "phy" }; =20 -static const struct sun8i_hdmi_phy_variant sun50i_a64_hdmi_phy =3D { - .has_phy_clk =3D true, - .phy_init =3D &sun8i_hdmi_phy_init_h3, - .phy_disable =3D &sun8i_hdmi_phy_disable_h3, - .phy_config =3D &sun8i_hdmi_phy_config_h3, -}; - static const struct sun8i_hdmi_phy_variant sun8i_a83t_hdmi_phy =3D { .phy_init =3D &sun8i_hdmi_phy_init_a83t, .phy_disable =3D &sun8i_hdmi_phy_disable_a83t, @@ -431,11 +424,14 @@ static const struct sun8i_hdmi_phy_variant sun8i_r4= 0_hdmi_phy =3D { .phy_config =3D &sun8i_hdmi_phy_config_h3, }; =20 +static const struct sun8i_hdmi_phy_variant sun50i_a64_hdmi_phy =3D { + .has_phy_clk =3D true, + .phy_init =3D &sun8i_hdmi_phy_init_h3, + .phy_disable =3D &sun8i_hdmi_phy_disable_h3, + .phy_config =3D &sun8i_hdmi_phy_config_h3, +}; + static const struct of_device_id sun8i_hdmi_phy_of_table[] =3D { - { - .compatible =3D "allwinner,sun50i-a64-hdmi-phy", - .data =3D &sun50i_a64_hdmi_phy, - }, { .compatible =3D "allwinner,sun8i-a83t-hdmi-phy", .data =3D &sun8i_a83t_hdmi_phy, @@ -448,6 +444,10 @@ static const struct of_device_id sun8i_hdmi_phy_of_t= able[] =3D { .compatible =3D "allwinner,sun8i-r40-hdmi-phy", .data =3D &sun8i_r40_hdmi_phy, }, + { + .compatible =3D "allwinner,sun50i-a64-hdmi-phy", + .data =3D &sun50i_a64_hdmi_phy, + }, { /* sentinel */ } }; =20 --=20 2.19.1