From: Michael Walle Subject: Re: [PATCH v3 02/16] mfd: mfd-core: Don't overwrite the dma_mask of the child device Date: Thu, 14 May 2020 22:45:53 +0200 Message-ID: <8fb998f882938680d98f1c2f6f8254c1@walle.cc> References: <20200423174543.17161-1-michael@walle.cc> <20200423174543.17161-3-michael@walle.cc> <20200428124548.GS185537@smile.fi.intel.com> <3cd3705a-4f48-6a46-e869-3ee11dc17323@arm.com> <20200428142938.GX185537@smile.fi.intel.com> <6ccad285-7b5f-3037-d4d5-ff4d9571b612@arm.com> <20200428152543.GI5677@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20200428152543.GI5677-GFdadSzt00ze9xe1eoZjHA@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Mark Brown Cc: Robin Murphy , Andy Shevchenko , linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-hwmon-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-pwm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-watchdog-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Linus Walleij , Bartosz Golaszewski , Rob Herring , Jean Delvare , Guenter Roeck , Lee Jones , Thierry Reding , =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= , Wim Van Sebroeck , Shawn Guo , Li Yang , Thomas Gleixner List-Id: linux-pwm@vger.kernel.org Am 2020-04-28 17:25, schrieb Mark Brown: > On Tue, Apr 28, 2020 at 03:49:49PM +0100, Robin Murphy wrote: > >> For better or worse, the platform bus is the dumping ground for random >> crap, >> so we just have to deal with all the abstraction breakage that leaks >> out of >> that. > > The reason we're using the platform bus for this is that historically > people were creating buses which were essentially carbon copies of the > platform bus with the name changed and it was felt that rather than > duplicate code it was better to just use platform devices with no MMIO > ranges defined. If there's some assumptions about DMA for platform > devices floating about somewhere it might be reasonable to revisit this > and create a non-DMA variant of platform devices since there is a > meaningful difference. Was there any conclusion? Should I keep or drop this patch in the next version of this series? -- -michael