From patchwork Fri Jan 15 05:53:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ying-Chun Liu X-Patchwork-Id: 363527 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1144850jap; Thu, 14 Jan 2021 21:53:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwgEIgxNu1Oep/SAk6P/BgpRFtRfk8qHCzhCKp/D5x0DTCM9hdbJDfZIgF1vjFefkq3jMQm X-Received: by 2002:a17:906:fa85:: with SMTP id lt5mr7761284ejb.344.1610690013980; Thu, 14 Jan 2021 21:53:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610690013; cv=none; d=google.com; s=arc-20160816; b=rrzQBXYNwhRPEbi2Hhx7ZT/gXtGslwO1fOfOasxVKA2pnn8AggZQVdaYrIn9Tw4om1 CE5l4gCp79QLW27tDu+hu3XdZFIPc4saIGXcJ5BJIZ8dKyVHVh8HFo+O58fs2b5DeiRR Quxdvn6DQ8tcteaSSrup0G+gxtLnoFhqYowHL0/FZJz077PmvUNMQqUOc+6riIBL4qiR vQyxZIHCTirHG78i/yY8gAO6sSNB9N/TU2HJZe8p65eiwV8si5ttVBXfEcrp1yyzeYBg GwVhtXbzkKbXKMPamj2y3ZCO23XXcmnJXEwjcLU+fJoaibGBjhvPpGdDEc9+mDRtwwV6 9g1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=tZ7UDwCQ/BmzGXQdzEUYfOHQP/e2yp/aRkKyW+3J00Q=; b=YgVV+ED4q+81dM+Fc1NJBeqBR5ALQK3NK4X9bapy4zW5YT0aH8diVH0bZSx6qHEn8l l/jJ7z1ylXZXJM73x5k3DUybEONXCAsx0Nao6NekpPe7Pipp7BJN5wOW5dKmyWJxvVL1 8KCycp4w65jRi+BT7fuPo0hFdJSrh00NEMJPMIATxxq/mgzujrhDuMyTpOGineHj3fuP GdQ6LYq0pVH53hjLhpReuEcp1P7rn2k8sLGSUYUBWjcXRx83uFHI2MaUfC1LW2OGO+Hf pns74Aw12QIt71EYYGqhR5z6beWtGSSeDoOSXfzozON4u1EIVMYXBiT2rp9VhpDnY+pd FnRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="iE/P64Th"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id m19si3041505ejj.381.2021.01.14.21.53.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jan 2021 21:53:33 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="iE/P64Th"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DC7CF82816; Fri, 15 Jan 2021 06:53:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="iE/P64Th"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2AA2382806; Fri, 15 Jan 2021 06:53:28 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3723F82806 for ; Fri, 15 Jan 2021 06:53:25 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=grandpaul@gmail.com Received: by mail-pl1-x633.google.com with SMTP id j1so4151296pld.3 for ; Thu, 14 Jan 2021 21:53:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tZ7UDwCQ/BmzGXQdzEUYfOHQP/e2yp/aRkKyW+3J00Q=; b=iE/P64ThGGQMkM+9yze4wpQamrUyp44DYA4qyB12yuEB7vG1fPwTMA6Govcd3o5HPd m0tT/9w+9cIp98GNfExCmvn8V6RNK5+inQgxjHGkTLGIDrc0ddWKwBJVwAt33DstyFgg cSGrSZ/rChBDzmpVy7r1SrQNWBEjcOd3U229pMznZ9Qn3OhUdG8ESy5oRoNX0qe6CTuy M7kcApO8p+hHEqWXLBwrbdheY0bz7vxUjleF4niYNOFgkUpk2KucRw1blLx31iJnwJW1 uSIAB3mhrSFbMh2nnOhf4daHTZj9O9n3/Vddm+qAn78RHePzq2eAmpqiu74MOPxH1aF2 2DHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tZ7UDwCQ/BmzGXQdzEUYfOHQP/e2yp/aRkKyW+3J00Q=; b=U0b1FXdLexvfF4LxmVTCjv7rw+gMzRdGht2IsBZcN/vTDskmmZ+5r6trEQYl/ARduJ kG6gOh+i6qmJQz625MBDgf0MW4fr/DPQuSIXgIMTl6x/HDUB+8M3C+Qr8M5LWzhavgEu yhFmSQDCbGemmal78Da1f88pSe49XeKnajf3tWgqSvyJZgJquvSdeBunJd4dUPPYQAoZ ZnVpmY6m1AUF8SWIrKjjVbiOpL/5tjjjfcH+o+lFRRKZ8ywNrakUYisunGPs02WDakRG 7dF3OMjGqfdUwTwjGyH1ru84uG6bwEQR/W4aUVn6o1RMnueY61z+7BaCKkkuzu0w3WTc crfQ== X-Gm-Message-State: AOAM533dO/hBDCoUL6mz7+XUPJ2WGUQmGft8vSg48V9bgFHkH6lQ7DUE K/UqvmJ7xgwdadxA5uWFpsMI1ZZ0G0I= X-Received: by 2002:a17:90b:1804:: with SMTP id lw4mr8637429pjb.141.1610690003092; Thu, 14 Jan 2021 21:53:23 -0800 (PST) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id j14sm2671776pjl.35.2021.01.14.21.53.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jan 2021 21:53:22 -0800 (PST) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" Subject: [PATCH v2 0/2] add rtc-abx80x, a driver for the Abracon AB x80x i2c rtc Date: Fri, 15 Jan 2021 13:53:01 +0800 Message-Id: <20210115055303.6366-1-grandpaul@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean From: "Ying-Chun Liu (PaulLiu)" This is a basic driver for the ultra-low-power Abracon AB x80x series of RTC chips. It supports in particular, the supersets AB0805 and AB1805. It allows reading and writing the time, and enables the supercapacitor or battery charger. Ying-Chun Liu (PaulLiu) (2): rtc: add rtc-abx80x, a driver for the Abracon AB x80x i2c rtc doc: device-tree-bindings: rtc: Abracon AB x80x i2c rtc v2: porting to latest master .../rtc/abracon,abx80x.txt | 31 + drivers/rtc/Kconfig | 9 + drivers/rtc/Makefile | 1 + drivers/rtc/abx80x.c | 553 ++++++++++++++++++ 4 files changed, 594 insertions(+) create mode 100644 doc/device-tree-bindings/rtc/abracon,abx80x.txt create mode 100644 drivers/rtc/abx80x.c -- 2.29.2