Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp5652317rwn; Mon, 12 Sep 2022 12:13:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR6Wxp4NGIpcMK3dj5eLHmFtPf6BF6cgL3dinBAPbSms7Bi3wIsM29cclRbdKd+JhdIEhSd2 X-Received: by 2002:a17:907:80d:b0:73d:1e3f:3d83 with SMTP id wv13-20020a170907080d00b0073d1e3f3d83mr19012197ejb.372.1663010006814; Mon, 12 Sep 2022 12:13:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663010006; cv=none; d=google.com; s=arc-20160816; b=oiqoWQgXPbwsp6CIgwv7ZwYkRWzeqqHoPe9R4qRV3qNGbApmolpkImfw//hNDB/YDS FHQE5K4v0nao47Hh/ZOItaGRpeCRpg1rfgLMvIk3qNZ4YE4EWGk6HdpyHWm81+LOcRbR IhuJw7fEMTD9UPeWUHEdPZy+CLx4tmht/8O797+mXYJg/zWEDma4V3piLj6q0Prj3Fkz t/MlHCPaHhA0FHKEhJ92PgF8QuZaRqkjYyNF7Y6maCsN2fAbYTjgfszZBMMht80Io+Dd PmWZS/OWVVU1+MbISYWt3se1tkyEx5lTT+j7a+YTq9DOc+rxlf6d6GDRKYX2ln6H1HzX f4eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=FYc5EwH0KQpfNQpM5d+qJ8z1AkyVy1Re6j4wAitrwAQ=; b=jAGhnjRDaO9/ElRFW/vWaWYjoFzJsl8p9m3E/VQ6Qs7RCjK66ekVaJG7VFY9Hvem5B tNUN4UB4f0mrSBCmunRyG0e/OoUPr06iWdgC2aYJu8YqpKof6mx6vl1Ag/j/Wg6yIWmB ovrtLAH6fUNFX0r2kSpFujWm9EuNBCIOM8iF9sYEywXTwRpPmFcw46r4L43fuJVX2bhP R0B3TXEp9474VwcgKo5R5Df0cMzm2LVSNCoZvST9Afg97VDBep2kTFXmC4P6xpqwPxuy PjWpZajcwq21AyDjq/xX7SbYnrxassLCHaXXjaIcHjqd3ti9S9h9PrwK8yGARVW5M7mK zlLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ltfuiJO9; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f7-20020aa7d847000000b00448b894310esi6467908eds.343.2022.09.12.12.13.00; Mon, 12 Sep 2022 12:13:26 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ltfuiJO9; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230165AbiILTIC (ORCPT + 99 others); Mon, 12 Sep 2022 15:08:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229916AbiILTIA (ORCPT ); Mon, 12 Sep 2022 15:08:00 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC14C40E14; Mon, 12 Sep 2022 12:07:59 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id 9so9456870plj.11; Mon, 12 Sep 2022 12:07:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=FYc5EwH0KQpfNQpM5d+qJ8z1AkyVy1Re6j4wAitrwAQ=; b=ltfuiJO9BuHLekRBx3DmD7S111RX/Cw9kLukv3el2W3WwIME9q6Q6EzjdtvjVc0KUP poryHmCnU+syf9RPAicglI5xtYp67ZfY7bCxrgDLRclHrU2VtD7j1s0sdgvZkQwu2UBF ahMi2tvDMw0WNcEUgpxrNcNcH03L2j/+dRSd+WF5rmBX1pNZUdwHn9h33FKcjS4OAsae lV+CVSBVmHsT/H3WUFz8g+V+4N29OQbWRG63rOBAEJ8bdjlpxiG7zdAAUaUXqqPBFCMJ gj6gg7r3ClcWNUSoYQIAzLtb/HG6Ynw/G6czrBSRMl3IRFVPNsr28pfmgldg4lP4jHs0 Eunw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=FYc5EwH0KQpfNQpM5d+qJ8z1AkyVy1Re6j4wAitrwAQ=; b=nLXJuEe6kPq/Kb8G0E1Hjct+2KKmUNf1mLj59+PWxX0EP8UPzFkzr48u21L5vTXOka GMKfuOETnAsT9bVAsnaYMM09Un2s6Rx14oJG3OeDQASW97RzwvYy28pz8pNxSgidGToW wKh6DhM5i56edMQzwKF3eXrzcH4tWOVPJ3eb62idO6eeRXw5DNA981R4C4uBwlBk2M7l +9pov4aIy1jZVGXIqb/trwJCaxDxl2+Fz3ttIU1weXdcdClEX/zTbvY1szjCnmdPaBC9 rDMJOG2sQVr6nAlcK9sgKTiyNoXbaPxeY1syIENaUrwK+NlqcWfJ84b+ytxA23GDt2y7 1Rqg== X-Gm-Message-State: ACgBeo0P5lVD37R+64DFQDFG//oAi+ow6I0zKf91zkCrEAxkKQ4zJiPg 47UozM/J2s8SmkwBg1P1MPzld727k6c= X-Received: by 2002:a17:90b:17c3:b0:202:bc13:e4e7 with SMTP id me3-20020a17090b17c300b00202bc13e4e7mr10730056pjb.125.1663009679138; Mon, 12 Sep 2022 12:07:59 -0700 (PDT) Received: from localhost.localdomain ([116.73.241.66]) by smtp.gmail.com with ESMTPSA id 68-20020a630547000000b00434272fe870sm1091889pgf.88.2022.09.12.12.07.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Sep 2022 12:07:58 -0700 (PDT) From: Jagath Jog J To: alexandre.belloni@bootlin.com, a.zummo@towertech.it, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, jagathjog1996@gmail.com Subject: [PATCH v2 0/2] rtc: maxim: add support for Maxim max31329 RTC Date: Tue, 13 Sep 2022 00:37:51 +0530 Message-Id: <20220912190753.10158-1-jagathjog1996@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org Add driver and device tree bindings support for Maxim max31329 real time clock. Changes since v1. 1. Move 'allOf' after 'maintainers' in DT. 2. Add 'wakeup-source' into device tree bindings. 3. Add wakeup support depending on the 'wakeup-source' parameter from DT. 4. Remove unused 'dev' member from device private data structure. 5. Use '__maybe_unused' attribute for of_device_id table. 6. Initialize local variable 'events' to 0 in interrupt handler. Reported-by: kernel test robot 7. Add Reviewed-by tag for device tree bindings. Jagath Jog J (2): dt-bindings: rtc: add Maxim max31329 rtc device tree bindings rtc: maxim: Add Maxim max31329 real time clock .../bindings/rtc/maxim,max31329.yaml | 61 ++ MAINTAINERS | 7 + drivers/rtc/Kconfig | 10 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-max31329.c | 535 ++++++++++++++++++ 5 files changed, 614 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/maxim,max31329.yaml create mode 100644 drivers/rtc/rtc-max31329.c -- 2.17.1