Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp72818ybt; Tue, 30 Jun 2020 15:06:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxW6y64Mx3PpKiUzycNnBCoiz9az/iGzClu3loqgyxCrfNomXOMVj5grbeSxwx10iUF1KlU X-Received: by 2002:a17:906:a0c8:: with SMTP id bh8mr20179163ejb.190.1593554448660; Tue, 30 Jun 2020 15:00:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593554448; cv=none; d=google.com; s=arc-20160816; b=UTAZRGv5IWOCBmeeo0l6d1z3CxLymbHEWd9ceF0jHSjI1ln7VMRsjHc7/PxN8/Ji4I bcrffM8O4wMDwiiu3s3CCvxLi1YD6RzQwR25x6nuDV5r3lPAuiwMyv3hy5bxcdUXvUdL P6/oUUId/WpLSQdV5nYJs+D+KH5KwTsWFm5b69cWG2tdvr6mcsPiZn1G1xLCslIiAB0i RB81Dsdpjv4pct2Dc0n46ck5pBYb/Yo3LEci4XrEqNjj4Y2jXfqEd7XI3uBdk+RVwewt 3kbAuR+ex5GMc1cnV9r0CV6MOeO9gQ7dR3kJpPD0NTqYBOkBq33swXzO8zkqExIh/DFh 7wkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=MQBErciIyI85FpBDV0t+8Lcbb9FvJ1w5mLOf7Rx5bGk=; b=Jki0Sh9FLORiBfep9nLbwainWcotXcpK924/iznGdxSviN1B95WKPsKyvlRkDdhVmg dV4JwHQHrtkP/vJ6qXYBt61qWYoEnlNGlXRKMscIVTHip9dQ/WxCaaL4l/0FK3BA/Y74 JZQdzVHdH3n0x2PWYSA0Dg3fy0ta0a38LMxv/IWD3fk0TMpWONKBKf8mmj0hzzhRaCSd Fr9CNkHAgoolsUtxOi5EFDQokGHtBDVAYpc1hEB6mbSBJFBXcw15+tIaRi3kYuiFHWdD cFCoia7WoKHgz1SVgH9FwInL5s6+bAbBfvOMjFZhrPTLcyYkWxYJqTYyLQadyoZS8I5B cT8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Ijzh/MFv"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f16si2548862edq.307.2020.06.30.15.00.24; Tue, 30 Jun 2020 15:00:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Ijzh/MFv"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729804AbgF3V1t (ORCPT + 99 others); Tue, 30 Jun 2020 17:27:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726847AbgF3V1s (ORCPT ); Tue, 30 Jun 2020 17:27:48 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A60F0C061755; Tue, 30 Jun 2020 14:27:48 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id q17so9971751pfu.8; Tue, 30 Jun 2020 14:27:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=MQBErciIyI85FpBDV0t+8Lcbb9FvJ1w5mLOf7Rx5bGk=; b=Ijzh/MFvNwAuuPmLgLmPFfO+rTkLg8UETdEfqUYAGZWlH72Tzsw+4ViGmOO6kb3KHF 5CL9IjG0tPcq6RHvGQDfZZI7+YDR5ABYH74Iv4D9PwMxyFT5IJeUjs4LLHs4eSR3YR3I wHxXWIIHF5fB51h1FENg3+FvVKOGEj2GWfNOHdJ4etVG1+NuNPhE6PZFUMaW7wH18fw0 tImDJkVHgQFRt5MEGYGj3Jo8MkJGjHLoz0xwc/vncyOwwJdgPIfv5pWWz+yEgYS5rbhs FsbWn2bkGeY7hoLwqm+0Gen/EVePDSbOU88/MRO8fR81jkI6sj49Zsz9hHtGELoq4k7R A8VA== 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:content-transfer-encoding; bh=MQBErciIyI85FpBDV0t+8Lcbb9FvJ1w5mLOf7Rx5bGk=; b=kkf8vZicsa9y2CUDhQ79LiBi9/+Xge9zM67pRjqMO7lw42dab83GC3PNVJUjzFagLo elC4qqKd34toGGnywcjxwBtVY3yR13fhIbYaGVS9sw13h0JnydWCmTkv+Th69OE+Ixg0 Eay7WRNL95JN3dNPWHJvwRvXX06mY2ISnopBPsb8bf8vv0WHE/l7BGE7vwdocwd1igSh yteeIBixafx6lf5bhY3b4rWMfhtJjH42dvLhKjE+VBCKKy5Une7L68jV3NkrlAX7UzmF aYkvRJKq0KzcJu0ZxgpOR0nyQCU7xeJ7SvDPvQ/0xFWnXhPa1MFQ/rC8Mcm7dRvOqUsx AdZw== X-Gm-Message-State: AOAM530JE5F2BJsZGy5XRD1aFZcu+4CCvHfPBz27145ooKi50/y26S8Y j4b8/XmRFD88QYHQbFlH0cQpx+8TTj80ZBJTffw= X-Received: by 2002:a63:a05f:: with SMTP id u31mr11026892pgn.4.1593552468187; Tue, 30 Jun 2020 14:27:48 -0700 (PDT) MIME-Version: 1.0 References: <20200503105453.23658-1-miquel.raynal@bootlin.com> <20200629160844.6ecf79c1@xps13> <20200629195044.uvgma53cajiko3gf@pengutronix.de> <20200630085828.1aebdf99@xps13> <20200630124500.m765t276atb3wqgy@pengutronix.de> In-Reply-To: <20200630124500.m765t276atb3wqgy@pengutronix.de> From: Andy Shevchenko Date: Wed, 1 Jul 2020 00:27:31 +0300 Message-ID: Subject: Re: [PATCH v6] gpio: pca953x: Add Maxim MAX7313 PWM support To: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= Cc: Bartosz Golaszewski , Miquel Raynal , Thierry Reding , Linus Walleij , linux-gpio , linux-pwm@vger.kernel.org, Thomas Petazzoni , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 30, 2020 at 3:45 PM Uwe Kleine-K=C3=B6nig wrote: > On Tue, Jun 30, 2020 at 11:13:31AM +0200, Bartosz Golaszewski wrote: > > I can't find anything in any of the previous threads. What was the > > reason to not go the MFD way here? > > MFD doesn't work because the different "modes" are not orthogonal. So > this is not a single device that provides several functions at the same > time that can be used in parallel. Did I get this correctly that it's either *all* pins are GPIO or *all* are = PWM? Otherwise, it fits from my point of view. --=20 With Best Regards, Andy Shevchenko