From patchwork Sun Feb 14 13:08:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 582493 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id B74401402AC for ; Mon, 15 Feb 2016 00:08:44 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b=hpVUJopC; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751515AbcBNNIn (ORCPT ); Sun, 14 Feb 2016 08:08:43 -0500 Received: from mail-lb0-f179.google.com ([209.85.217.179]:34421 "EHLO mail-lb0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751502AbcBNNIm (ORCPT ); Sun, 14 Feb 2016 08:08:42 -0500 Received: by mail-lb0-f179.google.com with SMTP id ap4so8155902lbd.1 for ; Sun, 14 Feb 2016 05:08:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=BoEYg7FxiFeGxivSGEPwfikkfs4AvWO+OiqlgJa57R8=; b=hpVUJopCXxalZluXGkeuUCI/Ccjohhl+Jp/drbcSjrWyb27nsNBREQQsEid2yTeKpK UaBHAG0hrP+Gr1nwozT8LLXqZ8YVBEiUGRIJzPBm44PAHJXycb9jlZ7sLsAlK1otjtb4 dnopehinGh0dTWbFA7zClJfGNoMmlv2zQ8ILQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=BoEYg7FxiFeGxivSGEPwfikkfs4AvWO+OiqlgJa57R8=; b=LAS2rnNOo24fVG+YSwU4Ugvj0PRAI7pGpfoaKIbvup7Pic3qZ+0bXqLZBwSILNOimM 5k8pNm+fj2v4uS7UmXjOA1EME7t50uTC0l14gR44MMWuGTumnkp/9NDuqlEPGAM11MJI xmI3VD6v15YZhhlYgzC6mOMjiVex0WshJXKIsg14tmZRFqDIBIaK+0Z18gFd+wjem41E hmqZBAViS+GAV/PJHX5jdBfQOczFat6ZiMouPJyYapRp59ufmKqUgCqTMHR4/JYiCZ3f 1DbK1uMwSE/j8rtrJjF9diEKeJpz6vHOPWgcSOnvxs9rTs22wELiZygGx7jaqansS8eu FHIQ== X-Gm-Message-State: AG10YOTFwnc0BpJdDFEa0ENQePHzMzbSfIxcGEeTUj0xtX1Tzmm4/J3XS8BBrrd5PEXyJTlU X-Received: by 10.112.147.198 with SMTP id tm6mr4585922lbb.105.1455455321412; Sun, 14 Feb 2016 05:08:41 -0800 (PST) Received: from localhost.localdomain.localdomain (c-3d95db54.01-192-6c756e10.cust.bredbandsbolaget.se. [84.219.149.61]) by smtp.gmail.com with ESMTPSA id k3sm3015167lbp.9.2016.02.14.05.08.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Feb 2016 05:08:40 -0800 (PST) From: Linus Walleij To: Thierry Reding , linux-pwm@vger.kernel.org, Lee Jones Cc: Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 1/2] pwm: add DT bindings for the STMPE PWM Date: Sun, 14 Feb 2016 14:08:37 +0100 Message-Id: <1455455317-17043-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 Sender: linux-pwm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pwm@vger.kernel.org This adds fairly standard device tree bindings for the STMPE PWM found in STMPE24xx multi-purpose expanders. Cc: devicetree@vger.kernel.org Acked-by: Rob Herring Signed-off-by: Linus Walleij --- Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt diff --git a/Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt b/Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt new file mode 100644 index 000000000000..c8b53f39ae31 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt @@ -0,0 +1,18 @@ +== ST STMPE PWM controller == + +This is a PWM block embedded in the ST Microelectronics STMPE +(ST Multi-Purpose Expander) chips. The PWM is registered as a +subdevices of the STMPE MFD device. + +Required properties: +- compatible: should be: + - "st,stmpe-pwm" +- #pwm-cells: should be 2. See pwm.txt in this directory for a description of + the cells format. + +Example: + +stmpe1_pwm0: stmpe_pwm { + compatible = "st,stmpe-pwm"; + #pwm-cells = <2>; +};