From patchwork Thu Aug 9 21:43:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 955802 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@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=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=crapouillou.net Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=crapouillou.net header.i=@crapouillou.net header.b="qTNJ6qHn"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41mhcM5D9Nz9s3Z for ; Fri, 10 Aug 2018 07:44:51 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727334AbeHJALe (ORCPT ); Thu, 9 Aug 2018 20:11:34 -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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 Reviewed-by: Guenter Roeck Reviewed-by: Guenter Roeck Reviewed-by: Guenter Roeck Reviewed-by: Guenter Roeck