From patchwork Thu Dec 27 18:12:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 10744013 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1B1541399 for ; Thu, 27 Dec 2018 18:17:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0FA4A28AEC for ; Thu, 27 Dec 2018 18:17:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 03B5328AFB; Thu, 27 Dec 2018 18:17:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AEA0128AEC for ; Thu, 27 Dec 2018 18:17:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726589AbeL0SNg (ORCPT ); Thu, 27 Dec 2018 13:13:36 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:53590 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726521AbeL0SNg (ORCPT ); Thu, 27 Dec 2018 13:13:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1545934412; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=iHRs7F5NSB5E2tPXVk3y3c+0YxqPmlhOCMBNLvl0sfo=; b=Y9r6b//UO1SFRoFninfKrapxXnrAXKcf2yZ0QPQv9IOlfF/rdNRbWU/h/N6exCPBmtLyJE ZrNmQmRIuJXAcHxFu6mEKQ08qnok8V+e8c2QWqCqwPWlz5UoCPTknL5TaxifNAI2I7oHH3 ZWIGo8e0Py3To2ZCH0LO6ABNRklKkpc= From: Paul Cercueil To: Thierry Reding , Rob Herring , Mark Rutland , Daniel Lezcano , Thomas Gleixner , Ralf Baechle , Paul Burton , James Hogan , Jonathan Corbet , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= Cc: 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 Subject: [PATCH v9 00/27] Ingenic TCU patchset v9 Date: Thu, 27 Dec 2018 19:12:52 +0100 Message-Id: <20181227181319.31095-1-paul@crapouillou.net> Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, This is the v9 of my patchset to add support for the Timer/Counter Unit present on Ingenic JZ47xx SoCs. Changes from v8 mainly include: - The system timer and clocksource sub-nodes of the ingenic-timer driver are gone. Now, the ingenic-timer will use the (optional) property named "ingenic,pwm-channels-mask" to know which TCU channels are reserved for PWM use. - New patch [11/27] makes the PWM driver implement the .apply callback, which is cleaner and incidentally fixes a long-standing bug. - The patch in V8 that converted the PWM driver to use the regmap and clocks provided by the ingenic-timer driver has been splitted in three patches, [12,13,14/27]. The algorithm in [14/27] has been slightly improved. - The patch that adds support for the JZ4725B SoC to the PWM driver has been removed from the patchset, as it's been suggested that the core could use a "npwms" device property to override the number of PWMs set in the driver. Thanks, -Paul Cercueil