From patchwork Mon Jul 14 14:33:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 369657 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 828D314011B for ; Tue, 15 Jul 2014 00:36:49 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756007AbaGNOgJ (ORCPT ); Mon, 14 Jul 2014 10:36:09 -0400 Received: from mail-ig0-f170.google.com ([209.85.213.170]:64974 "EHLO mail-ig0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755741AbaGNOdx (ORCPT ); Mon, 14 Jul 2014 10:33:53 -0400 Received: by mail-ig0-f170.google.com with SMTP id h3so1742784igd.3 for ; Mon, 14 Jul 2014 07:33:52 -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=U/msVShud8CZDFMFGMUKsqTpACPNlgHSV15wuA69KUI=; b=ipzFcIWNO33Su1O6GL2C5wZ80t46bQAWdeR3iowa+4vuslarasyBlrwt+Oz5E3TVjZ oJfWPm9fzUecS7WvCSnLUcRAMc5FIaApnd5xJ7h52h3ILUr5601ZEnBgrKsj88dECI3t 5Smt13nexPebG49PBSHZIYfoAJNZ1/DccYENGKRzKyKzRx0OnX2LAWB2yX4QHRtq5D9L /+6RdHCL8i9ogfeOvL9xiXid57EkmC+E7kxiSMguZF6ZHl5FDd4ezY19xWE/LKPeyYkw ZhTtIJRNdBxGIPlIy09NHDFFSxcr861rF6eMa0dAMQ1MWGOC61ag4nfSk2Rv5di1HmMt iBxQ== X-Gm-Message-State: ALoCoQkrYuehl6HhJ/CmUT4BTp7TdT0ErkUomOlW98ZN+MjSCeM6ixVotvjEY2zmJfLlLBaMxN6i X-Received: by 10.50.1.38 with SMTP id 6mr26064555igj.39.1405348432658; Mon, 14 Jul 2014 07:33:52 -0700 (PDT) Received: from localhost.localdomain (host109-148-237-85.range109-148.btcentralplus.com. [109.148.237.85]) by mx.google.com with ESMTPSA id q11sm25317390igr.7.2014.07.14.07.33.50 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Jul 2014 07:33:52 -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, devicetree@vger.kernel.org, ajitpal.singh@st.com Subject: [PATCH v2 04/11] ARM: stih416-b2020e: Enable PWM on the B2020 Rev-E Date: Mon, 14 Jul 2014 15:33:25 +0100 Message-Id: <1405348412-7352-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1405348412-7352-1-git-send-email-lee.jones@linaro.org> References: <1405348412-7352-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: Ajit Pal Singh Signed-off-by: Lee Jones --- 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"; + }; }; };