public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dan Sneddon <dan.sneddon@microchip.com>
To: <u-boot@lists.denx.de>
Cc: Dan Sneddon <dan.sneddon@microchip.com>
Subject: [PATCH 2/3] dt-bindings: pwm: pwm-at91: Add PWM bindings for A5D2
Date: Mon, 20 Sep 2021 16:28:45 -0700	[thread overview]
Message-ID: <20210920232846.25954-3-dan.sneddon@microchip.com> (raw)
In-Reply-To: <20210920232846.25954-1-dan.sneddon@microchip.com>

Document the bindings needed for the PWM device on the SAMA5D2.

Signed-off-by: Dan Sneddon <dan.sneddon@microchip.com>
---
 doc/device-tree-bindings/pwm/pwm-at91.txt | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 doc/device-tree-bindings/pwm/pwm-at91.txt

diff --git a/doc/device-tree-bindings/pwm/pwm-at91.txt b/doc/device-tree-bindings/pwm/pwm-at91.txt
new file mode 100644
index 0000000000..a03da404f5
--- /dev/null
+++ b/doc/device-tree-bindings/pwm/pwm-at91.txt
@@ -0,0 +1,16 @@
+Microchip AT91 PWM controller for SAMA5D2
+
+Required properties:
+  - compatible: Should be "atmel,sama5d2-pwm"
+  - reg: Physical base address and length of the controller's registers.
+  - clocks: Should contain a clock identifier for the PWM's parent clock.
+  - #pwm-cells: Should be 3.
+
+Example:
+
+pwm0: pwm@f802c000 {
+	compatible = "atmel,sama5d2-pwm";
+	reg = <0xf802c000 0x4000>;
+	clocks = <&pwm_clk>;
+	#pwm-cells = <3>;
+};
-- 
2.17.1


  parent reply	other threads:[~2021-09-20 23:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-20 23:28 [PATCH 0/3] Add SAMA5D2 PWM Support Dan Sneddon
2021-09-20 23:28 ` [PATCH 1/3] pwm: Add PWM driver for SAMA5D2 Dan Sneddon
2021-09-20 23:28 ` Dan Sneddon [this message]
2021-09-20 23:28 ` [PATCH 3/3] ARM:dts: sama5d2: Add pwm definition Dan Sneddon
2021-10-12 12:59 ` [PATCH 0/3] Add SAMA5D2 PWM Support Eugen.Hristev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210920232846.25954-3-dan.sneddon@microchip.com \
    --to=dan.sneddon@microchip.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox