From patchwork Wed Oct 3 17:06:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Raghavendra, Vignesh" X-Patchwork-Id: 978455 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-pwm-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="YOs2c2ex"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42QMr72nrrz9sBN for ; Thu, 4 Oct 2018 03:06:47 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726941AbeJCX4A (ORCPT ); Wed, 3 Oct 2018 19:56:00 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:44286 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726862AbeJCX4A (ORCPT ); Wed, 3 Oct 2018 19:56:00 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id w93H6RId121566; Wed, 3 Oct 2018 12:06:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1538586387; bh=6LsUnc+fsTqX4SM6dAFhhMPHj3LI8jizpIAUaaMHhno=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=YOs2c2exXtIc0RYHJhJfcKXx0uYpxBvzZY/HiWPJ81hnjixJDvwVQiWbuhFnORciO I8A0AsL6jQHLJDc7GO5CtVUECRKicpZ0lnxXjFa6KBO9DuB164mrsie5SfTR694F9J 6OdTPNGr3dpVvQj6Qgd1peSm5L07qYPVOPnFScek= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w93H6RbC023319; Wed, 3 Oct 2018 12:06:27 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 3 Oct 2018 12:06:27 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 3 Oct 2018 12:06:27 -0500 Received: from a0132425.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w93H6L3F010144; Wed, 3 Oct 2018 12:06:25 -0500 From: Vignesh R To: Thierry Reding , Rob Herring , Mark Rutland CC: , , , Vignesh R , Linux ARM Mailing List Subject: [PATCH 1/2] dt-bindings: pwm: tiecap: Add TI AM654 SoC specific compatible Date: Wed, 3 Oct 2018 22:36:57 +0530 Message-ID: <20181003170658.3835-2-vigneshr@ti.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181003170658.3835-1-vigneshr@ti.com> References: <20181003170658.3835-1-vigneshr@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-pwm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pwm@vger.kernel.org Add a new compatible string "ti,am654-ecap" to support PWM ECAP IP of TI AM654 SoC. Signed-off-by: Vignesh R Signed-off-by: Sekhar Nori Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pwm/pwm-tiecap.txt b/Documentation/devicetree/bindings/pwm/pwm-tiecap.txt index 06a363d9ccef..b9a1d7402128 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-tiecap.txt +++ b/Documentation/devicetree/bindings/pwm/pwm-tiecap.txt @@ -7,6 +7,7 @@ Required properties: for da850 - compatible = "ti,da850-ecap", "ti,am3352-ecap", "ti,am33xx-ecap"; for dra746 - compatible = "ti,dra746-ecap", "ti,am3352-ecap"; for 66ak2g - compatible = "ti,k2g-ecap", "ti,am3352-ecap"; + for am654 - compatible = "ti,am654-ecap", "ti,am3352-ecap"; - #pwm-cells: should be 3. See pwm.txt in this directory for a description of the cells format. The PWM channel index ranges from 0 to 4. The only third cell flag supported by this binding is PWM_POLARITY_INVERTED. From patchwork Wed Oct 3 17:06:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Raghavendra, Vignesh" X-Patchwork-Id: 978457 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-pwm-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="qtUBcRFZ"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42QMrJ5SdTz9sBh for ; Thu, 4 Oct 2018 03:06:56 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727287AbeJCX4F (ORCPT ); Wed, 3 Oct 2018 19:56:05 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:58506 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726871AbeJCX4C (ORCPT ); Wed, 3 Oct 2018 19:56:02 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id w93H6Uw8086551; Wed, 3 Oct 2018 12:06:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1538586390; bh=McduHk/KM6AL1WzEFuq5qTh/x8QBREeZd+6QMbWqmlw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=qtUBcRFZcqJAlu8BN7DZ+RvIlePA4EylnbfCvFcW/khARNRpoYW65+MDq1hRF1eE3 +dODeD6zRTv3bfDath4h2v79f1uUMAvqZCLLzPDVJIGS9cSTCDq3oaVNrlCtPfvcwA ej4jUh1EW55bIWnurT+4+1qOYvW6N3DhzHOENTVs= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w93H6T02023372; Wed, 3 Oct 2018 12:06:30 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 3 Oct 2018 12:06:29 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 3 Oct 2018 12:06:30 -0500 Received: from a0132425.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w93H6L3G010144; Wed, 3 Oct 2018 12:06:27 -0500 From: Vignesh R To: Thierry Reding , Rob Herring , Mark Rutland CC: , , , Vignesh R , Linux ARM Mailing List Subject: [PATCH 2/2] pwm: Kconfig: Enable TI ECAP driver for ARCH_K3 Date: Wed, 3 Oct 2018 22:36:58 +0530 Message-ID: <20181003170658.3835-3-vigneshr@ti.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181003170658.3835-1-vigneshr@ti.com> References: <20181003170658.3835-1-vigneshr@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-pwm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pwm@vger.kernel.org K3 devices have the same ECAP IP as OMAP SoC. Enable driver to be built for K3 devices. Signed-off-by: Vignesh R Signed-off-by: Sekhar Nori --- drivers/pwm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 504d252716f2..0c7bc6f554cf 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig @@ -447,7 +447,7 @@ config PWM_TEGRA config PWM_TIECAP tristate "ECAP PWM support" - depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE + depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE || ARCH_K3 help PWM driver support for the ECAP APWM controller found on AM33XX TI SOC