From patchwork Wed Dec 13 14:43:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hao Zhang X-Patchwork-Id: 10110183 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 F2C2660352 for ; Wed, 13 Dec 2017 14:44:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D414628397 for ; Wed, 13 Dec 2017 14:44:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C7BC12877E; Wed, 13 Dec 2017 14:44:05 +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.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 640BF28397 for ; Wed, 13 Dec 2017 14:44:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From :Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=WswG/jdHj4+Aat0OVj89jIYBORcMmGmNlmWmWtyyy14=; b=ckcOO+C2QF3YtU SrMQhSYuofazzhe01zoMMTITP3LT70R3D9M/i2Pd1Id7Sa+K+g+WEAXnkJeoRlaxrzRm5tbIlcoX8 xNiOuGxCTBAmTzXyjk4vbn8p0/iU9doWuX3JFr/v5yVZBdBs0YLu/5s2zPBJTNuC1nAPYVDDvA1He Sx4KQfsHNLayIaps0xvydIG4PgidyImhPJKS3fitAgDJKK5lQ9rmZdrvW7I9MaOfkAZAG/vYWtujg Ssv1+2QpY/vvD3QxElulh8vkndyhmlcN7TnGYCaClPfq7RGZEl8/c5VAIsJs+z1cCDUwv9IjGoYDm qxTEYenxqwgw0J/QvIXg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eP8GL-0002E8-5Y; Wed, 13 Dec 2017 14:43:57 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eP8G4-0001wM-KI; Wed, 13 Dec 2017 14:43:42 +0000 Received: by mail-wm0-x243.google.com with SMTP id f140so5575969wmd.2; Wed, 13 Dec 2017 06:43:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=ewwCy2TTTLefHAtPdZ+LpncohbKe2JRhvCxEv+17bY4=; b=MM7rRn2v6TGuXQEudZpkc9Z4+Oc/OZU6m6hZlWVQQZw7e3lFL5cD4Ux00YF36DfNXR CF4LWWEpmd5E1vZXylwa6UeYgimoUipYfg642Z7NZk7VXlq0QswPnA2oEhCY3Y/VF4Yf Tv4OgvQNBNrYPoL+ZFf4uEaTjrEqGH1YAxCATp5MaXIZQuIJR1JRJm+72dDsiwXAafjh D9rczlE+3CzZ5X5/pwmm03BgqDTcsp3vVuFOIraQzSBS9PqiEUbTuX/BGna+9Kt+LHFk l/A7CiN849v/w+7T4UeYTzcJO77I9bNwDlOyX3h7J1+yBLzKVuW61YU9NEAcBbjAWaIj I/3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=ewwCy2TTTLefHAtPdZ+LpncohbKe2JRhvCxEv+17bY4=; b=TNAeitYEpr3LNydvFbeHOOpv2M2nb2l6hT4gvBxkuOARIMqww6NCMFtZWfzjxhRPLg OrtuIM+Fv4/pVxQsD+KYgHyrtkCcvchrTDg9FAngzgka4WkhwAy8R3PMmXdRCDqVehO9 GEk4aGl3Lmux0dNXrbYN1GdhpDHhplVGVexd7NSU9qcNDchVWPi9KwewnkI4/cB/vIj6 kSlhAqtqEvTy5DHesU+4b5+J5zcQPriE/jkVGPc9GzGEXOcn1B7izPGU2GCuX7yWrJQT XR04eDb8wJAQw/Ybxb4NC7RmtMtoijikzRSn3JxGfVlQ7fRv0pwpfgRrF/b+zuObD0rK DC0g== X-Gm-Message-State: AKGB3mLeGuPj+hlbhv/5ykQ3txCfuh2kKye1ZCNCpXziNPTuHxi3Hzbu 3dzhQLtGdJMVsmMf1YiLtGBe4emOAQM= X-Google-Smtp-Source: ACJfBov0PwIAhGrM7yK/BP2FvSx4uWRUoH4+avoTieSvlO2UX68XkGK07IM6zTeDJHemPrsMKRh53Q== X-Received: by 10.80.173.170 with SMTP id a39mr7938262edd.49.1513176198882; Wed, 13 Dec 2017 06:43:18 -0800 (PST) Received: from arx-s1 ([79.124.8.2]) by smtp.gmail.com with ESMTPSA id q3sm1523100edd.61.2017.12.13.06.43.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Dec 2017 06:43:18 -0800 (PST) Date: Wed, 13 Dec 2017 22:43:09 +0800 From: hao_zhang To: thierry.reding@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, wens@csie.org, linus.walleij@linaro.org, maxime.ripard@free-electrons.com Subject: [PATCH v4 1/4] dt-bindings: pwm: binding allwinner sun8i R40/V40/T3. Message-ID: <20171213144309.GA18167@arx-s1> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171213_064340_823725_7D54692A X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org, hao5781286@gmail.com, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds allwinner R40, V40, T3 pwm binding documents. Signed-off-by: hao_zhang Acked-by: Maxime Ripard --- Documentation/devicetree/bindings/pwm/pwm-sun8i.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-sun8i.txt diff --git a/Documentation/devicetree/bindings/pwm/pwm-sun8i.txt b/Documentation/devicetree/bindings/pwm/pwm-sun8i.txt new file mode 100644 index 0000000..76750d8 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/pwm-sun8i.txt @@ -0,0 +1,18 @@ +Allwinner sun8i R40/V40/T3 SoC PWM controller + +Required properties: +- compatible: should be one of: +- "allwinner,sun8i-r40-pwm" +- reg: physical base address and length of the controller's registers +- #pwm-cells: should be 3. See pwm.txt in this directory for a description of +the cells format. +- clocks: From common clock binding, handle to the parent clock. + +Example: + +pwm: pwm@1c23400 { + compatible = "allwinner,sun8i-r40-pwm"; + reg = <0x01c23400 0x154>; + clocks = <&osc24M>; + #pwm-cells = <3>; +};