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=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 76301C433E3 for ; Wed, 10 Jun 2020 18:31:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 534B620656 for ; Wed, 10 Jun 2020 18:31:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DV34bec3" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728953AbgFJSbA (ORCPT ); Wed, 10 Jun 2020 14:31:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726361AbgFJSa6 (ORCPT ); Wed, 10 Jun 2020 14:30:58 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C303C03E96F for ; Wed, 10 Jun 2020 11:30:58 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id t18so3422141wru.6 for ; Wed, 10 Jun 2020 11:30:58 -0700 (PDT) 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; bh=/+J5oO5OnfDiIOVOhIHmtbQvypR4NOyguvZ+vS+VBRA=; b=DV34bec3kn8ups3mo1KcqY/YeluhEBHJfMnEoE9K8u+na1nJ1DGGsyc4jU+glucolT TUviM5dxviwZLPuM0g8+vQXe6cH2pxFxUWwU93dsLznmfLILTgw0LIRBUGyUiEr5eR3C YVHYT4otqvUKNG5g6IBlf3xE5gnzBzFj8GQusuekh3De1azhWfnqZ9zrNkArwxjoeSDN OrOIMECTmg9RCEjAQB7ALp90Ij1RGNwkk5LC/8K25KqHj43cQrS4VRgqmzzK2AP4yrmE cR6KgKL7WPcVlg8QndhCyIa1+G17DLQVODULBk72RsyfmyYYRSqETFm9e19h9C2G/EmO VhdA== 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; bh=/+J5oO5OnfDiIOVOhIHmtbQvypR4NOyguvZ+vS+VBRA=; b=MPaf1wtA4JTQxq383r9Nl8U+h9hZ9WEIZQ3ecl2qAh0VuCAAgI1/XPhW2FLleUJf8F t3Sr/gwysu6SL8JL+eZwok1qiKmoiA1rnNvUKrg7SOIYEhKDkQRs5yxoPlgLBDwyTall 4EUqvjZhadufOUzYk4OkcBDXswRF4AIY2l6UPi0hlm7QKPSwfKHAG1A3WrawhMbpfhqR TSpN6yxmkviXzKuVjs719Ijq7Hkgh2geY92Z3LhjRWTXClY58Yan5p55FZP8gXL5pxIP cUHh1Zazgrs57ChwbBAPalxCA6BXeZdxJb2n3IrWZzy/4CzdVPXeLtN25TsbKxTy3Hw1 Phtw== X-Gm-Message-State: AOAM532vhlbjUvCVZ4Vyu3PZ7jM3PtQdQ5lkgLrsaYGT44clVTEZhhMT HP2sOH0ptNvjFDSZsBssw73VNSoW5JM= X-Google-Smtp-Source: ABdhPJz6Ni2JYhcqjCdFdfUuYTBOEDs7I3nA8SyUMwPOtX+kOnBTbqU0Si/knyTH6nG0/LiIF9R1rQ== X-Received: by 2002:adf:c98a:: with SMTP id f10mr5095428wrh.329.1591813856649; Wed, 10 Jun 2020 11:30:56 -0700 (PDT) Received: from dell ([2.27.167.101]) by smtp.gmail.com with ESMTPSA id a15sm878966wra.86.2020.06.10.11.30.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2020 11:30:55 -0700 (PDT) Date: Wed, 10 Jun 2020 19:30:53 +0100 From: Lee Jones To: Michael Walle Cc: Andy Shevchenko , Ranjani Sridharan , david.m.ertman@intel.com, shiraz.saleem@intel.com, Rob Herring , Mark Brown , "open list:GPIO SUBSYSTEM" , devicetree , Linux Kernel Mailing List , linux-hwmon@vger.kernel.org, linux-pwm@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-arm Mailing List , Linus Walleij , Bartosz Golaszewski , Jean Delvare , Guenter Roeck , Thierry Reding , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Wim Van Sebroeck , Shawn Guo , Li Yang , Thomas Gleixner , Jason Cooper , Marc Zyngier , Greg Kroah-Hartman , Andy Shevchenko Subject: Re: [PATCH v4 02/11] mfd: Add support for Kontron sl28cpld management controller Message-ID: <20200610183053.GV4106@dell> References: <20200609064735.GH4106@dell> <32287ac0488f7cbd5a7d1259c284e554@walle.cc> <20200609151941.GM4106@dell> <95e6ec9bbdf6af7a9ff9c31786f743f2@walle.cc> <20200609194505.GQ4106@dell> <3a6931248f0efcaf8efbb5425a9bd833@walle.cc> <20200610071940.GS4106@dell> <20200610075615.GT4106@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Wed, 10 Jun 2020, Michael Walle wrote: > Am 2020-06-10 09:56, schrieb Lee Jones: > > On Wed, 10 Jun 2020, Michael Walle wrote: > > > > > Am 2020-06-10 09:19, schrieb Lee Jones: > > > > On Wed, 10 Jun 2020, Michael Walle wrote: > > > > > Am 2020-06-09 21:45, schrieb Lee Jones: > > > > > > On Tue, 09 Jun 2020, Michael Walle wrote: > > > > > > > > We do not need a 'simple-regmap' solution for your use-case. > > > > > > > > > > > > > > > > Since your device's registers are segregated, just split up the > > > > > > > > register map and allocate each sub-device with it's own slice. > > > > > > > > > > > > > > I don't get it, could you make a device tree example for my > > > > > > > use-case? (see also above) > > > > > > > > > > > > &i2cbus { > > > > > > mfd-device@10 { > > > > > > compatible = "simple-mfd"; > > > > > > reg = <10>; > > > > > > > > > > > > sub-device@10 { > > > > > > compatible = "vendor,sub-device"; > > > > > > reg = <10>; > > > > > > }; > > > > > > }; > > > > > > > > > > > > The Regmap config would be present in each of the child devices. > > > > > > > > > > > > Each child device would call devm_regmap_init_i2c() in .probe(). > > > > > > > > > > Ah, I see. If I'm not wrong, this still means to create an i2c > > > > > device driver with the name "simple-mfd". > > > > > > > > Yes, it does. > > > > > > > > > Besides that, I don't like this, because: > > > > > - Rob already expressed its concerns with "simple-mfd" and so on. > > > > > > > > Where did this take place? I'd like to read up on this. > > > > > > In this thread: > > > https://lore.kernel.org/linux-devicetree/20200604211039.12689-1-michael@walle.cc/T/#m16fdba5962069e7cd4aa817582ee358c9fe2ecbf > > > > > > > > > > > > - you need to duplicate the config in each sub device > > > > > > > > You can have a share a single config. > > > > > > > > > - which also means you are restricting the sub devices to be > > > > > i2c only (unless you implement and duplicate other regmap configs, > > > > > too). For this driver, SPI and MMIO may be viable options. > > > > > > > > You could also have a shared implementation to choose between different > > > > busses. > > > > > > Then what is the difference between to have this shared config in the > > > parent driver only and use the functions which are already there, i.e. > > > dev_get_regmap(parent). But see, below, I'll wait with what you're > > > coming up. > > > > The difference is the omission of an otherwise pointless/superfluous > > driver. Actually, it's the difference between the omission of 10 > > pointless drivers! > > If you want to omit anything generic in the device tree - and as far as > I understand it - that should be the way to go, the specific compatible > string of the parent device has to go somewhere. Thus I'd appreciate > a consolidated (MFD) driver which holds all these, as you say it > pointless drivers. > Because IMHO they are not pointless, rather they are > the actual drivers for the MFD. Its sub nodes are just an implementation > detail to be able to use the OF bindings > (like your clock example or > a phandle to a PWM controller). Just because it is almost nothing there > except the regmap instantiation doesn't mean it is not a valid MFD driver. A valid MFD driver is whatever we (the Linux community at large) define it to be. An MFD is not a real thing. We made it up. It's MFD which is the implementation detail, not the child devices. If a driver a) does very little, and b) the very little it does do can be resolved in a different way, is not a valid driver. It's a waste of disk space. > And there is also additional stuff, like clock enable, version checks, etc. As more functionality is added *then* we can justify a driver. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH v4 02/11] mfd: Add support for Kontron sl28cpld management controller Date: Wed, 10 Jun 2020 19:30:53 +0100 Message-ID: <20200610183053.GV4106@dell> References: <20200609064735.GH4106@dell> <32287ac0488f7cbd5a7d1259c284e554@walle.cc> <20200609151941.GM4106@dell> <95e6ec9bbdf6af7a9ff9c31786f743f2@walle.cc> <20200609194505.GQ4106@dell> <3a6931248f0efcaf8efbb5425a9bd833@walle.cc> <20200610071940.GS4106@dell> <20200610075615.GT4106@dell> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727024AbgFJSa6 (ORCPT ); Wed, 10 Jun 2020 14:30:58 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77826C08C5C1 for ; Wed, 10 Jun 2020 11:30:58 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id l11so3443078wru.0 for ; Wed, 10 Jun 2020 11:30:58 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: linux-pwm-owner@vger.kernel.org List-Id: linux-pwm@vger.kernel.org To: Michael Walle Cc: Andy Shevchenko , Ranjani Sridharan , david.m.ertman@intel.com, shiraz.saleem@intel.com, Rob Herring , Mark Brown , "open list:GPIO SUBSYSTEM" , devicetree , Linux Kernel Mailing List , linux-hwmon@vger.kernel.org, linux-pwm@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-arm Mailing List , Linus Walleij , Bartosz Golaszewski , Jean Delvare , Guenter Roeck , Thierry Reding , Uwe On Wed, 10 Jun 2020, Michael Walle wrote: > Am 2020-06-10 09:56, schrieb Lee Jones: > > On Wed, 10 Jun 2020, Michael Walle wrote: > > > > > Am 2020-06-10 09:19, schrieb Lee Jones: > > > > On Wed, 10 Jun 2020, Michael Walle wrote: > > > > > Am 2020-06-09 21:45, schrieb Lee Jones: > > > > > > On Tue, 09 Jun 2020, Michael Walle wrote: > > > > > > > > We do not need a 'simple-regmap' solution for your use-case. > > > > > > > > > > > > > > > > Since your device's registers are segregated, just split up the > > > > > > > > register map and allocate each sub-device with it's own slice. > > > > > > > > > > > > > > I don't get it, could you make a device tree example for my > > > > > > > use-case? (see also above) > > > > > > > > > > > > &i2cbus { > > > > > > mfd-device@10 { > > > > > > compatible = "simple-mfd"; > > > > > > reg = <10>; > > > > > > > > > > > > sub-device@10 { > > > > > > compatible = "vendor,sub-device"; > > > > > > reg = <10>; > > > > > > }; > > > > > > }; > > > > > > > > > > > > The Regmap config would be present in each of the child devices. > > > > > > > > > > > > Each child device would call devm_regmap_init_i2c() in .probe(). > > > > > > > > > > Ah, I see. If I'm not wrong, this still means to create an i2c > > > > > device driver with the name "simple-mfd". > > > > > > > > Yes, it does. > > > > > > > > > Besides that, I don't like this, because: > > > > > - Rob already expressed its concerns with "simple-mfd" and so on. > > > > > > > > Where did this take place? I'd like to read up on this. > > > > > > In this thread: > > > https://lore.kernel.org/linux-devicetree/20200604211039.12689-1-michael@walle.cc/T/#m16fdba5962069e7cd4aa817582ee358c9fe2ecbf > > > > > > > > > > > > - you need to duplicate the config in each sub device > > > > > > > > You can have a share a single config. > > > > > > > > > - which also means you are restricting the sub devices to be > > > > > i2c only (unless you implement and duplicate other regmap configs, > > > > > too). For this driver, SPI and MMIO may be viable options. > > > > > > > > You could also have a shared implementation to choose between different > > > > busses. > > > > > > Then what is the difference between to have this shared config in the > > > parent driver only and use the functions which are already there, i.e. > > > dev_get_regmap(parent). But see, below, I'll wait with what you're > > > coming up. > > > > The difference is the omission of an otherwise pointless/superfluous > > driver. Actually, it's the difference between the omission of 10 > > pointless drivers! > > If you want to omit anything generic in the device tree - and as far as > I understand it - that should be the way to go, the specific compatible > string of the parent device has to go somewhere. Thus I'd appreciate > a consolidated (MFD) driver which holds all these, as you say it > pointless drivers. > Because IMHO they are not pointless, rather they are > the actual drivers for the MFD. Its sub nodes are just an implementation > detail to be able to use the OF bindings > (like your clock example or > a phandle to a PWM controller). Just because it is almost nothing there > except the regmap instantiation doesn't mean it is not a valid MFD driver. A valid MFD driver is whatever we (the Linux community at large) define it to be. An MFD is not a real thing. We made it up. It's MFD which is the implementation detail, not the child devices. If a driver a) does very little, and b) the very little it does do can be resolved in a different way, is not a valid driver. It's a waste of disk space. > And there is also additional stuff, like clock enable, version checks, etc. As more functionality is added *then* we can justify a driver. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog 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=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 5AE72C433E1 for ; Wed, 10 Jun 2020 18:31:03 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0CBDD20656 for ; Wed, 10 Jun 2020 18:31:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="A/JQb27g"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DV34bec3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0CBDD20656 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2l/c7l+qdPhbg4cgdyf1eNTtNL9bo0uJgvzAetSE760=; b=A/JQb27gDbUeDD jbGxvkf91ghKj9ae2Udvb2rSDDcsgHmR1cJlorByOTmYfXIo49WEbp4X3XdtNH3HadlNpnk9HbJJ3 JK9+cu+NpMSYgVLmsD/7y25VvFls0pmPalNL3iMI0TSl2YBsyYgTqQRD7gEO2Snni78msSc19fwO5 0T1SPCSif5mXV0dk+FGrInFOf7v/eI+aRAdrTeBGjgE0PoQVo3cEKKtM6RUFjYxNcdKnAisB0rMsJ yz1vN7nbMO9E25dJxVoBdfaOBvsEDUY4X94v22ntviDbHV2S8UiUa5rl2PYO8UrJp7tZMT/K56eXG 7cOLVk74CrYLVGsHDzog==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jj5V8-0004WD-8Q; Wed, 10 Jun 2020 18:31:02 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jj5V4-0004US-E0 for linux-arm-kernel@lists.infradead.org; Wed, 10 Jun 2020 18:31:00 +0000 Received: by mail-wr1-x443.google.com with SMTP id t18so3422140wru.6 for ; Wed, 10 Jun 2020 11:30:58 -0700 (PDT) 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; bh=/+J5oO5OnfDiIOVOhIHmtbQvypR4NOyguvZ+vS+VBRA=; b=DV34bec3kn8ups3mo1KcqY/YeluhEBHJfMnEoE9K8u+na1nJ1DGGsyc4jU+glucolT TUviM5dxviwZLPuM0g8+vQXe6cH2pxFxUWwU93dsLznmfLILTgw0LIRBUGyUiEr5eR3C YVHYT4otqvUKNG5g6IBlf3xE5gnzBzFj8GQusuekh3De1azhWfnqZ9zrNkArwxjoeSDN OrOIMECTmg9RCEjAQB7ALp90Ij1RGNwkk5LC/8K25KqHj43cQrS4VRgqmzzK2AP4yrmE cR6KgKL7WPcVlg8QndhCyIa1+G17DLQVODULBk72RsyfmyYYRSqETFm9e19h9C2G/EmO VhdA== 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; bh=/+J5oO5OnfDiIOVOhIHmtbQvypR4NOyguvZ+vS+VBRA=; b=QvJlWnqoAm8KbfkWV+ZclLLu2YLupS4/aZJAZZXFHWjc2SpG8aDYBKyFaDcMEfT+36 9DUGJmH4UQyeu5/YZqU3gE/gPoHg/NTK6D0SKtnj/1/mU+W8y350ZA7q2IrwDTu+3ToL m4eEMkTN9eynTHal9hho1j/ucgn5QEL7NMI6nIIDXCjiAdTvYZ5ueNGF+YT13Ke4yk8o GS6RCPGdbb0p60ZtH3WXCBbNwzrIsdxv/8367Bv8Fat2CiprVe9e+CiV0ozQVIkTxoB7 WREbGeTwOd5dzMqOWMrZk73UR6oPp9qHxwPXhTBv096QNzsWFe8X3Uch8VtU4XW6qixm 1gDQ== X-Gm-Message-State: AOAM5300GNLvVAtjFzRzw/XR4gj+xGnSjmxmmBgG0bfCJVVufJL1pe9r HKCDwh3+QBHEFK7Ayd7Qx3DSVA== X-Google-Smtp-Source: ABdhPJz6Ni2JYhcqjCdFdfUuYTBOEDs7I3nA8SyUMwPOtX+kOnBTbqU0Si/knyTH6nG0/LiIF9R1rQ== X-Received: by 2002:adf:c98a:: with SMTP id f10mr5095428wrh.329.1591813856649; Wed, 10 Jun 2020 11:30:56 -0700 (PDT) Received: from dell ([2.27.167.101]) by smtp.gmail.com with ESMTPSA id a15sm878966wra.86.2020.06.10.11.30.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jun 2020 11:30:55 -0700 (PDT) Date: Wed, 10 Jun 2020 19:30:53 +0100 From: Lee Jones To: Michael Walle Subject: Re: [PATCH v4 02/11] mfd: Add support for Kontron sl28cpld management controller Message-ID: <20200610183053.GV4106@dell> References: <20200609064735.GH4106@dell> <32287ac0488f7cbd5a7d1259c284e554@walle.cc> <20200609151941.GM4106@dell> <95e6ec9bbdf6af7a9ff9c31786f743f2@walle.cc> <20200609194505.GQ4106@dell> <3a6931248f0efcaf8efbb5425a9bd833@walle.cc> <20200610071940.GS4106@dell> <20200610075615.GT4106@dell> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200610_113058_487560_B3E68DB5 X-CRM114-Status: GOOD ( 31.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-pwm@vger.kernel.org, Linus Walleij , Thierry Reding , Jason Cooper , Andy Shevchenko , Marc Zyngier , Ranjani Sridharan , Bartosz Golaszewski , Andy Shevchenko , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , david.m.ertman@intel.com, Guenter Roeck , devicetree , Jean Delvare , linux-watchdog@vger.kernel.org, "open list:GPIO SUBSYSTEM" , Mark Brown , Thomas Gleixner , Wim Van Sebroeck , shiraz.saleem@intel.com, linux-arm Mailing List , linux-hwmon@vger.kernel.org, Greg Kroah-Hartman , Linux Kernel Mailing List , Li Yang , Rob Herring , Shawn Guo Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org T24gV2VkLCAxMCBKdW4gMjAyMCwgTWljaGFlbCBXYWxsZSB3cm90ZToKCj4gQW0gMjAyMC0wNi0x MCAwOTo1Niwgc2NocmllYiBMZWUgSm9uZXM6Cj4gPiBPbiBXZWQsIDEwIEp1biAyMDIwLCBNaWNo YWVsIFdhbGxlIHdyb3RlOgo+ID4gCj4gPiA+IEFtIDIwMjAtMDYtMTAgMDk6MTksIHNjaHJpZWIg TGVlIEpvbmVzOgo+ID4gPiA+IE9uIFdlZCwgMTAgSnVuIDIwMjAsIE1pY2hhZWwgV2FsbGUgd3Jv dGU6Cj4gPiA+ID4gPiBBbSAyMDIwLTA2LTA5IDIxOjQ1LCBzY2hyaWViIExlZSBKb25lczoKPiA+ ID4gPiA+ID4gT24gVHVlLCAwOSBKdW4gMjAyMCwgTWljaGFlbCBXY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