From patchwork Fri Jul 10 15:50:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11656929 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 16FC96C1 for ; Fri, 10 Jul 2020 15:52:01 +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 E0ED12078B for ; Fri, 10 Jul 2020 15:52:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="DesvZpB/"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="MzjyTql1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E0ED12078B 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:References:In-Reply-To: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:List-Owner; bh=TRK0vJjxrS5b1Gplg2e6RVnbL+Ln5Pv/ks8eIxDkMGQ=; b=DesvZpB/ADMx0ZMHG1B+JMqYW U5Ta9/IWbQJQDbN5rTfTvilWECMG+ofUlXL4BOATww/sTJNfzXZ9aJEhftdPZ+4gD4zokMfK6ej0u lvoBDjYlx8uouU1TshdWzpFrkbsTPrWDX+sUoywjBYUZ77JZ/OrGLOLAT0iiSNIPeO0EImYrplKhq xVTbeUEaSXgYVFLYJG/XHIUDGSYUYd2Z2uTwCpTBhfzxfIPUjW1Deq6d7ME1XaC0hj68nzLCQEJZE wVG9bHN8E3y1GZJrmCxx1shzMFu8WYP/vSc79f9at0dCSu9yXhVYWfkKKRr2THa1Zm4h7j4/M2aUh syQ3B65xw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtvJf-0004r5-99; Fri, 10 Jul 2020 15:51:59 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtvJd-0004pW-1R for linux-rockchip@lists.infradead.org; Fri, 10 Jul 2020 15:51:57 +0000 Received: by mail-pj1-x1033.google.com with SMTP id f16so2796201pjt.0 for ; Fri, 10 Jul 2020 08:51:56 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=xFpkBbL42GLt0HZdMSx0oJkSrSDntRjmPYqLW/dwacc=; b=MzjyTql18hI1rqbxifonC5DuUHp3Py5FCuxycy83xXUO+8lIVchtd2oIprt1x0uqgI 6e1f5Lj1ABtNTzCez1p4V2htU9mvlh9IC32yv3FzuAjMvkvkemTC1/kk1AXBbjmHVrws velsjOmpSZGonRvit930DPC+A3jkCeuXqfWfA= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=xFpkBbL42GLt0HZdMSx0oJkSrSDntRjmPYqLW/dwacc=; b=KsOvkDL55hEEv5y2/VlvjHUdmfy3Pe2hXZrol/HBvacpmFR9BpDRuXtvwCEMNxQ7pS 61IlW6Pgr6LVNh8wLzSaVIO1w5EH9VcLB1TZPcjQ4unX0y7bTF6AJy3G9WGL8ty6q9jf DfDfotbkeeVmk8dJBsO5jdJLIVZEq7aioYzkgYgTDnLvcEDdVZy6z3Bvb0B2pZ/4W6Fz iiPQmwd/e+F6cq1f8xCCwLvY8ROIU3Y+imhrrNbHL0omXjH8ziu8HnwriGbLiqoUu9RL 10mb7yVfLqzAzUPw5kn8dpbJkHAJ9L1CKmYcSMecebtlfmLgu+qK2XlsFIZoHCWGzvTf xQFw== X-Gm-Message-State: AOAM532h2agywXG/HP+0E03Qbg01IRdiMRnFuyMBne/Ss80aUgeW48N8 hUzTan1qHhhbRou1rTwBJ+oNP1QdsiY= X-Google-Smtp-Source: ABdhPJxwi5U7hkRt0l8p76ggLe+Lsjn78Cjx0yUrhmGRz+hybhOnn7hE8rzlWE5amaktSTnDdRoeFg== X-Received: by 2002:a17:90a:2749:: with SMTP id o67mr6518795pje.183.1594396314701; Fri, 10 Jul 2020 08:51:54 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2020 08:51:54 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v4 4/4] roc-rk3399-pc: Enable DM RTC Date: Fri, 10 Jul 2020 21:20:57 +0530 Message-Id: <20200710155057.310168-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200710155057.310168-1-jagan@amarulasolutions.com> References: <20200710155057.310168-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200710_115157_101893_954D8A3D X-CRM114-Status: UNSURE ( 8.12 ) 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:1033 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 From: Suniel Mahesh Enable rtc driver DM for rk808 PMIC's. Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki --- Change for v4: - drop CMD_DATE configs/roc-pc-mezzanine-rk3399_defconfig | 1 + configs/roc-pc-rk3399_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/roc-pc-mezzanine-rk3399_defconfig b/configs/roc-pc-mezzanine-rk3399_defconfig index 3ceecf753f..20a0e03b12 100644 --- a/configs/roc-pc-mezzanine-rk3399_defconfig +++ b/configs/roc-pc-mezzanine-rk3399_defconfig @@ -57,6 +57,7 @@ CONFIG_REGULATOR_RK8XX=y CONFIG_PWM_ROCKCHIP=y CONFIG_RAM_RK3399_LPDDR4=y CONFIG_DM_RESET=y +CONFIG_DM_RTC=y CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_ROCKCHIP_SPI=y diff --git a/configs/roc-pc-rk3399_defconfig b/configs/roc-pc-rk3399_defconfig index 6943d4fd54..e6627ac56a 100644 --- a/configs/roc-pc-rk3399_defconfig +++ b/configs/roc-pc-rk3399_defconfig @@ -54,6 +54,7 @@ CONFIG_REGULATOR_RK8XX=y CONFIG_PWM_ROCKCHIP=y CONFIG_RAM_RK3399_LPDDR4=y CONFIG_DM_RESET=y +CONFIG_DM_RTC=y CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_ROCKCHIP_SPI=y