Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2528492imm; Thu, 9 Aug 2018 14:46:05 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyikunVgiC9gLwVfIbbTUsTyc6vNS4bDAWf9WP4Up52+O1e5r1VBd69ZWbMkhP6n7a0QX34 X-Received: by 2002:a17:902:14cb:: with SMTP id y11-v6mr3518028plg.317.1533851165148; Thu, 09 Aug 2018 14:46:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533851165; cv=none; d=google.com; s=arc-20160816; b=lC75E8qln3tEbFcGSbQjIG6m+DEH938k5Eck4heXeSucaqEjfv+SfF1OFhnGAxu+dY JhoYNBZ6OS8LiLOGVbNkmO9EtNs3snfMUoOIyY3WKfJnUogapEyPPxAxQ6+YL4h04J9D 79IbEZpGRgszmIkSKG8B4mWja2K9ma2glQfv6ulPtR9oKEp+KdG9bEejDceqOTiLbaPA 1rKku9WQg50xflxUijBayqv/iP3rRrE6i0YOJo5xrFqPLq+pTz7Sj8RVPdGpnFpVqm4G AZqzmbzsVpFYRQbN0sfDZlGw+Z+y0lK6SJjC7ysnvikEa5b6UFTgcv47+V6P4hiCYioE B89g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:message-id:date:subject:cc :to:from:arc-authentication-results; bh=3JuVblcCRV9q6BAHQO0TVg2MSFYg18n+QUkAOiJzjaw=; b=jQIon930Rlh2aiRf8RB4ZaiojQzjCUPNcHUvQyWhtL4Slew17CWMsfDANF0JIFPdVF 6wCivZNVL6+yxu6Gme/rjVjRXG3bRp8G2ullMCH2PEhrCy0W7gb3CZz1JFYM4cjuvGmy aODXMH1W61Phr/pVFnj86fd+cBeUbM1Dr0T3/r7ht5AwQ/yjdHurO3qWVIxDgjI/22jX esZhmIedUkjW4gokZjzRB2Wl1i97uGI2e9BE/BWoQ0yHkifKAMMI+VTTKIQUGpBHkSue h8aM/NpLwBNP4zTgxaxfdpzee/VY5TNma1bunwz3QOz0YJD8bAdxuX6hwebm2UV61SkO u+nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=qTNJ6qHn; 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 w9-v6si8286766pgw.46.2018.08.09.14.45.48; Thu, 09 Aug 2018 14:46:05 -0700 (PDT) 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=qTNJ6qHn; 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 S1727359AbeHJALf (ORCPT + 99 others); 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