From patchwork Tue Sep 8 15:14:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 53273 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by patches.linaro.org (Postfix) with ESMTPS id E865922A09 for ; Tue, 8 Sep 2015 15:14:17 +0000 (UTC) Received: by wisv5 with SMTP id v5sf38794825wis.0 for ; Tue, 08 Sep 2015 08:14:17 -0700 (PDT) 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 :mime-version:content-type:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=VYxa+RgoV350zANa0aGrdWSUFCuGWtlaQqJIV9Si3Sg=; b=hLDbS5R5KZ4Cf7Vaa43FvffCafhUzdIdymzrj3eIvU6+oZPKb4esCGST+ktnwQYKWC VupqEVd+EtrF8n9YYFQmYEjytstJbPOCkPwhMwmJPHM/72VYX2g0U+tvtIQt6zEdI//b iFuB9veDzfBrX0FTiZTqDTe+4cKLDJu9k/jIlUs7IZdBpXk89jkkPe/lgP7ViUj1x3ga B1mIsH41w1MkHZZok0N9D01xtmy92qFhrCTp15K1Dcwj8HNCLos+ATq68NwuoiVZz5Ne n+JrQfHhELc/wFbu7AuR2mRhIGbgVi6ddFA/DFtv3Db9HhPNkwSreqaw375/v1KxgL5M AEmA== X-Gm-Message-State: ALoCoQnHSvXvknklxSut7W+0LNljSpaJTZVpHibu2fOYhMPlWxfZelyzECnlZbnAbH34j6c/yoyY X-Received: by 10.194.115.135 with SMTP id jo7mr6757328wjb.7.1441725257269; Tue, 08 Sep 2015 08:14:17 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.105 with SMTP id r9ls685327lar.15.gmail; Tue, 08 Sep 2015 08:14:17 -0700 (PDT) X-Received: by 10.152.45.97 with SMTP id l1mr22997916lam.113.1441725257099; Tue, 08 Sep 2015 08:14:17 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id ay7si3505213lbc.60.2015.09.08.08.14.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Sep 2015 08:14:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by lbbmp1 with SMTP id mp1so55367824lbb.1 for ; Tue, 08 Sep 2015 08:14:17 -0700 (PDT) X-Received: by 10.152.5.133 with SMTP id s5mr1084675las.19.1441725256926; Tue, 08 Sep 2015 08:14:16 -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.59.35 with SMTP id w3csp1038520lbq; Tue, 8 Sep 2015 08:14:13 -0700 (PDT) X-Received: by 10.68.191.232 with SMTP id hb8mr59270390pbc.122.1441725253712; Tue, 08 Sep 2015 08:14:13 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ld8si5946298pbc.203.2015.09.08.08.14.12; Tue, 08 Sep 2015 08:14:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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 S1755015AbbIHPOL (ORCPT + 5 others); Tue, 8 Sep 2015 11:14:11 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:54523 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754537AbbIHPOJ (ORCPT ); Tue, 8 Sep 2015 11:14:09 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id t88FE8eF029009; Tue, 8 Sep 2015 10:14:08 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t88FE8RS016961; Tue, 8 Sep 2015 10:14:08 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Tue, 8 Sep 2015 10:14:01 -0500 Received: from psplinux063.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 t88FE5QV019126; Tue, 8 Sep 2015 10:14:06 -0500 From: Sekhar Nori To: Thierry Reding CC: , Linux OMAP Mailing List , Vignesh R Subject: [PATCH] pwm: tipwmss: enable on TI DRA7x and AM437x Date: Tue, 8 Sep 2015 20:44:05 +0530 Message-ID: <637af4e1754204dd81677a1290517202eec7f011.1441725097.git.nsekhar@ti.com> X-Mailer: git-send-email 2.4.4.408.g16da57c MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: nsekhar@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) smtp.mailfrom=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: , From: Vignesh R TIPWMSS is present on TI's DRA7x and AM437x SoCs. Enable its usage. Instead of adding each SoC individually, use the more generic ARCH_OMAP2PLUS instead. Signed-off-by: Vignesh R Signed-off-by: Sekhar Nori --- drivers/pwm/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index b1541f40fd8d..c446f367f18a 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig @@ -319,7 +319,7 @@ config PWM_TEGRA config PWM_TIECAP tristate "ECAP PWM support" - depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX + depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX help PWM driver support for the ECAP APWM controller found on AM33XX TI SOC @@ -329,7 +329,7 @@ config PWM_TIECAP config PWM_TIEHRPWM tristate "EHRPWM PWM support" - depends on SOC_AM33XX || ARCH_DAVINCI_DA8XX + depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX help PWM driver support for the EHRPWM controller found on AM33XX TI SOC @@ -339,7 +339,7 @@ config PWM_TIEHRPWM config PWM_TIPWMSS bool - default y if SOC_AM33XX && (PWM_TIECAP || PWM_TIEHRPWM) + default y if (ARCH_OMAP2PLUS) && (PWM_TIECAP || PWM_TIEHRPWM) help PWM Subsystem driver support for AM33xx SOC.