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: 11656921 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5454B618 for ; Fri, 10 Jul 2020 15:51:39 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8FD9D20720 for ; Fri, 10 Jul 2020 15:51:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UuxZEVke"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="e/X/0BwN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8FD9D20720 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=dy0tmiFiDpKAhpWXqY2tYLmoZdOyPg3i3rTKwOVZM7g=; b=UuxZEVkefqQQeQ11v7x0SZBPef MhPCwUuWm1b8v8KcomsRuq738UY6fOvAADeTiu7egbj+fdQt0ouMEHRAthg+FdcnsRD7vH+Fmi7N9 dyZLI1k12xVT6dFolyah848HmI8qeylWbr0BOJhn0rt4cNBdPCoo4238yYDkWKgKm3P5f2wEFSmWT NgYzbuRUiFdw05C+SuBH05pGVOWqfVbf9b5bnkD2/lsSqL4d3K/EOpyqopkEECQkUQa5QN1woG30u VetcYpxFj2OFUX1S8aHw5KKrIS3Prbk9eNS6+PUEi7jhcLFbYj/wVoP6sALLUjNazahedjM/8ssW4 l38C5IaA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtvJG-0004hv-As; Fri, 10 Jul 2020 15:51:34 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtvJE-0004gv-0n for linux-rockchip@lists.infradead.org; Fri, 10 Jul 2020 15:51:33 +0000 Received: by mail-pf1-x441.google.com with SMTP id u185so2721101pfu.1 for ; Fri, 10 Jul 2020 08:51:30 -0700 (PDT) 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 :content-transfer-encoding; bh=tP+Q5RY96DlSBTDs1oHsq7PdQFS5f8MzYhhqFzJk1rs=; b=e/X/0BwN+Tz8lVY2JtNpMvE5m4d8Iv6mfqmr39m7f1m0mwGHX5qHlCQ+t0xG+JLN12 x9XgIvIK/CsPsfhdFrP279V0poddY/M2V6YfJ9k7IQKc5InEB/wIWHDvBV1bEnB5g2/0 ORZ+7h4evbXwvDVnaWNYwa4PeeBIUwLSWv310= 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=tP+Q5RY96DlSBTDs1oHsq7PdQFS5f8MzYhhqFzJk1rs=; b=CfY/xPJ4v41iz64pPojbf+0QiCF1iCzLH8Kg/FdEoUfI4quMij7rhX+xtRSujVP73K E8fxl9FCkBA61+tO9yB2h6/D4KLs2u8S5vnuXS2pzXnaTuWHiu3Ey/QOAZUK7i3FmOJw Tx8lQpozqwVyGPdhqMyHv5TB8EvY/9t1rKZeACXm8jrZaUO5bzEVNHcmVMJZMuZwLOqz RCfpqfzcnl+3M7RpEP0Fa7QxonQYjGQX3KUGtAlmcwI0Ai79widDvzVWPIaL2zy4JU7B /lvKOtdO2ogbBQUftv+fwphp+z+4VBGOioyfOUyFoDK8gdodG2Q3JCnsUYQLI0AtQ1XI /iOQ== X-Gm-Message-State: AOAM530C0cWg/Ee6tnpbe5VD4s1H4bigN7FH05argrUJvWNqxGywgIqh mWCOIAK4KK/IP5LB+xZDWfpKMA== X-Google-Smtp-Source: ABdhPJwCSTRElagtSTYMxteKENJTpBo1Ph7XFkQcufLTbp7U1846xFaToiui7M2rHzHDXQM6xuBDIg== 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200710_115132_377023_801AB885 X-CRM114-Status: UNSURE ( 7.75 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:441 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki , Suniel Mahesh Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org 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