Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp317527ybl; Tue, 10 Dec 2019 23:45:29 -0800 (PST) X-Google-Smtp-Source: APXvYqzhA5XUkQ3O6E4oiKSkD4J724FSlwB/uLb51V1ggdcO1HWh93xmPQZsu8FOwVM//YskqquC X-Received: by 2002:a05:6830:1501:: with SMTP id k1mr1347687otp.209.1576050329736; Tue, 10 Dec 2019 23:45:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576050329; cv=none; d=google.com; s=arc-20160816; b=KqgA3aw7aVdTqKbSOEtWjntpTABSFAkq8srpwY5q9mjnKwrZ/jPNnS9eYMGyeUonjE aTkTS0vmUVkWOrBvZukJYqsplHKToukO5MLQNMMQ94u1Q2vJrftIWIjHDu3n9dbasDSs MmFts7LsbvmX3lrRmnlXEFguxjqk6CCoAhTI8bxvsOrCC1yg6baw/8Ga2+oUA0wBXWvO H/Ad8gztMKbVDJjozDnqoVHWjqtnAZJguc80UIQbtCUJsUZo0PkpzqD7G6emb/ZBQWVA 1B1H89Jj6qMdIpU/X8cORVojrwdATZBdz4Tm2o+r2kbgDY5EepIMdwW3fMA2dmxmVr5a qXOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8t/GKPkjCc55Q23WSZ4kx8DWb4EGXXPpMvhgPGlpJnc=; b=RIreusRu5QJ5AqysmD5SbRd4pxkdImdX0gs7Ew7ROqORTP0kCBNro+B7xOzWpYJ59p OAy0FGFjm/nuqGLTE9TcuNk0Xm7LTni/JUfFo68+z0etkOgwmR+/eYAc7HIkOENo1kiv SvKZ8oRI/sItosCK3IjjZKeq3V1HSpEbxWGaaSdcGSW4wttkHn7WUuYdawf7TRTp/DhL RnNmksAO0M5L2D6JWLLTkCH88PqYgSrnK9IFtJfy9021qFH4muJnSsP4WxjZ+gF1N0G6 tWGV9lIB7U6tVRoXc4ywngoK4pUK5X5jHMP/bn/DTkYEvGhb8SiaX+nVug6D7mxtl1Lw qtEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oNQj8T25; 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 v4si551199oth.3.2019.12.10.23.45.09; Tue, 10 Dec 2019 23:45:29 -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; dkim=pass header.i=@linaro.org header.s=google header.b=oNQj8T25; 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 S1728153AbfLKHoI (ORCPT + 99 others); Wed, 11 Dec 2019 02:44:08 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:34392 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726230AbfLKHoI (ORCPT ); Wed, 11 Dec 2019 02:44:08 -0500 Received: by mail-wm1-f68.google.com with SMTP id f4so533004wmj.1 for ; Tue, 10 Dec 2019 23:44:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=8t/GKPkjCc55Q23WSZ4kx8DWb4EGXXPpMvhgPGlpJnc=; b=oNQj8T25SlXlalDjaeeB+QS8RBx3bJYT7Zh+65iQm+T6kLKoWCaoICEy8MjZ3V/qqq +aUUql1k88gtuazxEmo4f67CEpanwiUSbXUBpUBbezDuzBOY1mxjgSa645xjhtjJheo0 8amA5Icav4bSCJwkbuPi2VqsswLEjULOHM/q1GjtoWl9D+PiMqQYXtn1+gbCntJk7Ksb piIgFPSAL3aLk3voSmpIQc9vJhZSoejM+dMYwdOV23Ydp+mLNvInOee4i+ReVF1aMV26 oXVbSmIyB3tnLU50Gq++qbH96uLbNxh1j2UkONxF9hjkiZ5v3zL7VFgsa8sKZS1jWhPz PsKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=8t/GKPkjCc55Q23WSZ4kx8DWb4EGXXPpMvhgPGlpJnc=; b=fHkIa///xy0YXLfSzL4lYa8FWCJ6XZVUrINo5FoYaP7DnnWYaEyIASUIyPC+2FkFmX +VdOY3NxYaL02WoUeU4OC62KGxw/oiittq7My171x8qpjy7yFt3JaYcYkNWczugOgLZ1 iuhwsYjshyV+l17egSdjepxkHTt5e556e3mFmMtgAarNXvQos4jqvcNmtnyXsusbcZbQ h4gAnTk5ZKBY1TjesWewpoY42Ae6zCox7j3jXye6hdJ7BFyqg0ZaESMTenLCWWtDwKYO OoERzVEDwQ5FmqMMyEE1dl4bTIIYk6WZUH2LwKAIiifQkcCksHoUibiFx6xaUUC/V4US 7hEw== X-Gm-Message-State: APjAAAVjKAAMDFxLHl5zUi2arujJXloJbbLle5BhDrPJhDA05NeaEjph azF2zsebCOHQlQvsykEL9pkE9A== X-Received: by 2002:a05:600c:204:: with SMTP id 4mr1982085wmi.1.1576050246175; Tue, 10 Dec 2019 23:44:06 -0800 (PST) Received: from dell ([2.27.35.147]) by smtp.gmail.com with ESMTPSA id i16sm1307003wmb.36.2019.12.10.23.44.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2019 23:44:05 -0800 (PST) Date: Wed, 11 Dec 2019 07:44:00 +0000 From: Lee Jones To: Andreas Kemnade Cc: robh+dt@kernel.org, mark.rutland@arm.com, a.zummo@towertech.it, alexandre.belloni@bootlin.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, stefan@agner.ch, b.galvani@gmail.com, phh@phh.me, letux-kernel@openphoenux.org Subject: Re: [PATCH v3 2/6] mfd: rn5t618: prepare for irq handling Message-ID: <20191211074400.GV3468@dell> References: <20191129212045.18325-1-andreas@kemnade.info> <20191129212045.18325-3-andreas@kemnade.info> <20191210091351.GS3468@dell> <20191210173146.6b31e599@kemnade.info> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191210173146.6b31e599@kemnade.info> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 10 Dec 2019, Andreas Kemnade wrote: > accidently send it only to Lee, that was unintended. > > On Tue, 10 Dec 2019 09:13:51 +0000 > Lee Jones wrote: > > > On Fri, 29 Nov 2019, Andreas Kemnade wrote: > > > > > rn5t618 currently lacks irq handling. To prepare implementation > > > > "RN5T618" > > "IRQ" > > > > > in a rn5t618-irq.c, move main file to rn5t618-core.c > > > > Why do you *need* to call it "core"? > > > Well, the pattern is that irq stuff is in a separate file > for other mfds. And when I want to link things together to a rn5t618.[k]o > I think that none objects cannot be called rn5t618.o and so no source > file rn5t618.o. Am I wrong here? Of course if things can live in one file > this thing is not needed. Unless you have a good reason for separating out the code, having it all in a single file is preferred. > > > Signed-off-by: Andreas Kemnade > > > --- > > > drivers/mfd/Makefile | 2 ++ > > > drivers/mfd/{rn5t618.c => rn5t618-core.c} | 0 > > > 2 files changed, 2 insertions(+) > > > rename drivers/mfd/{rn5t618.c => rn5t618-core.c} (100%) > > > > > > diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile > > > index c1067ea46204..110ea700231b 100644 > > > --- a/drivers/mfd/Makefile > > > +++ b/drivers/mfd/Makefile > > > @@ -216,6 +216,8 @@ obj-$(CONFIG_MFD_PALMAS) += palmas.o > > > obj-$(CONFIG_MFD_VIPERBOARD) += viperboard.o > > > obj-$(CONFIG_MFD_RC5T583) += rc5t583.o rc5t583-irq.o > > > obj-$(CONFIG_MFD_RK808) += rk808.o > > > + > > > +rn5t618-objs := rn5t618-core.o > > > obj-$(CONFIG_MFD_RN5T618) += rn5t618.o > > > obj-$(CONFIG_MFD_SEC_CORE) += sec-core.o sec-irq.o > > > obj-$(CONFIG_MFD_SYSCON) += syscon.o > > > diff --git a/drivers/mfd/rn5t618.c b/drivers/mfd/rn5t618-core.c > > > similarity index 100% > > > rename from drivers/mfd/rn5t618.c > > > rename to drivers/mfd/rn5t618-core.c > > -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog