Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp882411imu; Thu, 13 Dec 2018 06:06:58 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wee9/p3FucQGdw6tKNFHkPAQ2Z+NeRcJcYN6ZZB7U6NGbG/oJubGiaxCW++Sod/D9HdEMh X-Received: by 2002:a62:2292:: with SMTP id p18mr24898468pfj.9.1544710018352; Thu, 13 Dec 2018 06:06:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544710018; cv=none; d=google.com; s=arc-20160816; b=ZDWEmg2E66mX8eqhs/OmxuK0Zq7yoHzfhno2QhfqA+cZTGvMBD1IKPjnWC/H/b6fRM k3dprAbXRvKnA30Y9rmp6C1cfpa/UpaZRKbjloJxxQv1lraFYFaq2EhNB/VTptn79as5 F8gQ0OiNYZDa9A4AkyPSgyI26ZWjHaQG98Mdu/LNzuscurgj4yNBtBCa9nj284pQORzH 8jVnS5fjg+z2HJGxMKOBkbDZHQ/u3IR6KJ8W7UAKRVgfzY/8dV0ke6zGrMq4/ef2KzJ5 thDGowYk61Bmg7ALWIuajtcRwqGX0sM3C6JvGSOVvoTrUdDf7oMnv+V6IpU9YaTGHhIt zmlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :mime-version:references:in-reply-to:message-id:cc:to:subject:from :date; bh=frmtz49k6LA14hTn2E0zYZw2txe+WryAadRkNe7b+oU=; b=avaU2BylbKcm8a1CXZUJL6//CD69FkoyWSo/eHxHU4HUULg9ZhhRwV5e2unJ6p1Zv1 vv0PkWJdNwUw3b8GSrMDQPOEuXswokl4f2h24P/Aok1X1BwBP8ePZiSpfWsHs/EIw1Oq fXVOj9htXi+8b6qtdKctB9o6wHI/TrERDKxVOcYlZv54L3Rv7M7WqYmAaZuimbJoHHxs bE4wQ3JCs1AOV4vNFCA1/eQ3jNThEdRp+Fsbf1nHfqnW4X4JK4biZaXYycn4xpZLrL4G OH5XFOKt2MgA83Db2c8Dt8JPT9NVkrpTrSjXPMDfBfJIB+5r1JEb+J5BuBi/P78kubcU j9cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=VI3Yup4A; 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=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r2si1817085pfc.82.2018.12.13.06.06.18; Thu, 13 Dec 2018 06:06:58 -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=@crapouillou.net header.s=mail header.b=VI3Yup4A; 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=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729598AbeLMODY (ORCPT + 99 others); Thu, 13 Dec 2018 09:03:24 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:34004 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729505AbeLMODY (ORCPT ); Thu, 13 Dec 2018 09:03:24 -0500 Date: Thu, 13 Dec 2018 15:03:15 +0100 From: Paul Cercueil Subject: Re: [PATCH v8 15/26] pwm: jz4740: Add support for the JZ4725B To: Uwe =?iso-8859-1?q?Kleine-K=F6nig?= Cc: Thierry Reding , Rob Herring , Mark Rutland , Daniel Lezcano , Thomas Gleixner , Ralf Baechle , Paul Burton , James Hogan , Jonathan Corbet , Mathieu Malaterre , Ezequiel Garcia , PrasannaKumar Muralidharan , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-mips@vger.kernel.org, linux-doc@vger.kernel.org, linux-clk@vger.kernel.org, od@zcrc.me Message-Id: <1544709795.18952.1@crapouillou.net> In-Reply-To: <20181213092409.ml4wpnzow2nnszkd@pengutronix.de> References: <20181212220922.18759-1-paul@crapouillou.net> <20181212220922.18759-16-paul@crapouillou.net> <20181213092409.ml4wpnzow2nnszkd@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1544709800; bh=frmtz49k6LA14hTn2E0zYZw2txe+WryAadRkNe7b+oU=; h=Date:From:Subject:To:Cc:Message-Id:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=VI3Yup4AKeBMFaGvEAJZCyvc/aSWXerVaXml+CznEDTeyPODJZ0a0B+IRGz2o1KeX/OodV3dPUtCdIpVwc5HlYIuSiqZvEcL/976hytp2WLxwT2sGDSKIARKgUZ4a4R/IyXMK48U6wGEMl5W8BYX6kXtWK5mAmtXb+4D3zWAZIo= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Le jeu. 13 d=E9c. 2018 =E0 10:24, Uwe Kleine-K=F6nig=20 a =E9crit : > Hello, >=20 > On Wed, Dec 12, 2018 at 11:09:10PM +0100, Paul Cercueil wrote: >> The PWM in the JZ4725B works the same as in the JZ4740, except that=20 >> it >> only has 6 channels available instead of 8. >=20 > this driver is probed only from device tree? If yes, it might be > sensible to specify the number of PWMs there and get it from there. > There doesn't seem to be a generic binding for that, but there are > several drivers that could benefit from it. (This is a bigger project > though and shouldn't stop your patch. Still more as it already got > Thierry's ack.) I think there needs to be a proper guideline, as there doesn't seem to=20 be a consensus about this. I learned from emails with Rob and Linus=20 (Walleij) that I should not have in devicetree what I can deduce from the=20 compatible string. > Best regards > Uwe >=20 > -- > Pengutronix e.K. | Uwe Kleine-K=F6nig =20 > | > Industrial Linux Solutions |=20 > http://www.pengutronix.de/ | =