From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45C67C2D0F2 for ; Wed, 1 Apr 2020 08:52:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 14AD02080C for ; Wed, 1 Apr 2020 08:52:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NILh1vsU"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="Bz5kj7th" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 14AD02080C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4ULFVQ11COOpf9RFOlVv6mJx/ZL7FpfHA8oktK//jiQ=; b=NILh1vsUGgXilf F2bANopzh13PxSd47YcIeOHHao0rfEn6UinLKig92rZhlNy1nKKNkbhx7YCFGEsBvprgsOwZ/YYo6 oxGAQWMo14roHrfgpuywa/Er0Bg1kvM0963hrcp7a6fO4QoStSfW/PGfysUbATptEZNgVw3Y1Cva8 TATo7uEkuDfpyIixQmH80AKUvKleIq5+Aepp80SHg0mcJL2zMPLAer0oDQfmD+jUPpn7GGYl+evqF P0tItzPOEbIvpmNohp70+lKEVrAJ6iwzcrMHwi9FKRK2u3NKFdqvqwjkdHc8jgt5FseONxleLUq7E m0Z6cG8pxRIz6EEd7MXQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jJZ6i-0008Pw-3U; Wed, 01 Apr 2020 08:52:20 +0000 Received: from mx07-00178001.pphosted.com ([62.209.51.94]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jJZ6f-0008PJ-Fx for linux-arm-kernel@lists.infradead.org; Wed, 01 Apr 2020 08:52:18 +0000 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0318mpWe009234; Wed, 1 Apr 2020 10:52:08 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=STMicroelectronics; bh=vu4qQWypR0pvt6vGhb+hu2zbxKSw9Xfk1eNnrYVVjv0=; b=Bz5kj7thRXHC1yRZ1OgULStYl0DaHIznaEan7Ase11XZ1sc9x8sL7teQc1JFPLYC+Im5 ifwjAyXEU4WWfr+xelyILT9/TCw9fs3cPj4b0qa5KGOxye+GGeXJR2ULwEPb4X47SX9t MzH+MNq+jLX4/u0PMZlqgmMm0yb05L+/kiP/6hsNpPkusGJE8HITAXqbm9fZA8rkMC0T WJVyPRhnF1NTRjmxdz2YmS8UYxJjaSgfyGQBuH1Q1dPA/EUG4Y+YQBpQT7Qyoj1YaE7K OH/5wYFFf9UgZdHli+ae7HRf7epZfstEz92URSCMMXHK8pHxRS0xREIzT9ISQbWMlG7K mQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 302y53x4nc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Apr 2020 10:52:08 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2C7B510002A; Wed, 1 Apr 2020 10:52:08 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 1D83021D6CB; Wed, 1 Apr 2020 10:52:08 +0200 (CEST) Received: from [10.211.14.17] (10.75.127.46) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 1 Apr 2020 10:52:06 +0200 Subject: Re: [PATCH v6 3/6] mfd: stm32: Add defines to be used for clkevent purpose To: Benjamin Gaignard , , , , , , , References: <20200401083909.18886-1-benjamin.gaignard@st.com> <20200401083909.18886-4-benjamin.gaignard@st.com> From: Fabrice Gasnier Message-ID: Date: Wed, 1 Apr 2020 10:52:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200401083909.18886-4-benjamin.gaignard@st.com> Content-Language: en-US X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG4NODE2.st.com (10.75.127.11) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-03-31_07:2020-03-31, 2020-03-31 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200401_015217_822536_72C2C5EF X-CRM114-Status: GOOD ( 14.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 4/1/20 10:39 AM, Benjamin Gaignard wrote: > Add defines to be able to enable/clear irq and configure one shot mode. > > Signed-off-by: Benjamin Gaignard > Acked-by: Lee Jones > --- > include/linux/mfd/stm32-lptimer.h | 5 +++++ > 1 file changed, 5 insertions(+) Hi Benjamin, Acked-by: Fabrice Gasnier Thanks, Fabrice > > diff --git a/include/linux/mfd/stm32-lptimer.h b/include/linux/mfd/stm32-lptimer.h > index 605f62264825..90b20550c1c8 100644 > --- a/include/linux/mfd/stm32-lptimer.h > +++ b/include/linux/mfd/stm32-lptimer.h > @@ -27,10 +27,15 @@ > #define STM32_LPTIM_CMPOK BIT(3) > > /* STM32_LPTIM_ICR - bit fields */ > +#define STM32_LPTIM_ARRMCF BIT(1) > #define STM32_LPTIM_CMPOKCF_ARROKCF GENMASK(4, 3) > > +/* STM32_LPTIM_IER - bit flieds */ > +#define STM32_LPTIM_ARRMIE BIT(1) > + > /* STM32_LPTIM_CR - bit fields */ > #define STM32_LPTIM_CNTSTRT BIT(2) > +#define STM32_LPTIM_SNGSTRT BIT(1) > #define STM32_LPTIM_ENABLE BIT(0) > > /* STM32_LPTIM_CFGR - bit fields */ > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel