Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1956839ybd; Thu, 27 Jun 2019 04:30:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOy9Ho1zdsWUe6/lkXi3FLNazE8ShxXHt8PFIvJ3sOW2FG0p/DmoqzNYsVKPFNW4TSIPmj X-Received: by 2002:a63:4c0b:: with SMTP id z11mr3391423pga.440.1561635015383; Thu, 27 Jun 2019 04:30:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561635015; cv=none; d=google.com; s=arc-20160816; b=C1o8JR6WAAGSmGIrjQF6HdWq5+0WqgAEeEbiqXBIEqrmt4F/TB4OHB5E0pn6y6Ebs5 taUHkPpcpAitRYQNTFbBMkYqcCNGF3rBa2NwMPsbKyoo9MPUgCzdZTQW5Hv4w2XUBtI0 lvpvQgJBNVFZzZUyZT5RrKk2kCWVc2KXQVIhh86gC4ZDJzn82g1Wahj2v/GtCc2IiffD 50qphYdpCOg27UL1rZehRj6mivelkDwtr+AafRnFxejqnUB0/5XTCcMdqu5zV+VxJD// DDl4zvrmDhuwnbCImSWWJihFFGDRBlDsRWmGAc1BQVgLkYxF4ebJ6ZMoxpF8Uf7dktlf eNTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=QDWKXlpxu98HCogElK4jEUKX/2hU/aZhK5XO2ZF0fFI=; b=im/avyz1YAPSo1kQcOYrD/dEQqB8vK5QRgIaZWO5mQa/bNYKxsSvI8mImU/nsctMsz fqBlhlxRnpHisxXlvp9IX1ltWOMPwbHoZ1Xk42UyqXbTmRFVd7NppqjsVA3MllGzpaz3 z7WT24vHkgDon03l5AD9fANV7xDAlYiBvw+fiH7LY5baFp2Isky2zu/iT43woE+5Wech 3vAoH+I5rY2pe/E/zraKrj9j9yPiltkkjMrOSWB2K9DQg5IWNS9+aSMzw8qOfz4l23iM la+xGUezaGv2jVwwUsjN0/c0+OYNz5Ccrbmh5NtMO8YI6W47Wu+SdLcbyor50XqIuKHx GDaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector1-Analogixsemi-onmicrosoft-com header.b=TzU7ruEt; 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 64si2028901pld.334.2019.06.27.04.29.58; Thu, 27 Jun 2019 04:30: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; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector1-Analogixsemi-onmicrosoft-com header.b=TzU7ruEt; 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 S1726562AbfF0L3v (ORCPT + 99 others); Thu, 27 Jun 2019 07:29:51 -0400 Received: from mail-eopbgr710139.outbound.protection.outlook.com ([40.107.71.139]:56850 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726429AbfF0L3v (ORCPT ); Thu, 27 Jun 2019 07:29:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Analogixsemi.onmicrosoft.com; s=selector1-Analogixsemi-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QDWKXlpxu98HCogElK4jEUKX/2hU/aZhK5XO2ZF0fFI=; b=TzU7ruEtKE/Omz0K6G7YqA18Dw8stdbR2F0aIUKItNRrwnHabW6VXhRJc/htaV1RY8X5HSsSdZjZm2EcifUQ07qQQ5u7UYz/oKH47N6iBFA+yHqP+PSkuWuLYf+95Ty4lbuufm0nGhVD5+x4dOHtZJ2OvDSmPgzwSo/r8bvd554= Received: from MN2PR04MB5886.namprd04.prod.outlook.com (20.179.22.213) by MN2PR04MB6110.namprd04.prod.outlook.com (20.178.248.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2032.17; Thu, 27 Jun 2019 11:29:47 +0000 Received: from MN2PR04MB5886.namprd04.prod.outlook.com ([fe80::397b:3922:4027:f635]) by MN2PR04MB5886.namprd04.prod.outlook.com ([fe80::397b:3922:4027:f635%3]) with mapi id 15.20.2032.016; Thu, 27 Jun 2019 11:29:47 +0000 From: Xin Ji To: "gregkh@linuxfoundation.org" , Andrzej Hajda CC: "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" , "sjoerd.simons@collabora.co.uk" , Laurent Pinchart , David Airlie , Daniel Vetter , "dri-devel@lists.freedesktop.org" , Sheng Pan Subject: [PATCH v1] Adjust analogix chip driver location Thread-Topic: [PATCH v1] Adjust analogix chip driver location Thread-Index: AQHVLNugE9/A6NeXyUKRWvLnNCDN2w== Date: Thu, 27 Jun 2019 11:29:47 +0000 Message-ID: <20190627112939.GA4832@xin-VirtualBox> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK0PR01CA0056.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::20) To MN2PR04MB5886.namprd04.prod.outlook.com (2603:10b6:208:a3::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=xji@analogixsemi.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [114.247.245.252] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e06ecaa8-4e44-4947-5b6a-08d6faf2c2a9 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:MN2PR04MB6110; x-ms-traffictypediagnostic: MN2PR04MB6110: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:177; x-forefront-prvs: 008184426E x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(136003)(396003)(366004)(39840400004)(376002)(346002)(189003)(199004)(54906003)(110136005)(7736002)(316002)(25786009)(2906002)(476003)(53936002)(256004)(52116002)(486006)(6486002)(6436002)(99286004)(305945005)(4326008)(6512007)(9686003)(86362001)(14454004)(26005)(8676002)(66066001)(1076003)(107886003)(8936002)(81166006)(81156014)(33716001)(33656002)(66476007)(66556008)(64756008)(66446008)(66946007)(73956011)(5660300002)(71190400001)(186003)(71200400001)(2501003)(478600001)(6506007)(102836004)(6116002)(3846002)(386003)(68736007);DIR:OUT;SFP:1102;SCL:1;SRVR:MN2PR04MB6110;H:MN2PR04MB5886.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: analogixsemi.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 6LDYImq0SYySngHQljdx99KpHYWHZpZLYPnjGWiAQdmaRZG7MSn/Z/5vFdccvS6F8gnyFBElK8KZIZ7dRgVKdtsGEdOH8N9HZTpRzvVQ2zhPxoY3Wfu5MMsMEwB6IzYDegzjunjcKfo0YwaXM/hFlvbiNSVn7cuaU/RfuvAk4ACEUMH3oIuaj6GEaJOOwZRsjYRUCIlpEOuLbDxcSHows1gLeHmP83RskLEWW7va1CudoTWxB/hnH5ZOal+A9YgEUCQjp3a02zIpkpHdicOXfzIitU2ANPxX0OeIrH18YbvojNRzoq1dR9AzFcqmtt7ZYGJoAitIHunAhD62UqCVHvyCkS0xe1WPTw4XSJLZW290lJ0dxNtuK8WaBBK+2YbKob7cLcYSA+jI1R+43FgVnBh3bbJeLTuB56w2CpCSzyA= Content-Type: text/plain; charset="us-ascii" Content-ID: <34B723CC14C47F4FB2A9966795AFA4EE@namprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: e06ecaa8-4e44-4947-5b6a-08d6faf2c2a9 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2019 11:29:47.6990 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b099b0b4-f26c-4cf5-9a0f-d5be9acab205 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xji@analogixsemi.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB6110 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move analogix chip ANX78XX bridge driver into "analogix" directory. Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/Kconfig | 10 ---------- drivers/gpu/drm/bridge/Makefile | 3 +-- drivers/gpu/drm/bridge/analogix/Kconfig | 10 ++++++++++ drivers/gpu/drm/bridge/analogix/Makefile | 2 ++ drivers/gpu/drm/bridge/{ =3D> analogix}/analogix-anx78xx.c | 0 drivers/gpu/drm/bridge/{ =3D> analogix}/analogix-anx78xx.h | 0 6 files changed, 13 insertions(+), 12 deletions(-) rename drivers/gpu/drm/bridge/{ =3D> analogix}/analogix-anx78xx.c (100%) rename drivers/gpu/drm/bridge/{ =3D> analogix}/analogix-anx78xx.h (100%) diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfi= g index ee77746..862789b 100644 --- a/drivers/gpu/drm/bridge/Kconfig +++ b/drivers/gpu/drm/bridge/Kconfig @@ -16,16 +16,6 @@ config DRM_PANEL_BRIDGE menu "Display Interface Bridges" depends on DRM && DRM_BRIDGE =20 -config DRM_ANALOGIX_ANX78XX - tristate "Analogix ANX78XX bridge" - select DRM_KMS_HELPER - select REGMAP_I2C - ---help--- - ANX78XX is an ultra-low Full-HD SlimPort transmitter - designed for portable devices. The ANX78XX transforms - the HDMI output of an application processor to MyDP - or DisplayPort. - config DRM_CDNS_DSI tristate "Cadence DPI/DSI bridge" select DRM_KMS_HELPER diff --git a/drivers/gpu/drm/bridge/Makefile b/drivers/gpu/drm/bridge/Makef= ile index 4934fcf..02cb4cd 100644 --- a/drivers/gpu/drm/bridge/Makefile +++ b/drivers/gpu/drm/bridge/Makefile @@ -1,5 +1,4 @@ # SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_DRM_ANALOGIX_ANX78XX) +=3D analogix-anx78xx.o obj-$(CONFIG_DRM_CDNS_DSI) +=3D cdns-dsi.o obj-$(CONFIG_DRM_DUMB_VGA_DAC) +=3D dumb-vga-dac.o obj-$(CONFIG_DRM_LVDS_ENCODER) +=3D lvds-encoder.o @@ -12,8 +11,8 @@ obj-$(CONFIG_DRM_SII9234) +=3D sii9234.o obj-$(CONFIG_DRM_THINE_THC63LVD1024) +=3D thc63lvd1024.o obj-$(CONFIG_DRM_TOSHIBA_TC358764) +=3D tc358764.o obj-$(CONFIG_DRM_TOSHIBA_TC358767) +=3D tc358767.o -obj-$(CONFIG_DRM_ANALOGIX_DP) +=3D analogix/ obj-$(CONFIG_DRM_I2C_ADV7511) +=3D adv7511/ obj-$(CONFIG_DRM_TI_SN65DSI86) +=3D ti-sn65dsi86.o obj-$(CONFIG_DRM_TI_TFP410) +=3D ti-tfp410.o obj-y +=3D synopsys/ +obj-y +=3D analogix/ diff --git a/drivers/gpu/drm/bridge/analogix/Kconfig b/drivers/gpu/drm/brid= ge/analogix/Kconfig index e930ff9..dfe84f5 100644 --- a/drivers/gpu/drm/bridge/analogix/Kconfig +++ b/drivers/gpu/drm/bridge/analogix/Kconfig @@ -1,4 +1,14 @@ # SPDX-License-Identifier: GPL-2.0-only +config DRM_ANALOGIX_ANX78XX + tristate "Analogix ANX78XX bridge" + select DRM_KMS_HELPER + select REGMAP_I2C + ---help--- + ANX78XX is an ultra-low Full-HD SlimPort transmitter + designed for portable devices. The ANX78XX transforms + the HDMI output of an application processor to MyDP + or DisplayPort. + config DRM_ANALOGIX_DP tristate depends on DRM diff --git a/drivers/gpu/drm/bridge/analogix/Makefile b/drivers/gpu/drm/bri= dge/analogix/Makefile index fdbf3fd..d4c54ac 100644 --- a/drivers/gpu/drm/bridge/analogix/Makefile +++ b/drivers/gpu/drm/bridge/analogix/Makefile @@ -1,3 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_DRM_ANALOGIX_ANX78XX) +=3D analogix-anx78xx.o + analogix_dp-objs :=3D analogix_dp_core.o analogix_dp_reg.o obj-$(CONFIG_DRM_ANALOGIX_DP) +=3D analogix_dp.o diff --git a/drivers/gpu/drm/bridge/analogix-anx78xx.c b/drivers/gpu/drm/br= idge/analogix/analogix-anx78xx.c similarity index 100% rename from drivers/gpu/drm/bridge/analogix-anx78xx.c rename to drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c diff --git a/drivers/gpu/drm/bridge/analogix-anx78xx.h b/drivers/gpu/drm/br= idge/analogix/analogix-anx78xx.h similarity index 100% rename from drivers/gpu/drm/bridge/analogix-anx78xx.h rename to drivers/gpu/drm/bridge/analogix/analogix-anx78xx.h --=20 2.7.4