Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1208856ybl; Wed, 14 Aug 2019 12:36:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfhaf4LoP31dHPU2l0MMe8vWpkYmmKXdJ1J8afeeUiyGFOp5AVlQmZVbAxdgPzOzr8nYv6 X-Received: by 2002:a17:902:b413:: with SMTP id x19mr944815plr.121.1565811376862; Wed, 14 Aug 2019 12:36:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565811376; cv=none; d=google.com; s=arc-20160816; b=ASIGBCUoxDPqo3clxdMpR361dsdBIRgxm2759uQ9E/TlU/SAhqEgu6gP8YSungRuwh 6AoOkp4Ra+CQoRs78+PPbKhF9tA8/UZZFy6NTp3n87pujrlwbuIbqRuLPzDUn6HxKdon BswRxDWM9GsJ9kajDQ2jStiEsrETJ78n3Lsk96R/WbADfYyUzvWB4szcMRaDutSA9z+z RW5JfE+PCStr7j+WDh1U5emwrWPwPMmAMeI4D1RsiryBz+S8nsB8FBp14V3lkQpcmpcH BNvPtSOvV159uqHchge/Y+MRpPhzkV3vrGZSJTN/3FaJe/qxkRCQt0azprVkglH23ciT GRDQ== 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:dkim-signature; bh=ZyAGMPNMpuVXR2jkt8gh8WUfYnDQXgrGIfOGthyfg8o=; b=H5pIDl3SwvBlvJrM2g99/3ZNjiUClcJjMr0pklaOdPNFgS/NHa/UWoOZRxtkCvDvI2 m5BFFyjihSs4JqfIRTzlmL7L/t3z/yToMtw9NnV5PgL/566kEfyBHQUJQkiQzJZjY70C F9RbKemrCDdmHZZ6XsnIuZc6v2WZ7kPiXWh2MWB3McGpgHjZAS2lHal8tiYGEZ19a0xd 0fDUCBxzNmGhiQ73YJVYbxQrI+QeiwxmPweM0SV/ivT9pc79jLJ9nHInjxqc1b6I1yfo 9f7NEvgrqnZrcMSeyGR97VRN2jk6LH8i8RPI2ZkTGINQPOjiFnQXdF8t/FvHJkwfCCB3 SqpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=new8xX0j; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k142si321320pfd.217.2019.08.14.12.36.00; Wed, 14 Aug 2019 12:36:16 -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=@linaro.org header.s=google header.b=new8xX0j; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729174AbfHNSrN (ORCPT + 99 others); Wed, 14 Aug 2019 14:47:13 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:45142 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729122AbfHNSrN (ORCPT ); Wed, 14 Aug 2019 14:47:13 -0400 Received: by mail-pf1-f193.google.com with SMTP id w26so8829958pfq.12 for ; Wed, 14 Aug 2019 11:47:12 -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:in-reply-to:references; bh=ZyAGMPNMpuVXR2jkt8gh8WUfYnDQXgrGIfOGthyfg8o=; b=new8xX0jxsoxrQMLLTjQzxCi9sEMmOw0y08XqrmCsvQjSiFIOUH2oFECZQOjzm47Ew cXFDtMTKt5ft82uI3BfQLWS/OucPSunD0m00lu6dNFtnM4Yfuj6jLpUqfTpGMp3RlxqZ g9GZTqDt3eOQchKPiQOtPjF78VjyeoPaP7K5itoS/AY+LMzle2ccLPW5i621gwojmzeQ Udq8vzMc/+yOPa5NVaijaIrBenAGLaCwPGUnOG2Equi+zkUn4KWtg9NK6iSdxz+xP+kt Rs5sSj4j5c6LTIoBzwooGqYLjO6iXDjfUVaEVudnMBD8BHVXYJcYoiO7/SScGSbtiXo9 02zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZyAGMPNMpuVXR2jkt8gh8WUfYnDQXgrGIfOGthyfg8o=; b=FUgiHs7UieBIBDw6Uie0ZvSZ7vgBLHneZVJBXZkPUK5S0CcaTeq53AvMWBybPjwXR2 dFRGLMcMePQ3GEjVIO9xGkdgH05sXO0szkvVQuUUDHD5+8Z7L5y6Th+/3ahLJkGn1g3l NgjTpxpGtqdOWOqxRdDhN5GtoYfR/9Xi6bjA0TVDoVwixLwdDkO9lTuGZbC8fITpLbhs 1L00v6OfR+WFOMiRl34cy+mWnEoXtxUoWav+O3dEJLL7DvAV0ksK/TlY1MFVbTGRxEOL xF1W9hZpGS4zDj5whZZYPRNEc2NeS9CYUCTxWzdzRAxUnKGxhTVO9s1AiFZUgxYJ9LN3 8aKQ== X-Gm-Message-State: APjAAAWJTXHTAM6nA+d67EgoRmlQpbsT00svVg5+TTiBpU13w8pKY/3m 2eEFM+4kJsGEqQHQ/ruM1gY042Z/KzA= X-Received: by 2002:a17:90a:aa98:: with SMTP id l24mr1091282pjq.64.1565808432086; Wed, 14 Aug 2019 11:47:12 -0700 (PDT) Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id y16sm610855pfc.36.2019.08.14.11.47.10 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 14 Aug 2019 11:47:11 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Rongrong Zou , Xinliang Liu , David Airlie , Daniel Vetter , dri-devel , Sam Ravnborg Subject: [RESEND][PATCH v3 03/26] drm: kirin: Remove HISI_KIRIN_DW_DSI config option Date: Wed, 14 Aug 2019 18:46:39 +0000 Message-Id: <20190814184702.54275-4-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190814184702.54275-1-john.stultz@linaro.org> References: <20190814184702.54275-1-john.stultz@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The CONFIG_HISI_KIRIN_DW_DSI option is only used w/ kirin driver, so cut out the middleman and condense the config logic down. Cc: Rongrong Zou Cc: Xinliang Liu Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel Cc: Sam Ravnborg Reviewed-by: Sam Ravnborg Signed-off-by: John Stultz --- drivers/gpu/drm/hisilicon/kirin/Kconfig | 10 +--------- drivers/gpu/drm/hisilicon/kirin/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/hisilicon/kirin/Kconfig b/drivers/gpu/drm/hisilicon/kirin/Kconfig index 0fa29af08ad0..290553e2f6b4 100644 --- a/drivers/gpu/drm/hisilicon/kirin/Kconfig +++ b/drivers/gpu/drm/hisilicon/kirin/Kconfig @@ -5,16 +5,8 @@ config DRM_HISI_KIRIN select DRM_KMS_HELPER select DRM_GEM_CMA_HELPER select DRM_KMS_CMA_HELPER - select HISI_KIRIN_DW_DSI + select DRM_MIPI_DSI help Choose this option if you have a hisilicon Kirin chipsets(hi6220). If M is selected the module will be called kirin-drm. -config HISI_KIRIN_DW_DSI - tristate "HiSilicon Kirin specific extensions for Synopsys DW MIPI DSI" - depends on DRM_HISI_KIRIN - select DRM_MIPI_DSI - help - This selects support for HiSilicon Kirin SoC specific extensions for - the Synopsys DesignWare DSI driver. If you want to enable MIPI DSI on - hi6220 based SoC, you should selet this option. diff --git a/drivers/gpu/drm/hisilicon/kirin/Makefile b/drivers/gpu/drm/hisilicon/kirin/Makefile index c0501fa3fe53..c50606cfbbdb 100644 --- a/drivers/gpu/drm/hisilicon/kirin/Makefile +++ b/drivers/gpu/drm/hisilicon/kirin/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only kirin-drm-y := kirin_drm_drv.o \ - kirin_drm_ade.o + kirin_drm_ade.o \ + dw_drm_dsi.o obj-$(CONFIG_DRM_HISI_KIRIN) += kirin-drm.o -obj-$(CONFIG_HISI_KIRIN_DW_DSI) += dw_drm_dsi.o -- 2.17.1