From patchwork Wed Jun 18 14:52:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 361536 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 891EB140080 for ; Thu, 19 Jun 2014 00:55:08 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752072AbaFROyu (ORCPT ); Wed, 18 Jun 2014 10:54:50 -0400 Received: from mail-ie0-f180.google.com ([209.85.223.180]:49942 "EHLO mail-ie0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751407AbaFROxP (ORCPT ); Wed, 18 Jun 2014 10:53:15 -0400 Received: by mail-ie0-f180.google.com with SMTP id rl12so772069iec.25 for ; Wed, 18 Jun 2014 07:53:15 -0700 (PDT) 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=scPH31FNeJ25aAHQXN4GgHDEzNGHYgLq4Qo2RIaMbMk=; b=AhHT7OC2DanLpOBsKxX23vf2+p/Xv9dxuYdYMszg/uNaD2MsJbp0NEofPvvDcdYuoJ wgI3c6khgjhAzgxLlUMJ5wN0XqLjzjL1y8ZRQR5+Y0P/d/3GlUf6JYxHxJIMRU+43yxR RyPkFSSLh6f2FnW/80RM7A8kY1guY+G57SeisSqUrdApSRAvag+DRZ7TL6FfylWxkf0E WJIBTlTcLcb0RDCMk89YNfZ9uqLUPR+ovT+6RTN231/Ku/YhNkeze9ZeEsYtWyBV/rsh hdV1fG4XrUKeOPl969JkWvAXVuEdnybtuwn1UyJo7KIncm3xSP1yqgkW+u9FcIO0/JWo 06lw== X-Gm-Message-State: ALoCoQnYhAHVd5hPiXV/DdRTvlwIHAokaP2161uoSFnP9BWOHvmLWoINKUPTueyeI2zoKr/6uGaV X-Received: by 10.50.4.102 with SMTP id j6mr5155334igj.42.1403103195214; Wed, 18 Jun 2014 07:53:15 -0700 (PDT) Received: from localhost.localdomain (host109-148-235-194.range109-148.btcentralplus.com. [109.148.235.194]) by mx.google.com with ESMTPSA id t16sm38979351igr.14.2014.06.18.07.53.12 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Jun 2014 07:53:14 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: lee.jones@linaro.org, kernel@stlinux.com, thierry.reding@gmail.com, linux-pwm@vger.kernel.org, maxime.coquelin@st.com, patrice.chotard@st.com, srinivas.kandagatla@gmail.com, devicetree@vger.kernel.org, ajitpal.singh@st.com Subject: [PATCH 4/7] ARM: stih416-b2020e: Enable PWM on the B2020 Rev-E Date: Wed, 18 Jun 2014 15:52:49 +0100 Message-Id: <1403103172-19856-4-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1403103172-19856-1-git-send-email-lee.jones@linaro.org> References: <1403103172-19856-1-git-send-email-lee.jones@linaro.org> Sender: linux-pwm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pwm@vger.kernel.org All the infrastructure is now in place for ST's PWM controller. This patch takes the final step and enables the IP on the 2020 Rev-E development platform. Signed-off-by: Lee Jones Acked-by: Peter Griffin --- arch/arm/boot/dts/stih416-b2020e.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stih416-b2020e.dts b/arch/arm/boot/dts/stih416-b2020e.dts index ba0fa2c..07cbf5b 100644 --- a/arch/arm/boot/dts/stih416-b2020e.dts +++ b/arch/arm/boot/dts/stih416-b2020e.dts @@ -31,5 +31,15 @@ ethernet1: dwmac@fef08000 { snps,reset-gpio = <&PIO0 7>; }; + + /* SAS PWM Module */ + pwm0: pwm@fed10000 { + status = "okay"; + }; + + /* SBC PWM Module */ + pwm1: pwm@fe510000 { + status = "okay"; + }; }; };