From patchwork Tue Oct 16 06:04:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 10643133 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E7D051057 for ; Tue, 16 Oct 2018 06:05:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6DF229504 for ; Tue, 16 Oct 2018 06:05:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CACB1298D6; Tue, 16 Oct 2018 06:05:02 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4438829504 for ; Tue, 16 Oct 2018 06:05:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5eubJ6MKgITquP81ItVWo2i3MHoIC78cg6BB/antpQU=; b=tbO/gScSLSjdRE q7NmCIGPyx8+N3rbiA6uqUJFDKb0Rndql+KvNC4uoqzjdjWppM4aT9RdegOkZIGrKedDPuY8O0mNR IFqpcgjTtQhpCbFyrwRrNuHAgEXc/TtT7s+9doyG0kfkdL2IBek9BblNVczkLj8V092BSuzxuDn6U fGE95ovoTnZPYQAimMFbe1youi18SYtqZG6xZ0/fq/SzmjPKrUqGxrrk6c3nw7P1lhDNIlVfVr3nC 43z7YHxP8CGC0O9X5bCaXohfEfs72TffS/NpeTf/KwVLsSDxgdvsB0ECOBM3YDni9jexmjCtNY76D R646d3id8pFWso729S9w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gCITM-0005AI-BM; Tue, 16 Oct 2018 06:04:52 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gCIS1-0004XO-UF for linux-arm-kernel@lists.infradead.org; Tue, 16 Oct 2018 06:03:32 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id w9G63J4K045382; Tue, 16 Oct 2018 01:03:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1539669799; bh=bGL9tg1iQ7771FPd/rXQTrEE194mVUB29ZiqXa4qRlc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=YdSVxBdaO05CLtV9b2ZslCg2Ozw831DDdgFb4QJ95jn7SYJy5rVqxbuoQg0wlZowO ROkN1iEp3PqCTuFBrB+Vuu2B/nGELEVu92Qe/7Nlg8qSuuQlC9aLk6MbnrZ4z+MWG5 lFee02cx3cE6XuLmJpb8B1DBMTMEShP1ppZkCxaU= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9G63J8r017253; Tue, 16 Oct 2018 01:03:19 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 16 Oct 2018 01:03:19 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 16 Oct 2018 01:03:19 -0500 Received: from a0132425.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9G63Bol027391; Tue, 16 Oct 2018 01:03:17 -0500 From: Vignesh R To: Thierry Reding Subject: [PATCH v2 2/2] pwm: Kconfig: Enable TI ECAP driver for ARCH_K3 Date: Tue, 16 Oct 2018 11:34:02 +0530 Message-ID: <20181016060402.18756-3-vigneshr@ti.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181016060402.18756-1-vigneshr@ti.com> References: <20181016060402.18756-1-vigneshr@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181015_230330_034046_C73543A4 X-CRM114-Status: GOOD ( 15.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-pwm@vger.kernel.org, Vignesh R , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Davis , Rob Herring , Linux ARM Mailing List 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 K3 devices have the same ECAP IP as OMAP SoCs. Enable driver to be built for K3 devices. Also, drop reference to AM33xx in help text, as IP is found on multiple TI SoCs. Signed-off-by: Vignesh R --- v2: Update help text to drop AM33xx as suggested by Andrew drivers/pwm/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 504d252716f2..27e5dd47a01f 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig @@ -447,10 +447,9 @@ 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 + PWM driver support for the ECAP APWM controller found on TI SOCs To compile this driver as a module, choose M here: the module will be called pwm-tiecap.