From patchwork Wed Feb 10 08:54:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 61619 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp2517718lbl; Wed, 10 Feb 2016 00:54:47 -0800 (PST) X-Received: by 10.66.162.9 with SMTP id xw9mr56696815pab.46.1455094487187; Wed, 10 Feb 2016 00:54:47 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ra2si3686160pab.209.2016.02.10.00.54.46; Wed, 10 Feb 2016 00:54:47 -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 S1752076AbcBJIyq (ORCPT + 6 others); Wed, 10 Feb 2016 03:54:46 -0500 Received: from mail-lf0-f41.google.com ([209.85.215.41]:35228 "EHLO mail-lf0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752090AbcBJIyp (ORCPT ); Wed, 10 Feb 2016 03:54:45 -0500 Received: by mail-lf0-f41.google.com with SMTP id l143so7370303lfe.2 for ; Wed, 10 Feb 2016 00:54:44 -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:in-reply-to:references; bh=JZw91hYbYSzHpppKmTFNo9gN+3GSKnbTVUaVa2+OaiI=; b=OPmBQF2CqkrB96JdKavwzTik1ujrgbp7GjHS895pNPyYyXPMVgoi0D42KHgk9pj7Ik nG0tH60WR0porbD2V+duZoQ/EqLFhKkCyoxI5f0zN4zx/43fYYnrrW2401MFXqiSk/c1 bZ2ge9XCkJqvBovZXBItPMaNI5YZsh0MQbfNo= 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:in-reply-to :references; bh=JZw91hYbYSzHpppKmTFNo9gN+3GSKnbTVUaVa2+OaiI=; b=U+8Cz9ceeaOad7ag9ghobLNQsH03bHUpTJVKXpGnmuc8kZytYC5MGkgeqgs/UDy1L1 JSE6mkSGSw+c5uMT+D1IBvVbbX9O71XihY6zEi5shc5aUaLj7lbpgUU28rdm0s2Jg5Bm tvUXHFTYkDDaGr1g7dBwJDJY/z7nsFjbbvh2FVjfC3RSdk5X5tJXjkxSPuaHKBVrJSIX 81DoD9iFnFSAPRwJmjbvqH+Kqzo5YWEBOA+ac0BgJ8lZ6BzK5N/1ECtlotmv1JEtHi1o FDbRmodc6aLjt/iTI4ROCZCNGBCKTKW0n1d/HGbVxKx0WyFmxNeLzua1dOrLuYthpGfd xjqw== X-Gm-Message-State: AG10YOT0FFobI3bKnEviD9AZrbmDZjo2N0+k7EXLQHRfldb1D72vAh7dWCA6nTGMlD/o1oQs X-Received: by 10.25.163.76 with SMTP id m73mr12908408lfe.39.1455094484129; Wed, 10 Feb 2016 00:54:44 -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 h8sm272151lbd.48.2016.02.10.00.54.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Feb 2016 00:54:43 -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/3] pwm: add DT bindings for the STMPE PWM Date: Wed, 10 Feb 2016 09:54:26 +0100 Message-Id: <1455094468-25521-2-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1455094468-25521-1-git-send-email-linus.walleij@linaro.org> References: <1455094468-25521-1-git-send-email-linus.walleij@linaro.org> 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 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 Acked-by: Rob Herring 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>; +};