Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2617042pxb; Sun, 17 Oct 2021 20:38:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzolizMYyLBQJDVa/UnCWrt71gDC0zqJI7p3iDwV3GaLXINpv1YfXf17r/dawA1TmPaBhx2 X-Received: by 2002:a17:90b:1112:: with SMTP id gi18mr3770454pjb.136.1634528304631; Sun, 17 Oct 2021 20:38:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634528304; cv=none; d=google.com; s=arc-20160816; b=WGkGV7bBbAts+mUJdE2Bl3rO7AoZMJHd7cQ+/7gxMHLdLJoAdOafG803jdqtFuE+v8 Hk0cPVPWDiyIda+Zj9l16r+41t1qOjBNETPvGvRJiJSkp7Q+UhUSTBq+ExNIF5Piazhd peVhqd0i4VVxXQ3RVQCEwa7FmBDwcPUdcr0Nrp9L3C/jrSII4fomOTnfVgVZ5m9TVPm/ rbv3Fck5u3pG0WA81jerRfXQ0NdYUPbZc87pTOXi55zjCazWY+QOiPvFfW9BAIxCdenT UTRjyua1lhBDNYl6hHTG49nxDbnU9v3HeUdTIiA0JXDDPd5FjjjEYlN9l7fy2ER/ioDI PTMg== 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:ironport-sdr:ironport-sdr; bh=RSBNDdVMAwhM00wLGvkkZoBMy3eaJ2m+S0YlIXK3ZXU=; b=S95ShsiGTODYD1NHRNMho3Kzxf49NUL6QHfR1u9dGtQgwKyL/O0L0WHPSKqEW01B8s KwLpuOEvrrK4OSpAlnDP6yo7jooDh+fBnFhj2tgO2xEb+8apWa02DO+1iwfbO6VBMYnc Lfm0JiMeIsQrWvLhqGd6IWWKZJEhrMI6/MCkyriZ4rQnf703CK2vG8eCHhNPREcpGYcc gzBKdNS+NAsq6MSQEswUSDBA2g4QeGhQuWmABmgvewlFZxtZ10leR2Y8le9C0phcGEvS Bi++HO1NBe+Mg71XjY8vEzNcSv9fs6DaajgJrZ8MwZ4uig6u5MOHsfmpuAVMiSawOZv1 WLPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s15si367162plq.364.2021.10.17.20.38.12; Sun, 17 Oct 2021 20:38:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235425AbhJPTXw (ORCPT + 98 others); Sat, 16 Oct 2021 15:23:52 -0400 Received: from esa1.mentor.iphmx.com ([68.232.129.153]:44825 "EHLO esa1.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232336AbhJPTXv (ORCPT ); Sat, 16 Oct 2021 15:23:51 -0400 IronPort-SDR: TcqhI8DNzJS8y/p59kUvTuEgY4AcjIwJuK2zccie2IOj6ow0ClLOqMcO1+e+9PKVVuaNgoOpjV GPjxtENqs6mVcZrV44rgryG4UT7K8NDdGtZ1cwHarPpnvfnaivAEuPRF0MrCISrlGQ945w5soq Rt8hlmmhvpKy9pJ8AyFD0d56FBF2krjNuV7VrIxvhD/bQ00ovNpxflCHsMC0B+pH2uugjMBP+H I2EIdPxkPJ5xCAnweuhOuMSXea4MtTCAb8oHywHiICRBAY1cL7durmyiWSXfCQee30vuHHRS3A 996Alv8IJk0vrx0SLzpmoxB+ X-IronPort-AV: E=Sophos;i="5.85,378,1624348800"; d="scan'208";a="69743824" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 16 Oct 2021 11:21:42 -0800 IronPort-SDR: aM7BHjH34cLbQdUnst9lFEehOi0L9zbQVYS+h+ayZgS6BXVKw1NiZggCIZdvqx4yAhDKhHjWDF gYVmUOndX/9OQauZtYxvGvH6SVX62DlFZgMtzoU7N2dHDSTUyC/oMkwUji6HfGNhpFWZvvu3h1 bpVq7MtJqkfptNKzDHI+IIfO2yz4DT9r5ZAcrudVEVW8kYsn9xZclHFbJ/GUS2lckU1FC6FqjO 0AibMPCOW98hKO0EPDx2NPA81En9f+TLaUwesrNAA8+Am37jNyIUZsYVnr3ugYBSbWKtBNn6IX wrM= From: Alexey Firago To: , , CC: , , , Alexey Firago Subject: [PATCH 0/2] rtc: Add driver for MAX31343 Date: Sat, 16 Oct 2021 22:21:16 +0300 Message-ID: <20211016192118.255624-1-alexey_firago@mentor.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-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds support for the Maxim Integrated MAX31343 RTC. Publicly available datasheet can be found at: https://datasheets.maximintegrated.com/en/ds/MAX31343.pdf Currently supported features are: - Date/time - SRAM - Temperature sensor Features to be implemented: - Interrupts (my current platform doesn't have IRQ line connected) - Alarms, countdown timer - Clock output - Trickle charger Patches were verified on a custom NXP i.MX8MPlus based platform. Alexey Firago (2): rtc: max31343: Add a driver for Maxim MAX31343 dt-bindings: rtc: Add Maxim Integrated MAX31343 .../devicetree/bindings/rtc/trivial-rtc.yaml | 2 + drivers/rtc/Kconfig | 10 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-max31343.c | 494 ++++++++++++++++++ 4 files changed, 507 insertions(+) create mode 100644 drivers/rtc/rtc-max31343.c -- 2.25.1