From patchwork Fri Jul 10 15:50:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1478 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 80E8F3F06D for ; Fri, 10 Jul 2020 17:51:32 +0200 (CEST) Received: by mail-pl1-f197.google.com with SMTP id 59sf3683405pla.12 for ; Fri, 10 Jul 2020 08:51:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594396290; cv=pass; d=google.com; s=arc-20160816; b=Uff50bBIbQypLWEbYl6pkDjpzW+t/0EJI98wMOeJqZuXq27W3R2xscCMH6Vfru222w PYB4X3e4IEvgdYv35mZZkiwGGO8kLwjQX6WnX38sC/kmvsHunhOaTy7ZGY2bdFOwL6nq Uw8lBC5fTci5OD7zZd4FIrF+SWlzGKcJhFEurcDqDnQYw7UTUQIEDn0aAKfpytGbtWFg cwC7pCXQ3I+Iz8ZX1WpYnVKup5CnbV0tdzk4NlYUMlGXhDSGu2/UyEZBY+U4pGr64ibg WZqUCNOd98nG37N9EA/7OiCGDrg9X6Lgvi+Pq/nXqOCOJjK1TS2DpdaOLJXxkN+F/kk2 fTyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=22YQKtmCKBfP4VRrTX+sUN1/VkE/XyN9ojgeQSbq0RA=; b=IPcKLHa1boBb16hqmn5fMVQKRI/tQPBSyAFNKpGAJPHlGU9pRnr8fo0ZqrtvevxPJ+ dIY2W81wgK/EOKgoiCFblV10eRbkIvF1mRjDfG4D53a1QKF/LB9r5LP4MJiX0RAVgglq 9JYMnNkhpLsWdPFc7ltLD+/1RKH11DwwLo2uahJgVWWbSJjkFkXreKL6QV/Xm+HelFz0 XopbIgiCL0wd6pEjIHrK5csTt4DFvhNuCH7XAGFTPZrxYz0qWndWbiqCBSxr+qAdxNIm /EiZg+bH7M/XzVB+vNcK0gWskrI0BULkjBzheIWFpY69zYAGDOCiFsrqeB1NVWDNd6+h y8nA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="e/X/0BwN"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=22YQKtmCKBfP4VRrTX+sUN1/VkE/XyN9ojgeQSbq0RA=; b=OTb+iJCaD59Kc5Dml4bIjpsBssKAHhgPw8PKMiOw1wTbFk6SgMgnczrrBge4GSh0G3 WWvS7/I3EgLvSToqFBUki4WPxPBSOBIMq+bt0JRd8o7eIBx/JJqspus2wxcYIp2iB5qN OaLthFf2d2kksRN++yUpGdriS/HsMwo+s/fk4= 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 :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=22YQKtmCKBfP4VRrTX+sUN1/VkE/XyN9ojgeQSbq0RA=; b=pd+QOMjIShKhLULqUxpmXr+B5ZsXWw3tI9ySUW7uzLuBZ0hLeEyGioaDDwuoeTyjX+ uIFbjTkrAlU71tJvfeoFwG8EMSH8kxD2YMp1Yd2jGsUVs5IMd/Piwjssy8LOkG7YHGgE uRxcz310aq+R2vzvMAZ/RYAlC5nFjLC12rGozUAD6N5wXVRZjvmrXgLeRDQHLd/L8Pcz lE3llJnZpo7URJjCZKr68ZGgFyLuYk29snzknKBrg6JfIJF4M+Eflz/8URKTuPFyySmW G7ZEIhWTXZOtVhx2PS/lFzw5irwdz2MVpdDjhRPrDBnr6bzn0VtIMvqgjOa+/VgTl+Dt oO7g== X-Gm-Message-State: AOAM530glrliGx+c0+okpx72Q/mPqy3eV6UbnucynrMfVgdRG0uKWepR QcNVNnuWoDOHmBWhdqR19137yxDV X-Google-Smtp-Source: ABdhPJwIhqgtFNQU7xx4Bq3hlE0a9/dvSMSiLgdnIHgrMu+u/inhNf5yJvKRoOvAEIlJqPsNojC26Q== X-Received: by 2002:a63:3f42:: with SMTP id m63mr60649359pga.310.1594396290260; Fri, 10 Jul 2020 08:51:30 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:565:: with SMTP id 92ls3910601plf.2.gmail; Fri, 10 Jul 2020 08:51:30 -0700 (PDT) X-Received: by 2002:a17:902:fe85:: with SMTP id x5mr52346520plm.282.1594396289792; Fri, 10 Jul 2020 08:51:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594396289; cv=none; d=google.com; s=arc-20160816; b=iLV1l5jbm9/z5pk7IPwf5GdsnB2DCnz8/olF3BS+mJ1sm+7V+ogHQ1pRN59DcF4Uuj lf6YnZ4IdcWwUJUNCAu+V/OWYKiXpcnia6j5Qx0yK1KTLLF8TE/PLXoqW8fMEZwKsWvx ZWzDtdGXNPvBkJGLkwv8Q3QkFFD1kuVymejTpuscI9ZAhyr3ZjD1ldEoqSKl2Vyg0eJn hVkAaRt48lSf6qL2wV1ez6j9IHoxTeDoFO+nOKcSzlN/tLbWHnuAKhnfa3Zd7ULdFT3p uklZUuOkGMiABztDtyBUSFK3OqutMOB6S/neFuxSr5oZp4iURUFgewrRiit41dyluVnM L3ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=tP+Q5RY96DlSBTDs1oHsq7PdQFS5f8MzYhhqFzJk1rs=; b=LOsTHNIvMShehR01PWqtS5xcPlhoCbVfAVuYkpG+W5idkT8RQ/v8/xWpb1f4LZSQTm D8fAXK6DQ4R+GYOUK7nTW0ESMxO3ZgFwpkZMwxP4C7+Qkoz6geFK3gKJgHO4RJuIE+fU jV9fkgn5m5u8tMqImk2tkWghl0H50QRkyCTQSkF62t4BkFo7S8JQZyr4cdedPVRHk/X1 cQSTIEN64+XDvRxb/krXQF/aIu0cJ31Z8X5Zs2Jmb7JHPMdsWz/zO3+3wwMfchQGDF7p RKi+o8YKixsmKr0eB4x24RBcsuoldQQ/Q8RiQcpj2Z07gj84NIRkGytXMhZEqI40xkTa HDIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="e/X/0BwN"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id q13sor8045970pfl.37.2020.07.10.08.51.29 for (Google Transport Security); Fri, 10 Jul 2020 08:51:29 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:7c97:: with SMTP id x145mr65275723pfc.80.1594396288798; Fri, 10 Jul 2020 08:51:28 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:a1d6:54e3:577a:ace0]) by smtp.gmail.com with ESMTPSA id lx2sm6398917pjb.16.2020.07.10.08.51.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2020 08:51:27 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH v4 0/4] rtc: Add RK808 PMIC RTC Date: Fri, 10 Jul 2020 21:20:53 +0530 Message-Id: <20200710155057.310168-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="e/X/0BwN"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This series support RK808 PMIC RTC on rk3399. Changes for v4: - rebase on master - cleanup of style changes Any inputs? Jagan. Suniel Mahesh (4): arm: dts: rockchip: rk3399-roc-pc: Add RTC child node for RK808 PMIC power: pmic: rk8xx: bind rk808 RTC rtc: rk8xx: Add base support for the RK808 PMIC RTC roc-rk3399-pc: Enable DM RTC arch/arm/dts/rk3399-roc-pc-u-boot.dtsi | 8 + configs/roc-pc-mezzanine-rk3399_defconfig | 1 + configs/roc-pc-rk3399_defconfig | 1 + drivers/power/pmic/rk8xx.c | 19 ++- drivers/rtc/Kconfig | 8 + drivers/rtc/Makefile | 1 + drivers/rtc/rk808-rtc.c | 173 ++++++++++++++++++++++ 7 files changed, 210 insertions(+), 1 deletion(-) create mode 100644 drivers/rtc/rk808-rtc.c