Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3305808yba; Tue, 23 Apr 2019 01:10:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqxq0sBSDDyDJzfX1tZQKPnBdPdGEj6F5+MmFde3+2877wY2sQ4cDs3FA2E2BpopF6KRCIDN X-Received: by 2002:a63:df50:: with SMTP id h16mr10792946pgj.208.1556007013099; Tue, 23 Apr 2019 01:10:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556007013; cv=none; d=google.com; s=arc-20160816; b=eYPXua0xsyBxi7w1Tm8+CqJwIDt0XZC1zsZY7aep9xER2p7eIEtOTo//TBH2TvL4eI IZpPvJ7uo+k9Yy1fobzOAxFN3Msdy1kF9lb5qsb+14LPabA1KqO2vC07NuOJkZcGa+DX sO38UDiCODoMWCkTYh0CToPVmqmLF9QMqwLc1Ff8kvGrCedHzksB3PVOPXk+nbMYn7jK vvZD4qd2O8mzHNhZSCAhI6yrMcQoBIDmN1z/oAe9JzPaRy3VefR0bxBnfvUAGV7oUZTR QByKQFRZ/VjC5Bq1Y4UhEAcQq3ZY50B5O0MPXo17Ej+hkpOC1CGOyyhrsYYnI6vYMxLO HjVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=/q1Sa2lpd++uYpBFwV49txKUtJewJB3Kwx6mArtfaa8=; b=gcIM0zW2VccLw5wC2Vpeg2XrUJXmw30maFAmpoRfXhFYn5r2wQS8S5lzJ/bfgdW9Wx Xym1fdVMMcrVsDuZrtQDQnkFxWb5V74GhFKpkXy1/11+tMB8XuM5fnWsV+/tcbNLOfF6 7Z62ktLxalEWxKMnub5fl5PO0FKoNHivHfYWQngw38FwocJiZKlepgKZcSwnKpIKMfDN Lp8xLH3TfBKfEVfzWEPIJYyklwYr0ACb3TR06ZOKsRVn6rglXvXj+iOxq/NIYQVrDLjT VsEZ4/3EJ232FSuPwIlyMSfiqgt2ARRuBKhxoq4TYRVbFfG1K5hDe1st0A8GwSF+n7d/ m0MA== 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 n15si14791240pgg.308.2019.04.23.01.09.57; Tue, 23 Apr 2019 01:10:13 -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 S1726934AbfDWIIb (ORCPT + 99 others); Tue, 23 Apr 2019 04:08:31 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:37462 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726033AbfDWIIa (ORCPT ); Tue, 23 Apr 2019 04:08:30 -0400 Received: by mail-lj1-f193.google.com with SMTP id v13so69229ljk.4 for ; Tue, 23 Apr 2019 01:08:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/q1Sa2lpd++uYpBFwV49txKUtJewJB3Kwx6mArtfaa8=; b=s4eDS6b5FmUS7bicFwTLR2TXJ8iFanWaJIYU3YqCGIdOWbZAem2RZjcd0HENFxPLLs Cplq87SJ7/QASFHEYQ5ke9SVm3Xd+kV/PFOBeSUh/OApfaBNzlQJrdnHxSFLf5K7zGZY eIEgS4T22tv3HG64aBZPpQu4BlA0eeQLc6eDjyLVieqiX7OPePtSiNSG1N1M08HZMqEE yota8Z8Yll15z31/e7tYV73EvjBTG0PJXWOGv04JdNJ2SJxlXy7I7hPr1ZwTVyteRxL0 mMhREXZLFhPUU/w1zYpfIWapfIlYzm8QeF2OkLo2EY2Kbml0nhnRmzaD5SgN6bLVB5e9 yT/A== X-Gm-Message-State: APjAAAU2PZYfX9u77lSuLg8Te7LKZtQeCJMO8Xb9x13lFVOE2nQnrH2q wSy4Gtc+vBmOtNqMfx+owyeawjuj7uwpLo7M694= X-Received: by 2002:a2e:309:: with SMTP id 9mr13563229ljd.114.1556006908135; Tue, 23 Apr 2019 01:08:28 -0700 (PDT) MIME-Version: 1.0 References: <20190422173838.182736-1-venture@google.com> In-Reply-To: <20190422173838.182736-1-venture@google.com> From: Arnd Bergmann Date: Tue, 23 Apr 2019 10:08:11 +0200 Message-ID: Subject: Re: [PATCH] soc: add aspeed folder and misc drivers To: Patrick Venture Cc: gregkh , Joel Stanley , Andrew Jeffery , Linux Kernel Mailing List , Linux ARM , linux-aspeed@lists.ozlabs.org, arm-soc Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 22, 2019 at 7:38 PM Patrick Venture wrote: > > Create a SoC folder for the ASPEED parts and place the misc drivers > currently present into this folder. These drivers are not generic part > drivers, but rather only apply to the ASPEED SoCs. > > Signed-off-by: Patrick Venture Looks ok, but please resend to arm@kernel.org or soc@kernel.org so we can track the submission and make sure it gets applied if you want this to go through the arm-soc tree. If Greg wants to pick it up, that's fine too. Either way, Acked-by: Arnd Bergmann > --- > drivers/misc/Kconfig | 16 ---------------- > drivers/misc/Makefile | 2 -- > drivers/soc/Kconfig | 1 + > drivers/soc/Makefile | 1 + > drivers/soc/aspeed/Kconfig | 19 +++++++++++++++++++ > drivers/soc/aspeed/Makefile | 2 ++ > .../{misc => soc/aspeed}/aspeed-lpc-ctrl.c | 0 > .../{misc => soc/aspeed}/aspeed-lpc-snoop.c | 0 > 8 files changed, 23 insertions(+), 18 deletions(-) > create mode 100644 drivers/soc/aspeed/Kconfig > create mode 100644 drivers/soc/aspeed/Makefile > rename drivers/{misc => soc/aspeed}/aspeed-lpc-ctrl.c (100%) > rename drivers/{misc => soc/aspeed}/aspeed-lpc-snoop.c (100%) > > diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig > index 42ab8ec92a04..b80cb6af0cb4 100644 > --- a/drivers/misc/Kconfig > +++ b/drivers/misc/Kconfig > @@ -496,22 +496,6 @@ config VEXPRESS_SYSCFG > bus. System Configuration interface is one of the possible means > of generating transactions on this bus. > > -config ASPEED_LPC_CTRL > - depends on (ARCH_ASPEED || COMPILE_TEST) && REGMAP && MFD_SYSCON > - tristate "Aspeed ast2400/2500 HOST LPC to BMC bridge control" > - ---help--- > - Control Aspeed ast2400/2500 HOST LPC to BMC mappings through > - ioctl()s, the driver also provides a read/write interface to a BMC ram > - region where the host LPC read/write region can be buffered. > - > -config ASPEED_LPC_SNOOP > - tristate "Aspeed ast2500 HOST LPC snoop support" > - depends on (ARCH_ASPEED || COMPILE_TEST) && REGMAP && MFD_SYSCON > - help > - Provides a driver to control the LPC snoop interface which > - allows the BMC to listen on and save the data written by > - the host to an arbitrary LPC I/O port. > - > config PCI_ENDPOINT_TEST > depends on PCI > select CRC32 > diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile > index d5b7d3404dc7..b9affcdaa3d6 100644 > --- a/drivers/misc/Makefile > +++ b/drivers/misc/Makefile > @@ -54,8 +54,6 @@ obj-$(CONFIG_GENWQE) += genwqe/ > obj-$(CONFIG_ECHO) += echo/ > obj-$(CONFIG_VEXPRESS_SYSCFG) += vexpress-syscfg.o > obj-$(CONFIG_CXL_BASE) += cxl/ > -obj-$(CONFIG_ASPEED_LPC_CTRL) += aspeed-lpc-ctrl.o > -obj-$(CONFIG_ASPEED_LPC_SNOOP) += aspeed-lpc-snoop.o > obj-$(CONFIG_PCI_ENDPOINT_TEST) += pci_endpoint_test.o > obj-$(CONFIG_OCXL) += ocxl/ > obj-y += cardreader/ > diff --git a/drivers/soc/Kconfig b/drivers/soc/Kconfig > index c07b4a85253f..b750a88547c7 100644 > --- a/drivers/soc/Kconfig > +++ b/drivers/soc/Kconfig > @@ -2,6 +2,7 @@ menu "SOC (System On Chip) specific Drivers" > > source "drivers/soc/actions/Kconfig" > source "drivers/soc/amlogic/Kconfig" > +source "drivers/soc/aspeed/Kconfig" > source "drivers/soc/atmel/Kconfig" > source "drivers/soc/bcm/Kconfig" > source "drivers/soc/fsl/Kconfig" > diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile > index 90b686e586c6..83a032db3e44 100644 > --- a/drivers/soc/Makefile > +++ b/drivers/soc/Makefile > @@ -4,6 +4,7 @@ > # > > obj-$(CONFIG_ARCH_ACTIONS) += actions/ > +obj-y += aspeed/ > obj-$(CONFIG_ARCH_AT91) += atmel/ > obj-y += bcm/ > obj-$(CONFIG_ARCH_DOVE) += dove/ > diff --git a/drivers/soc/aspeed/Kconfig b/drivers/soc/aspeed/Kconfig > new file mode 100644 > index 000000000000..457282cd1da5 > --- /dev/null > +++ b/drivers/soc/aspeed/Kconfig > @@ -0,0 +1,19 @@ > +menu "Aspeed SoC drivers" > + > +config ASPEED_LPC_CTRL > + depends on (ARCH_ASPEED || COMPILE_TEST) && REGMAP && MFD_SYSCON > + tristate "Aspeed ast2400/2500 HOST LPC to BMC bridge control" > + ---help--- > + Control Aspeed ast2400/2500 HOST LPC to BMC mappings through > + ioctl()s, the driver also provides a read/write interface to a BMC ram > + region where the host LPC read/write region can be buffered. > + > +config ASPEED_LPC_SNOOP > + tristate "Aspeed ast2500 HOST LPC snoop support" > + depends on (ARCH_ASPEED || COMPILE_TEST) && REGMAP && MFD_SYSCON > + help > + Provides a driver to control the LPC snoop interface which > + allows the BMC to listen on and save the data written by > + the host to an arbitrary LPC I/O port. > + > + > diff --git a/drivers/soc/aspeed/Makefile b/drivers/soc/aspeed/Makefile > new file mode 100644 > index 000000000000..cfaa9adc67b5 > --- /dev/null > +++ b/drivers/soc/aspeed/Makefile > @@ -0,0 +1,2 @@ > +obj-$(CONFIG_ASPEED_LPC_CTRL) += aspeed-lpc-ctrl.o > +obj-$(CONFIG_ASPEED_LPC_SNOOP) += aspeed-lpc-snoop.o > diff --git a/drivers/misc/aspeed-lpc-ctrl.c b/drivers/soc/aspeed/aspeed-lpc-ctrl.c > similarity index 100% > rename from drivers/misc/aspeed-lpc-ctrl.c > rename to drivers/soc/aspeed/aspeed-lpc-ctrl.c > diff --git a/drivers/misc/aspeed-lpc-snoop.c b/drivers/soc/aspeed/aspeed-lpc-snoop.c > similarity index 100% > rename from drivers/misc/aspeed-lpc-snoop.c > rename to drivers/soc/aspeed/aspeed-lpc-snoop.c > -- > 2.21.0.593.g511ec345e18-goog >