From patchwork Tue Apr 5 21:22:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 65132 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp698646lbc; Tue, 5 Apr 2016 14:23:17 -0700 (PDT) X-Received: by 10.98.17.132 with SMTP id 4mr33143476pfr.16.1459891393902; Tue, 05 Apr 2016 14:23:13 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m27si41629232pfj.88.2016.04.05.14.23.13; Tue, 05 Apr 2016 14:23:13 -0700 (PDT) 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; dkim=neutral (body hash did not verify) header.i=@linaro.org; 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; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752218AbcDEVWv (ORCPT + 7 others); Tue, 5 Apr 2016 17:22:51 -0400 Received: from mail-lf0-f47.google.com ([209.85.215.47]:35795 "EHLO mail-lf0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752811AbcDEVWu (ORCPT ); Tue, 5 Apr 2016 17:22:50 -0400 Received: by mail-lf0-f47.google.com with SMTP id c126so20097174lfb.2 for ; Tue, 05 Apr 2016 14:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=63yB0zzcc8FNolQ1T5YclE+eJq79ZQIZqX6oZYWSglU=; b=VOuPJ/fESN8CSMb16mR/17wV4YVOPVBhDL5z2HRmugMfViRwbf4Tw1ywdFtVhtA7Tt hb+ZDBsdJnPBh+479sT8tDZp60Qz6XiS6M6D7wqzDHGKoabw0BWYmAbHx4VSoYSEm5lM xVB2gM+RoDdBua7D/I4RI19pSyYwAqKSjepVI= 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=63yB0zzcc8FNolQ1T5YclE+eJq79ZQIZqX6oZYWSglU=; b=YZAXu80oabQ2HAILk2Uv4OqCdAg3wFYSgxeiJuK2Z1Tv0yf7DmN7lYHxiSOA61+jP2 Dmavvujz5KAaS2T5luoT8RfCvKWfNlRNe5avfgp9QV4mmQYmbrptnLt5GRea+nUBIpm/ PjO109gFyhG2Hivtb7x+Y47j0rff+nYAwKRd7BbJpTHkJX70/WYektSQ/ubSyWL0nKYw WEHzXCoG+Gdz9qV4WgWHzHiBaY071i9LdSTVXbnsqnExZBNXxniMOjMkjqJ3E0DU+Jtp dbhzl3//Mad1UWzrhfzEKPn4PbX7bKEtYKx3BkKiFHU5p2oRWNq/NA7eR1jsE6GdG0Ah MYkg== X-Gm-Message-State: AD7BkJI7obP2J1rxJKJo3zrVwaqoB1eirwFsO13fnveOk+xsBu2OPsZxqO05ZBmZ5eZrDOAR X-Received: by 10.25.78.80 with SMTP id c77mr7112161lfb.62.1459891353343; Tue, 05 Apr 2016 14:22:33 -0700 (PDT) Received: from localhost.localdomain.localdomain (c-927b71d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.123.146]) by smtp.gmail.com with ESMTPSA id jm10sm5922405lbc.34.2016.04.05.14.22.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Apr 2016 14:22:32 -0700 (PDT) From: Linus Walleij To: Thierry Reding , linux-pwm@vger.kernel.org, Lee Jones Cc: Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 1/2 v2] pwm: add DT bindings for the STMPE PWM Date: Tue, 5 Apr 2016 23:22:29 +0200 Message-Id: <1459891349-28305-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.11 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 --- ChangeLog v1->v2: - Give a simpler, non-contextual node name for the PWM. --- 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.11 -- 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..cb209646bf13 --- /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: + +pwm0: pwm { + compatible = "st,stmpe-pwm"; + #pwm-cells = <2>; +};