From patchwork Tue Jul 7 15:06:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 50824 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 90046229FC for ; Tue, 7 Jul 2015 15:07:36 +0000 (UTC) Received: by wgfk9 with SMTP id k9sf62134198wgf.1 for ; Tue, 07 Jul 2015 08:07:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=olglw4z06ysStcjFoIX30ZEFjDBOjOI0txB73grssAY=; b=Y4RdGK9SMupBZKR86zZ4Xw0Xmi70YuIA3RNRr38k9ba+8DHrO8mf22TeFEEjh3yQ49 UB43C+23a3+Q9C8wj/vu+RidZ4IgFelYjlCwJl49FbmfHtRAue57jABO6L+bdXqJIJ4V wkLE1SaEOwsbXFHk9nwndy9x8d1Nq7nUbzpavlWOLdRU2kobgKH0rSi3hn4x9eR972uN 9xF6hQ5Q/2xq55k+4AvuZ1fuvqehn+RzmHhm6xiB1Q31b7uIYLzJp0t5qXa1BszWbIKt z70CcyQ3+Crj20u4/R4mlosTkb/jvtf7BCK4VY4eu3yD0dSbsOJf6G+oXdsZrxZooPr8 Is2g== X-Gm-Message-State: ALoCoQnwd0bADePH6G2+lMVHyWBduw27AyiXJpfk9cKDFM1VogEwBC8x4YA96k75klBc+WA4jR8g X-Received: by 10.112.85.69 with SMTP id f5mr2371849lbz.23.1436281655892; Tue, 07 Jul 2015 08:07:35 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.181.34 with SMTP id dt2ls765999lac.14.gmail; Tue, 07 Jul 2015 08:07:35 -0700 (PDT) X-Received: by 10.152.4.163 with SMTP id l3mr4534394lal.35.1436281655717; Tue, 07 Jul 2015 08:07:35 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id r10si18327318lar.147.2015.07.07.08.07.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jul 2015 08:07:35 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by lagx9 with SMTP id x9so199391957lag.1 for ; Tue, 07 Jul 2015 08:07:35 -0700 (PDT) X-Received: by 10.112.166.2 with SMTP id zc2mr4430939lbb.29.1436281654325; Tue, 07 Jul 2015 08:07:34 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp2452498lbb; Tue, 7 Jul 2015 08:07:32 -0700 (PDT) X-Received: by 10.70.0.202 with SMTP id 10mr9749014pdg.41.1436281652266; Tue, 07 Jul 2015 08:07:32 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pd1si35165366pdb.79.2015.07.07.08.07.31; Tue, 07 Jul 2015 08:07:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932450AbbGGPH1 (ORCPT + 29 others); Tue, 7 Jul 2015 11:07:27 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:34916 "EHLO mail-wg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932082AbbGGPHH (ORCPT ); Tue, 7 Jul 2015 11:07:07 -0400 Received: by wgjx7 with SMTP id x7so170634804wgj.2 for ; Tue, 07 Jul 2015 08:07:06 -0700 (PDT) X-Received: by 10.180.218.227 with SMTP id pj3mr64403344wic.59.1436281626100; Tue, 07 Jul 2015 08:07:06 -0700 (PDT) Received: from localhost.localdomain (host86-178-207-130.range86-178.btcentralplus.com. [86.178.207.130]) by mx.google.com with ESMTPSA id x5sm1360101wif.21.2015.07.07.08.07.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Jul 2015 08:07:05 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@stlinux.com, broonie@kernel.org, lgirdwood@gmail.com, Lee Jones Subject: [PATCH v2 5/9] ARM: STi: STiH407: Add PWM Regulator node Date: Tue, 7 Jul 2015 16:06:49 +0100 Message-Id: <1436281613-899-6-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1436281613-899-1-git-send-email-lee.jones@linaro.org> References: <1436281613-899-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 64a1a26..3c1bd5d 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -65,6 +65,17 @@ interrupts = ; }; + pwm_regulator: pwm-regulator { + compatible = "pwm-regulator"; + pwms = <&pwm1 3 8448>; + regulator-name = "CPU_1V0_AVS"; + regulator-min-microvolt = <784000>; + regulator-max-microvolt = <1299000>; + regulator-always-on; + max-duty-cycle = <255>; + status = "okay"; + }; + soc { #address-cells = <1>; #size-cells = <1>;