From patchwork Mon Nov 18 18:54:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Kryger X-Patchwork-Id: 21587 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C4723202DA for ; Mon, 18 Nov 2013 18:55:33 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id jw12sf1584232veb.11 for ; Mon, 18 Nov 2013 10:55:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=Uw5fhBQ4X/x2JkJ2DzuUolMlPaNwV19N0e+2WtPlFL0=; b=EdduYIoGNqmSed5Jjpfqgl55QShj1BJtxZJjWrO5X+IrjZG84eCm7g7RM6N2uFBc56 E1tjf087oU6tpcrZl51Ua3gtXUGMcav/K8lWzsJtWMrBAethJmLYtqY6Ps8WtnHwrOiE Nv9GQKtXk3hOdGTzPppGdvBVpu54NuZKUo1OerVFeJ768me/LGquaeFPUoPhNLpTbAr3 guTCKkr47y5KCLV0XjHw7bF+Qrat52zjx+bcNeUwFtuzTg1quwviuPariPnImyxnz39c DACXp2LPAmlkBIrQPqYRg80vWOODDCxBoHQSEFAVcwvXPiFFPHSAeF+ZEBPu9NERv2ip TsWg== X-Gm-Message-State: ALoCoQnH3SjSnuGPwBF94nrew53KP5jFNVBU1TLqb4/XuG3GJZUwiJshlBBj+XTcN0IdykTNzco2 X-Received: by 10.236.163.67 with SMTP id z43mr11256897yhk.27.1384800933379; Mon, 18 Nov 2013 10:55:33 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.35.18 with SMTP id d18ls1582421qej.14.gmail; Mon, 18 Nov 2013 10:55:33 -0800 (PST) X-Received: by 10.220.64.69 with SMTP id d5mr17152391vci.11.1384800933243; Mon, 18 Nov 2013 10:55:33 -0800 (PST) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id th8si534833vdc.50.2013.11.18.10.55.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Nov 2013 10:55:33 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id c14so5387322vea.35 for ; Mon, 18 Nov 2013 10:55:33 -0800 (PST) X-Received: by 10.52.182.39 with SMTP id eb7mr13690732vdc.6.1384800933169; Mon, 18 Nov 2013 10:55:33 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp222846vcz; Mon, 18 Nov 2013 10:55:32 -0800 (PST) X-Received: by 10.224.0.139 with SMTP id 11mr36304576qab.34.1384800932096; Mon, 18 Nov 2013 10:55:32 -0800 (PST) Received: from mms2.broadcom.com (mms2.broadcom.com. [216.31.210.18]) by mx.google.com with ESMTP id k1si1785254qao.186.2013.11.18.10.55.31 for ; Mon, 18 Nov 2013 10:55:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of tkryger@broadcom.com designates 216.31.210.18 as permitted sender) client-ip=216.31.210.18; Received: from [10.9.208.55] by mms2.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.5)); Mon, 18 Nov 2013 10:54:50 -0800 X-Server-Uuid: 4500596E-606A-40F9-852D-14843D8201B2 Received: from IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) by IRVEXCHCAS07.corp.ad.broadcom.com (10.9.208.55) with Microsoft SMTP Server (TLS) id 14.1.438.0; Mon, 18 Nov 2013 10:55:19 -0800 Received: from mail-sj1-12.sj.broadcom.com (10.10.10.20) by IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) with Microsoft SMTP Server id 14.1.438.0; Mon, 18 Nov 2013 10:55:19 -0800 Received: from mps-infra-lab3.broadcom.com ( mps-infra-lab3.sj.broadcom.com [10.19.114.109]) by mail-sj1-12.sj.broadcom.com (Postfix) with ESMTP id A8729207D1; Mon, 18 Nov 2013 10:55:18 -0800 (PST) Received: by mps-infra-lab3.broadcom.com (Postfix, from userid 1004) id 78DD14589FE; Mon, 18 Nov 2013 10:55:18 -0800 (PST) From: "Tim Kryger" To: "Thierry Reding" , "Rob Herring" , "Pawel Moll" , "Mark Rutland" , "Stephen Warren" , "Ian Campbell" , "Rob Landley" , "Christian Daudt" , "Grant Likely" cc: "Tim Kryger" , "Linux PWM List" , "Device Tree List" , "Linux Doc List" , "Linux Kernel Mailing List" , "Broadcom Kernel Feedback List" , "Linux ARM Kernel List" , "Linaro Patches List" Subject: [PATCH 3/5] ARM: dts: Declare the PWM for bcm11351 (bcm281xx) Date: Mon, 18 Nov 2013 10:54:59 -0800 Message-ID: <1384800901-21711-4-git-send-email-tim.kryger@linaro.org> X-Mailer: git-send-email 1.8.0.1 In-Reply-To: <1384800901-21711-1-git-send-email-tim.kryger@linaro.org> References: <1384800901-21711-1-git-send-email-tim.kryger@linaro.org> MIME-Version: 1.0 X-WSS-ID: 7E94BDF04RS9134893-01-01 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: tim.kryger@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add the device tree node for the PWM on bcm11351 SoCs. Signed-off-by: Tim Kryger Reviewed-by: Alex Elder Reviewed-by: Markus Mayer --- arch/arm/boot/dts/bcm11351.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index 1246885..72ba903 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi @@ -146,6 +146,14 @@ status = "disabled"; }; + pwm: pwm@3e01a000 { + compatible = "brcm,bcm11351-pwm", "brcm,kona-pwm"; + reg = <0x3e01a000 0xcc>; + clocks = <&pwm_clk>; + #pwm-cells = <2>; + status = "disabled"; + }; + clocks { bsc1_clk: bsc1 { compatible = "fixed-clock";