From patchwork Fri Sep 27 16:31:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 1168658 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=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Vk4hXKnb"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 46fy3M52YHz9sP3 for ; Sat, 28 Sep 2019 02:31:11 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727349AbfI0QbK (ORCPT ); Fri, 27 Sep 2019 12:31:10 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:36981 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727079AbfI0QbK (ORCPT ); Fri, 27 Sep 2019 12:31:10 -0400 Received: by mail-wr1-f66.google.com with SMTP id i1so3858679wro.4; Fri, 27 Sep 2019 09:31:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=81LRsitYO+cMV88AD/zY6VjtZQHDKG/FhIwKCSTN8og=; b=Vk4hXKnbC041i/Le/fQ3TYnBgfy8OpOyysFM++w/HENvu2QyQWULU8OkbzHKsHZV1X L+GO0xAjrYikoN4YZYZIWgAHT+mVnKz5OIvvE9l7fSqbKuQ5E85J89CI0GKDdrKW0JOi t7J0AC5QiMf9qyMf2l5zboqGEPSMVuueTbalyE30ot4yHrCwy0nlygTpl3TelVrkKe23 H0j3maskUrAD0L56VnXsekOiyhLBdcBoS/AQmvQi5WtzY6JairWITpm7bOQ1V2oEVug8 Zd7x2+OKT/cUmnjh2rRHbKAg4+u5fmT1jpuNOUQkxfbhmZDf2zdcHX+U8AO4TbGYAe+K f9aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=81LRsitYO+cMV88AD/zY6VjtZQHDKG/FhIwKCSTN8og=; b=Pl/w0TkRfAfi05T/prIur3EIm68REco+Zx4OsxWCwM0xKccF6v+bQY5Dk0QGvv5aL2 ppgzfzAgi7duopz9CUZqtZzMhVfC4piZ7+GYKMbQczYIGdDUfUXMG4zpNzm9slamy1Jy f8HO1g7vfzOBZEdnWAHB4hr0Pl7EYCeCsAbrOXRj3fMcWi9U+d+zlD1CVpkwz6uM+0BK TpcvfcOgwjLhjJ0BBdf7daU5TZmD4uSvXuFWJa9BbzX+/ZHkn7ftkiNKLECmcMd05tya 3HcArEwyoV/ia3YLwMnaVCoBgtRcCbT6VIkfljVkMVVa9S+JgMayYkzzdRuF91kDJuiq ddiw== X-Gm-Message-State: APjAAAUUKp0/JpH/Po1KVqKTmb2YNWqKzf6RG3m37azTHRGmVoYLx8uj tipLDSVoizFTPJSofwnMTZX0gr6O X-Google-Smtp-Source: APXvYqxSsoHCh5cUgtEhlOGE2w+fanh6wYqsoiauNN760qYR1OSLgTdokFNhj5PK80mTekHhQtSYDQ== X-Received: by 2002:adf:8b13:: with SMTP id n19mr3941869wra.203.1569601867401; Fri, 27 Sep 2019 09:31:07 -0700 (PDT) Received: from localhost (p2E5BE2CE.dip0.t-ipconnect.de. [46.91.226.206]) by smtp.gmail.com with ESMTPSA id b186sm18101929wmd.16.2019.09.27.09.31.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2019 09:31:06 -0700 (PDT) From: Thierry Reding To: Linus Torvalds Cc: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] pwm: Changes for v5.4-rc1 Date: Fri, 27 Sep 2019 18:31:04 +0200 Message-Id: <20190927163104.1456471-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: linux-pwm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pwm@vger.kernel.org Hi Linus, The following changes since commit 6cf9481b440da6d6d86bd8e4c99a8b553b9d1271: pwm: Fallback to the static lookup-list when acpi_pwm_get fails (2019-08-08 13:17:38 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git tags/pwm/for-5.4-rc1 for you to fetch changes up to da635e7abe3f4ec9a8270ca4f5ba946d1a43f678: MAINTAINERS: Add myself as reviewer for the PWM subsystem (2019-09-26 13:27:51 +0200) Just in case you're wondering, the start commit above corresponds to the pwm/for-5.3-rc4 tag that you pulled into v5.3-rc4. Thanks, Thierry ---------------------------------------------------------------- pwm: Changes for v5.4-rc1 Besides one new driver being added for the PWM controller found in various Spreadtrum SoCs, this series of changes brings a slew of, mostly minor, fixes and cleanups for existing drivers, as well as some enhancements to the core code. Lastly, Uwe is added to the PWM subsystem entry of the MAINTAINERS file, making official his role as a reviewer. ---------------------------------------------------------------- Anson Huang (1): pwm: mxs: Use devm_platform_ioremap_resource() to simplify code Baolin Wang (2): dt-bindings: pwm: sprd: Add Spreadtrum PWM documentation pwm: sprd: Add Spreadtrum PWM support Ding Xiang (1): pwm: sifive: Remove redundant error message Fabien Parent (2): dt-bindings: pwm: mediatek: Add documentation for MT8516 pwm: mediatek: Add MT8516 SoC support Fabrice Gasnier (1): pwm: stm32-lp: Add check in case requested period cannot be achieved Kamel Bouhara (1): pwm: atmel: Remove platform_device_id and use only dt bindings Ryder Lee (1): dt-bindings: pwm: Update bindings for MT7629 SoC Sam Shih (6): pwm: mediatek: Drop the check for of_device_get_match_data() pwm: mediatek: Remove the has_clks field pwm: mediatek: Allocate the clks array dynamically pwm: mediatek: Use pwm_mediatek as common prefix pwm: mediatek: Update license and switch to SPDX tag pwm: mediatek: Add MT7629 compatible string Stefan Wahren (3): pwm: bcm2835: Suppress error message for invalid period_ns pwm: bcm2835: Fix period_ns range check pwm: bcm2835: Suppress error message during deferred probe Stephen Boyd (1): pwm: Remove dev_err() usage after platform_get_irq() Thierry Reding (2): pwm: atmel: Remove unneeded check for match data pwm: atmel: Consolidate driver data initialization Uwe Kleine-König (12): pwm: jz4740: Document known limitations pwm: imx: Document known limitations pwm: rockchip: Set polarity unconditionally in .get_state() pwm: Introduce local struct pwm_chip in pwm_apply_state() pwm: Let pwm_get_state() return the last implemented state pwm: rockchip: Don't update the state for the caller of pwm_apply_state() pwm: sun4i: Don't update the state for the caller of pwm_apply_state() pwm: fsl-ftm: Don't update the state for the caller of pwm_apply_state() pwm: Ensure pwm_apply_state() doesn't modify the state argument MAINTAINERS: Add a selection of PWM related keywords to the PWM entry MAINTAINERS: Add patchwork link for PWM entry MAINTAINERS: Add myself as reviewer for the PWM subsystem Yoshihiro Shimoda (1): pwm: rcar: Remove a redundant condition in rcar_pwm_apply() .../devicetree/bindings/pwm/pwm-mediatek.txt | 2 + Documentation/devicetree/bindings/pwm/pwm-sprd.txt | 40 +++ MAINTAINERS | 3 + drivers/gpio/gpio-mvebu.c | 2 +- drivers/pwm/Kconfig | 13 +- drivers/pwm/Makefile | 1 + drivers/pwm/core.c | 40 +-- drivers/pwm/pwm-atmel-hlcdc.c | 2 +- drivers/pwm/pwm-atmel.c | 49 +--- drivers/pwm/pwm-bcm-iproc.c | 2 +- drivers/pwm/pwm-bcm2835.c | 19 +- drivers/pwm/pwm-cros-ec.c | 2 +- drivers/pwm/pwm-fsl-ftm.c | 8 +- drivers/pwm/pwm-hibvt.c | 2 +- drivers/pwm/pwm-imx-tpm.c | 4 +- drivers/pwm/pwm-imx27.c | 6 +- drivers/pwm/pwm-jz4740.c | 7 +- drivers/pwm/pwm-lpss.c | 2 +- drivers/pwm/pwm-mediatek.c | 231 +++++++-------- drivers/pwm/pwm-meson.c | 4 +- drivers/pwm/pwm-mxs.c | 4 +- drivers/pwm/pwm-rcar.c | 4 +- drivers/pwm/pwm-rockchip.c | 18 +- drivers/pwm/pwm-sifive.c | 6 +- drivers/pwm/pwm-sprd.c | 309 +++++++++++++++++++++ drivers/pwm/pwm-sti.c | 4 +- drivers/pwm/pwm-stm32-lp.c | 8 +- drivers/pwm/pwm-stm32.c | 4 +- drivers/pwm/pwm-sun4i.c | 10 +- drivers/pwm/pwm-zx.c | 2 +- include/linux/pwm.h | 4 +- 31 files changed, 576 insertions(+), 236 deletions(-) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-sprd.txt create mode 100644 drivers/pwm/pwm-sprd.c