Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753020AbbHRLjk (ORCPT ); Tue, 18 Aug 2015 07:39:40 -0400 Received: from down.free-electrons.com ([37.187.137.238]:33577 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751786AbbHRLiL (ORCPT ); Tue, 18 Aug 2015 07:38:11 -0400 From: Antoine Tenart To: sebastian.hesselbarth@gmail.com, thierry.reding@gmail.com Cc: Antoine Tenart , zmxu@marvell.com, jszhang@marvell.com, linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 2/5] Documentation: bindings: document the Berlin PWM driver Date: Tue, 18 Aug 2015 13:38:05 +0200 Message-Id: <1439897888-10921-3-git-send-email-antoine.tenart@free-electrons.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1439897888-10921-1-git-send-email-antoine.tenart@free-electrons.com> References: <1439897888-10921-1-git-send-email-antoine.tenart@free-electrons.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1439 Lines: 43 Following the addition of a Berlin PWM driver, this patch adds the corresponding documentation. Signed-off-by: Antoine Tenart Acked-by: Sebastian Hesselbarth --- Documentation/devicetree/bindings/pwm/pwm-berlin.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-berlin.txt diff --git a/Documentation/devicetree/bindings/pwm/pwm-berlin.txt b/Documentation/devicetree/bindings/pwm/pwm-berlin.txt new file mode 100644 index 000000000000..8f9bc11f8c4c --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/pwm-berlin.txt @@ -0,0 +1,19 @@ +Berlin PWM controller + +PWM IP found in Marvell Berlin SoCs. + +Required properties: +- compatible: should be "marvell,berlin-pwm" +- reg: physical base address and length of the controller's registers +- clocks: phandle to the input clock +- #pwm-cells: should be 3. See pwm.txt in this directory for a description of + the cells format. + +Example: + +pwm: pwm@f7f20000 { + compatible = "marvell,berlin-pwm"; + reg = <0xf7f20000 0x40>; + clocks = <&chip_clk CLKID_CFG>; + #pwm-cells = <3>; +} -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/