Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp522145ybx; Tue, 5 Nov 2019 01:09:54 -0800 (PST) X-Google-Smtp-Source: APXvYqzOI4+AQ0OR0EUxedyfUMleYFmVuraLZe0bnNMWkgD8l+h/N6/VhHhEwzasrhFSmd1x+iyG X-Received: by 2002:a05:6402:1299:: with SMTP id w25mr26149901edv.10.1572944994198; Tue, 05 Nov 2019 01:09:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572944994; cv=none; d=google.com; s=arc-20160816; b=CKO9G6gfpuSnLBd4n+W4StTLEiPWudJYHQN9HQt1Y140wtDAY1AHBS8dbUZ1HnBe/u VG6OlSwpwxR4a/dLR7Vg5y7881jstZCG65V+OFhUVhvMR4y4C8kJVufNbwIiNs4rSOnB Kzrxk++UkA6VADnOliMQDezvTVDqdlzm12ATKEWIBoUUguGy/37dMjuPVbHByrZS3rrz iYuTtsXigrmKVFX+EiDlBTfKpgh/cc3nBfJabzTXD0L5lPXGCIO6IthQV6qGhDp3JIOT 6keOG3lRAcr0vmts7avAjjEt8R9xx3LNyJCoqEzA7mvx291SSywnznA/Z7WEft5t9af3 gVMQ== 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=3IN+RmgrA9UuV2EXkkUk1yKQc727vvMO7nQN5m0x7fQ=; b=gaHmxnFb0OcSRwISKSifySWGWxm+Ys1i8CoS2qjXZcASxEhYQ3cqRDRshZ/ZYVFoap qVUoevg+ltuYjOODzLpblmpc7SVIZjX8x2SrcLrbW2kH2/flBicw6DO5dLVW8D+LIih+ jJ3lENUDZ6p2uXJu3R2G8mnL32IFSgOERY2w790mXFo/TnuONyESJyCOpU1mF1VcPXHf 9aqQQtlo+aQpHeG5DSTfb1tz3vmnfSfSnL0lSBXXhSvHCu1kfLbAeBoZT+hl2dzYkT5w I31K/enYfhXAN02u2pBBS6Aipzgk44no+Nj05rUmX83Ee7u5FkwBEGc6QLgnhZBAaQm7 EpAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PPdE5lSo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id c53si9507587eda.396.2019.11.05.01.09.29; Tue, 05 Nov 2019 01:09:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PPdE5lSo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S2387945AbfKEJIv (ORCPT + 99 others); Tue, 5 Nov 2019 04:08:51 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:38345 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730533AbfKEJIv (ORCPT ); Tue, 5 Nov 2019 04:08:51 -0500 Received: by mail-pf1-f194.google.com with SMTP id c13so14733139pfp.5; Tue, 05 Nov 2019 01:08:50 -0800 (PST) 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=3IN+RmgrA9UuV2EXkkUk1yKQc727vvMO7nQN5m0x7fQ=; b=PPdE5lSoTbfeWE39yleufpUJr53ZwN4GoeYnjibmEiejj6I3/LTa9lm6tV3g7xUWHv Yr4N1EkLATrunX+49DRIstYvODsB6lS07WqRfokwahj/fXhXVb08/vJRtoiy299krnSc XC710aWgDBVoRaDNWcWvlLsKH+HoF6CLbyRJM7Gx9RqfLyeQ9XxmVjGAvwkvI4a1sE0g mSfd5SYaopG9NMT+TR9MxqRzjljl4HWATJdlpJJAEIn3adYb8iTM6vBanDE3QSDsDLZK Cmu4+rkNi9ZN4XCqbUFWjrSDf29jG0YOPBbsg/G7skYBVbjlOJv84ilFSx3AYKEualaK tKZQ== 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=3IN+RmgrA9UuV2EXkkUk1yKQc727vvMO7nQN5m0x7fQ=; b=P016hklU+PGiKAZNOKXgJLWAFECpx2oer62ZKkFa9+HhCf2N6V1WQU3bV95JcZm2sC 1O5Zlksyay4p9QlyFF5bbapkL137228USAbnBJE/TM4Zyp+yAWcV3F7/d2Kcy/fjRCFh ZJ5S/YZ416D923tbqKYUsn7t67J2e9+DdtbwOh3cA8KgKJb2v8ucKJaJLoF+CqmW1maR WhDwZIvC9okiApohWh4NdB0bowxgjJC1TlYlKvBDURsg1pO8AwtHha2si0RyvB6QAZPt RSplacckidMqsYIfiPyPsBVeOjPC4+KVn94/VEO8Sz0E1VA/qhDYG+g8njo+IgLFo6/j YPWg== X-Gm-Message-State: APjAAAW8VVNEJuCdBFdt4Cmki7XxCD34yCbhaOFnxhg4ekmTva6p6qbp pdz6i1iGmvUfL94mq3kp9lFuHVGumUSfmIdfqUk= X-Received: by 2002:aa7:8e8d:: with SMTP id a13mr6708143pfr.241.1572944930238; Tue, 05 Nov 2019 01:08:50 -0800 (PST) MIME-Version: 1.0 References: <20191014124803.13661-1-miquel.raynal@bootlin.com> <20191015163055.0d8f44e5@xps13> <20191104161103.64995b8a@xps13> <20191104203346.epdbzflnynh2gf3z@pengutronix.de> <20191105100157.2b6eb22b@xps13> In-Reply-To: <20191105100157.2b6eb22b@xps13> From: Andy Shevchenko Date: Tue, 5 Nov 2019 11:08:39 +0200 Message-ID: Subject: Re: [PATCH] gpio: pca953x: Add Maxim MAX7313 PWM support To: Miquel Raynal Cc: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Bartosz Golaszewski , Linus Walleij , Thierry Reding , "open list:GPIO SUBSYSTEM" , linux-pwm@vger.kernel.org, Linux Kernel Mailing List , Thomas Petazzoni , Sascha Hauer 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, Nov 5, 2019 at 11:02 AM Miquel Raynal w= rote: > Andy Shevchenko wrote on Tue, 5 Nov 2019 > 09:06:37 +0200: > > On Mon, Nov 4, 2019 at 10:33 PM Uwe Kleine-K=C3=B6nig > > wrote: > > For me it sounds more likely that PWM is a *pin function* of a pin > > controller and actually this GPIO driver should be a pin controller > > with corresponding function(s). > > > > Ok, thanks for the input, I will address Thierry's comments and > re-submit as a single file (same shape as in v1). Perhaps I have to be more clear. What I meant is that pin control should support PWM pin function and PCA953x be converted to a pin control + GPIO + PWM. Above definitely is not what you did and it's not for immediate submission. I really would like to hear if it makes sense. --=20 With Best Regards, Andy Shevchenko