From patchwork Sat Aug 20 18:34:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9291791 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AF8A760574 for ; Sat, 20 Aug 2016 18:35:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A7A3F28B71 for ; Sat, 20 Aug 2016 18:35:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9BE9C28B75; Sat, 20 Aug 2016 18:35:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2EDC228B71 for ; Sat, 20 Aug 2016 18:35:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bbB7T-0005xf-RL; Sat, 20 Aug 2016 18:35:47 +0000 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bbB6w-0004SS-0H for linux-amlogic@lists.infradead.org; Sat, 20 Aug 2016 18:35:15 +0000 Received: by mail-wm0-x233.google.com with SMTP id o80so85093395wme.1 for ; Sat, 20 Aug 2016 11:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1oBnOCnYOd+42fXPN/3I2Ydkf1+aEWXGX7HHaKkCU8k=; b=ezZfhLKgdzMlthETyC64TF/x+J1yfQ1K830fp5gs4ZAaVhKbBYDnrfD7XAvl4mYGD5 nzCEB9TqoJZM8gVrl1qFSO9CCu30Cih0v/7gHMypBZ8j9QmVkietwWOU/3lnIMQxmQp9 I02N9tlp0QnsBkAh45KEhSE06FOwKuu7nGAFl2Vw7/JIV2LRYMGB4CW5CT2QA2To07XK 7NyjsColDzbLoQd4qXirhz5KbJcYFUOz9r0GgvZsv0E7QJ6qjQcPgFEHLpmh3nYUgXuT sJPDdXsKqZDy9FsylpoP8kh5yyFe3fSrUsI7VejKSqF1CgmIEcY8dMks02KstoD2ghUh Ydeg== 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=1oBnOCnYOd+42fXPN/3I2Ydkf1+aEWXGX7HHaKkCU8k=; b=MDOzFsbEr97BnIxkp5pNRb4yvS5zxTALmpNBieUcrVvu51QtABJy/EM0pNBvrDswNn KG40ppnFXs5/XjDXMshD4928VO+mJt3kDOMW0Nc0c3I8HDV1sAuoQXGlvDUGvTroi2I9 Rd0YcCv5fNbfCIxC5nFNXJvzntEdC2ceR5GsS6WAhfjwSWWcYnVDfLS/hUjQ5Qn6OHQE Sws3risOORFiMW8cAgsW4ovw4Ejvy8ks6Tzb6SaANsM/EWNfLYbetF9n4PB5Dq5nWCsM 3QrufM8QTJQWMrVUN4Ok1zq7rybmK9PnOp/HSPnhuFcP3kT4A4hG1Js/95isbVIAmxxz HNlQ== X-Gm-Message-State: AEkooutUh3JhI40oaWp62KeTJBAc4uXXvjdrYAhNHqTwq1rN4xkGmBn4m+hDlLNnwZetLRif X-Received: by 10.194.82.99 with SMTP id h3mr11014271wjy.9.1471718092232; Sat, 20 Aug 2016 11:34:52 -0700 (PDT) Received: from localhost.localdomain (home.amouriers.starnux.net. [82.228.250.61]) by smtp.gmail.com with ESMTPSA id 17sm10732658wmf.6.2016.08.20.11.34.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 20 Aug 2016 11:34:51 -0700 (PDT) From: Neil Armstrong To: thierry.reding@gmail.com, carlo@caione.org, khilman@baylibre.com Subject: [RESEND PATCH v2 2/4] dt-bindings: pwm: Add bindings for Meson PWM Controller Date: Sat, 20 Aug 2016 20:34:41 +0200 Message-Id: <1471718083-11516-3-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1471718083-11516-1-git-send-email-narmstrong@baylibre.com> References: <1471718083-11516-1-git-send-email-narmstrong@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160820_113514_320090_711D98DC X-CRM114-Status: GOOD ( 10.33 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-pwm@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add bindings for the Amlogic PWM Controller in Meson8b and GXBB SoCs. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/pwm/pwm-meson.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-meson.txt diff --git a/Documentation/devicetree/bindings/pwm/pwm-meson.txt b/Documentation/devicetree/bindings/pwm/pwm-meson.txt new file mode 100644 index 0000000..e06aed0 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/pwm-meson.txt @@ -0,0 +1,21 @@ +Amlogic Meson PWM Controller +================================= + +Required properties: +- compatible: Shall contain "amlogic,meson8b-pwm" or "amlogic,meson-gxbb-pwm". +- #pwm-cells: Should be 3. See pwm.txt in this directory for a description of + the cells format. + +Optional properties: +- clocks: Could contain one or two parents clocks phandle for each of the two pwm channels. +- clock-names: Could contain at least the "clkin0" and/or "clkin1" names. + +Example: +pwm_ab: pwm@8550 { + compatible = "amlogic,meson-gxbb-pwm"; + reg = <0x0 0x08550 0x0 0x10>; + #pwm-cells = <3>; + status = "disabled"; + clocks = <&xtal>, <&xtal>; + clock-names = "clkin0", "clkin1"; +}