From patchwork Mon Jul 11 19:11:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Franklin Cooper X-Patchwork-Id: 9223997 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3881F604DB for ; Mon, 11 Jul 2016 19:13:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 24E9B2756B for ; Mon, 11 Jul 2016 19:13:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1985F27E3E; Mon, 11 Jul 2016 19:13:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A7B732756B for ; Mon, 11 Jul 2016 19:13:27 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bMgcn-0008AG-If; Mon, 11 Jul 2016 19:12:13 +0000 Received: from mail-oi0-f67.google.com ([209.85.218.67]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bMgci-0007sx-Mv for linux-arm-kernel@lists.infradead.org; Mon, 11 Jul 2016 19:12:10 +0000 Received: by mail-oi0-f67.google.com with SMTP id u68so5009357oie.3 for ; Mon, 11 Jul 2016 12:11:47 -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; bh=DpHg9eFqEpUqyQWstzxsBE03Wi6aJfyBSAdSq+hGL8k=; b=H8AYqQJUV0O2Yn980pNjahQQNVosVONZuAw6mtgGIRsM5t/n/aaA982H2KN/GT4m4p ZHrlMGl5TXXjbGecJWDEZ2tfnWVuvGzWqT1TED6t8v+jijL5INK+/HDQjz88/OT+lNGI BVHhq3oodFuuswTeMXtCC20947ntFK9B7AA7ucJIIOnPY+IP868UOqlPc3otO/7OKnnh HS6CSpjLLu9humh2X5Zyp40WpZyZLJL4dv+2uz4/N4qFMp/8LW+GEamDmwEVm3qhXSTJ CeUU2tsvzAjm209y8hkQhY72aRE4ARJDm8SvraHAy5r3t4OjaamTiAX1pI3mO0X7Hha1 pmzQ== X-Gm-Message-State: ALyK8tKBK8aG+mXGiyHmFNTVPG2Fv7KEqP60qFDZUpriMy4g3l2dNciDMEV6eyFRPahnow== X-Received: by 10.157.48.106 with SMTP id w39mr11564511otd.108.1468264307195; Mon, 11 Jul 2016 12:11:47 -0700 (PDT) Received: from beast-server.fios-router.home ([108.19.207.229]) by smtp.gmail.com with ESMTPSA id b5sm441147ote.28.2016.07.11.12.11.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Jul 2016 12:11:46 -0700 (PDT) From: Franklin S Cooper Jr To: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, nsekhar@ti.com Subject: [PATCH v2] ARM: dts: da850: Add new ECAP and EPWM bindings Date: Mon, 11 Jul 2016 14:11:46 -0500 Message-Id: <1468264306-3806-1-git-send-email-fcooper@ti.com> X-Mailer: git-send-email 2.7.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160711_121208_860780_0B8A7999 X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Cooper Jr., Franklin" MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: "Cooper Jr., Franklin" For some devices, the PWMSS is a parent of eCAP and ePWM and provided the functional clocks for those submodules. The ti,am33xx-ecap and ti,am33xx-ehrpwm were based on this parent child relationship where the functional clock would be grabbed from the module's parent. However, DA850 doesn't have a PWMSS and the eCAP and ePWM provides their functional clock themselves. Therefore, prefer the new binding that doesn't assume this parent child relationship. Signed-off-by: Franklin S Cooper Jr Acked-by: Rob Herring --- v2 changes: Fix commit message This patch handles the da850 portion that wouldn't apply from the following patch that has been accepted: https://patchwork.kernel.org/patch/9005661/ arch/arm/boot/dts/da850.dtsi | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 25f0f8e..09cf663 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -274,31 +274,36 @@ status = "disabled"; }; ehrpwm0: pwm@300000 { - compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm"; + compatible = "ti,da850-ehrpwm", "ti,am3352-ehrpwm", + "ti,am33xx-ehrpwm"; #pwm-cells = <3>; reg = <0x300000 0x2000>; status = "disabled"; }; ehrpwm1: pwm@302000 { - compatible = "ti,da850-ehrpwm", "ti,am33xx-ehrpwm"; + compatible = "ti,da850-ehrpwm", "ti,am3352-ehrpwm", + "ti,am33xx-ehrpwm"; #pwm-cells = <3>; reg = <0x302000 0x2000>; status = "disabled"; }; ecap0: ecap@306000 { - compatible = "ti,da850-ecap", "ti,am33xx-ecap"; + compatible = "ti,da850-ecap", "ti,am3352-ecap", + "ti,am33xx-ecap"; #pwm-cells = <3>; reg = <0x306000 0x80>; status = "disabled"; }; ecap1: ecap@307000 { - compatible = "ti,da850-ecap", "ti,am33xx-ecap"; + compatible = "ti,da850-ecap", "ti,am3352-ecap", + "ti,am33xx-ecap"; #pwm-cells = <3>; reg = <0x307000 0x80>; status = "disabled"; }; ecap2: ecap@308000 { - compatible = "ti,da850-ecap", "ti,am33xx-ecap"; + compatible = "ti,da850-ecap", "ti,am3352-ecap", + "ti,am33xx-ecap"; #pwm-cells = <3>; reg = <0x308000 0x80>; status = "disabled";