From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4A71C46460 for ; Thu, 9 Aug 2018 21:44:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4D8DF21EFC for ; Thu, 9 Aug 2018 21:44:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="qTNJ6qHn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4D8DF21EFC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=crapouillou.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727364AbeHJALf (ORCPT ); Thu, 9 Aug 2018 20:11:35 -0400 Received: from outils.crapouillou.net ([89.234.176.41]:55138 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727268AbeHJALe (ORCPT ); Thu, 9 Aug 2018 20:11:34 -0400 From: Paul Cercueil To: Rob Herring , Mark Rutland , Thierry Reding , Daniel Lezcano , Thomas Gleixner , Wim Van Sebroeck , Guenter Roeck , Ralf Baechle , Paul Burton , James Hogan , Jonathan Corbet , Lee Jones , Mathieu Malaterre , Ezequiel Garcia Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-mips@linux-mips.org, linux-doc@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH v6 00/24] Ingenic TCU patchset v6 Date: Thu, 9 Aug 2018 23:43:50 +0200 Message-Id: <20180809214414.20905-1-paul@crapouillou.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1533851085; bh=3JuVblcCRV9q6BAHQO0TVg2MSFYg18n+QUkAOiJzjaw=; h=From:To:Cc:Subject:Date:Message-Id; b=qTNJ6qHnSGirEeuHSOt1QfAmBB8T8PJjBtAUQUA26rpWXI0SKDxX50QqYo95x1nLyGhWETm9VjrU73beTjetkG36oa56UsC9D/b7kIkQFbkG8kd8UIHJecKDsuLvpNpgfbFt+FHn2vDE743MMPqZoFoIqsgsFu23ZhxLEaMSd7A= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is the V6 of my Ingenic Timer/Counter Unit (TCU) patchset. Major changes since V5: - ingenic,timer-channel / ingenic,clocksource-channel devicetree properties for the ingenic-timer driver are gone. The system timer will default to use TCU channel #0, the clocksource will default to use TCU channel #1. When a client driver requests one of these TCU channels (e.g. the PWM driver), the ingenic-timer driver will dynamically switch the system timer or clocksource to a new TCU channel. - The big watchdog commit in v5 was split into multiple smaller commits. - The watchdog driver now just sets its clock to the lowest rate possible, and calculate the maximum timeout from that. - The PWM driver now requests the TCU channels it wants to use using the API functions provided by ingenic-timer. Channels 0 and 1 can now be used. - The register lengths in the pwm/watchdog nodes were fixed. They no longer overlap. - Small fixes here and there, see each patch's changelog for more info. Regards, -Paul Cercueil