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: 1067543 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-pwm-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=crapouillou.net Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=crapouillou.net header.i=@crapouillou.net header.b="ntZt3ItW"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44V3qX3wG3z9sBV for ; Thu, 28 Mar 2019 10:19:36 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728119AbfC0XQv (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-pwm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pwm@vger.kernel.org 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