Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3349330ybt; Tue, 30 Jun 2020 00:00:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyb+j/LUYdnCHM+owyutxl5dw4c4y3yQyoTz+OjiAc+dQ2FCWfWCEUs9guZ49LjR6jxroxB X-Received: by 2002:a17:906:c415:: with SMTP id u21mr16882330ejz.45.1593500403672; Tue, 30 Jun 2020 00:00:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593500403; cv=none; d=google.com; s=arc-20160816; b=L7uwDtoqf3Dq0GQofpmr4a010Lqn3BmmpG43CDqkXRdIB07lMjgD5wP1AKDdruyCa9 ihJpKuh92R8KJ4Fyx4Pi3mYZgE77NGmGmnumg7Cmj4SK1WNoojkDaTA7ib9wqr0rkFXg PfOwNymE/rN4iqi/UXKUJwf0tk3Drv9NkDRQ62I3+dPlbVh4s8rxf7HI8D2F48IBnzeb clVgS3zjWPmJi4Ze0rhB7Anzbueexq6rjRxwRMNZJmXL4NTAaIwvsbYQ/S7+FvkkGDeJ LyT5yfiRfZIflsUimAhAzpaQ5aiiB1wY1Q/WsYLnLierM4L790PTglgACCyRIFMREGPM ohtA== 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:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=kyvlQGmM27YckQR7XVucML+U4VqEkseweAUKekEgDEc=; b=CMJ5XkY5/lXQ4KyjVEaXYvsTnto79mVDt7XVnvrv5fVVAfwyI/VCmIeRlzfdsjQ0ey e2jlrWFG6DgKprubUs6dW27A6QWKGZIutXc5zvMi5pEsgWV33Eh+wPmfOG1HhZ3WPWQ4 zgWnRyP3dUffsx0cmwpZPNxbgLcqTQjpkdsXH4qiRChG4bLrPQbnFBl1ArRF7bibVqp1 JrWcjS2BRrwNpeHB3raiHg71qRPRgGFTcFPHVFR6HACqi0/FvwLTk07+Svz0H1QaLzRu pwFyPJMrOZu5V6QvQ/uJHfYO30VjzmuzpEH8CS/LyJSNOhln6FrdgLus6XQw5QEKe+NL 961w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y27si1205543eje.284.2020.06.29.23.59.41; Tue, 30 Jun 2020 00:00:03 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730560AbgF3G6e convert rfc822-to-8bit (ORCPT + 99 others); Tue, 30 Jun 2020 02:58:34 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:46569 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725440AbgF3G6d (ORCPT ); Tue, 30 Jun 2020 02:58:33 -0400 X-Originating-IP: 91.224.148.103 Received: from xps13 (unknown [91.224.148.103]) (Authenticated sender: miquel.raynal@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id D812D6000A; Tue, 30 Jun 2020 06:58:29 +0000 (UTC) Date: Tue, 30 Jun 2020 08:58:28 +0200 From: Miquel Raynal To: Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= Cc: Thierry Reding , Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-pwm@vger.kernel.org, Andy Shevchenko , Thomas Petazzoni , linux-kernel@vger.kernel.org Subject: Re: [PATCH v6] gpio: pca953x: Add Maxim MAX7313 PWM support Message-ID: <20200630085828.1aebdf99@xps13> In-Reply-To: <20200629195044.uvgma53cajiko3gf@pengutronix.de> References: <20200503105453.23658-1-miquel.raynal@bootlin.com> <20200629160844.6ecf79c1@xps13> <20200629195044.uvgma53cajiko3gf@pengutronix.de> Organization: Bootlin X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Uwe, Uwe Kleine-König wrote on Mon, 29 Jun 2020 21:50:44 +0200: > On Mon, Jun 29, 2020 at 04:08:44PM +0200, Miquel Raynal wrote: > > Hello Uwe, Thierry, > > > > Miquel Raynal wrote on Sun, 3 May 2020 > > 12:54:53 +0200: > > > > > The MAX7313 chip is fully compatible with the PCA9535 on its basic > > > functions but can also manage the intensity on each of its ports with > > > PWM. Each output is independent and may be tuned with 16 values (4 > > > bits per output). The period is always 32kHz, only the duty-cycle may > > > be changed. One can use any output as GPIO or PWM. > > > > > > Signed-off-by: Miquel Raynal > > > --- > > > > Can I have a status on this patch please? > > > > If it was forgotten, I would be good to have it queued now, otherwise, > > may I know the reason? > > You could reply to my feedback ... If you could say there: "What you > want isn't possible" I'd count this as a strong indication to not ask to > implement Andy's suggestion. (Even if this would be possible, I'm not > sure this is a good idea, but still ...) Sorry for the misunderstanding, but I already replied twice to Andy about this. Once in October, again in November, then I gave a shot to the idea of splitting the drivers (GPIO vs. PWM) in January. So I thought you were sharing your thoughts out loud but was not expecting any specific feedback on it. So, no, even if the idea might make sense, it is not doable in a reasonable amount of time. I am not saying it is impossible, but someone has to think about it deeper and propose a core structure to handle it in a generic and clean way so that other drivers sharing the same properties can rely on it. I am not qualified enough to do it the proper way in a reasonable time frame. Thanks, Miquèl