From patchwork Wed Mar 27 23:16:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 10874005 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 528BF13B5 for ; Wed, 27 Mar 2019 23:16:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F00228A00 for ; Wed, 27 Mar 2019 23:16:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 324F728ABE; Wed, 27 Mar 2019 23:16:56 +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 F29DD28A00 for ; Wed, 27 Mar 2019 23:16:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728104AbfC0XQv (ORCPT ); Wed, 27 Mar 2019 19:16:51 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:58242 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727419AbfC0XQv (ORCPT ); Wed, 27 Mar 2019 19:16:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1553728605; 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=7BJ4f6f4KSXZ2UB72pVKzoiNiNiDKzYQfLyTLCI0a94=; b=ntZt3ItW3sK8UFQ2SOk3B6wUW4M7nlEaO++UJP0lYPkntRN9pP00q0WaEnsoEo6949ptY+ H1VDZ5Dg7cV4PUVwychNTTtCFkyyo5KAs0pXWoDKCf5AJ5vSeMwxZeza1PC+AkZoWK5GdK DPU8iZVrATScTrdsYW5pgd4yJNUIg/8= From: Paul Cercueil To: Rob Herring , Mark Rutland , Thierry Reding , Daniel Lezcano , Thomas Gleixner , Wim Van Sebroeck , Ralf Baechle , Paul Burton , James Hogan , Jonathan Corbet , Michael Turquette , Stephen Boyd Cc: Mathieu Malaterre , od@zcrc.me, 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 v11 00/27] Ingenic JZ47xx TCU pachset v11 Date: Thu, 28 Mar 2019 00:16:04 +0100 Message-Id: <20190327231631.15708-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 v11 of my patchset that adds support to the Timer/Counter Unit (TCU) present in the JZ47xx SoCs from Ingenic. Changes from v10: [03/27]: Fix info about default value of ingenic,pwm-channels-mask [04/27]: - Change prototype of exported function ingenic_tcu_pwm_can_use_chn(), use a struct device * as first argument. - Read clocksource using the regmap instead of bypassing it. Bypassing the regmap makes sense only for the sched_clock where the read operation must be as fast as possible. - Fix incorrect format in pr_crit() macro [05/27]: Use regmap inside the clocksource read functions. Keep bypassing the regmap inside the sched_clock read functions. [12/27]: Add note about abrupt shutdown [13/27]: - Use pwm_set_chip_data() to hold the clock pointers - Remove unused variable 'jz' in jz4740_pwm_request() [14/27]: - Use proper block-comment style. - Modify commit message to fit the new algorithm used. [15/27]: Use new version of ingenic_tcu_pwm_can_use_chn() The other patches have not been modified since v10. If this patchset passes review, I'd like it to be merged in the MIPS tree. Thanks, -Paul