From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4BDE0C3F68F for ; Mon, 20 Jan 2020 08:54:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2213F2077C for ; Mon, 20 Jan 2020 08:54:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="we/6y6ed" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726942AbgATIyX (ORCPT ); Mon, 20 Jan 2020 03:54:23 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:35032 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726889AbgATIyX (ORCPT ); Mon, 20 Jan 2020 03:54:23 -0500 Received: by mail-wr1-f67.google.com with SMTP id g17so28553334wro.2 for ; Mon, 20 Jan 2020 00:54:21 -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=kioLvgS74f9sJjCTsbx/ZLFmZG4mkGnzw8r1w1WYA/4=; b=we/6y6edkk3YpKlsBXl/AgdVTKspovJ98gF9DwytZxXRdKu2lf0yHGZ9cqG+OHNl43 1D3wAY7FLKrkB72RdPqnamX5YdLo51GRCa74KmSY6GD35joffcxpIlx05IcZqarzXOP6 +x+WZdL8Gs45yw6pNJWCoKrxJUIpW0Icot9uVJGDAki8AJAjxn9VczF5OAkFpdczph4B RkCNnyR+3vU+CuNo9xNEbZOrEsQFIuCf9xPQu0wKKvvAO/Bx0ch6NjL4QHxAd+wfp2yG 0v3gxZaqF1zpen8HTiUQZ68tg3+k1M5szuubctad3xbmDv0AW6NzZw39zcETHvk5c+cj kz9g== 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=kioLvgS74f9sJjCTsbx/ZLFmZG4mkGnzw8r1w1WYA/4=; b=DzBIGLm4/d0GBL/TFAejnmadQEmuQy3YVQIffqgEPO8a1IHulwwv4swVx9TRizGVfJ r3lXwbHX2Y8GcC/Pbt6V+AoVmIcYVqd4TyFW5UXL5B0b676Y7IG6fDFIAhk1uvtp3+8J Dk4MzObEs9Oa7sJMx4bnzym4vV127MOqfRAOaIl8hnVNOZ2yQs6kU9BP23oyFHLLcRa/ FHoRSaxQCrIEBZQHerYhJZ+ZLzf/nrz2a6yzSbmgLEjlLEeIyswishToCz/2Eie66Y+6 rxI6oqHdVkFV9B+7bhxTr+x4P5rRkSpQGhY4BgW5fvyt9n1z0v2EA3Q33o4V/jcZFWm9 P75A== X-Gm-Message-State: APjAAAUMIG1aq7xywjycwYi+GHEPRzyzmEgsNBFFISOAyH/TEp2/udxk Zgs1nLplzxeY3WMfMoosdJ2pbg== X-Google-Smtp-Source: APXvYqxCEa3WXWluxoJWVXwFldWEGwXwSD1xXL7D/5WNmT4sWEkYFaFe3u9dMJfoNyljA8GfrAY9CA== X-Received: by 2002:a5d:5304:: with SMTP id e4mr17084301wrv.426.1579510460638; Mon, 20 Jan 2020 00:54:20 -0800 (PST) Received: from dell ([2.27.35.227]) by smtp.gmail.com with ESMTPSA id b21sm11998wmd.37.2020.01.20.00.54.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jan 2020 00:54:20 -0800 (PST) Date: Mon, 20 Jan 2020 08:54:35 +0000 From: Lee Jones To: Matti Vaittinen Cc: mazziesaccount@gmail.com, Jacek Anaszewski , Pavel Machek , Dan Murphy , Rob Herring , Mark Rutland , Liam Girdwood , Mark Brown , Jonathan Corbet , Michael Turquette , Stephen Boyd , Linus Walleij , Bartosz Golaszewski , Alessandro Zummo , Alexandre Belloni , Greg Kroah-Hartman , Arnd Bergmann , Mauro Carvalho Chehab , Wolfram Sang , Phil Edworthy , Noralf =?iso-8859-1?Q?Tr=F8nnes?= , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org Subject: Re: [PATCH v11 03/13] mfd: rohm PMICs - use platform_device_id to match MFD sub-devices Message-ID: <20200120085435.GA15507@dell> References: <13994480cab6d5d6376c8f5228572e55ca06e479.1579501711.git.matti.vaittinen@fi.rohmeurope.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <13994480cab6d5d6376c8f5228572e55ca06e479.1579501711.git.matti.vaittinen@fi.rohmeurope.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-rtc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org On Mon, 20 Jan 2020, Matti Vaittinen wrote: > Thanks to Stephen Boyd I today learned we can use platform_device_id > to do device and module matching for MFD sub-devices! > > Do device matching using the platform_device_id instead of using > explicit module_aliases to load modules and custom parent-data field > to do module loading and sub-device matching. > > Signed-off-by: Matti Vaittinen > Acked-for-MFD-by: Lee Jones > --- > No changes since v10 > > drivers/clk/clk-bd718x7.c | 12 ++++++++- > drivers/mfd/rohm-bd70528.c | 3 +-- > drivers/mfd/rohm-bd718x7.c | 39 ++++++++++++++++++++++----- > drivers/regulator/bd718x7-regulator.c | 17 +++++++++--- > include/linux/mfd/rohm-generic.h | 3 +-- > 5 files changed, 58 insertions(+), 16 deletions(-) Still needs Clk and Regulator Acks. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog