From patchwork Fri Jul 10 15:50:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11656923 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 BAC7E14E3 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 92FD920720 for ; Fri, 10 Jul 2020 15:51:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="yA4mxK9E"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="LN6jSd/R" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 92FD920720 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=F/Dx86nNnKkbEF46Mhb1n1U6R04dOCd44rSFyCcY86s=; b=yA4mxK9En5CykqbSF1WcLSxQK rrnvD/ky+s6k96bqwpMXcsmoOV48cAMtuQmjcGMF34ckXyOFj6CcipMgawdu7/qt5PiBJtx5fRYSm j8IZrnYbysHA0YI3day49dzIOHYi2u0i1k0VI2AejQtDy9jgOORJA7jzsDBOq3kk9j0WTiIdY34TW XHQkHQ5WwFOPRdncQMzfVlMQ7h6v0Mgq57GQW/OyUFXhQWPmDXEOPjOwniEylne5Jfv5SrLss1fgK gM8oZilQinPO6gpbVSsq9E31JCfpGEn/pUE5UK1v44I+o7i2QYRnTUAEwvbQM3pa+NU2OC2mk+o9I YcQKNBn9w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtvJJ-0004j6-Rl; Fri, 10 Jul 2020 15:51:37 +0000 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtvJH-0004ho-5q for linux-rockchip@lists.infradead.org; Fri, 10 Jul 2020 15:51:35 +0000 Received: by mail-pj1-x1043.google.com with SMTP id gc9so2794145pjb.2 for ; Fri, 10 Jul 2020 08:51:34 -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=EBRiJRqKbG+gsmgASdfE8v+2gzdWEF93STTaMV9dSrE=; b=LN6jSd/RMdPUNTyHpH6KDfjQJTPlYDQndFCbu5WRnykX3Cp/8jo0zPiaDKQTkWE2yq gT+1reU4jor3CeGHeMCZkyU8PMQnis17/7EQeaPDN34GvXnRihPduuYf3x71x5MVrDT9 H6+aiieMjkGpUpGZRzLva+HXrUKIMtyYHVqPA= 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=EBRiJRqKbG+gsmgASdfE8v+2gzdWEF93STTaMV9dSrE=; b=LkL9HtuKoQ1KAcSWdb5ne4hpJ+2IQuxbsqvu7rIku2wcaEXeS7UBCLdRLanvrhDTD7 1gjSEfSrphe8UkPYAV3dm6cHhS0T5NDfBkVPvIpM1BG/UalDdTZrP2UfKcQ/g4TOmMcG cRnoqlAFzURgEphPJP2qqEqJgQgP2wKsrGBv6XB19ptFuN7fprLqw4LXE941vuaRmhSu fTiNdrz9BmwhzK9RbkCu1dNMUxclH53qyj7uwJsEdaDuR8JtOKPFHFGOf/dJl0ju1/mv FcyZFOuR5WJFL5xCWXXydw6XUu4tYUIjKhWj8vsruX/D+CcAOdNcuDddH4jThqOzgIYj Mw4g== X-Gm-Message-State: AOAM533ugbH/kjq4ZJYxGLG+tjd0IorwkM6lb8MuRCKtFaoGfBYx3gPg 0dlDHWHhuaxwFvLmrHqZRuhkZg== X-Google-Smtp-Source: ABdhPJx3QOvkcnU463RV+M9+ysLhTihlKfIb/WIeKX9jR+Xci0KLkIDb249wl6LIgoGgZLc9m4Uy4Q== X-Received: by 2002:a17:90a:f6d8:: with SMTP id er24mr6028568pjb.203.1594396292343; Fri, 10 Jul 2020 08:51:32 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2020 08:51:31 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v4 1/4] arm: dts: rockchip: rk3399-roc-pc: Add RTC child node for RK808 PMIC Date: Fri, 10 Jul 2020 21:20:54 +0530 Message-Id: <20200710155057.310168-2-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_115135_228242_36879F62 X-CRM114-Status: UNSURE ( 8.25 ) 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:1043 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 , Suniel Mahesh Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org From: Suniel Mahesh Rockchip RK808 PMIC is a multi function device which hosts a Real Time Clock along with other devices. Add a child RTC node so that it can be bound and probed once the master pmic node completes probe. Signed-off-by: Suniel Mahesh Reviewed-by: Kever Yang --- Change for v4: - none arch/arm/dts/rk3399-roc-pc-u-boot.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi b/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi index fc155e6903..16d6417160 100644 --- a/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi +++ b/arch/arm/dts/rk3399-roc-pc-u-boot.dtsi @@ -44,6 +44,14 @@ vin-supply = <&vcc_vbus_typec0>; }; +&rk808 { + rtc { + rkrtc: rk808-rtc { + status="okay"; + }; + }; +}; + &spi1 { spi_flash: flash@0 { u-boot,dm-pre-reloc;