Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3548468ybl; Sun, 1 Sep 2019 15:59:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqzBT6JfAJyv8JwABi4zaouFKJerS7rsq+bjjRah3gpbvvRJwwiLrg4Jvc2CZhxdJDzxsOQS X-Received: by 2002:a17:902:424:: with SMTP id 33mr27269481ple.34.1567378796236; Sun, 01 Sep 2019 15:59:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567378796; cv=none; d=google.com; s=arc-20160816; b=KoyrbdMTpYa0h9I95p3OC/7yKbFJ97xFgEhA7E2z9hfgDM6Fq+1YR6DiD6lLQXADRU tkEM5uIzIcBKRVZNXMUjBbdx9EkU9EkayHY4B4Zd9MoJFS2YmR5KVW9eFZ5604kkY54g Ewfl/seOeS59VDYLZ4Uv48+cowGKgfZqKtwwX/OpbLGZYreA8yTuyXwugCveoVphv6Yz 03CjwRWWyO5dOnqmm1JZhQzBE8su5hoABSYFIrTOOfOakV9t+S4m0ChlLUiVX33TSXho /19X12wL3WL7hdw+7bi30O++q42ueY6u6sSlOG3rJpyS1aPbah2OOi+ezCsE8Jx7XfNB 8Ppw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=JrDIoiYt0QKp0vkHM7uUyefbzL6N+98RnvUjU6Hug0Y=; b=eMAYOIEbHnNqFyux9oFdfsHl9dxlwH+9WkLrfjlPEbroS6f5+jK6oMpxyB+ftz858U mthwg4dFEpbkm4uaJCa2t2UWkuW6e/EE4gt+q2jBNivEgD+VfYqLTYP5lx1s7rgonpY4 lK+4d9SfqbrG0vGEPGuA1gvMUlx3FLV5D/PBQI/EGXkQMmJXeHa25KTcGeawo+rwF86B s3DeMNAK9aWcMBYcTqZjwawPPvVCe9bPV0j/a9lI5Ewoy1H8kgemmxonzNMJobScHqVl trUmN2e2x3Y+D+IC70dftIaDaRH4Xc5dAEtKpVinYrszbuJYQz3hOylYsNBkXPMIO9VD bhGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b="rpM/eJ/g"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f15si10470781plm.292.2019.09.01.15.59.41; Sun, 01 Sep 2019 15:59:56 -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; Authentication-Results: mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b="rpM/eJ/g"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729242AbfIAW6v (ORCPT + 99 others); Sun, 1 Sep 2019 18:58:51 -0400 Received: from vern.gendns.com ([98.142.107.122]:37432 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729199AbfIAW6u (ORCPT ); Sun, 1 Sep 2019 18:58:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=References:In-Reply-To:Message-Id:Date:Subject :Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=JrDIoiYt0QKp0vkHM7uUyefbzL6N+98RnvUjU6Hug0Y=; b=rpM/eJ/gP7xic2H+C5tc13Q25 FopoUmmxFiv9MnAC0HirjaIz9R7fWsL8L9zVWD/73xWJc71wl9jbUBzoS1DNpoQG743fUEv6Wyddv 9Su8WTX5C8/vy9GEsurSF8p8sqgcVTvSAo77t9IFJGTxHGpiDRami3ONajKANucVclKjrFvD8a0Ga 7EKGtk3fqYLF+Q6GVD1l0YUSMI+UtQXnkQCjiR1/Utwgabg0D/pOjSKzE7nXMyHK7zRzkJVJptESG H1IiPEu3MWePwEaa2UOgGHDY55I6Ziycap45A9YQxu+tWaYSNb4mWpTkOMMmRpdgfbS+woO3DKYU5 a6/9lzVuQ==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:58390 helo=freyr.lechnology.com) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1i4Yo4-000351-5r; Sun, 01 Sep 2019 18:58:48 -0400 From: David Lechner To: linux-iio@vger.kernel.org, linux-omap@vger.kernel.org Cc: David Lechner , Rob Herring , Mark Rutland , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , William Breathitt Gray , Thierry Reding , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org Subject: [PATCH v3 4/6] ARM: dts: am33xx: Add nodes for eQEP Date: Sun, 1 Sep 2019 17:58:25 -0500 Message-Id: <20190901225827.12301-5-david@lechnology.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190901225827.12301-1-david@lechnology.com> References: <20190901225827.12301-1-david@lechnology.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds new nodes for the Texas Instruments Enhanced Quadrature Encoder Pulse (eQEP) module in the PWM subsystem on AM33XX. Signed-off-by: David Lechner --- v3 changes: - rename eqep@ to counter@ v2 changes: - clocks renamed to "sysclkout" arch/arm/boot/dts/am33xx-l4.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/am33xx-l4.dtsi b/arch/arm/boot/dts/am33xx-l4.dtsi index 3b1fb2ba4dff..8dd5fd9eb862 100644 --- a/arch/arm/boot/dts/am33xx-l4.dtsi +++ b/arch/arm/boot/dts/am33xx-l4.dtsi @@ -1908,6 +1908,15 @@ status = "disabled"; }; + eqep0: counter@180 { + compatible = "ti,am3352-eqep"; + reg = <0x180 0x80>; + clocks = <&l4ls_gclk>; + clock-names = "sysclkout"; + interrupts = <79>; + status = "disabled"; + }; + ehrpwm0: pwm@200 { compatible = "ti,am3352-ehrpwm", "ti,am33xx-ehrpwm"; @@ -1961,6 +1970,15 @@ status = "disabled"; }; + eqep1: counter@180 { + compatible = "ti,am3352-eqep"; + reg = <0x180 0x80>; + clocks = <&l4ls_gclk>; + clock-names = "sysclkout"; + interrupts = <88>; + status = "disabled"; + }; + ehrpwm1: pwm@200 { compatible = "ti,am3352-ehrpwm", "ti,am33xx-ehrpwm"; @@ -2014,6 +2032,15 @@ status = "disabled"; }; + eqep2: counter@180 { + compatible = "ti,am3352-eqep"; + reg = <0x180 0x80>; + clocks = <&l4ls_gclk>; + clock-names = "sysclkout"; + interrupts = <89>; + status = "disabled"; + }; + ehrpwm2: pwm@200 { compatible = "ti,am3352-ehrpwm", "ti,am33xx-ehrpwm"; -- 2.17.1