From patchwork Thu Dec 21 11:02:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 122527 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp724790qgn; Thu, 21 Dec 2017 03:03:02 -0800 (PST) X-Google-Smtp-Source: ACJfBoth7wy6nNHsk23WZty4T1qDa3pfG5QSfQhZM+4+E5K58bGz3JUApspUlGBYDpKkkFXx2tsY X-Received: by 10.98.76.90 with SMTP id z87mr10267538pfa.194.1513854182035; Thu, 21 Dec 2017 03:03:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513854182; cv=none; d=google.com; s=arc-20160816; b=l5c0w1EfKng+q1aT1WrquQywQFfLMXc1uxj/vkTSbLYKzcLVmn40v6QruBLTE4XwqT m7GiLRwzWlGdoTgZ96qOgQ6FbxZn6nM+rblvdNB7lH38Jtc75H+BZlByndpHBUd5LcXD ukzNpjXaZPwFuwrS5x+tvosDtwsuqZefbReD2rncYa1Dv3DAq1gt5N2E24uwtnkWW2ft BKbGRQpkWdAT8lo04nhC4ga6uzMD1bXYn9QH26+WcxAlpF55fUEnLd7KVGGbZONL1Spn J2UZ0CkH4bm/0mQX7zkpGfoZsi/Zxbcsf0VJxk0xMndA1d9w1GBwY+Bq/n/OKa3Epy9y nFsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:cc:references:in-reply-to:references:in-reply-to :message-id:date:subject:to:from:delivered-to :arc-authentication-results; bh=0Q7/Xum7puKeJQC87x3vV2G3J9LY5JE7bLH/B4CMKlw=; b=aPYRXVlq8haeLMpPWMHaAejQNP6ReFH4jwLn68KAxQKzDcffJOgsDtnuBN4wwAz+q2 pcZhWwU90nBG55eyM5/Tdxb+Pew63/0mFPpbEF4HH4Fv2J4l2LO1XLXxBTHgnf7Uw38W 9rNsB11TeLzxUqkQ9hR8ak7kXJwqIhWBoWrcEBB59l+oQ9K6f1KATdaTes9UKPnB7r3t 8ZsYN35/E8tJtBt+mMoe+4BGn+xlN1DekyyATtYm9i+NHirPGudwQzIIUmntxLC40+iI sYXM/F/kVWuf1vErkNz6wAodDzffZ9oRD6HZBmNlCsVtguVL2SRcn62Y3mSpNf5tKN37 BDuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id g1si3578417pgo.637.2017.12.21.03.03.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Dec 2017 03:03:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BC1176E609; Thu, 21 Dec 2017 11:02:58 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by gabe.freedesktop.org (Postfix) with ESMTP id AB0036E603 for ; Thu, 21 Dec 2017 11:02:54 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id AD3DC20981; Thu, 21 Dec 2017 12:02:52 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 7C1C020383; Thu, 21 Dec 2017 12:02:42 +0100 (CET) From: Maxime Ripard To: Daniel Vetter , David Airlie , Chen-Yu Tsai , Maxime Ripard Subject: [PATCH v5 10/12] ARM: dts: sun8i: a83t: Enable the PWM Date: Thu, 21 Dec 2017 12:02:36 +0100 Message-Id: <0660061a425cbe3ea6426f5271457d6dde9313f1.1513854122.git-series.maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: References: In-Reply-To: References: Cc: Mark Rutland , Thomas Petazzoni , jernej.skrabec@siol.net, plaes@plaes.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Rob Herring , thierry.reding@gmail.com, Laurent Pinchart , linux-arm-kernel@lists.infradead.org, icenowy@aosc.io X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The A83T has the same PWM block than the H3. Add it to our DT. Reviewed-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun8i-a83t.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index e4db38c717d9..ae34d22d6d47 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -440,6 +440,11 @@ bias-pull-up; }; + pwm_pin: pwm-pin { + pins = "PD28"; + function = "pwm"; + }; + spdif_tx_pin: spdif-tx-pin { pins = "PE18"; function = "spdif"; @@ -497,6 +502,15 @@ status = "disabled"; }; + pwm: pwm@1c21400 { + compatible = "allwinner,sun8i-a83t-pwm", + "allwinner,sun8i-h3-pwm"; + reg = <0x01c21400 0x400>; + clocks = <&osc24M>; + #pwm-cells = <3>; + status = "disabled"; + }; + uart0: serial@1c28000 { compatible = "snps,dw-apb-uart"; reg = <0x01c28000 0x400>;