From patchwork Wed Jun 10 07:57: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: 49679 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 678A820C81 for ; Wed, 10 Jun 2015 07:59:42 +0000 (UTC) Received: by wizw5 with SMTP id w5sf10445292wiz.2 for ; Wed, 10 Jun 2015 00:59:41 -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=c8gOd+foITYV6tZfn/7e6l32mF8LLg+GUOM4xyeiep8=; b=kaFr2ucHVTV8HAYZmgI93LaU7+xKosVrtIWNy0+VoKfOG9ZPvyU6kcq26shFkgwwKw W2yssJS6Y/JJ5WFIuaoDH4FjNgDpzNBEA5yXehBaEx1mBDB3oPHF5qIPU0UzqQYHMZWB 14HCD9Um0s50VnK+0yEk/kDBOHCm+w5p1yqOuyZXEIAqHnLx+fbqQwhrPcPtoz1/VcNO 3lRKD+Oor5crTyAgHuDKpwrHPvAf8rrNDQzo1j8UqkJ9EsKZyDJovlKcaOmAzU8kgW6f aAjVwt1F5n3C2r9ynZfq+lbgJy1nyppODfntNo8SioV/EhoocS6CItiwXZEgbq8XiFrQ N2MQ== X-Gm-Message-State: ALoCoQlWq9L3IbkwBX4ENAw9P2DkWgIyFHuox3UWxTTe3JIWTrWF3z3sH4EwRg6z2TNP3dAcTAsl X-Received: by 10.180.11.101 with SMTP id p5mr2695551wib.3.1433923181745; Wed, 10 Jun 2015 00:59:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.202 with SMTP id y10ls192146lal.1.gmail; Wed, 10 Jun 2015 00:59:41 -0700 (PDT) X-Received: by 10.112.126.42 with SMTP id mv10mr2003489lbb.58.1433923181543; Wed, 10 Jun 2015 00:59:41 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id l1si8050485lbj.175.2015.06.10.00.59.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jun 2015 00:59:41 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by laar3 with SMTP id r3so27226401laa.3 for ; Wed, 10 Jun 2015 00:59:41 -0700 (PDT) X-Received: by 10.152.36.161 with SMTP id r1mr1945671laj.88.1433923181266; Wed, 10 Jun 2015 00:59:41 -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 hn6csp3156372lbb; Wed, 10 Jun 2015 00:59:40 -0700 (PDT) X-Received: by 10.66.139.41 with SMTP id qv9mr3477690pab.35.1433923179427; Wed, 10 Jun 2015 00:59:39 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hu9si3812891pdb.252.2015.06.10.00.59.38; Wed, 10 Jun 2015 00:59:39 -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 S933559AbbFJH7c (ORCPT + 28 others); Wed, 10 Jun 2015 03:59:32 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:38357 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933067AbbFJH6B (ORCPT ); Wed, 10 Jun 2015 03:58:01 -0400 Received: by wibdq8 with SMTP id dq8so38434244wib.1 for ; Wed, 10 Jun 2015 00:58:00 -0700 (PDT) X-Received: by 10.194.63.228 with SMTP id j4mr3887498wjs.38.1433923080737; Wed, 10 Jun 2015 00:58:00 -0700 (PDT) Received: from localhost.localdomain (host81-129-170-231.range81-129.btcentralplus.com. [81.129.170.231]) by mx.google.com with ESMTPSA id c3sm13135187wja.3.2015.06.10.00.57.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Jun 2015 00:57:59 -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: [REBASED 1/5] ARM: STi: STiH407: Add PWM Regulator node Date: Wed, 10 Jun 2015 08:57:49 +0100 Message-Id: <1433923073-907-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1433923073-907-1-git-send-email-lee.jones@linaro.org> References: <1433923073-907-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.49 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 e096105..be201aa 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>;