From patchwork Thu Apr 9 14:13:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamel BOUHARA X-Patchwork-Id: 11481829 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 56FAE17D4 for ; Thu, 9 Apr 2020 14:14:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 40660214DB for ; Thu, 9 Apr 2020 14:14:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727441AbgDIOOI (ORCPT ); Thu, 9 Apr 2020 10:14:08 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:56889 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726552AbgDIOOI (ORCPT ); Thu, 9 Apr 2020 10:14:08 -0400 Received: from localhost (unknown [78.193.40.249]) (Authenticated sender: kamel.bouhara@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id D617D200004; Thu, 9 Apr 2020 14:14:04 +0000 (UTC) From: Kamel Bouhara To: William Breathitt Gray , Rob Herring , Mark Rutland , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , linux-arm-kernel@lists.infradead.org Cc: Thomas Petazzoni , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, Kamel Bouhara Subject: [PATCH v2 1/3] ARM: at91: add atmel tcb capabilities Date: Thu, 9 Apr 2020 16:13:59 +0200 Message-Id: <20200409141401.321222-2-kamel.bouhara@bootlin.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200409141401.321222-1-kamel.bouhara@bootlin.com> References: <20200409141401.321222-1-kamel.bouhara@bootlin.com> MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Some atmel socs have extra tcb capabilities that allow using a generic clock source or enabling a quadrature decoder. Signed-off-by: Kamel Bouhara --- Changes from v2: - Fixed first patch not applying on mainline include/soc/at91/atmel_tcb.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.25.0 diff --git a/include/soc/at91/atmel_tcb.h b/include/soc/at91/atmel_tcb.h index c3c7200ce151..7e47ace9255c 100644 --- a/include/soc/at91/atmel_tcb.h +++ b/include/soc/at91/atmel_tcb.h @@ -39,6 +39,8 @@ struct clk; */ struct atmel_tcb_config { size_t counter_width; + bool has_gclk; + bool has_qdec; }; /**