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: 61919 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp550858lbl; Sun, 14 Feb 2016 05:08:44 -0800 (PST) X-Received: by 10.66.102.8 with SMTP id fk8mr16360801pab.12.1455455324578; Sun, 14 Feb 2016 05:08:44 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o5si35529164pfi.36.2016.02.14.05.08.44; Sun, 14 Feb 2016 05:08:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751504AbcBNNIn (ORCPT + 6 others); Sun, 14 Feb 2016 08:08:43 -0500 Received: from mail-lb0-f170.google.com ([209.85.217.170]:34422 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751312AbcBNNIm (ORCPT ); Sun, 14 Feb 2016 08:08:42 -0500 Received: by mail-lb0-f170.google.com with SMTP id ap4so8155914lbd.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=OThETe761W3aZx/EpYuUpx5PrpkXb2vT4CUlHOU2leTdwjHCG/rcq/sDoqn+EE+1lb /92TuN/w9wDkHcfQyPNtDyaNM885sriwc5uA9Im9HwwZiiimgqctYW91q19Le1o0IX5/ sytII/oUvLp4IYgrV5Vn6BHCvQT3xO6a2RSZFAFKdoFkbsJSKO6PBsgEZCk9X0TrV2EM cmpYRkm2uaJZLXEoY4G3dfjTcJLg18s1y1DR4jlODZTeR6zj5lE7g5q5DXdCeDgUILC/ x0nE1e+uSZb2opVqlRP9MowtzFZUJt18EC6Upj/DLfPs9rokjL7gih2KHPYW03j25Rmk zFRg== X-Gm-Message-State: AG10YOTX/OkdAM4GUNrMX0oz9tRt5+e9FrHkn1jMKiBRd0WzdwkJimW4EHwLlOjs7xFIYl90 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>; +};