Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2373519imm; Sun, 7 Oct 2018 02:41:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV63S9sbPu6g0z27uUIljU8vm2iEWlgGNZ+I8NgCgqZ2wkA+UdcQjLx6oee9VSzjTCZ5DnkoT X-Received: by 2002:a17:902:8606:: with SMTP id f6-v6mr19124561plo.271.1538905296898; Sun, 07 Oct 2018 02:41:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538905296; cv=none; d=google.com; s=arc-20160816; b=bHpOg4aub6yfBQTKTFxpJW3vxdXqIyz4u4d1bA3qxqEzE9ICDSJsH1/RYaPWroUBbY IiNCReMtiKZiarN51b79wNLqyQvtxpIJIC/q8Z4L4UK4UBKuQseeUyDamp/QLr4CwjTm jiQkGgbvzbHD00QLx7r5KGylnbGLmm537oIVlREQrBCRnpQ2e1RDFHn9ISIzzGNwJgxn 2AKcU4KgAGXC/TGaRGLU9B2zzZPcxAlFIcXXjt8zHvoSti0mSfDsc7G9BuwAtmTswZoA Rht1Ws9uynUNlSVFQdtrF/JB0eeM+YV8OzYJp5EYVG6XF1zFP+zJrefEz9IcWszfSlDN avUQ== 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=MVo6eklVtm6OKBLZU4qCwVxHvTZcl3lZVuTpQ/aHcdk=; b=dn8rJ4a8XJE6bZidekV9CUX4RijV+5v+p3j+Gojj2bcB6/+2XoTKrtmy/8o4bDyZBU jCgn9scAdDetgyDijYOSphMzW6+2LNl2la4QLK4tlkGJhw2gx3Aq5ThbGYtGzeHxgPAu HfWbBE7bnh8r0F85yPYiYUE59nQ1EDoZ6lJlKFe/wlM4BwdY01qMRAAF33VECydzwUED XBJ7m2lGqghu61B0/tovc99WaBlQ1kuGVLD+zVSOWF++4evehGWsBTbyZJmkhQrzW8yT fapB3CwY5uyKWNodmLifsQWmQK8jPPaT+xJ6JqXP4UFBDicaWU1Iy4jfYp/vr1oLiEy7 SfzA== 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 l36-v6si14954934plg.289.2018.10.07.02.40.52; Sun, 07 Oct 2018 02:41:36 -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 S1728523AbeJGQqz (ORCPT + 99 others); Sun, 7 Oct 2018 12:46:55 -0400 Received: from mailoutvs46.siol.net ([185.57.226.237]:40061 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728371AbeJGQqy (ORCPT ); Sun, 7 Oct 2018 12:46:54 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTP id A6BD7520479; Sun, 7 Oct 2018 11:40:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at psrvmta10.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta10.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id DMYwWRxjVhFA; Sun, 7 Oct 2018 11:40:10 +0200 (CEST) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTPS id 11D14520456; Sun, 7 Oct 2018 11:40:10 +0200 (CEST) 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 A68ED520422; Sun, 7 Oct 2018 11:40:07 +0200 (CEST) From: Jernej Skrabec To: maxime.ripard@bootlin.com, wens@csie.org Cc: robh+dt@kernel.org, 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 Subject: [PATCH v2 21/29] drm/sun4i: dw-hdmi-phy: Reorder quirks by family Date: Sun, 7 Oct 2018 11:38:57 +0200 Message-Id: <20181007093905.11253-22-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181007093905.11253-1-jernej.skrabec@siol.net> References: <20181007093905.11253-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.0