From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH 13/16] ARM: omap: move platform_data definitions Date: Wed, 12 Sep 2012 17:20:33 +0000 Message-ID: <201209121720.33822.arnd@arndb.de> References: <1347368350-31212-1-git-send-email-arnd@arndb.de> <1347368390-31252-13-git-send-email-arnd@arndb.de> <504F4227.4080206@ti.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <504F4227.4080206@ti.com> Sender: linux-kernel-owner@vger.kernel.org To: Peter Ujfalusi Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Russell King , Tony Lindgren , Kevin Hilman , =?utf-8?q?Beno=C3=AEt_Cousson?= , Dmitry Torokhov , David Woodhouse , Kyungmin Park , Ohad Ben-Cohen , Grant Likely , Omar Ramirez Luna , Greg Kroah-Hartman , Tomi Valkeinen , Florian Tobias Schandinat , Jarkko Nikula , Liam Girdwood , Mark Brown , Artem Bityutskiy , Jean Pihet , J Keerthy , linux-omap@vger.kernel.org List-Id: linux-omap@vger.kernel.org On Tuesday 11 September 2012, Peter Ujfalusi wrote: > OMAP McBSP has nothing to do with a dsp. > A better name would be: ti-mcbsp.h (or leave it as mcbsp.h) > McBSP stands for: Multichannel Buffered Serial Port and it is used for audio > connection (I2S, TDM, etc). changed to asoc-ti-mcbsp.h to, as discussed. > > .../include/plat/dsp.h => include/linux/platform_data/dsp-omap.h | 0 > > .../plat/keypad.h => include/linux/platform_data/keypad-omap.h | 0 > > .../plat/lcd_mipid.h => include/linux/platform_data/lcd-mipid.h | 0 > > .../plat/nand.h => include/linux/platform_data/mtd-nand-omap2.h | 0 > > .../onenand.h => include/linux/platform_data/mtd-onenand-omap2.h | 0 > > .../remoteproc.h => include/linux/platform_data/remoteproc-omap.h | 0 > > .../voltage.h => include/linux/platform_data/smartreflex-omap.h | 0 > > .../plat/mcspi.h => include/linux/platform_data/spi-omap2-mcspi.h | 0 > > include/linux/power/smartreflex.h | 2 +- > > Let me see these: > > This four drivers are going to be removed via sound tree. > > sound/soc/omap/igep0020.c | 2 +- > > sound/soc/omap/omap3beagle.c | 2 +- > > sound/soc/omap/omap3evm.c | 2 +- > > sound/soc/omap/overo.c | 2 +- > > The new driver which replaces these (omap-twl4030.c) does not include > plat/mcbsp.h For the sake of bisection, I think we should leave the patch as is. When merging the two branches, we will get a small conflict that is trivial to resolve. > From these ASoC machine drivers you can just remove the > include since they should not include them (I have pending patch for this to > be sent): > > sound/soc/omap/am3517evm.c | 2 +- > > sound/soc/omap/ams-delta.c | 2 +- > > sound/soc/omap/n810.c | 2 +- > > sound/soc/omap/omap3pandora.c | 2 +- > > sound/soc/omap/osk5912.c | 2 +- > > sound/soc/omap/rx51.c | 2 +- > > sound/soc/omap/sdp3430.c | 2 +- > > sound/soc/omap/zoom2.c | 2 +- > > > sound/soc/omap/omap-mcbsp.c | 2 +- > > sound/soc/omap/mcbsp.c | 2 +- Can you do that change on top of mine? I would prefer to leave it as is because I could create this version with a script. The alternative is that I leave the mcbsp.h file alone entirely and you submit a patch to fix all instances where it's used, either rename or remove them. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Wed, 12 Sep 2012 17:20:33 +0000 Subject: [PATCH 13/16] ARM: omap: move platform_data definitions In-Reply-To: <504F4227.4080206@ti.com> References: <1347368350-31212-1-git-send-email-arnd@arndb.de> <1347368390-31252-13-git-send-email-arnd@arndb.de> <504F4227.4080206@ti.com> Message-ID: <201209121720.33822.arnd@arndb.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tuesday 11 September 2012, Peter Ujfalusi wrote: > OMAP McBSP has nothing to do with a dsp. > A better name would be: ti-mcbsp.h (or leave it as mcbsp.h) > McBSP stands for: Multichannel Buffered Serial Port and it is used for audio > connection (I2S, TDM, etc). changed to asoc-ti-mcbsp.h to, as discussed. > > .../include/plat/dsp.h => include/linux/platform_data/dsp-omap.h | 0 > > .../plat/keypad.h => include/linux/platform_data/keypad-omap.h | 0 > > .../plat/lcd_mipid.h => include/linux/platform_data/lcd-mipid.h | 0 > > .../plat/nand.h => include/linux/platform_data/mtd-nand-omap2.h | 0 > > .../onenand.h => include/linux/platform_data/mtd-onenand-omap2.h | 0 > > .../remoteproc.h => include/linux/platform_data/remoteproc-omap.h | 0 > > .../voltage.h => include/linux/platform_data/smartreflex-omap.h | 0 > > .../plat/mcspi.h => include/linux/platform_data/spi-omap2-mcspi.h | 0 > > include/linux/power/smartreflex.h | 2 +- > > Let me see these: > > This four drivers are going to be removed via sound tree. > > sound/soc/omap/igep0020.c | 2 +- > > sound/soc/omap/omap3beagle.c | 2 +- > > sound/soc/omap/omap3evm.c | 2 +- > > sound/soc/omap/overo.c | 2 +- > > The new driver which replaces these (omap-twl4030.c) does not include > plat/mcbsp.h For the sake of bisection, I think we should leave the patch as is. When merging the two branches, we will get a small conflict that is trivial to resolve. > From these ASoC machine drivers you can just remove the > include since they should not include them (I have pending patch for this to > be sent): > > sound/soc/omap/am3517evm.c | 2 +- > > sound/soc/omap/ams-delta.c | 2 +- > > sound/soc/omap/n810.c | 2 +- > > sound/soc/omap/omap3pandora.c | 2 +- > > sound/soc/omap/osk5912.c | 2 +- > > sound/soc/omap/rx51.c | 2 +- > > sound/soc/omap/sdp3430.c | 2 +- > > sound/soc/omap/zoom2.c | 2 +- > > > sound/soc/omap/omap-mcbsp.c | 2 +- > > sound/soc/omap/mcbsp.c | 2 +- Can you do that change on top of mine? I would prefer to leave it as is because I could create this version with a script. The alternative is that I leave the mcbsp.h file alone entirely and you submit a patch to fix all instances where it's used, either rename or remove them. Arnd