Message ID | 20230315161626.247-1-Ibrahim.Tilki@analog.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2423986wrd; Wed, 15 Mar 2023 09:22:41 -0700 (PDT) X-Google-Smtp-Source: AK7set9g8Wjf531GSbah4OPzB9yKKKaPX2HdNxKGT4dVtB9nm7YbwC8sNA8fvhseJByEs13+OEAS X-Received: by 2002:a17:902:e88b:b0:1a1:595a:8e25 with SMTP id w11-20020a170902e88b00b001a1595a8e25mr187278plg.20.1678897361300; Wed, 15 Mar 2023 09:22:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678897361; cv=none; d=google.com; s=arc-20160816; b=p75jyhoK5INzt6U8HLcGTY+48iALlM7PjfFCKhAeiiInwqCunp0gH3DN3RjcwMuZuk 2q1qQv0UmsfSxQNESjFtvIE8aNSFMEzwByXvJ8ghxwqa03qermH8dqbuVME5pT8FMpJ7 MUO2etLtt8++DP8+UsGiCp/PhS4Ax/yWv4rlkBG8l+R9nFivkHF1O3Nlkh+T6owg9TZJ kMglCfIPQ5GyyBxScvoOggKHw7KkvV5s5t8HKuTtcuMvDzxdVjYmBpht7KyrUHUgLMsq j07YCilKnpzaJ53hFyP6Dcf11tA93lXCTU5rfabeHjO0enfCD0t3JvWbXFVvIDEBafQ0 dCXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=c7c8vlGuvC6vzeCiZ73rkIL90OnA55kVIo0LAp3LvQc=; b=vH/7YK6ewIyEzGRUbkfsSs7dmZiySDhbMQPWVvnS1ryMmyOyoye+UAYyVa+6oE26Xg H1I9kdmUoLrCKviJS7wUjONlpeLUzJpopnHpNDlO0qEOhKkY4M6J11WIpOZaFc1cvQsb bavzN1I0CJGJN/uJt/dAOY5hDAZz5563UYNfoL4Xywsnl5LJPMyHri04dVsFRrDZAy71 och2An7fh4ZzMcLv0svbUBKRIDYMhaeypBTCZaAYESVkQJ5esJP4YJ1HRgR2xrkeKFyf 3leHvKhN7QnZGnw2zV8puMbMyCk9TxgjjwN9SGD7EoHCXUIgsfPkj8oqPshKXbCHkBX2 DfGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y7-20020a170902b48700b001990dd91a9csi5315210plr.199.2023.03.15.09.22.28; Wed, 15 Mar 2023 09:22:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232672AbjCOQSZ (ORCPT <rfc822;ruipengqi7@gmail.com> + 99 others); Wed, 15 Mar 2023 12:18:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231984AbjCOQSD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 15 Mar 2023 12:18:03 -0400 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64FEE61894; Wed, 15 Mar 2023 09:17:45 -0700 (PDT) Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32FDqqV6015708; Wed, 15 Mar 2023 12:17:12 -0400 Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3pb2bbd53b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Mar 2023 12:17:12 -0400 Received: from ASHBMBX9.ad.analog.com (ASHBMBX9.ad.analog.com [10.64.17.10]) by nwd2mta3.analog.com (8.14.7/8.14.7) with ESMTP id 32FGHBTA016865 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 15 Mar 2023 12:17:11 -0400 Received: from ASHBCASHYB5.ad.analog.com (10.64.17.133) by ASHBMBX9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Wed, 15 Mar 2023 12:17:10 -0400 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) by ASHBCASHYB5.ad.analog.com (10.64.17.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Wed, 15 Mar 2023 12:17:10 -0400 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Wed, 15 Mar 2023 12:17:10 -0400 Received: from IST-LT-39247.ad.analog.com (IST-LT-39247.ad.analog.com [10.25.16.17]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 32FGGj0l027526; Wed, 15 Mar 2023 12:16:48 -0400 From: Ibrahim Tilki <Ibrahim.Tilki@analog.com> To: <a.zummo@towertech.it>, <alexandre.belloni@bootlin.com>, <jdelvare@suse.com>, <linux@roeck-us.net>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org> CC: Ibrahim Tilki <Ibrahim.Tilki@analog.com>, <linux-rtc@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-hwmon@vger.kernel.org>, <devicetree@vger.kernel.org> Subject: [PATCH v4 0/2] drivers: rtc: add max313xx series rtc driver Date: Wed, 15 Mar 2023 19:16:24 +0300 Message-ID: <20230315161626.247-1-Ibrahim.Tilki@analog.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: Z-cOVlkKLb97K19xv2HONOm0-6TtRhpb X-Proofpoint-ORIG-GUID: Z-cOVlkKLb97K19xv2HONOm0-6TtRhpb X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-15_08,2023-03-15_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 priorityscore=1501 adultscore=0 mlxlogscore=425 impostorscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 clxscore=1011 phishscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2302240000 definitions=main-2303150137 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760451479487959634?= X-GMAIL-MSGID: =?utf-8?q?1760451479487959634?= |
Series |
drivers: rtc: add max313xx series rtc driver
|
|
Message
Tilki, Ibrahim
March 15, 2023, 4:16 p.m. UTC
Hi, I removed the reviewed tag by Krzysztof due to the changes below. Best regards, Ibrahim changelog: since v4: - dt-binding: remove interrupt names. - dt-binding: add description for "interrupts" property - dt-binding: replace deprecated property "trickle-diode-disable" by "aux-voltage-chargeable" - dt-binding: add new property "adi,trickle-diode-enable" - dt-binding: remove "wakeup-source" - use clear_bit instead of __clear_bit - use devm_of_clk_add_hw_provider instead of of_clk_add_provider - use chip_desc pointer as driver data instead of enum. since v3: - add "break" to fix warning: unannotated fall-through Reported-by: kernel test robot <lkp@intel.com> since v2: - dt-binding: update title and description - dt-binding: remove last example - drop watchdog support - support reading 12Hr format instead of forcing 24hr at probe time - use "tm_year % 100" instead of range check - refactor max313xx_init for readability Ibrahim Tilki (2): drivers: rtc: add max313xx series rtc driver dt-bindings: rtc: add max313xx RTCs .../devicetree/bindings/rtc/adi,max313xx.yaml | 142 +++ drivers/rtc/Kconfig | 11 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-max313xx.c | 1056 +++++++++++++++++ 4 files changed, 1210 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/adi,max313xx.yaml create mode 100644 drivers/rtc/rtc-max313xx.c